[mate-sensors-applet] 01/13: debian/rules: Add configure flags for the mate-sensors-applet-nvidia and mate-sensors-applet-ati packages.

Martin Wimpress flexiondotorg-guest at moszumanska.debian.org
Thu Jun 18 10:19:50 UTC 2015


This is an automated email from the git hooks/post-receive script.

flexiondotorg-guest pushed a commit to branch debian/experimental
in repository mate-sensors-applet.

commit 6750d3c8755dd3899497434611642ead1bb55512
Author: Martin Wimpress <code at flexion.org>
Date:   Thu Jun 18 09:54:54 2015 +0100

    debian/rules: Add configure flags for the mate-sensors-applet-nvidia and mate-sensors-applet-ati packages.
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d28b59..fdfc7db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,15 @@
 #!/usr/bin/make -f
 
+# add appropriate flags for Debian
+DEB_CONFIGURE_EXTRA_FLAGS =
+ifeq ($(shell dpkg-vendor --is Debian && echo yes),yes)
+	DEB_CONFIGURE_EXTRA_FLAGS += --with-aticonfig=yes
+endif
+# add appropriate flags for Ubuntu
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
+	DEB_CONFIGURE_EXTRA_FLAGS += --with-aticonfig=/usr/lib/fglrx/bin/aticonfig
+endif
+
 PKD   = $(word 1,$(abspath $(dir $(MAKEFILE_LIST))))
 PKG   = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
 UVER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
@@ -17,6 +27,7 @@ DEB_DH_INSTALL_ARGS += --fail-missing
 DEB_CONFIGURE_SCRIPT := ./autogen.sh
 
 DEB_CONFIGURE_EXTRA_FLAGS += --disable-silent-rules \
+                             --with-nvidia=yes \
                              --with-gtk=2.0
 
 common-install-indep:: remove-cruft

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mate/mate-sensors-applet.git



More information about the pkg-mate-commits mailing list