summaryrefslogtreecommitdiff
path: root/nonprism/banshee-nonprism/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/banshee-nonprism/PKGBUILD')
-rw-r--r--nonprism/banshee-nonprism/PKGBUILD61
1 files changed, 61 insertions, 0 deletions
diff --git a/nonprism/banshee-nonprism/PKGBUILD b/nonprism/banshee-nonprism/PKGBUILD
new file mode 100644
index 000000000..883c7beaf
--- /dev/null
+++ b/nonprism/banshee-nonprism/PKGBUILD
@@ -0,0 +1,61 @@
+# $Id: PKGBUILD 141668 2011-11-02 03:17:12Z eric $
+# Maintainer: Daniel Isenmann <daniel@archlinux.org>
+# Contributor: György Balló <ballogy@freestart.hu>
+# Maintainer (Parabola): André Silva <emulatorman@parabola.nu>
+
+_pkgname=banshee
+pkgname=banshee-nonprism
+pkgver=2.6.1
+pkgrel=2
+pkgdesc="Music management and playback for GNOME, without gdata-sharp support"
+arch=('i686' 'x86_64')
+url="http://banshee.fm/"
+license=('MIT')
+depends=(libxxf86vm gstreamer0.10-base-plugins mono-addins dbus-sharp-glib webkitgtk2 libsoup-gnome taglib-sharp gudev-sharp gkeyfile-sharp gconf-sharp libmtp libgpod mono-zeroconf desktop-file-utils hicolor-icon-theme media-player-info gstreamer0.10-bad-plugins mono-upnp)
+makedepends=('intltool' 'gnome-doc-utils' 'gtk-sharp-beans' 'gnome-common')
+optdepends=('gstreamer0.10-good-plugins: Extra media codecs'
+ 'gstreamer0.10-ugly-plugins: Extra media codecs'
+ 'gstreamer0.10-ffmpeg: Extra media codecs'
+ 'brasero: CD burning')
+options=('!libtool')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+install=$_pkgname.install
+source=(http://download.gnome.org/sources/$_pkgname/2.6/$_pkgname-$pkgver.tar.xz
+ git-fixes.patch)
+sha256sums=('53b8990cd439963edbfa776b3029bd73809e413bec302e3b6cf3914c6e74fb64'
+ '57bac0eff43426044385c3650a677fb546f6e3e74a59b4b44dcd000a03e97fa6')
+
+prepare() {
+ cd $_pkgname-$pkgver
+ patch -Np1 -i ../git-fixes.patch
+}
+
+build() {
+ export MONO_SHARED_DIR="$srcdir/.wabi"
+ mkdir -p "$MONO_SHARED_DIR"
+
+ cd $_pkgname-$pkgver
+
+ # Disable youtube extension because it needs gdata-sharp to works
+ MCS=/usr/bin/dmcs ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --disable-docs \
+ --disable-static \
+ --disable-scrollkeeper \
+ --disable-schemas-install \
+ --disable-boo \
+ --disable-youtube \
+ --with-vendor-build-id=Parabola
+ 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"
+}