File: rules

package info (click to toggle)
libepoxy 1.5.10-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,708 kB
  • sloc: xml: 57,756; ansic: 2,661; python: 633; makefile: 13
file content (20 lines) | stat: -rwxr-xr-x 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --buildsystem=meson

# Ignore test results on s390x and most ports where tests fail
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
ifneq (,$(filter s390x alpha hppa hurd-i386 ia64 kfreebsd-amd64 kfreebsd-i386 riscv64 sparc64 x32,$(DEB_HOST_ARCH)))
	-xvfb-run -a dh_auto_test
else
	xvfb-run -a dh_auto_test
endif
endif

# No symbols for udebs, specify the highest version from symbols file:
override_dh_makeshlibs:
	dh_makeshlibs -plibepoxy0 -V'libepoxy0 (>= 1.5.4)' --add-udeb=libepoxy0-udeb