File: rules

package info (click to toggle)
audacious-plugins 3.7.2-2.1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 13,792 kB
  • sloc: cpp: 117,506; sh: 4,026; makefile: 1,265; ansic: 616; objc: 447; xml: 40
file content (27 lines) | stat: -rwxr-xr-x 572 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

DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)

ifeq ($(DEB_BUILD_ARCH),i386)
additional_confflags := --disable-sse2
endif

ifeq ($(DEB_BUILD_ARCH),armel)
additional_confflags := --disable-qtglspectrum
endif

ifeq ($(DEB_BUILD_ARCH),armhf)
additional_confflags := --disable-qtglspectrum
endif

export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- $(additional_confflags) \
		--disable-rpath --enable-qt

override_dh_auto_clean:
	dh_auto_clean || true