qtractor: update to 0.9.24, enable VST3 support, adopt

This commit is contained in:
Matthias von Faber 2021-10-18 21:33:41 +02:00 committed by Érico Nogueira Rolim
parent 6caf7463c2
commit a557419cc2
1 changed files with 41 additions and 16 deletions

View File

@ -1,25 +1,50 @@
# Template file for 'qtractor'
pkgname=qtractor
version=0.9.21
version=0.9.24
revision=1
_vst3sdk_tag=3.7.3_build_20
wrksrc="qtractor-qtractor_${version//./_}"
build_style=gnu-configure
build_helper=qmake
configure_args="--enable-debug ac_cv_qmake=${XBPS_WRAPPERDIR}/qmake
ac_cv_libsuil_gtk2_in_qt5=yes ac_cv_libsuil_x11_in_qt5=yes"
hostmakedepends="automake pkg-config qt5-qmake qt5-host-tools"
makedepends="dssi-devel jack-devel ladspa-sdk liblo-devel libmad-devel
libsamplerate-devel lilv-devel qt5-tools-devel qt5-x11extras-devel
rubberband-devel sratom-devel suil-devel vamp-plugin-sdk-devel"
create_wrksrc=yes
build_wrksrc="qtractor-qtractor_${version//./_}"
build_style=cmake
configure_args="-DCONFIG_VST3SDK=$XBPS_BUILDDIR/$build_wrksrc/vst3sdk"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="aubio-devel dssi-devel jack-devel ladspa-sdk liblo-devel
libmad-devel libsamplerate-devel libsndfile-devel libvorbis-devel lilv-devel
qt5-tools-devel qt5-x11extras-devel rubberband-devel sratom-devel suil-devel"
depends="desktop-file-utils dssi hicolor-icon-theme jack lv2"
short_desc="Audio/MIDI multi-track sequencer application written in C++/Qt"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://qtractor.org"
maintainer="Matthias von Faber <mvf@gmx.eu>"
# qtractor is GPL-2.0-or-later. VST3SDK is GPL-3.0-only, with some parts BSD-3-Clause.
license="GPL-3.0-only, BSD-3-Clause"
homepage="https://qtractor.org"
changelog="https://raw.githubusercontent.com/rncbc/qtractor/master/ChangeLog"
distfiles="https://github.com/rncbc/qtractor/archive/qtractor_${version//./_}.tar.gz"
checksum=3e8c89d6d6a7a8d84280b5254020515640ef61b8ec356d8aaa3e0da118738daa
distfiles="https://github.com/rncbc/qtractor/archive/qtractor_${version//./_}.tar.gz
https://github.com/steinbergmedia/vst3sdk/archive/v$_vst3sdk_tag.tar.gz>vst3sdk-v${_vst3sdk_tag}.tar.gz
https://github.com/steinbergmedia/vst3_base/archive/v$_vst3sdk_tag.tar.gz>vst3_base-v${_vst3sdk_tag}.tar.gz
https://github.com/steinbergmedia/vst3_pluginterfaces/archive/v$_vst3sdk_tag.tar.gz>vst3_pluginterfaces-v${_vst3sdk_tag}.tar.gz
https://github.com/steinbergmedia/vst3_public_sdk/archive/v$_vst3sdk_tag.tar.gz>vst3_public_sdk-v${_vst3sdk_tag}.tar.gz"
checksum="724b80587f844cfc7c58c22d69d6ff1cd30c7752c2116e55837f468edb6bf4d1
815e51e84e6ed900f6103f00e847bee175c2dc95b16a73ae60719daa0e24ad95
d69d28a6a932d3c946749c9aeb6220b028d7af7ab10f83e4e732e760347fe796
313f3e8c8f080d514763b3e88964a0820851d81f1159219628e1ed188fdb7303
63cd7e3bf0be8ec9b3934ebdc145e13af84004c988071ecbed1aa5c8f8277d80"
pre_configure() {
autoreconf -if
post_extract() {
cd $wrksrc
ln -s vst3sdk-$_vst3sdk_tag vst3sdk
for src_dest in \
vst3_base-$_vst3sdk_tag:vst3sdk/base \
vst3_pluginterfaces-$_vst3sdk_tag:vst3sdk/pluginterfaces \
vst3_public_sdk-$_vst3sdk_tag:vst3sdk/public.sdk
do
_src=${src_dest%:*}
_dst=${src_dest#*:}
rmdir $_dst
ln -sr $wrksrc/$_src $_dst
done
}
post_install() {
vlicense ../vst3sdk/base/LICENSE.txt VST3SDK-LICENSE.txt
}