mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
25 lines
785 B
Bash
25 lines
785 B
Bash
pkgname=qmmp-plugin-pack
|
|
pkgver=1.2.3
|
|
pkgrel=1
|
|
pkgdesc="Qmmp Plugin Pack"
|
|
arch=('x86_64')
|
|
url="http://qmmp.ylsoftware.com"
|
|
license=('GPL')
|
|
depends=("qmmp>=1.0.0")
|
|
makedepends=('cmake' 'yasm' 'mpg123' 'libsamplerate')
|
|
optdepends=('mpg123: for mpg123 plugin'
|
|
'libsamplerate: libsamplerate-based sample rate converter')
|
|
source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2)
|
|
sha512sums=('d670cd4703fb790b413215d57163ea201a494a85bfab8880fee7ca96eb7827a11e855f70265af7009292ed5a2452ca36f3054806fff5f0ce7b06e914626ccdbc')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|