File: rules

package info (click to toggle)
at-spi2-core 2.46.0-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,972 kB
  • sloc: ansic: 43,437; xml: 1,572; python: 243; sh: 239; makefile: 20
file content (26 lines) | stat: -rwxr-xr-x 758 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-z,defs

%:
	dh $@

override_dh_auto_configure:
	ac_cv_lib_ICE_IceConnectionNumber=no \
	dh_auto_configure -- \
		-Dintrospection=yes \
		-Ddocs=true \
		-Ddefault_bus=dbus-broker

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-0 --add-udeb=libatspi0-udeb -V 'libatspi2.0-0 (>= 2.9.90)'
	dh_makeshlibs -plibatk-bridge2.0-0 --add-udeb=libatk-bridge-2.0-0-udeb -V -- -c4
	dh_makeshlibs -plibatk1.0-0 --add-udeb="libatk1.0-udeb" -V -- -c4
	dh_makeshlibs -a --remaining-packages
	dh_girepository -pgir1.2-atspi-2.0