File: rules

package info (click to toggle)
snapd-glib 1.67-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,388 kB
  • sloc: ansic: 30,115; cpp: 15,502; makefile: 62; sh: 31
file content (72 lines) | stat: -rwxr-xr-x 2,180 bytes parent folder | download
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/make -f

NULL =

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure --builddirectory=build-qt6 \
	                  --buildsystem=meson \
	                  -- \
	                  -Dqt6=true \
	                  -Dqt5=false \
	                  -Ddocs=true \
	                  -Dexamples=true \
	                  -Dintrospection=true \
	                  -Dvala-bindings=true \
	                  -Dincludedir=/usr/include/$(DEB_HOST_MULTIARCH)
	                  $(meson_opts) \
	                  $(NULL)
	dh_auto_configure --builddirectory=build-qt5 \
	                  --buildsystem=meson \
	                  -- \
	                  -Dqt6=false \
	                  -Dqt5=true \
	                  -Ddocs=false \
	                  -Dexamples=false \
	                  -Dintrospection=false \
	                  -Dvala-bindings=false \
	                  -Dincludedir=/usr/include/$(DEB_HOST_MULTIARCH)
	                  $(meson_opts) \
	                  $(NULL)

override_dh_auto_build:
	dh_auto_build --builddirectory=build-qt6 \
	              --buildsystem=meson \
	              $(NULL)
	dh_auto_build --builddirectory=build-qt5 \
	              --buildsystem=meson \
	              $(NULL)

override_dh_auto_test:
	dh_auto_test --builddirectory=build-qt6 \
	             --buildsystem=meson \
	             --no-parallel \
	             $(NULL)
	dh_auto_test --builddirectory=build-qt5 \
	             --buildsystem=meson \
	             --no-parallel \
	             $(NULL)

override_dh_auto_install:
	dh_auto_install --builddirectory=build-qt6 \
	                --buildsystem=meson \
	                $(NULL)
	dh_auto_install --builddirectory=build-qt5 \
	                --buildsystem=meson \
	                $(NULL)

override_dh_auto_clean:
	dh_auto_clean --builddirectory=build-qt6 \
	              --buildsystem=meson \
	              $(NULL)
	dh_auto_clean --builddirectory=build-qt5 \
	              --buildsystem=meson \
	              $(NULL)

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..