diff options
author | Matthias Klose <doko@ubuntu.com> | 2013-10-14 01:10:28 +0100 |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2013-10-14 01:10:28 +0100 |
commit | 63078a821b54c9361dcde52dedd53fd143695d1f (patch) | |
tree | 83e4c7eb464a1d00bdd843ed23deeb499fe0044b /debian/rules | |
parent | 53d9d3d0e15e2d6cbbeaa43459364c6d282a6d92 (diff) | |
download | libayatana-appindicator-63078a821b54c9361dcde52dedd53fd143695d1f.tar.gz libayatana-appindicator-63078a821b54c9361dcde52dedd53fd143695d1f.tar.bz2 libayatana-appindicator-63078a821b54c9361dcde52dedd53fd143695d1f.zip |
Don't build the mono bindings on AArch64, not available. (LP:
#1239474)
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 9 |
1 files changed, 8 insertions, 1 deletions
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 |