File: rules

package info (click to toggle)
rygel 0.44.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 8,708 kB
  • sloc: xml: 1,750; ansic: 1,073; python: 226; sh: 64; makefile: 24
file content (35 lines) | stat: -rwxr-xr-x 1,007 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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

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

# those gstreamer plugins are in universe for Ubuntu
ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
	DH_GENCONTROL_ARGS += -Vgst:Suggests="gstreamer1.0-libav, gstreamer1.0-plugins-ugly"
else
	DH_GENCONTROL_ARGS += -Vgst:Recommends="gstreamer1.0-libav, gstreamer1.0-plugins-ugly"
endif

%:
	dh $@

override_dh_gencontrol:
	dh_gencontrol -- $(DH_GENCONTROL_ARGS)

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dsystemd-user-units-dir=/usr/lib/systemd/user \
	        -Dapi-docs=true \
		-Dintrospection=disabled \
		-Dexamples=false \
		-Dplugins=external,gst-launch,media-export,mpris,playbin,ruih,tracker3

override_dh_makeshlibs:
	dh_makeshlibs -X /usr/lib/$(DEB_HOST_MULTIARCH)/rygel-2.8/

override_dh_installsystemduser:
	dh_installsystemduser --no-enable

override_dh_gnome_clean: