updated on Tue Jan 10 00:10:07 UTC 2012
[aur-mirror.git] / pana / PKGBUILD
blob7313044f9a3afdd69452bdfbe426e201d6e6c6f5
1 # Contributor: Juanma Hernandez <juanmah@gmail.com>
3 pkgname=pana
4 pkgver=1.4.16
5 pkgrel=2
6 pkgdesc="Pana - the audio player for people who hate change (Amarok 1.4.10 fork)"
7 arch=("i686" "x86_64")
8 url="http://pana.bunnies.net/"
9 license=('GPL')
10 depends=('xine-lib>=1.1.3' 'libmysqlclient>=5.0.45' 'postgresql-libs>=8.2.4' 'ruby' 'tunepimp>=0.5.3' 'kdelibs3>=3.5.7' 'libgpod>=0.6.0'  'libifp>=1.0.0.2' 'libnjb>=2.2.5' 'libvisual>=0.4.0' 'libmtp')
11 makedepends=('pkgconfig' 'kdelibs3' 'libmtp>=0.2.6.1' 'xine-lib>=1.1.8' 'sdl>=1.2.12')
12 conflicts=('amarok1')
13 provides=('pana')
14 source=("http://launchpad.net/pana/trunk/${pkgver}/+download/pana-${pkgver}.tbz"
15         "ruby19_configure2.patch"
16         "ruby19_rstring.patch"
17         "gcc45.patch")
19 build() {
20   patch -Np0 -i $srcdir/ruby19_configure2.patch || return 1
21   patch -Np0 -i $srcdir/ruby19_rstring.patch || return 1
22   patch -Np0 -i $srcdir/gcc45.patch || return 1
24   cd ${startdir}/src/${pkgname}-${pkgver}
26   # prepare build
27 #  RUBY=/opt/ruby1.8/bin/ruby ./configure --prefix=${startdir}/pkg`kde-config --prefix` \
28   ./configure --prefix=${startdir}/pkg`kde-config --prefix` \
29         --with-gnu-ld \
30         --enable-mysql \
31         --enable-postgresql \
32         --with-mp4v2 \
33         --with-ifp \
34         --with-libnjb \
35         --with-libmtp \
36         --with-libgpod \
37         --without-arts \
38         --without-gstreamer \
39         --with-xine \
40         --without-nmm \
41         --without-mas \
42         --with-libvisual \
43         --disable-debug \
44         --enable-debug=no \
45         --without-xmms || return 1
47   # build
48   sed -i -e 's/konquisidebar//g' pana/src/Makefile
49   make || return 1
50   make install || return 1
53 md5sums=('a4dd4b36b9477023be208f980a3fff55'
54          'ed0104f3ab1642cd57dbf34ef2d9634c'
55          'f3753fd75029bd56fddf8ce43350e15b'
56          '1e9811f727b584d666231cf91659894e')