File: rules

package info (click to toggle)
traverso 0.49.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,596 kB
  • sloc: cpp: 52,835; asm: 1,480; xml: 1,164; sh: 120; ansic: 35; makefile: 20
file content (27 lines) | stat: -rwxr-xr-x 658 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

ifneq ($(DEB_HOST_ARCH_OS),linux)
cmake_extra_args += -DWANT_ALSA=OFF
endif
ifeq ($(DEB_HOST_ARCH_CPU),amd64)
export DEB_CPPFLAGS_MAINT_APPEND=-DSSE_OPTIMIZATIONS -DUSE_X86_64_ASM
export DEB_CXXFLAGS_MAINT_APPEND=-msse -mfpmath=sse
endif

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--no-undefined -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export QTDIR=/usr/share/qt5
export QT_SELECT=qt5

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -- \
	-DUSE_SYSTEM_SLV2_LIBRARY=ON \
	-DWANT_MP3_ENCODE=ON \
	-DDETECT_HOST_CPU_FEATURES=OFF \
	$(cmake_extra_args)