[Pkg-wmaker-commits] [wmhdplop] 19/40: debian/control: Set gkrellm Build-Depends to linux-any; set gkrellm-hdplop Architecture to linux-any. debian/rules: Pass --disable-gkrellm when not building for linux.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 17 11:10:12 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmhdplop.

commit a11b290527ef88b99e9889cd360dd1cbb73e4df5
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Wed Aug 13 00:38:57 2014 -0500

    debian/control: Set gkrellm Build-Depends to linux-any; set gkrellm-hdplop
    Architecture to linux-any.
    debian/rules: Pass --disable-gkrellm when not building for linux.
---
 debian/control | 4 ++--
 debian/rules   | 7 +++++++
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index cd1dc67..daf2499 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: wmhdplop
 Section: x11
 Priority: optional
 Maintainer: Doug Torrance <dtorrance at monmouthcollege.edu>
-Build-Depends: debhelper (>= 9), libgtk2.0-dev, libimlib2-dev, gkrellm, libx11-dev, libxext-dev, libxt-dev, autotools-dev
+Build-Depends: debhelper (>= 9), libgtk2.0-dev, libimlib2-dev, gkrellm [linux-any], libx11-dev, libxext-dev, libxt-dev, autotools-dev
 Homepage: http://hules.free.fr/wmhdplop
 Standards-Version: 3.9.5
 Vcs-Browser: https://github.com/d-torrance/wmhdplop
@@ -20,7 +20,7 @@ Description: hard drive activity monitor dockapp
  wmhdplop is a dockapp for Window Maker.
 
 Package: gkrellm-hdplop
-Architecture: any
+Architecture: linux-any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: hddtemp, fonts-freefont-ttf
 Description: hard drive activity monitor GKrellM plugin
diff --git a/debian/rules b/debian/rules
index 103d875..f5a28dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,13 @@
 %:
 	dh $@ --with autotools-dev
 
+override_dh_auto_configure:
+ifeq ($(DEB_HOST_ARCH_OS), linux)
+	dh_auto_configure
+else
+	dh_auto_configure -- --disable-gkrellm
+endif
+
 override_dh_auto_build:
 	dh_auto_build -- CPPFLAGS="$(CPPFLAGS) $(CFLAGS)"
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmhdplop.git



More information about the Pkg-wmaker-commits mailing list