File: rules

package info (click to toggle)
kwave 20.04.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 21,096 kB
  • sloc: cpp: 55,641; ansic: 845; perl: 676; sh: 211; xml: 177; makefile: 9
file content (15 lines) | stat: -rwxr-xr-x 342 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)

ifneq ($(DEB_HOST_ARCH_OS),linux)
  DEB_CMAKE_CUSTOM_FLAGS += -DWITH_ALSA=OFF
endif

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

%:
	dh $@ --with kf5

override_dh_auto_configure:
	dh_auto_configure -Skf5 -- -DWITH_MP3=ON $(DEB_CMAKE_CUSTOM_FLAGS)