desktop/qmmp/PKGBUILD
2014-07-08 08:58:27 +00:00

41 lines
1.3 KiB
Bash

# maintainer: UtG <utg[dot]chakra.linux[at]gmail[dot]com>
# maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
### remember to update qmmp-plugin-pack as well ###
pkgname=qmmp
pkgver=0.8.0
pkgrel=1
pkgdesc="Qt4 based audio-player"
arch=('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' 'ffmpeg' 'libsamplerate' 'libmodplug' 'libsndfile' 'wavpack' 'libcdio' 'oss' 'mesa')
optdepends=('flac: native FLAC support'
'jack: JACK sound output'
'oss: OSS sound output'
'libmpcdec: Musepack support'
'libmodplug: MOD playing library'
'libsndfile: sampled sound support'
'libcdio: for audio CD playback support')
categories=('multimedia')
screenshot=('http://qmmp.ylsoftware.com/images/qmmp-0.3.0_full_1.png')
install=$pkgname.install
source=("http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
md5sums=('accbfd2939a6578a37766b32aadc983a')
build() {
cd ${srcdir}/$pkgname-$pkgver
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib
make
}
package() {
cd ${srcdir}/$pkgname-$pkgver
make DESTDIR=${pkgdir} install
}