File: rules

package info (click to toggle)
apulse 0.1.13-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 788 kB
  • sloc: ansic: 8,109; makefile: 9; sh: 2
file content (23 lines) | stat: -rwxr-xr-x 785 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

# The ldconfig trigger gets enabled because the package installs libraries, but
# it's in fact unnecessary (it installs them to a different directory).
override_dh_makeshlibs:
	dh_makeshlibs --no-scripts

# Allow the "fake" pulseaudio libraries depend on each other. The path must be
# synced with the used CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_LIBDIR as
# defaulted by debhelper for cmake.
override_dh_shlibdeps:
	dh_shlibdeps -l/usr/lib/${DEB_HOST_MULTIARCH}/apulse

# This is required for reproducible builds with cmake and RPATH settings
# (see cmake_rpath_contains_build_path and bug #1003919)
override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON