From 63078a821b54c9361dcde52dedd53fd143695d1f Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Mon, 14 Oct 2013 01:10:28 +0100 Subject: Don't build the mono bindings on AArch64, not available. (LP: #1239474) --- debian/changelog | 7 +++++++ debian/control | 10 +++++----- debian/rules | 9 ++++++++- 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 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 -- cgit v1.2.3