From f7bb1be5414854235b90e9863b37b8a79ade446c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Thu, 19 Dec 2024 18:56:14 +0100 Subject: Fix FTBFS on non-Linux architectures --- debian/rules | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index d9f933e..1b0243f 100755 --- a/debian/rules +++ b/debian/rules @@ -13,6 +13,11 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_STRIP_FLAG = "" STRIP = "" endif +ifeq (linux,$(DEB_HOST_ARCH_OS)) + EXTRA_CONFIGURE_ARGS += --with-v4l +else + EXTRA_CONFIGURE_ARGS += --without-v4l +endif %: dh $@ @@ -48,7 +53,8 @@ endif --with-avahi \ --enable-pnm-backend \ --with-usb \ - --disable-locking + --disable-locking \ + $(EXTRA_CONFIGURE_ARGS) override_dh_autoreconf: dh_autoreconf -Xlibtool.m4 -- cgit v1.2.3