2015-06-07 21:54:18 +08:00
|
|
|
pkgname=qmmp-plugin-pack
|
2018-07-21 09:06:37 +08:00
|
|
|
pkgver=1.2.2
|
2013-06-07 17:35:42 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Qmmp Plugin Pack"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="http://qmmp.ylsoftware.com"
|
|
|
|
license=('GPL')
|
2015-10-10 20:46:59 +08:00
|
|
|
depends=("qmmp>=1.0.0")
|
2016-06-22 07:15:41 +08:00
|
|
|
makedepends=('cmake' 'yasm' 'mpg123' 'libsamplerate')
|
|
|
|
optdepends=('mpg123: for mpg123 plugin'
|
|
|
|
'libsamplerate: libsamplerate-based sample rate converter')
|
2013-06-07 17:35:42 +08:00
|
|
|
source=(http://qmmp.ylsoftware.com/files/plugins/$pkgname-$pkgver.tar.bz2)
|
2018-07-21 09:06:37 +08:00
|
|
|
sha512sums=('401b2e01755c282781b23041ffd0740ee9f32b5f02bbf752b692dc5cc0848a0aea3b970931940b16f2e0ffba6e1ae54279553adce8da2543a11944468511dfff')
|
2013-06-07 17:35:42 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2014-04-07 00:36:12 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_DIR=/usr/lib -DCMAKE_BUILD_TYPE=RELEASE -DUSE_FFAP:BOOL=TRUE
|
2013-06-07 17:35:42 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|