desktop/qmmp/PKGBUILD

47 lines
1.6 KiB
Bash
Raw Normal View History

2015-09-06 21:21:45 +08:00
### Remember to check if qmmp-plugin-pack needs to update ###
2014-04-07 00:35:18 +08:00
2010-07-23 05:35:38 +08:00
pkgname=qmmp
2016-07-26 00:22:06 +08:00
pkgver=1.1.2
2015-06-07 21:49:23 +08:00
pkgrel=1
2015-09-04 20:44:21 +08:00
pkgdesc="Qt 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')
2016-06-22 07:08:10 +08:00
depends=('alsa-lib' 'curl' 'hicolor-icon-theme' 'libmad' 'libvorbis' 'libogg' 'qt5-base' 'qt5-tools'
'qt5-x11extras' 'qt5-multimedia' 'taglib' 'xdg-utils')
makedepends=('cmake' 'flac' 'jack' 'libmpcdec' 'ffmpeg' 'libsamplerate' 'libmodplug' 'libsndfile'
2016-06-22 07:08:10 +08:00
'wavpack' 'libcdio' 'mesa' 'faad2' 'libgme' 'libcddb' 'libmms' 'wildmidi')
2010-07-23 05:35:38 +08:00
optdepends=('flac: native FLAC support'
'jack: JACK sound output'
'oss: OSS sound output'
'pulseaudio: PulseAudio 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'
'faad2: ADTS AAC support'
'libgme: support for chiptunes from various platforms'
'libcddb: CDDB server support'
'libmms: MMS stream protocol support'
'ffmpeg' 'libsamplerate' 'wavpack')
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
2015-11-15 07:44:35 +08:00
source=("$pkgname-$pkgver::http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
2016-07-26 00:22:06 +08:00
sha256sums=('b858b8a3263ddeda247667ab2d59f95c159b24021ff858c79fcb9b09d9db6f08')
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 \
-DLIB_DIR=lib \
-DUSE_HAL:BOOL=FALSE
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
}