File: rules

package info (click to toggle)
webcamoid 9.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 44,380 kB
  • sloc: xml: 498,142; cpp: 119,474; sh: 2,416; java: 719; python: 205; makefile: 18
file content (26 lines) | stat: -rwxr-xr-x 649 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
#!/usr/bin/make -f

export DH_VERBOSE=1

include /usr/share/dpkg/architecture.mk
include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_LDFLAGS_MAINT_APPEND := -fPIE -pie

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	 -DCMAKE_BUILD_TYPE=Release \
	 -DQT_QMAKE_EXECUTABLE=/usr/lib/qt6/bin/qmake \
	 -DLRELEASE_TOOL=/usr/lib/qt6/bin/lrelease \
	 -DLUPDATE_TOOL=/usr/lib/qt6/bin/lupdate

execute_after_dh_install:
	@echo "Superfluous license file."
	-rm --verbose debian/webcamoid-data/usr/share/webcamoid/qml/License.qml

override_dh_makeshlibs:
	dh_makeshlibs -- -v$(DEB_VERSION_UPSTREAM)