desktop/qmmp/PKGBUILD

38 lines
1.1 KiB
Bash
Raw Normal View History

2014-04-07 00:35:18 +08:00
### remember to update qmmp-plugin-pack as well ###
2010-07-23 05:35:38 +08:00
pkgname=qmmp
2015-04-08 18:13:03 +08:00
pkgver=0.8.4
2015-04-24 11:07:18 +08:00
pkgrel=2
2010-07-23 05:35:38 +08:00
pkgdesc="Qt4 based audio-player"
2012-11-15 12:44:16 +08:00
arch=('x86_64')
2010-07-23 05:35:38 +08:00
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')
2010-07-23 05:35:38 +08:00
optdepends=('flac: native FLAC support'
'jack: JACK sound output'
'oss: OSS sound output'
2010-07-23 05:35:38 +08:00
'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')
2010-07-23 05:35:38 +08:00
install=$pkgname.install
2012-11-15 12:44:16 +08:00
source=("http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
2015-04-08 18:13:03 +08:00
md5sums=('f7369a9c6387d484d3f5af143aec6840')
2010-07-23 05:35:38 +08:00
build() {
cd ${srcdir}/$pkgname-$pkgver
2014-04-07 00:35:18 +08:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
2015-04-24 11:07:18 +08:00
-DLIB_DIR=lib
2012-01-23 03:34:33 +08:00
make
2011-09-30 07:52:15 +08:00
}
package() {
cd ${srcdir}/$pkgname-$pkgver
2012-01-23 03:34:33 +08:00
2010-07-23 05:35:38 +08:00
make DESTDIR=${pkgdir} install
}