4 pkgdesc="Elementary version of Rhythmbox"
7 url="http://www.rhythmbox.org"
8 depends=('libsoup-gnome>=2.29.91' 'gnome-media>=2.29.91' 'totem-plparser>=2.29.92' 'musicbrainz>=2.1.5' 'libnotify>=0.4.5' 'desktop-file-utils' 'gstreamer0.10-python>=0.10.17' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'pygtk>=2.17.0' 'gvfs>=1.5.5' 'hicolor-icon-theme')
9 makedepends=('pkgconfig' 'gnome-doc-utils>=0.19.5' 'intltool' 'bzr' 'gnome-common')
10 optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
11 'gstreamer0.10-bad-plugins: Extra media codecs'
12 'gstreamer0.10-ffmpeg: Extra media codecs'
14 'gnome-python: various plugins'
15 'pywebkitgtk: context panel plugin'
16 'python-mako: context panel plugin')
17 provides=('rhythmbox')
18 conflicts=('rhythmbox')
19 options=('!libtool' '!emptydirs')
20 source=("gnome-media-profiles-fix.patch")
21 install=rhythm-e.install
24 _bzrtrunk="https://code.launchpad.net/$pkgname"
28 if [ -d $_bzrmod ]; then
29 cd $_bzrmod && bzr up && cd ..
34 cp -r ${srcdir}/${pkgname} ${srcdir}/${pkgname}-build
36 cd "${srcdir}/${pkgname}-build"
38 # fix naming issues for gnome-media-profiles
39 patch -Np1 -i "${srcdir}/gnome-media-profiles-fix.patch"
41 export PYTHONPATH="/usr/lib/python2.7"
42 ./autogen.sh --prefix=/usr --sysconfdir=/etc \
43 --libexecdir=/usr/lib/rhythmbox \
44 --localstatedir=/var --disable-static \
46 --with-mdns=avahi --disable-scrollkeeper \
47 --disable-ayatana || return 1
49 # Disable compilation of ayatana plugin
50 # sed -i 's/ayatana//' plugins/Makefile || return 1
56 cd ${srcdir}/${pkgname}-build
57 make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
59 install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
60 gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain rhythmbox ${pkgdir}/etc/gconf/schemas/*.schemas
61 rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
63 rm -rf ${srcdir}/${pkgname}-build
65 md5sums=('20cb09b20c8b83484e1f8914a38cffe9')