1 # Contributor: Juanma Hernandez <juanmah@gmail.com>
6 pkgdesc="Pana - the audio player for people who hate change (Amarok 1.4.10 fork)"
8 url="http://pana.bunnies.net/"
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')
14 source=("http://launchpad.net/pana/trunk/${pkgver}/+download/pana-${pkgver}.tbz"
15 "ruby19_configure2.patch"
16 "ruby19_rstring.patch"
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}
27 # RUBY=/opt/ruby1.8/bin/ruby ./configure --prefix=${startdir}/pkg`kde-config --prefix` \
28 ./configure --prefix=${startdir}/pkg`kde-config --prefix` \
45 --without-xmms || return 1
48 sed -i -e 's/konquisidebar//g' pana/src/Makefile
50 make install || return 1
53 md5sums=('a4dd4b36b9477023be208f980a3fff55'
54 'ed0104f3ab1642cd57dbf34ef2d9634c'
55 'f3753fd75029bd56fddf8ce43350e15b'
56 '1e9811f727b584d666231cf91659894e')