~ubuntu-branches/ubuntu/trusty/rhythmbox/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-10-24 11:01:12 UTC
  • mfrom: (1.1.69) (2.1.31 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131024110112-v3ou37rae2m6xpml
Tags: 3.0.1-1ubuntu1
* Merge with Debian unstable (LP: #1220972), remaining changes:
  + Add Breaks and Replaces on versions of transmageddon which shipped the
    .prs files we are now shipping in -data.
  + Split magnatune, visualizer and cdrecorder plugins out and Recommend
    these from rhythmbox instead of all of the plugins.
  + Suggest gst-plugins-ugly instead of Recommending.
  + Add Ubuntu encoding presets and use them by default.
  + debian/patches/02_use_escaped_podcast_uri.patch
    - Handle podcasts that have sound files with the same basename
  + debian/patches/03_magnatune_partner.patch:
    - Change magnatune partner ID to 'ubuntu'.
  + debian/patches/05_hide_on_quit.patch
    - Hide (not quit) if RB is playing when closed.
  + debian/patches/07_quicklists.patch
    - Add quicklists.
* Re-enable visualization plugin; it works again.
* Remove 09_keywords.patch as the upstream .desktop file contains (almost)
  all of these.
* Disable grilo plugin as grilo is in Universe. 
* Use dh_python3 and pass --no-ext-rename to leave plugin filenames alone. 
* Have -plugin-magnatune depend on gir1.2-secret-1
* Re-enabled replaygain plugin (LP: #1180721)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
#include /usr/share/cdbs/1/rules/autoreconf.mk
3
4
include /usr/share/cdbs/1/rules/debhelper.mk
4
5
include /usr/share/cdbs/1/rules/utils.mk
5
6
include /usr/share/cdbs/1/class/gnome.mk
7
8
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
8
9
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
9
10
 
10
 
DEB_CONFIGURE_SCRIPT := ./autogen.sh
 
11
#DEB_CONFIGURE_SCRIPT := ./autogen.sh
11
12
 
12
13
DEB_CONFIGURE_EXTRA_FLAGS += --enable-lirc \
13
14
                             --disable-scrollkeeper \
14
 
                             --enable-gtk-doc
 
15
                             --enable-gtk-doc \
 
16
                             --disable-grilo
15
17
 
16
18
ifeq ($(DEB_HOST_ARCH_OS),linux)
17
19
DEB_CONFIGURE_EXTRA_FLAGS += --without-hal --with-gudev
18
20
else
19
 
DEB_CONFIGURE_EXTRA_FLAGS += --with-hal --without-gudev
 
21
DEB_CONFIGURE_EXTRA_FLAGS += --without-hal --without-gudev
20
22
endif
21
23
 
22
24
ifneq ($(DEB_HOST_ARCH_OS),linux)
23
 
# Linux specific, needs linux/videodev2.h
24
 
# There's no DEB_DH_INSTALL_ARGS_$package... #468208
25
 
DEB_DH_INSTALL_ARGS += -Xfmradio
 
25
# Linux specific, needs hal/gudev
 
26
DEB_DH_INSTALL_ARGS_rhythmbox-plugins += -Xmtpdevice
26
27
endif
27
28
 
 
29
#DEB_DH_INSTALL_ARGS += -X__pycache__
 
30
 
28
31
# exclude plugins from shlibs generation
29
32
DEB_DH_MAKESHLIBS_ARGS_rhythmbox += --no-act
30
33
DEB_DH_MAKESHLIBS_ARGS_rhythmbox-plugins += --no-act
33
36
DEB_DH_MAKESHLIBS_ARGS_rhythmbox-mozilla += --no-act
34
37
DEB_DH_MAKESHLIBS_ARGS_rhythmbox-plugin-visualizer += --no-act
35
38
DEB_DH_MAKESHLIBS_ARGS_rhythmbox-plugin-zeitgeist += --no-act
36
 
DEB_DH_MAKESHLIBS_ARGS_librhythmbox-core6 += -V
 
39
DEB_DH_MAKESHLIBS_ARGS_librhythmbox-core8 += -V -- -c4
37
40
 
38
41
$(patsubst %,binary-post-install/%,$(DEB_PACKAGES)) ::
39
42
        find debian/$(cdbs_curpkg) -name '*.a' -delete
40
43
        find debian/$(cdbs_curpkg) -name '*.la' -delete
41
 
        dh_python2 -p$(cdbs_curpkg) /usr/lib/rhythmbox
 
44
        dh_python3 --no-ext-rename -p$(cdbs_curpkg) /usr/lib/rhythmbox
42
45
 
43
46
# List any files which are not installed
44
47
common-binary-post-install-arch:: list-missing