diff options
Diffstat (limited to 'community-testing/qmmp/PKGBUILD')
-rw-r--r-- | community-testing/qmmp/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community-testing/qmmp/PKGBUILD b/community-testing/qmmp/PKGBUILD new file mode 100644 index 000000000..7f806fd67 --- /dev/null +++ b/community-testing/qmmp/PKGBUILD @@ -0,0 +1,42 @@ +#$Id: PKGBUILD 73339 2012-07-06 15:23:46Z ibiru $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + +pkgname=qmmp +pkgver=0.5.5 +pkgrel=2 +pkgdesc="Qt4 based audio-player" +arch=('i686' 'x86_64') +url="http://qmmp.ylsoftware.com/" +license=('GPL') +depends=('alsa-lib' 'curl' 'hicolor-icon-theme' 'libmad' 'libvorbis' 'libogg' 'qt' 'taglib' 'xdg-utils') +makedepends=('cmake' 'flac' 'jack' 'libmpcdec' 'pulseaudio' 'ffmpeg' 'libcdio' 'libcddb' 'libmms' 'libsamplerate' 'libmodplug' 'libsndfile' 'wavpack') +optdepends=('flac: native FLAC support' + 'jack: JACK sound output' + 'libmpcdec: Musepack support' + 'pulseaudio: PulseAudio output' + 'libcdio: Compact Disc input and control support' + 'libcddb: CDDB server support' + 'libmms: MMS stream protocol support' + 'libmodplug: MOD playing library' + 'libsndfile: sampled sound support' + 'ffmpeg' 'libsamplerate' 'wavpack') +install=$pkgname.install +source=("http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2" + 'ffmpeg-0.11.diff') +sha256sums=('525d7528c58c885e45149f698125dfff6bedca0e9af979b2490e3f0b902943a6' + 'f110e59b345fcf143e45642b1cb3e89ead6c85a927a49974620e285cb116b666') + +build() { + cd ${srcdir}/$pkgname-$pkgver + + patch -Np0 -i ${srcdir}/ffmpeg-0.11.diff + + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make +} + +package() { + cd ${srcdir}/$pkgname-$pkgver + + make DESTDIR=${pkgdir} install +} |