PKGBUILD 1.74 KB
Newer Older
Jeff Huang's avatar
Jeff Huang committed
1
 ### Remember to check if qmmp-plugin-pack needs to update ### 
utg's avatar
utg committed
2
 
abveritas's avatar
abveritas committed
3
pkgname=qmmp
Jeff Huang's avatar
Jeff Huang committed
4
pkgver=1.4.2
Jeff Huang's avatar
Jeff Huang committed
5
pkgrel=1
6
pkgdesc="Qt based audio-player"
abveritas's avatar
abveritas committed
7
arch=('x86_64')
Jeff Huang's avatar
Jeff Huang committed
8
url="https://qmmp.ylsoftware.com/"
abveritas's avatar
abveritas committed
9
license=('GPL')
Jeff Huang's avatar
Jeff Huang committed
10 11
depends=('alsa-lib' 'curl' 'hicolor-icon-theme' 'libmad' 'libvorbis' 'libogg'  'qt5-base' 'qt5-tools' 
	 'qt5-x11extras' 'qt5-multimedia' 'taglib' 'xdg-utils')
12
makedepends=('cmake'  'flac' 'jack' 'libmpcdec' 'ffmpeg' 'libsamplerate' 'libmodplug' 'libsndfile' 
13 14
             'wavpack' 'libcdio' 'mesa' 'faad2' 'libgme' 'libcddb' 'libmms' 'wildmidi' 'libcdio'
             'libcdio-paranoia' 'opusfile')
abveritas's avatar
abveritas committed
15 16
optdepends=('flac: native FLAC support'
            'jack: JACK sound output'
17
            'oss: OSS sound output'
18
            'pulseaudio: PulseAudio output'
abveritas's avatar
abveritas committed
19 20 21
            'libmpcdec: Musepack support'
            'libmodplug: MOD playing library'
            'libsndfile: sampled sound support'
22
            'libcdio-paranoia: Compact Disc input and control support'
23 24 25 26 27
            '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'
28
            'opusfile: Opus support'
29
            'ffmpeg' 'libsamplerate' 'wavpack')
30
categories=('multimedia')
31
screenshot=('http://qmmp.ylsoftware.com/images/qmmp-0.3.0_full_1.png')
gnastyle's avatar
gnastyle committed
32
source=("$pkgname-$pkgver::http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
Jeff Huang's avatar
Jeff Huang committed
33
sha256sums=('cac9518c1fa7abd4558efb78cb8a8a637db065c66420e45f1b2f33902ce07fcf')
abveritas's avatar
abveritas committed
34 35

build() {
Francesco Marinucci's avatar
Francesco Marinucci committed
36
  cd $pkgname-$pkgver
abveritas's avatar
abveritas committed
37

utg's avatar
utg committed
38
  cmake . -DCMAKE_INSTALL_PREFIX=/usr \
39
	  -DCMAKE_INSTALL_LIBDIR=/usr/lib \
40
	  -DUSE_HAL:BOOL=FALSE
Anke's avatar
Anke committed
41
  make
Neo Kolokotronis's avatar
Neo Kolokotronis committed
42 43 44
}

package() {
Francesco Marinucci's avatar
Francesco Marinucci committed
45
  cd $pkgname-$pkgver
Anke's avatar
Anke committed
46

abveritas's avatar
abveritas committed
47 48
  make DESTDIR=${pkgdir} install
}