~ubuntu-desktop/rhythmbox/ubuntu

1 by seb128
initial rhythmbox import
1
#!/usr/bin/make -f
2
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
3
279 by Didier Roche
releasing package rhythmbox version 3.4.1-2ubuntu1
4
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
289 by Jeremy Bicha
Merge with Debian 3.4.2-3
5
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
6
7
%:
287 by jbicha at ubuntu
Merge with Debian 3.4.2-1
8
	dh $@ --with gir,gnome,python3
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
9
10
override_dh_autoreconf:
11
	dh_autoreconf --as-needed ./autogen.sh
69 by robert.ancell at gmail
* debian/patches/02_pause_symbol.patch:
12
13
ifeq ($(DEB_HOST_ARCH_OS),linux)
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
14
CONFFLAGS = --with-gudev
69 by robert.ancell at gmail
* debian/patches/02_pause_symbol.patch:
15
else
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
16
CONFFLAGS = --without-gudev
17
endif
18
19
override_dh_auto_configure:
20
	dh_auto_configure -- \
279 by Didier Roche
releasing package rhythmbox version 3.4.1-2ubuntu1
21
		--libexecdir=/usr/lib/rhythmbox \
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
22
		--enable-lirc \
23
		--enable-gtk-doc \
290 by Jeremy Bicha
Stop building rhythmbox-plugin-mozilla since it won't work in Firefox 53+
24
		--disable-browser-plugin \
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
25
		--without-hal \
26
		$(CONFFLAGS)
27
28
override_dh_install:
289 by Jeremy Bicha
Merge with Debian 3.4.2-3
29
	find debian/tmp -name '*.a' -delete -print
30
	find debian/tmp -name '*.la' -delete -print
31
	dh_install -Xsample-plugins -Xcontext
32
33
override_dh_missing:
34
	dh_missing --fail-missing -Xsample-plugins -Xcontext
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
35
36
override_dh_python3:
291 by Jeremy Bicha
Merge with Debian 3.4.2-4
37
	dh_python3 --no-ext-rename /usr/lib/rhythmbox
279 by Didier Roche
releasing package rhythmbox version 3.4.1-2ubuntu1
38
	dh_python3 --no-ext-rename /usr/lib/$(DEB_HOST_MULTIARCH)/rhythmbox
277 by Jeremy Bicha
Merge with Debian 3.4.1-1
39
40
override_dh_strip:
41
	dh_strip --dbgsym-migration='rhythmbox-dbg (<< 3.3.1-1~)'
42
43
override_dh_makeshlibs:
44
	dh_makeshlibs -prhythmbox-plugins --no-act
45
	dh_makeshlibs -prhythmbox-plugin-cdrecorder --no-act
46
	dh_makeshlibs -prhythmbox-plugin-zeitgeist --no-act
47
	dh_makeshlibs --remaining-packages -V -- -c4