File: rules

package info (click to toggle)
cheese 3.32.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,012 kB
  • sloc: ansic: 12,929; sh: 4,255; makefile: 551; xml: 354; python: 55
file content (42 lines) | stat: -rwxr-xr-x 936 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/make -f
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs -Wl,--as-needed

%:
	dh $@ --with gnome,gir

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--libexecdir=\$${prefix}/lib/cheese

override_dh_install:
	find debian/tmp -name '*.la' -print -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -- -c4

override_dh_clean:
	dh_clean
	rm -rf *vala.stamp
	rm -rf src/*.c

# The camerabin plugin is in gstreamer1.0-plugins-good in Ubuntu
override_dh_gencontrol:
ifneq ($(shell dpkg-vendor --query vendor),Ubuntu)
	dh_gencontrol -- -Vgstbad:Depends='gstreamer1.0-plugins-bad (>= 1.4)'
else
	dh_gencontrol
endif

# https://bugzilla.gnome.org/731009
override_dh_auto_test:
	-xvfb-run dh_auto_test