aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-03-24 15:02:25 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-03-24 15:02:25 +0000
commit7a312f2f03a0bc0c52ce8a6f834849d70233cf61 (patch)
treeb7e124f7b3297dc0ea03e08052ae63a7d0d0acc6 /debian
parent0aae819193bfd6dba02207c4513ccb038d412d4e (diff)
parent7d47058ef00b8aab6e7b58e20bd6e5fbcecdfc34 (diff)
downloadayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.tar.gz
ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.tar.bz2
ayatana-indicator-sound-7a312f2f03a0bc0c52ce8a6f834849d70233cf61.zip
Export currently running player to Accounts Service
Diffstat (limited to 'debian')
-rw-r--r--debian/control6
-rwxr-xr-xdebian/rules5
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index c7b3ed8..4278f7a 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,15 @@ XSBC-Original-Maintainer: Conor Curran <conor.curran@canonical.com>
Build-Depends: debhelper (>= 9.0),
cmake,
dbus,
+ dbus-test-runner (>= 14.04.0+14.04.20140226),
dh-translations,
+ gir1.2-accountsservice-1.0,
gnome-common,
autotools-dev,
valac (>= 0.20),
+ libaccountsservice-dev,
+ libdbustest1-dev,
+ libgirepository1.0-dev,
libglib2.0-dev (>= 2.22.3),
libgtest-dev,
liburl-dispatcher1-dev,
@@ -18,6 +23,7 @@ Build-Depends: debhelper (>= 9.0),
libnotify-dev,
libgee-dev,
libxml2-dev,
+ python3-dbusmock,
Standards-Version: 3.9.4
Homepage: https://launchpad.net/indicator-sound
# If you aren't a member of ~indicator-applet-developers but need to upload
diff --git a/debian/rules b/debian/rules
index 6df5436..8fb0f91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,11 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL=4
%:
dh $@ --parallel --fail-missing --with translations
+override_dh_auto_configure:
+ # Debian defines CMAKE_INSTALL_LOCALSTATEDIR as /usr/var, which is wrong.
+ # So until Debian bug 719148 is fixed, do it ourselves.
+ dh_auto_configure -- -DCMAKE_INSTALL_LOCALSTATEDIR="/var"
+
override_dh_install:
mkdir -p debian/indicator-sound/usr/share/apport/package-hooks/
install -m 644 debian/source_indicator-sound.py debian/indicator-sound/usr/share/apport/package-hooks/