1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs
configure_options :=
ifeq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
configure_options += --native-file=$(CURDIR)/debian/meson/no-exe-wrapper.ini
endif
ifneq ($(DEB_HOST_ARCH_OS),linux)
configure_options += -Ddefault_bus=dbus-daemon \
-Ddbus_daemon=/usr/bin/dbus-daemon
endif
DO_PACKAGES := $(shell dh_listpackages)
configure_options += -Ddocs=$(if $(filter at-spi2-doc libatk1.0-doc,$(DO_PACKAGES)),true,false)
%:
dh $@
override_dh_auto_configure:
ac_cv_lib_ICE_IceConnectionNumber=no \
dh_auto_configure -- \
-Dintrospection=enabled \
$(configure_options)
override_dh_auto_test:
ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
xvfb-run -s -noreset -a dbus-run-session -- dh_auto_test
endif
override_dh_makeshlibs:
dh_makeshlibs -plibatspi2.0-0t64 --add-udeb=libatspi0-udeb -V 'libatspi2.0-0t64 (>= 2.9.90)'
dh_makeshlibs -plibatk-bridge2.0-0t64 --add-udeb=libatk-bridge-2.0-0-udeb -V -- -c4
dh_makeshlibs -plibatk1.0-0t64 --add-udeb="libatk1.0-udeb" -V -- -c4
dh_makeshlibs -a --remaining-packages
dh_girepository -pgir1.2-atspi-2.0
|