Files
libfprint/debian/rules
T
Sebastien Bacher 21a02ce472 * debian/rules:
- don't fail the build on s390x test results, upstream stated that
    fixing those is low priority for them since there is no real
    usecase for fingerprint authentification on that architecture.
2020-02-24 17:30:38 +01:00

28 lines
767 B
Makefile
Executable File

#!/usr/bin/make -f
# Configuration arguments
CONFIG_ARGS = -Dudev_rules_dir=/lib/udev/rules.d -Dgtk-examples=false
%:
dh $@ --with gir
override_dh_auto_configure:
dh_auto_configure -- $(CONFIG_ARGS)
override_dh_install:
mv debian/tmp/lib/udev/rules.d/60-libfprint-2-autosuspend.rules \
debian/tmp/lib/udev/rules.d/60-libfprint-2.rules
sed -i '/^Requires.private\|^Libs.private/ d' \
debian/tmp/usr/lib/*/pkgconfig/libfprint-2.pc
dh_install
override_dh_auto_test:
# don't fail build on s390x, some tests are failing but upstream
# isn't interested in spending energy on this at the moment
# see https://gitlab.freedesktop.org/libfprint/libfprint/issues/236
ifneq (,$(filter $(DEB_HOST_ARCH),s390x))
dh_auto_test || true
else
dh_auto_test
endif