1 # Maintainer: oke3 <Sekereg [at] gmx [dot] com>
2 # Contributor: Manuel Mazzuola <origin.of@gmail.com>
3 # Contributor: neuromante <lorenzo.nizzi.grifi@gmail.com>
9 pkgdesc="Music management and playback for GNOME"
10 url="http://banshee.fm/"
12 depends=('libxxf86vm' 'gstreamer0.10-base-plugins' 'mono-addins' 'notify-sharp-svn' 'dbus-sharp-glib' 'boo' 'libwebkit' 'libsoup-gnome' 'gdata-sharp' 'taglib-sharp' 'gconf-sharp' 'libmtp' 'libgpod' 'mono-zeroconf' 'desktop-file-utils' 'hicolor-icon-theme' 'xdg-utils' 'media-player-info' 'gtk-sharp-beans-git' 'gudev-sharp-git' 'gkeyfile-sharp-git')
13 makedepends=('intltool' 'gnome-doc-utils' 'git')
14 optdepends=('gstreamer0.10-good-plugins: Extra media codecs'
15 'gstreamer0.10-ugly-plugins: Extra media codecs'
16 'gstreamer0.10-bad-plugins: Extra media codecs'
17 'gstreamer0.10-ffmpeg: Extra media codecs'
18 'brasero: CD burning')
20 install=$pkgname.install
23 source=(banshee-recent-gpod.patch)
24 sha1sums=('693e5bb9993a2037b359e093419a62d815113e21')
26 _gitroot="git://git.gnome.org/banshee"
30 # export MONO_SHARED_DIR="$srcdir/.wabi"
31 # mkdir -p "$MONO_SHARED_DIR"
34 msg "Connecting to GIT server...."
36 if [[ -d "$_gitname" ]]; then
37 cd "$_gitname" && git pull origin && git submodule init && git submodule update
38 msg "The local files are updated."
40 git clone "$_gitroot" "$_gitname"
43 msg "GIT checkout done or server timeout"
44 msg "Starting build..."
46 rm -rf "$srcdir/$_gitname-build"
47 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
49 cd "$srcdir/$_gitname-build"
50 patch -Np1 -i "$srcdir/banshee-recent-gpod.patch"
52 ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
55 --disable-scrollkeeper \
56 --disable-schemas-install \
57 --with-vendor-build-id=ArchLinux
63 # export MONO_SHARED_DIR="$srcdir/.wabi"
64 # mkdir -p "$MONO_SHARED_DIR"
66 cd "$srcdir/$_gitname-build"
68 make DESTDIR="$pkgdir" install
70 install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"