| 1 |
|
| 2 |
|
| 3 |
include /usr/share/dpkg/pkg-info.mk |
| 4 |
include /usr/share/dpkg/architecture.mk |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto |
| 7 |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs |
| 8 |
|
| 9 |
ifeq (,$(findstring linux,$(DEB_HOST_ARCH_OS))) |
| 10 |
|
| 11 |
confflags += -Dwith_wayland=no |
| 12 |
endif |
| 13 |
|
| 14 |
%: |
| 15 |
dh $@ -Smeson |
| 16 |
|
| 17 |
override_dh_autoreconf: |
| 18 |
|
| 19 |
|
| 20 |
override_dh_auto_configure: |
| 21 |
dh_auto_configure -- $(confflags) |
| 22 |
|
| 23 |
execute_before_dh_auto_build: |
| 24 |
cd debian/dh && pod2man -c Debhelper -r '' dh_libva dh_libva.1 |
| 25 |
|
| 26 |
execute_before_dh_shlibdeps: |
| 27 |
echo "libva 2 libva2 (>= $(DEB_VERSION_UPSTREAM)), libva2 (<< $(DEB_VERSION_UPSTREAM).1)" > debian/shlibs.local |
| 28 |
|
| 29 |
override_dh_installchangelogs: |
| 30 |
dh_installchangelogs NEWS |