2 # Maintainer: Daniel Isenmann <daniel@archlinux.org>
3 # Contributor: György Balló <ballogy@freestart.hu>
8 pkgdesc="Music management and playback for GNOME"
10 url="http://banshee.fm/"
12 depends=(libxxf86vm gst-plugins-base-libs mono-addins dbus-sharp-glib webkitgtk2 libsoup-gnome gdata-sharp taglib-sharp gudev-sharp gkeyfile-sharp gconf-sharp libmtp libgpod mono-zeroconf hicolor-icon-theme media-player-info gst-plugins-bad mono-upnp gst-plugins-good gvfs)
13 makedepends=('intltool' 'gnome-doc-utils' 'gtk-sharp-beans' 'gnome-common')
14 optdepends=('gst-plugins-ugly: Extra media codecs'
15 'gst-libav: Extra media codecs'
16 'brasero: CD burning')
17 source=(http://download.gnome.org/sources/$pkgname/2.6/$pkgname-$pkgver.tar.xz
18 Initial-port-to-GStreamer-1.0.patch
19 Remove-build-time-enable-gapless-playback-option.patch
20 Don-t-use-the-new-decoded-pad-signal-of-decodebin.patch
21 Use-new-style-GStreamer-1.0-raw-audio-caps-in-the-WA.patch
23 Remove-IDBusExportable-inheritance-from-exported-int.patch
25 md5sums=('12dbb8a996783f7081d538062a8589b7'
26 '16cbe2ef60e6f9b22015585bb3209648'
27 '0bf7ee4241b12538779c9ecc401d142a'
28 'f87534f54029794bd7be2a123ab01300'
29 'd092827720e4a11549587eb3131123ae'
30 '2677e6edc2e0d2ce8994adc852dda362'
31 '3b28f10e167c0aae27157dcc3b828b67'
32 '2c4436f7aba58fdd0c5a38d709d73e5c')
36 patch -p1 -i ../Initial-port-to-GStreamer-1.0.patch
37 patch -p1 -i ../Remove-build-time-enable-gapless-playback-option.patch
38 patch -p1 -i ../Don-t-use-the-new-decoded-pad-signal-of-decodebin.patch
39 patch -p1 -i ../Use-new-style-GStreamer-1.0-raw-audio-caps-in-the-WA.patch
40 patch -p1 -i ../sqlite_fix.patch
41 patch -p1 -i ../Remove-IDBusExportable-inheritance-from-exported-int.patch
42 patch -p1 -i ../Use-dbus-2.patch
44 NOCONFIGURE=1 ./autogen.sh
45 # Fix build with mono 4.0 (Fedora)
46 sed -i "s#mono/2.0#mono/4.5#g" configure
47 sed -i "s#Mono 2.0#Mono 4.5#g" configure
51 export MONO_SHARED_DIR="$srcdir/.wabi"
52 mkdir -p "$MONO_SHARED_DIR"
55 MCS=/usr/bin/dmcs ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
58 --disable-scrollkeeper \
59 --disable-schemas-install \
61 --with-vendor-build-id=ArchLinux
66 export MONO_SHARED_DIR="$srcdir/.wabi"
67 mkdir -p "$MONO_SHARED_DIR"
69 cd "$srcdir/$pkgname-$pkgver"
70 make DESTDIR="$pkgdir" install
72 install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"