desktop/qmmp/PKGBUILD

50 lines
1.8 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
2018-07-21 09:04:00 +08:00
pkgver=1.2.3
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'
'wavpack' 'libcdio' 'mesa' 'faad2' 'libgme' 'libcddb' 'libmms' 'wildmidi' 'libcdio'
'libcdio-paranoia' 'opusfile')
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-paranoia: Compact Disc input and control 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'
'opusfile: Opus 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")
2018-07-21 09:04:00 +08:00
sha256sums=('32a162b273a61b5d7a568f266d0cc3c3dab63c310d89046280ace42d84ac9816')
2010-07-23 05:35:38 +08:00
build() {
2017-06-03 23:47:09 +08:00
cd $pkgname-$pkgver
2010-07-23 05:35:38 +08:00
2014-04-07 00:35:18 +08:00
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DUSE_HAL:BOOL=FALSE
2012-01-23 03:34:33 +08:00
make
2011-09-30 07:52:15 +08:00
}
package() {
2017-06-03 23:47:09 +08:00
cd $pkgname-$pkgver
2012-01-23 03:34:33 +08:00
2010-07-23 05:35:38 +08:00
make DESTDIR=${pkgdir} install
}