File: rules

package info (click to toggle)
qt-gstreamer 1.2.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,716 kB
  • sloc: cpp: 20,240; yacc: 156; lex: 125; makefile: 26
file content (36 lines) | stat: -rwxr-xr-x 1,067 bytes parent folder | download | duplicates (3)
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
28
29
30
31
32
33
34
35
36
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

CMAKE_OPTS :=  -DCMAKE_BUILD_TYPE=RelWithDebInfo \
               -DQT_VERSION=5 \
               -DQTGSTREAMER_STATIC=OFF \
               -DQTGSTREAMER_TESTS=OFF \
               -DQTGSTREAMER_EXAMPLES=OFF \
               -DGST_PACKAGE_NAME="QtGStreamer (Debian)" \
               -DGST_PACKAGE_ORIGIN="https://packages.qa.debian.org/qt-gstreamer" \
               -DUSE_QT_PLUGIN_DIR=OFF

override_dh_auto_configure:
	dh_auto_configure -- $(CMAKE_OPTS)

override_dh_auto_build-arch:
	dh_auto_build --parallel -a -- all

override_dh_auto_build-indep:
	dh_auto_build --parallel -i -- doc

override_dh_strip:
	dh_strip --dbgsym-migration='qt5gstreamer-dbg (<< 1.2.0-5~)'

override_dh_auto_install-arch:
	dh_auto_install --parallel -a

override_dh_auto_install-indep:
	dh_auto_install --parallel -i
	cp -r obj-$(DEB_HOST_GNU_TYPE)/doc debian/tmp/doc
	find debian/tmp/doc/html \( -name '*.md5' -o -name '*.map' \) -delete
	-rm debian/tmp/doc/html/jquery.js

%:
	dh $@ --parallel --with=pkgkde-symbolshelper