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
|
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
-Denable-easy-codec-installation=yes \
-Denable-gtk-doc=$(if $(filter totem-common,$(shell dh_listpackages)),true,false) \
-Denable-python=yes
execute_before_dh_auto_build:
dh_auto_build -- src/Totem-1.0.gir
override_dh_auto_test:
NO_AT_BRIDGE=1 xvfb-run -a dh_auto_test -- --no-suite=lint
override_dh_makeshlibs:
dh_makeshlibs -p totem -X/usr/lib/$(DEB_HOST_MULTIARCH)/nautilus/
dh_makeshlibs -p libtotem0 -V'libtotem0 (>= $(DEB_VERSION)), libtotem0 (<< $(DEB_GNOME_NEXTVERSION))'
dh_makeshlibs --remaining-packages -Xplugins/
override_dh_girepository:
dh_girepository -lsrc
execute_before_dh_python3:
dh_python3 --no-ext-rename -ptotem-plugins /usr/lib/*/totem/plugins
|