aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2013-10-14 14:27:46 +0000
committerTarmac <Unknown>2013-10-14 14:27:46 +0000
commit7fa21cc7c8181273a32b5936d241f61c15bc0172 (patch)
tree83e4c7eb464a1d00bdd843ed23deeb499fe0044b /debian
parent53d9d3d0e15e2d6cbbeaa43459364c6d282a6d92 (diff)
parent63078a821b54c9361dcde52dedd53fd143695d1f (diff)
downloadlibayatana-appindicator-7fa21cc7c8181273a32b5936d241f61c15bc0172.tar.gz
libayatana-appindicator-7fa21cc7c8181273a32b5936d241f61c15bc0172.tar.bz2
libayatana-appindicator-7fa21cc7c8181273a32b5936d241f61c15bc0172.zip
Don't build the mono bindings on AArch64, not available. Fixes: https://bugs.launchpad.net/bugs/1239474.
Approved by Ted Gould, PS Jenkins bot.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/control10
-rwxr-xr-xdebian/rules9
3 files changed, 20 insertions, 6 deletions
diff --git a/debian/changelog b/debian/changelog
index d0db151..8376f89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libappindicator (12.10.1+13.10.20130920-0ubuntu2) UNRELEASED; urgency=low
+
+ * Don't build the mono bindings on AArch64, not available. (LP:
+ #1239474)
+
+ -- Matthias Klose <doko@ubuntu.com> Mon, 14 Oct 2013 01:47:10 +0200
+
libappindicator (12.10.1+13.10.20130920-0ubuntu1) saucy; urgency=low
* Automatic snapshot from revision 266
diff --git a/debian/control b/debian/control
index 00aad76..1d9b829 100644
--- a/debian/control
+++ b/debian/control
@@ -7,22 +7,22 @@ Build-Depends: debhelper (>= 9),
dh-autoreconf,
python-all-dev,
at-spi2-core,
- cli-common-dev (>= 0.5.7),
+ cli-common-dev (>= 0.5.7) [!arm64],
gobject-introspection,
intltool,
gtk-doc-tools,
libxml2-utils,
- libnunit-cil-dev,
+ libnunit-cil-dev [!arm64],
dbus-test-runner,
xvfb,
valac,
- mono-devel (>= 2.4.3),
+ mono-devel (>= 2.4.3) [!arm64],
libglib2.0-dev (>= 2.35.4),
libgtk-3-dev (>= 2.91.3),
libgtk2.0-dev (>= 2.12.0),
python-gtk2-dev,
- gtk-sharp2-gapi,
- libgtk2.0-cil-dev,
+ gtk-sharp2-gapi [!arm64],
+ libgtk2.0-cil-dev [!arm64],
libdbus-glib-1-dev (>= 0.82),
libindicator-dev (>= 0.3.90),
libindicator3-dev (>= 0.3.90),
diff --git a/debian/rules b/debian/rules
index f730a3f..9df0c58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,14 @@ FLAVORS = gtk2 gtk3
PY_VERSIONS = $(shell pyversions --requested debian/control)
API_VERSION = 0.1
+DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
CONFIGURE_COMMON_FLAGS = --disable-scrollkeeper --enable-introspection
+ifneq (,$(filter $(DEB_HOST_ARCH),arm64))
+ CONFIGURE_COMMON_FLAGS += --disable-mono-test
+else
+ dh_extra_args = ,cli
+endif
CONFIGURE_FLAGS_gtk2 = --with-gtk=2 --enable-gtk-doc
CONFIGURE_FLAGS_gtk3 = --with-gtk=3 --enable-gtk-doc=no
@@ -15,7 +22,7 @@ export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
CFLAGS += -fPIC
%:
- dh $@ --with autoreconf,python2,cli,gir
+ dh $@ --with autoreconf,python2,gir$(dh_extra_args)
override_dh_autoreconf:
NOCONFIGURE=1 dh_autoreconf ./autogen.sh