1 # Contributor: h31 <h31mail@yandex.com>
2 # Maintainer: Andrew Panchenko <panchenkoac@gmail.com>
3 pkgname=qmmp-svn-stable
6 pkgdesc="A Qt4 based audio-player - svn version (stable 0.5.x branch)"
8 url="http://qmmp.ylsoftware.com"
10 depends=('qt>=4.6' 'tar' 'unzip' 'bzip2' 'gzip' 'libmad' 'libvorbis' 'libogg'
11 'alsa-lib>=1.0.1' 'taglib>=1.6' 'curl>=7.16' 'hicolor-icon-theme')
12 optdepends=( 'libmms>=0.4' 'flac>=1.1.3' 'libmpcdec>=1.2.6' 'jack>=0.102.5'
13 'libsamplerate>=0.1.2' 'libmodplug>=0.8.4' 'libsndfile>=1.0.17'
14 'wavpack>=4.41' 'libpulse>=0.9.15' 'ffmpeg' 'libcdio>=0.80'
15 'faad2>=2.6.1' 'libgme>=0.5.5' 'wildmidi>=0.2.3.4'
16 'libbs2b>=3.0.0' 'projectm>=1.2.0' 'enca>=1.9' 'mplayer' )
17 makedepends=('subversion' 'cmake>=2.6.0')
18 provides=('qmmp' 'qmmp-svn')
19 conflicts=('qmmp' 'qmmp-svn')
20 install=${pkgname}.install
24 _svntrunk=http://qmmp.googlecode.com/svn/branches/qmmp-0.5/
25 _svnmod=qmmp-read-only
29 if [ -d $_svnmod/.svn ]; then
30 (cd $_svnmod && svn up -r $pkgver)
32 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
34 msg "SVN checkout done or server timeout"
35 if [ -d $_svnmod-build ]; then
38 svn --force export $_svnmod $_svnmod-build
40 msg "Starting make..."
41 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE
46 make DESTDIR="${pkgdir}" install || return 1