[arch-commits] Commit in rhythmbox/repos (3 files)

Ionut Biru ibiru at archlinux.org
Fri Feb 26 21:23:34 UTC 2010


    Date: Friday, February 26, 2010 @ 16:23:33
  Author: ibiru
Revision: 70466

fix

Added:
  rhythmbox/repos/extra-i686/
  rhythmbox/repos/extra-i686/PKGBUILD
  rhythmbox/repos/extra-i686/rhythmbox.install

-------------------+
 PKGBUILD          |   38 ++++++++++++++++++++++++++++++++++++++
 rhythmbox.install |   24 ++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Added: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2010-02-26 21:23:33 UTC (rev 70466)
@@ -0,0 +1,38 @@
+# $Id: PKGBUILD 59390 2009-11-23 11:09:53Z ibiru $
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=rhythmbox
+pkgver=0.12.6
+pkgrel=1
+pkgdesc="An iTunes-like music player/libary"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.rhythmbox.org"
+depends=('libgpod>=0.7.2' 'libsoup-gnome>=2.28.1' 'gnome-media>=2.28.0' 'totem-plparser>=2.28.1' 'musicbrainz>=2.1.5' 'libmtp>=0.3.7' 'libnotify>=0.4.5' 'lirc-utils' 'desktop-file-utils' 'gstreamer0.10-python>=0.10.16' 'gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'pygtk>=2.16.0' 'gvfs>=1.4.1' 'hicolor-icon-theme')
+makedepends=('pkgconfig' 'gnome-doc-utils>=0.18.0' 'intltool' 'brasero>=2.28.1')
+optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
+            'gstreamer0.10-bad-plugins: Extra media codecs'
+            'gstreamer0.10-ffmpeg: Extra media codecs'
+            'brasero: cd burning'
+            'gnome-python: various plugins')
+options=('!libtool' '!emptydirs')
+install=rhythmbox.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.12/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('ddffa5b7e0e0fe81044354998fd91a58d4ff526746b17a6b638e0e8ea1ac9684')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+              --libexecdir=/usr/lib/rhythmbox \
+              --localstatedir=/var --disable-static \
+              --enable-daap --enable-python \
+              --with-mdns=avahi --disable-scrollkeeper || return 1
+
+  make || return 1
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+
+  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 || return 1
+  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}

Added: extra-i686/rhythmbox.install
===================================================================
--- extra-i686/rhythmbox.install	                        (rev 0)
+++ extra-i686/rhythmbox.install	2010-02-26 21:23:33 UTC (rev 70466)
@@ -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
+}




More information about the arch-commits mailing list