[arch-commits] Commit in csound-plugins/trunk (PKGBUILD)
Brett Cornwall
ainola at gemini.archlinux.org
Thu Feb 10 03:26:39 UTC 2022
Date: Thursday, February 10, 2022 @ 03:26:39
Author: ainola
Revision: 1130862
Add csound-plugins
Modified:
csound-plugins/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++------------------
1 file changed, 15 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-10 03:12:21 UTC (rev 1130861)
+++ PKGBUILD 2022-02-10 03:26:39 UTC (rev 1130862)
@@ -1,7 +1,7 @@
# Maintainer: Brett Cornwall <ainola at archlinux.org>
pkgname=csound-plugins
-pkgver=r32.e2c9cf5
+pkgver=1.0.2
pkgrel=1
pkgdesc="Extra opcodes for Csound"
arch=(x86_64)
@@ -10,35 +10,32 @@
groups=('pro-audio')
depends=(
'csound'
+ 'hdf5'
+ 'lame'
+ 'libfaust.so'
+ 'libfltk.so'
+ 'libfluidsynth.so'
+ 'libjack.so'
+ 'libwebsockets.so'
+ 'libwiiuse.so'
'python'
+ 'stk'
)
makedepends=(
'cmake'
- 'faust'
- 'fltk'
+ 'eigen'
'git'
+ 'gmm'
'libpng'
)
-optdepends=(
- 'faust: for libfaustcsound plugin'
- 'fltk: for libvirtual and libwidgets plugins'
- 'libpng: for libimage plugin'
-)
-source=('git+https://github.com/csound/plugins.git#tag=e2c9cf5deded1e57ffbfe5d12e27489ba2b9b9c3')
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/csound/plugins/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('8c2f0625ad1d38400030f414b92d82cfdec5c04b7dc178852f3e1935abf75d30')
-pkgver() {
- cd plugins
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
-}
-
build() {
mkdir build
- # libchua is already built by csound for now.
- cmake -B build -S plugins \
+ cmake -B build -S "plugins-$pkgver" \
-DCMAKE_BUILD_TYPE='None' \
-DCMAKE_INSTALL_PREFIX='/usr' \
- -DBUILD_CHUA_OPCODES='OFF' \
-Wno-dev
make -C build
}
More information about the arch-commits
mailing list