[arch-commits] CVS update of extra/gnome/banshee (PKGBUILD banshee.install)
Eric Belanger
eric at archlinux.org
Tue Aug 14 03:36:51 UTC 2007
Date: Monday, August 13, 2007 @ 23:36:51
Author: eric
Path: /home/cvs-extra/extra/gnome/banshee
Modified: PKGBUILD (1.16 -> 1.17) banshee.install (1.6 -> 1.7)
upgpkg: banshee 0.13.0-1
added license file, updated .install file to use gconfpkg
-----------------+
PKGBUILD | 18 +++++++++---------
banshee.install | 14 ++------------
2 files changed, 11 insertions(+), 21 deletions(-)
Index: extra/gnome/banshee/PKGBUILD
diff -u extra/gnome/banshee/PKGBUILD:1.16 extra/gnome/banshee/PKGBUILD:1.17
--- extra/gnome/banshee/PKGBUILD:1.16 Mon Apr 23 13:09:17 2007
+++ extra/gnome/banshee/PKGBUILD Mon Aug 13 23:36:50 2007
@@ -1,29 +1,28 @@
-# $Id: PKGBUILD,v 1.16 2007/04/23 17:09:17 jgc Exp $
+# $Id: PKGBUILD,v 1.17 2007/08/14 03:36:50 eric Exp $
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=banshee
-pkgver=0.12.1
-pkgrel=2
+pkgver=0.13.0
+pkgrel=1
pkgdesc="Music management and playback for GNOME"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://banshee-project.org/"
-license=(MIT)
+license=('MIT')
depends=('hal>=0.5.9' 'gnome-sharp>=2.16.0' 'musicbrainz>=2.1.4-2'
'nautilus-cd-burner>=2.18.1' 'sqlite3' 'gstreamer0.10-faac'
'gstreamer0.10-faad' 'gstreamer0.10-gconf' 'gstreamer0.10-ogg'
'gstreamer0.10-vorbis' 'gstreamer0.10-cdparanoia'
'gstreamer0.10-gnomevfs' 'ipod-sharp>=0.6.3' 'njb-sharp>=0.3.0'
- 'totem-plparser>=2.18.1-2')
+ 'totem-plparser>=2.18.1-2' 'gconf>=2.18.0.1-4')
makedepends=('perlxml' 'pkgconfig')
-options=('nolibtool')
+options=('!libtool' '!makeflags')
install=banshee.install
source=(http://banshee-project.org/files/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-md5sums=('6bcfe0a4ca92e6cce86244938f004b8c')
+md5sums=('dcb91c8159c50622c8697cc9f5861f9a')
build() {
export MONO_SHARED_DIR=${startdir}/src/.wabi
mkdir -p "${MONO_SHARED_DIR}"
- export MAKEFLAGS="-j1"
cd ${startdir}/src/${pkgname}-${pkgver}
LD_PRELOAD="" ./configure --prefix=/usr \
--sysconfdir=/etc --localstatedir=/var \
@@ -31,6 +30,7 @@
--with-gstreamer-0-10 --disable-static
make || return 1
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=${startdir}/pkg install
+ install -D -m644 COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/etc/gconf/schemas/*.schemas
Index: extra/gnome/banshee/banshee.install
diff -u extra/gnome/banshee/banshee.install:1.6 extra/gnome/banshee/banshee.install:1.7
--- extra/gnome/banshee/banshee.install:1.6 Sun Apr 22 11:18:01 2007
+++ extra/gnome/banshee/banshee.install Mon Aug 13 23:36:50 2007
@@ -1,8 +1,7 @@
pkgname=banshee
post_install() {
- export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
- usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
+ usr/sbin/gconfpkg --install ${pkgname}
update-desktop-database -q
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
@@ -16,16 +15,7 @@
}
pre_remove() {
- if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
- elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then
- schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
- else
- schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
- fi
- export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-
- usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
+ usr/sbin/gconfpkg --uninstall ${pkgname}
}
post_remove() {
More information about the arch-commits
mailing list