summaryrefslogtreecommitdiff
path: root/testing/banshee
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-09 14:42:55 +0000
committerroot <root@rshg047.dnsready.net>2011-04-09 14:42:55 +0000
commitf87ab435eb966ec44eb006c48699e6ee90613286 (patch)
tree28582481a3d3b5d8d82425bc3930f58a0572ae42 /testing/banshee
parent59075f0265483f32e9ac4c67ba9e69cb019ba044 (diff)
Sat Apr 9 14:42:55 UTC 2011
Diffstat (limited to 'testing/banshee')
-rw-r--r--testing/banshee/PKGBUILD47
-rw-r--r--testing/banshee/banshee.install15
2 files changed, 62 insertions, 0 deletions
diff --git a/testing/banshee/PKGBUILD b/testing/banshee/PKGBUILD
new file mode 100644
index 000000000..22d627dc6
--- /dev/null
+++ b/testing/banshee/PKGBUILD
@@ -0,0 +1,47 @@
+# $Id: PKGBUILD 118824 2011-04-08 06:07:43Z eric $
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=banshee
+pkgver=2.0.0
+pkgrel=1
+pkgdesc="Music management and playback for GNOME"
+arch=('i686' 'x86_64')
+url="http://banshee.fm/"
+license=('MIT')
+depends=('libxxf86vm' 'gnome-desktop>=2.28' 'mono-addins>=0.3.1' 'notify-sharp-svn' 'boo>=0.8.1' 'libwebkit>=1.3.13' 'gdata-sharp>=1.4' 'gtk-sharp-beans' 'gudev-sharp' 'gkeyfile-sharp' 'taglib-sharp>=2.0.3.7' 'gnome-sharp' 'libmtp>=0.2.0' 'libgpod>=0.7.95' 'mono-zeroconf>=0.8.0' 'gstreamer0.10-base-plugins>=0.10.25.2' 'desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils')
+makedepends=('intltool>=0.35.0' 'gnome-doc-utils>=0.17.3')
+optdepends=('gstreamer0.10-good-plugins: Extra media codecs'
+ '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')
+install=$pkgname.install
+source=(http://download.banshee.fm/$pkgname/stable/$pkgver/$pkgname-$pkgver.tar.bz2)
+md5sums=('ecd129a3232bda507b98c90e6f9272cf')
+sha1sums=('2b67fda2a15aa7eb5bc2a1e88f7013f3896913a4')
+
+build() {
+ export MONO_SHARED_DIR="$srcdir/.wabi"
+ mkdir -p "$MONO_SHARED_DIR"
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-docs \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-ipod --disable-hal \
+ --with-vendor-build-id=ArchLinux
+ make
+}
+
+package() {
+ export MONO_SHARED_DIR="$srcdir/.wabi"
+ mkdir -p "$MONO_SHARED_DIR"
+
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/testing/banshee/banshee.install b/testing/banshee/banshee.install
new file mode 100644
index 000000000..1d0fd332b
--- /dev/null
+++ b/testing/banshee/banshee.install
@@ -0,0 +1,15 @@
+pkgname=banshee
+
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}