#!/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 -Wl,--as-needed # those gstream 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 $@ --with gnome override_dh_gencontrol: dh_gencontrol -- $(DH_GENCONTROL_ARGS) override_dh_auto_configure: find . -name "*_vala.stamp" | xargs rm -f 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,tracker override_dh_strip: dh_strip --dbgsym-migration='rygel-dbg (<< 0.28.3-2~)' override_dh_makeshlibs: dh_makeshlibs -X /usr/lib/$(DEB_HOST_MULTIARCH)/rygel-2.6/ override_dh_install: find debian/tmp -name '*.la' -print -delete dh_install override_dh_missing: dh_missing --fail-missing override_dh_installsystemduser: dh_installsystemduser --no-enable