aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorIain Lane <iain.lane@canonical.com>2014-06-11 17:21:08 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-06-11 17:21:08 +0000
commit34ba55d3dfeffbe3882c00ae86d89ef4351367bb (patch)
treead81ca209ebfbd35c0778a6c3d8573c23d4c2f18 /debian
parent34cda47d861bcc53ed300fce16dcb5492878fca4 (diff)
parentfb4c324c76176b248c40bce6f151bd397f8e09fb (diff)
downloadayatana-indicator-power-34ba55d3dfeffbe3882c00ae86d89ef4351367bb.tar.gz
ayatana-indicator-power-34ba55d3dfeffbe3882c00ae86d89ef4351367bb.tar.bz2
ayatana-indicator-power-34ba55d3dfeffbe3882c00ae86d89ef4351367bb.zip
Remove the brightness slider from the phone menu. Fixes: 1289470
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules9
2 files changed, 10 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index b11fd60..28ab3fd 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9),
libglib2.0-dev (>= 2.36),
libgudev-1.0-dev,
liburl-dispatcher1-dev,
- python,
+ python:any,
Standards-Version: 3.9.2
Homepage: https://launchpad.net/indicator-power
# If you aren't a member of ~indicator-applet-developers but need to upload
diff --git a/debian/rules b/debian/rules
index 83edd94..36a22d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,12 +6,21 @@
export DPKG_GENSYMBOLS_CHECK_LEVEL=4
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ TESTS=yes
+else
+ TESTS=no
+endif
+
%:
dh $@ --with autoreconf
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf ./autogen.sh
+override_dh_auto_configure:
+ dh_auto_configure -- --enable-tests=$(TESTS)
+
override_dh_install:
find debian/indicator-power -name \*.la -delete
find debian/indicator-power -name \*.a -delete