updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / muine / PKGBUILD
blob819af5315c1d77223f071813b29e1d50d5556091
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Ben Mazer <blm@groknil.org>
5 pkgname=muine
6 pkgver=0.8.11
7 pkgrel=2
8 pkgdesc="A music player written in C Sharp"
9 arch=(i686 x86_64)
10 license=('GPL')
11 url="http://www.muine-player.org/"
12 depends=('gstreamer0.10-base-plugins' 'gstreamer0.10-good-plugins' 'libgnome-sharp' 'gconf-sharp' 'taglib-sharp' 'notify-sharp-svn' 'musicbrainz' 'desktop-file-utils' 'hicolor-icon-theme')
13 makedepends=('intltool' 'gnome-common')
14 optdepends=('gstreamer0.10-ugly-plugins: Extra media codecs'
15             'gstreamer0.10-bad-plugins: Extra media codecs'
16             'gstreamer0.10-ffmpeg: Extra media codecs')
17 options=('!libtool')
18 install=muine.install
19 source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/0.8/$pkgname-$pkgver.tar.bz2
20         use-coloredcellrendererpixbuf.patch
21         fix-multimedia-key-support.patch
22         use-notify-sharp.patch
23         fix-deprecations.patch
24         use-standard-icons.patch)
25 md5sums=('f2a74519d9e9c6c4fca9c5217a13964a'
26          '44d9b28b79b182e1efb1c56910994c5f'
27          '983072d2aa9b64baa8fc185e5bc6459b'
28          '28fbe637f970980ae71114e2e97500f8'
29          '1344a8a188cd89f6e7c1a38f3a52d277'
30          '322768fd2df44fc635c09df4fa82641b')
32 build() {
33   cd "$srcdir/$pkgname-$pkgver"
34   patch -Np1 -R -i "$srcdir/use-coloredcellrendererpixbuf.patch"
35   patch -Np1 -i "$srcdir/fix-multimedia-key-support.patch"
36   patch -Np1 -i "$srcdir/use-notify-sharp.patch"
37   patch -Np1 -i "$srcdir/fix-deprecations.patch"
38   patch -Np1 -i "$srcdir/use-standard-icons.patch"
40   autoreconf -fi
41   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
42               --disable-static --disable-schemas-install \
43               --with-gconf-schema-file-dir=/usr/share/gconf/schemas
44   make
47 package() {
48   cd "$srcdir/$pkgname-$pkgver"
50   make DESTDIR="$pkgdir" install