updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / cuberok / PKGBUILD
blob337658235645b71d5d7f43fab49665909c3128db
1 # Contributor: Borislav Gerassimov (slimmer) <borislavba (at) gmail.com>
2 pkgname=cuberok
3 pkgver=0.1.0
4 pkgrel=1
5 pkgdesc="Yet another music player based on Qt4."
6 arch=('i686' 'x86_64')
7 url=('http://code.google.com/p/cuberok/')
8 license=('GPL')
10 # Comment/uncomment the lines with the engines you need. GStreamer is a
11 # dependency of qt, so phonon and gstreamer engines are built by default.
12 depends=('qt' 'gstreamer0.10-good-plugins' 'phonon'
13 #         'audiere'                    # Audiere engine
14 #         'ffmpeg'                     # FFMpeg engine
15         )
16 optdepends=('gstreamer0.10-bad-plugins: GStreamer support for aac'
17             'gstreamer0.10-ugly-plugins: GStreamer support for mp3'
18             'gstreamer0.10-ffmpeg: GStreamer support for wma, mp3, etc...'
20 makedepends=('make' 'pkgconfig' 'sed')
21 conflicts=('cuberok-svn')
22 source=("http://cuberok.googlecode.com/files/$pkgname-$pkgver.tar.gz")
23 md5sums=('edd7594997d54989a6c3a3671e6bd4c4')
25 build() {
26   cd $srcdir/$pkgname-$pkgver
27   # Archlinux compliance
28   sed -i 's/64//g' ./plugins/plugins_path-x86-64.pri
29   sed -i 's/64//g' ./plugins/plugins_path-x86_64.pri
31   #Disable ffmpeg plugin as it is not compiling fine. If you are willing to test, comment it
32   sed -i 's/SUBDIRS += plugins\/player_ffmpeg//g' Cuberok.pro
33   sed -i s\|/usr/local\|$pkgdir/usr\| unix_build.sh
34   sed -i s/sudo// unix_build.sh
35   chmod +x ./unix_build.sh
36   ./unix_build.sh || return 1
37   #make INSTALL_ROOT=$pkgdir/usr install || return 1