| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
# The ldconfig trigger gets enabled because the package installs libraries, but |
| 10 |
# it's in fact unnecessary (it installs them to a different directory). |
| 11 |
override_dh_makeshlibs: |
| 12 |
dh_makeshlibs --no-scripts |
| 13 |
|
| 14 |
# Allow the "fake" pulseaudio libraries depend on each other. The path must be |
| 15 |
# synced with the used CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_LIBDIR as |
| 16 |
# defaulted by debhelper for cmake. |
| 17 |
override_dh_shlibdeps: |
| 18 |
dh_shlibdeps -l/usr/lib/${DEB_HOST_MULTIARCH}/apulse |
| 19 |
|
| 20 |
# This is required for reproducible builds with cmake and RPATH settings |
| 21 |
# (see cmake_rpath_contains_build_path and bug #1003919) |
| 22 |
override_dh_auto_configure: |
| 23 |
dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON |