33 lines
1.4 KiB
Bash
33 lines
1.4 KiB
Bash
# Template file for 'sc3-plugins'
|
|
pkgname=sc3-plugins
|
|
version=3.10.0
|
|
revision=2
|
|
wrksrc="${pkgname}-Version-${version}"
|
|
_nova_simd_hash=2bdc68bc5704a42578300a4c18411df2405cb307
|
|
build_style=cmake
|
|
configure_args="-DSC_PATH=${XBPS_BUILDDIR}/SuperCollider-Source -DSUPERNOVA=ON -DSYSTEM_STK=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fftw-devel libstk-devel"
|
|
depends="supercollider"
|
|
short_desc="Extension plugins for the SuperCollider3 audio synthesis server"
|
|
maintainer="Jarbowski <jarbowski@cock.lu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/supercollider/sc3-plugins"
|
|
distfiles="https://github.com/supercollider/sc3-plugins/archive/Version-${version}.tar.gz
|
|
https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source-linux.tar.bz2
|
|
https://github.com/timblechmann/nova-simd/archive/${_nova_simd_hash}.tar.gz"
|
|
checksum="b8144231ea1bfc1c9d8aa6780c7e963dfb642868794abbfd8ccab418ffbbdfbe
|
|
9b2035a3a7942c61cbe89b00c35c7e16ac281c06786fe1c30dfd333194be499a
|
|
df9f280daaad56fdadb5fa75d492ee6a06762a41d7346aa473aa49c1ac9ec9c8"
|
|
|
|
post_extract() {
|
|
rm -rf external_libraries/nova-simd
|
|
mv ${XBPS_BUILDDIR}/nova-simd-${_nova_simd_hash} external_libraries/nova-simd
|
|
}
|
|
|
|
post_install() {
|
|
vmkdir usr/lib/SuperCollider/Extensions/SC3plugins/LadspaUGen
|
|
mv -v ${DESTDIR}/usr/{share,lib}/SuperCollider/Extensions/SC3plugins/LadspaUGen/ladspalist
|
|
rm -rf ${XBPS_BUILDDIR}/SuperCollider-Source
|
|
}
|