blob: 0b579dad1ab45ed2c84a7b16fac1e67931955122 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# $Id: PKGBUILD 141668 2011-11-02 03:17:12Z eric $
# Maintainer (Arch): Daniel Isenmann <daniel@archlinux.org>
# Contributor (Arch): György Balló <ballogy@freestart.hu>
# Maintainer: André Silva <emulatorman@parabola.nu>
pkgname=banshee
pkgver=2.6.2
pkgrel=7.nonprism1
pkgdesc="Music management and playback for GNOME, without gdata-sharp support"
arch=('i686' 'x86_64' 'mips64el')
url="http://banshee.fm/"
license=('MIT')
depends=(libxxf86vm gst-plugins-base-libs 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 gst-plugins-bad mono-upnp gst-plugins-good gvfs)
makedepends=('intltool' 'gnome-doc-utils' 'gtk-sharp-beans' 'gnome-common')
optdepends=('gst-plugins-ugly: Extra media codecs'
'gst-libav: Extra media codecs'
'brasero: CD burning')
replaces=(${pkgname}-nonprism)
conflicts=(${pkgname}-nonprism)
install=$pkgname.install
source=(http://download.gnome.org/sources/$pkgname/2.6/$pkgname-$pkgver.tar.xz
Initial-port-to-GStreamer-1.0.patch
Remove-build-time-enable-gapless-playback-option.patch
Don-t-use-the-new-decoded-pad-signal-of-decodebin.patch
Use-new-style-GStreamer-1.0-raw-audio-caps-in-the-WA.patch
sqlite_fix.patch
Remove-IDBusExportable-inheritance-from-exported-int.patch
Use-dbus-2.patch)
md5sums=('12dbb8a996783f7081d538062a8589b7'
'16cbe2ef60e6f9b22015585bb3209648'
'0bf7ee4241b12538779c9ecc401d142a'
'f87534f54029794bd7be2a123ab01300'
'd092827720e4a11549587eb3131123ae'
'72ca131b950d58998fd9286fad722ed7'
'3b28f10e167c0aae27157dcc3b828b67'
'2c4436f7aba58fdd0c5a38d709d73e5c')
prepare() {
cd $pkgname-$pkgver
patch -p1 -i ../Initial-port-to-GStreamer-1.0.patch
patch -p1 -i ../Remove-build-time-enable-gapless-playback-option.patch
patch -p1 -i ../Don-t-use-the-new-decoded-pad-signal-of-decodebin.patch
patch -p1 -i ../Use-new-style-GStreamer-1.0-raw-audio-caps-in-the-WA.patch
patch -p1 -i ../sqlite_fix.patch
patch -p1 -i ../Remove-IDBusExportable-inheritance-from-exported-int.patch
patch -p1 -i ../Use-dbus-2.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"
}
|