summaryrefslogtreecommitdiff
path: root/community-staging/qmmp/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-06-08 19:39:26 +0000
committerroot <root@rshg054.dnsready.net>2012-06-08 19:39:26 +0000
commit63bd66056e59c02a988bf17876bd72e27bb4dc8b (patch)
tree9dc5a47228611569e90bbdf40b10943f0e5fc5aa /community-staging/qmmp/PKGBUILD
parent8735a5c54cf26dd5b5b686850f800a4aed49ff78 (diff)
Fri Jun 8 19:39:26 UTC 2012
Diffstat (limited to 'community-staging/qmmp/PKGBUILD')
-rw-r--r--community-staging/qmmp/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community-staging/qmmp/PKGBUILD b/community-staging/qmmp/PKGBUILD
new file mode 100644
index 000000000..caaa6b511
--- /dev/null
+++ b/community-staging/qmmp/PKGBUILD
@@ -0,0 +1,42 @@
+#$Id: PKGBUILD 72061 2012-06-07 17:49:23Z tdziedzic $
+# 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
+}