File: rules

package info (click to toggle)
hydrogen 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 28,292 kB
  • sloc: cpp: 55,247; xml: 2,279; sh: 744; php: 90; makefile: 74; python: 33; ansic: 25
file content (24 lines) | stat: -rwxr-xr-x 509 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CMAKE_EXTRA_FLAGS = -DWANT_SHARED=OFF \
 -DWANT_PORTAUDIO=ON \
 -DWANT_PORTMIDI=ON \
 -DWANT_RUBBERBAND=ON

export QTDIR=/usr/lib/qt5

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- $(DEB_CMAKE_EXTRA_FLAGS)

override_dh_auto_build:
	mv ./data/img/h2-icon.bmp ./data/img/h2-icon.png
	dh_auto_build

override_dh_auto_clean:
	mv ./data/img/h2-icon.png ./data/img/h2-icon.bmp || true
	dh_auto_clean