diff --git a/debian/control.in b/debian/control.in new file mode 100644 index 0000000..f478e3f --- /dev/null +++ b/debian/control.in @@ -0,0 +1,45 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to debian/control.in instead. +# This file is regenerated automatically in the clean target. +Source: switcheroo-control +Section: gnome +Priority: optional +Maintainer: Debian GNOME Maintainers +Uploaders: Jeremy Bicha , Sebastien Bacher +Build-Depends: debhelper-compat (= 13), + dh-sequence-gnome, + gir1.2-umockdev-1.0, + gtk-doc-tools, + libglib2.0-dev, + libgudev-1.0-dev, + libudev-dev, + meson (>= 0.50), + pkg-config (>= 0.22), + python3-gi, + python3-dbus, + python3-dbusmock, + udev, + umockdev, +Standards-Version: 4.6.1 +Rules-Requires-Root: no +Vcs-Browser: https://salsa.debian.org/gnome-team/switcheroo-control +Vcs-Git: https://salsa.debian.org/gnome-team/switcheroo-control.git +Homepage: https://github.com/hadess/switcheroo-control + +Package: switcheroo-control +Architecture: linux-any +Depends: ${misc:Depends}, + ${shlibs:Depends} +Description: D-Bus service to check the availability of dual-GPU + For systems that have both an integrated GPU and a dedicated GPU, this + package by default will force the integrated GPU to be used to save power. + . + You can launch individual apps using the dedicated GPU by running them + with the environment variable DRI_PRIME=1. Or you can right-click on the + app (while it's not running) in GNOME Shell's Activities Overview + and choose the "Launch using Dedicated Graphics Card" option. + . + If this default behavior is not appropriate, uninstall this package or + set xdg.force_integrated=0 as a kernel command-line option in your + bootloader. diff --git a/debian/rules b/debian/rules index ab41c39..067ccb6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,8 +1,5 @@ #!/usr/bin/make -f -export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs - %: dh $@