diff options
author | root <root@rshg047.dnsready.net> | 2011-04-08 04:18:44 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-08 04:18:44 +0000 |
commit | 59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch) | |
tree | d0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/rhythmbox | |
parent | 3b216f42d91b33161572550f4556a9ba93d1cecb (diff) |
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/rhythmbox')
-rw-r--r-- | testing/rhythmbox/PKGBUILD | 41 | ||||
-rw-r--r-- | testing/rhythmbox/rhythmbox.install | 24 |
2 files changed, 65 insertions, 0 deletions
diff --git a/testing/rhythmbox/PKGBUILD b/testing/rhythmbox/PKGBUILD new file mode 100644 index 000000000..422c4bc01 --- /dev/null +++ b/testing/rhythmbox/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 117414 2011-04-01 17:30:03Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=rhythmbox +pkgver=2.90.1 +pkgrel=2 +pkgdesc="An iTunes-like music player/libary" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.rhythmbox.org" +depends=('libgpod' 'gvfs-afc' 'gconf' 'libgnome-media-profiles' 'totem-plparser' 'libsoup-gnome' 'gtk3' 'libmusicbrainz3' 'libmtp' 'libnotify' + 'lirc-utils' 'libwebkit3' 'libdmapsharing' 'media-player-info' 'pygobject' 'gstreamer0.10-python' 'python-gnomekeyring' 'gstreamer0.10-base-plugins' + 'gstreamer0.10-good-plugins' 'json-glib' 'desktop-file-utils') +makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.1' 'intltool' 'brasero' 'gnome-common' 'gtk-doc' 'gobject-introspection' 'pygobject-devel') +optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs' + 'gstreamer0.10-bad-plugins: Extra media codecs' + 'gstreamer0.10-ffmpeg: Extra media codecs' + 'brasero: cd burning') +options=('!libtool' '!emptydirs') +install=rhythmbox.install +#source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.13/${pkgname}-${pkgver}.tar.bz2) +source=(${pkgname}-${pkgver}.tar.xz) +sha256sums=('070452540c869d6f73feb715683c8534aa29e15e27dd8485db751c42ce21718a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./autogen.sh + PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \ + --libexecdir=/usr/lib/rhythmbox \ + --localstatedir=/var --disable-static \ + --enable-daap --enable-python \ + --with-mdns=avahi --disable-scrollkeeper + + make + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain rhythmbox ${pkgdir}/etc/gconf/schemas/*.schemas + rm -f ${pkgdir}/etc/gconf/schemas/*.schemas +} diff --git a/testing/rhythmbox/rhythmbox.install b/testing/rhythmbox/rhythmbox.install new file mode 100644 index 000000000..10c4f2229 --- /dev/null +++ b/testing/rhythmbox/rhythmbox.install @@ -0,0 +1,24 @@ +pkgname=rhythmbox + +post_install() { + usr/sbin/gconfpkg --install ${pkgname} + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +pre_upgrade() { + pre_remove +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + usr/sbin/gconfpkg --uninstall ${pkgname} +} + +post_remove() { + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} |