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/rules | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'debian/rules') 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