58 lines
2.4 KiB
Bash
58 lines
2.4 KiB
Bash
# Template file for 'qtractor'
|
|
pkgname=qtractor
|
|
version=0.9.30
|
|
revision=1
|
|
_clap_tag=1.1.4
|
|
_vst3sdk_tag=3.7.7_build_19
|
|
create_wrksrc=yes
|
|
build_wrksrc="qtractor"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config qt6-base-devel qt6-tools-devel"
|
|
makedepends="aubio-devel dssi-devel jack-devel ladspa-sdk liblo-devel
|
|
libmad-devel libsamplerate-devel libsndfile-devel libvorbis-devel lilv-devel
|
|
qt6-base-devel qt6-svg-devel rubberband-devel sratom-devel"
|
|
depends="desktop-file-utils dssi hicolor-icon-theme jack lv2"
|
|
short_desc="Audio/MIDI multi-track sequencer application written in C++/Qt"
|
|
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
|
|
https://github.com/free-audio/clap/archive/refs/tags/$_clap_tag.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="04dd9772217da1ace95ea2a7f29040029337f16e2f79dbcca4845d783c18ac64
|
|
ef135539af20e4b4ade8eadb1f122556a675bce8db660d55d58fd3a3c8b44d99
|
|
3dd04a170659cfdfc4bdf5fc83e91577b66d1a72042b74b35bc225393511c938
|
|
3eee23a453b76ba5d6c609891f4557d6b4d8988d0c2a157171b4fc817ecb8d17
|
|
b092b521a278fe385a7e0b206c5dd9e0198a3e49e9db0083c14c182a1c04556c
|
|
5bcae9462cc86100f41ae9a3ed62bd0be0b40b9bda246ed11d5caa168d39452f"
|
|
|
|
post_extract() {
|
|
cd $wrksrc
|
|
mv qtractor-* qtractor
|
|
mv vst3sdk-$_vst3sdk_tag vst3sdk
|
|
for src_dest in \
|
|
clap-$_clap_tag:$build_wrksrc/src/clap \
|
|
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
|
|
mv $wrksrc/$_src $_dst
|
|
done
|
|
}
|
|
|
|
pre_configure() {
|
|
configure_args+="-DCONFIG_VST3SDK=$wrksrc/vst3sdk"
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../vst3sdk/base/LICENSE.txt VST3SDK-LICENSE.txt
|
|
}
|