Date: Wednesday, September 28, 2011 @ 15:33:06 Author: ibiru Revision: 139046
db-move: moved rhythmbox from [gnome-unstable] to [testing] (i686) Added: rhythmbox/repos/testing-i686/ rhythmbox/repos/testing-i686/PKGBUILD (from rev 138832, rhythmbox/repos/gnome-unstable-i686/PKGBUILD) rhythmbox/repos/testing-i686/rhythmbox.install (from rev 138832, rhythmbox/repos/gnome-unstable-i686/rhythmbox.install) Deleted: rhythmbox/repos/gnome-unstable-i686/ -------------------+ PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ rhythmbox.install | 22 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) Copied: rhythmbox/repos/testing-i686/PKGBUILD (from rev 138832, rhythmbox/repos/gnome-unstable-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2011-09-28 19:33:06 UTC (rev 139046) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> + +pkgname=rhythmbox +pkgver=2.90.1.git20110928 +pkgrel=1 +pkgdesc="An iTunes-like music player/libary" +arch=('i686' 'x86_64') +license=('GPL') +url="http://www.rhythmbox.org" +depends=('libgpod' 'gvfs-afc' 'totem-plparser' 'libmusicbrainz3' 'libmtp' 'lirc-utils' 'libwebkit3' 'libdmapsharing' 'media-player-info' 'python2-gobject' + 'python-gnomekeyring' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'json-glib' 'desktop-file-utils' 'libpeas' 'python-mako' 'grilo' 'dconf') +makedepends=('pkgconfig' 'gnome-doc-utils>=0.20.1' 'intltool' 'brasero' 'gnome-common' 'gtk-doc' 'gobject-introspection') +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' '!strip') +install=rhythmbox.install +#source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.13/${pkgname}-${pkgver}.tar.bz2) +source=(ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.xz) +sha256sums=('b95b2aed0cd485198fbefdcb8dbf2a1ca3d4eb7d31b1e02d610fb16384191e8a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + export CFLAGS="$CFLAGS -g -O1" + export CXXFLAGS="$CXXFLAGS -g -O1" + 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 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} Copied: rhythmbox/repos/testing-i686/rhythmbox.install (from rev 138832, rhythmbox/repos/gnome-unstable-i686/rhythmbox.install) =================================================================== --- testing-i686/rhythmbox.install (rev 0) +++ testing-i686/rhythmbox.install 2011-09-28 19:33:06 UTC (rev 139046) @@ -0,0 +1,22 @@ +pkgname=rhythmbox + +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + update-desktop-database -q + gtk-update-icon-cache -f -q -t usr/share/icons/hicolor +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install $1 +} + + +post_remove() { + post_install $1 +}