mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:37:15 +08:00
49 lines
1.7 KiB
Bash
49 lines
1.7 KiB
Bash
### Remember to check if qmmp-plugin-pack needs to update ###
|
|
|
|
pkgname=qmmp
|
|
pkgver=1.2.6
|
|
pkgrel=1
|
|
pkgdesc="Qt based audio-player"
|
|
arch=('x86_64')
|
|
url="http://qmmp.ylsoftware.com/"
|
|
license=('GPL')
|
|
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')
|
|
optdepends=('flac: native FLAC support'
|
|
'jack: JACK sound output'
|
|
'oss: OSS sound output'
|
|
'pulseaudio: PulseAudio output'
|
|
'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')
|
|
source=("$pkgname-$pkgver::http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
|
|
sha256sums=('98ce65685f686296db31a697121a6d86768ff34c30f4dc99ed56e0d10682f7fe')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
|
-DUSE_HAL:BOOL=FALSE
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|