mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
47 lines
1.6 KiB
Bash
47 lines
1.6 KiB
Bash
### Remember to check if qmmp-plugin-pack needs to update ###
|
|
|
|
pkgname=qmmp
|
|
pkgver=1.1.2
|
|
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')
|
|
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: 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')
|
|
install=$pkgname.install
|
|
source=("$pkgname-$pkgver::http://qmmp.ylsoftware.com/files/$pkgname-$pkgver.tar.bz2")
|
|
sha256sums=('b858b8a3263ddeda247667ab2d59f95c159b24021ff858c79fcb9b09d9db6f08')
|
|
|
|
build() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLIB_DIR=lib \
|
|
-DUSE_HAL:BOOL=FALSE
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/$pkgname-$pkgver
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
}
|