mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
sc3-plugins: use create_wrksrc
This commit is contained in:
parent
c2d5c6e1b2
commit
c9dbbfd7d4
2 changed files with 12 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- a/source/NHUGens/NHHall.cpp 2018-11-18 23:18:46.000000000 +0100
|
--- a/sc3-plugins/source/NHUGens/NHHall.cpp 2018-11-18 23:18:46.000000000 +0100
|
||||||
+++ b/source/NHUGens/NHHall.cpp 2020-09-13 07:57:48.084435095 +0200
|
+++ b/sc3-plugins/source/NHUGens/NHHall.cpp 2020-09-13 07:57:48.084435095 +0200
|
||||||
@@ -25,6 +25,7 @@
|
@@ -25,6 +25,7 @@
|
||||||
For more information, please refer to <http://unlicense.org>
|
For more information, please refer to <http://unlicense.org>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -2,10 +2,11 @@
|
||||||
pkgname=sc3-plugins
|
pkgname=sc3-plugins
|
||||||
version=3.10.0
|
version=3.10.0
|
||||||
revision=2
|
revision=2
|
||||||
wrksrc="${pkgname}-Version-${version}"
|
|
||||||
_nova_simd_hash=2bdc68bc5704a42578300a4c18411df2405cb307
|
_nova_simd_hash=2bdc68bc5704a42578300a4c18411df2405cb307
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_wrksrc=sc3-plugins
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DSC_PATH=${XBPS_BUILDDIR}/SuperCollider-Source -DSUPERNOVA=ON -DSYSTEM_STK=ON"
|
configure_args="-DSUPERNOVA=ON -DSYSTEM_STK=ON"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="fftw-devel libstk-devel"
|
makedepends="fftw-devel libstk-devel"
|
||||||
depends="supercollider"
|
depends="supercollider"
|
||||||
|
@ -21,12 +22,16 @@ checksum="b8144231ea1bfc1c9d8aa6780c7e963dfb642868794abbfd8ccab418ffbbdfbe
|
||||||
df9f280daaad56fdadb5fa75d492ee6a06762a41d7346aa473aa49c1ac9ec9c8"
|
df9f280daaad56fdadb5fa75d492ee6a06762a41d7346aa473aa49c1ac9ec9c8"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
rm -rf external_libraries/nova-simd
|
mv sc3-plugins-* sc3-plugins
|
||||||
mv ${XBPS_BUILDDIR}/nova-simd-${_nova_simd_hash} external_libraries/nova-simd
|
rm -rf sc3-plugins/external_libraries/nova-simd
|
||||||
|
mv nova-simd-${_nova_simd_hash} sc3-plugins/external_libraries/nova-simd
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
configure_args+=" -DSC_PATH=${wrksrc}/SuperCollider-Source "
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/lib/SuperCollider/Extensions/SC3plugins/LadspaUGen
|
vmkdir usr/lib/SuperCollider/Extensions/SC3plugins/LadspaUGen
|
||||||
mv -v ${DESTDIR}/usr/{share,lib}/SuperCollider/Extensions/SC3plugins/LadspaUGen/ladspalist
|
mv -v ${DESTDIR}/usr/{share,lib}/SuperCollider/Extensions/SC3plugins/LadspaUGen/ladspalist
|
||||||
rm -rf ${XBPS_BUILDDIR}/SuperCollider-Source
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue