File: rules

package info (click to toggle)
bluez-alsa 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,488 kB
  • sloc: ansic: 23,210; makefile: 540; pascal: 37; sh: 29
file content (30 lines) | stat: -rwxr-xr-x 700 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
27
28
29
30
#!/usr/bin/make -f

# DEB_BUILD_PROFILES='nodoc'
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CONFIGURE_FLAGS := \
	--enable-ldac \
	--enable-libopenaptx \
	--enable-ofono \
	--enable-systemd \
	--enable-manpages \
	--enable-debug
# fdk-aac (libfdk-aac-dev) is in non-free
#	--enable-aac

%:
	dh $@ --exclude=.la

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_FLAGS)

override_dh_install:
	# Remove static link libraries.
	rm -rf debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/alsa-lib/*.a

	dh_install

override_dh_installsystemd:
	dh_installsystemd -pbluez-alsa-utils --name=bluealsa-aplay bluealsa-aplay.service
	dh_installsystemd -pbluez-alsa-utils --name=bluealsa bluealsa.service