mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
25 lines
798 B
Bash
25 lines
798 B
Bash
pkgname=qmmp-plugin-pack
|
|
pkgver=1.3.0
|
|
pkgrel=2
|
|
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=('5d320938cc5cdd540149f131e41c87c0eb5b4db79fa6f6706dcf30177ce988733c291d95c731e14df13a2d1f9af13916de060d8eaf38910bfcef42aac68bc900')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|