sc3-plugins: use create_wrksrc
This commit is contained in:
parent
c2d5c6e1b2
commit
c9dbbfd7d4
|
@ -1,5 +1,5 @@
|
|||
--- a/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
|
||||
--- a/sc3-plugins/source/NHUGens/NHHall.cpp 2018-11-18 23:18:46.000000000 +0100
|
||||
+++ b/sc3-plugins/source/NHUGens/NHHall.cpp 2020-09-13 07:57:48.084435095 +0200
|
||||
@@ -25,6 +25,7 @@
|
||||
For more information, please refer to <http://unlicense.org>
|
||||
*/
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
pkgname=sc3-plugins
|
||||
version=3.10.0
|
||||
revision=2
|
||||
wrksrc="${pkgname}-Version-${version}"
|
||||
_nova_simd_hash=2bdc68bc5704a42578300a4c18411df2405cb307
|
||||
create_wrksrc=yes
|
||||
build_wrksrc=sc3-plugins
|
||||
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"
|
||||
makedepends="fftw-devel libstk-devel"
|
||||
depends="supercollider"
|
||||
|
@ -21,12 +22,16 @@ checksum="b8144231ea1bfc1c9d8aa6780c7e963dfb642868794abbfd8ccab418ffbbdfbe
|
|||
df9f280daaad56fdadb5fa75d492ee6a06762a41d7346aa473aa49c1ac9ec9c8"
|
||||
|
||||
post_extract() {
|
||||
rm -rf external_libraries/nova-simd
|
||||
mv ${XBPS_BUILDDIR}/nova-simd-${_nova_simd_hash} external_libraries/nova-simd
|
||||
mv sc3-plugins-* sc3-plugins
|
||||
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() {
|
||||
vmkdir usr/lib/SuperCollider/Extensions/SC3plugins/LadspaUGen
|
||||
mv -v ${DESTDIR}/usr/{share,lib}/SuperCollider/Extensions/SC3plugins/LadspaUGen/ladspalist
|
||||
rm -rf ${XBPS_BUILDDIR}/SuperCollider-Source
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue