58 lines
2.4 KiB
Bash
58 lines
2.4 KiB
Bash
# Template file for 'qtractor'
|
|
pkgname=qtractor
|
|
version=1.0.0
|
|
revision=1
|
|
_clap_tag=1.2.1
|
|
_vst3sdk_tag=3.7.11_build_10
|
|
create_wrksrc=yes
|
|
build_wrksrc="qtractor"
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config qt6-base qt6-tools"
|
|
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/refs/tags/v${version}.tar.gz
|
|
https://github.com/free-audio/clap/archive/refs/tags/${_clap_tag}.tar.gz
|
|
https://github.com/steinbergmedia/vst3sdk/archive/refs/tags/v${_vst3sdk_tag}.tar.gz>vst3sdk-v${_vst3sdk_tag}.tar.gz
|
|
https://github.com/steinbergmedia/vst3_base/archive/refs/tags/v${_vst3sdk_tag}.tar.gz>vst3_base-v${_vst3sdk_tag}.tar.gz
|
|
https://github.com/steinbergmedia/vst3_pluginterfaces/archive/refs/tags/v${_vst3sdk_tag}.tar.gz>vst3_pluginterfaces-v${_vst3sdk_tag}.tar.gz
|
|
https://github.com/steinbergmedia/vst3_public_sdk/archive/refs/tags/v${_vst3sdk_tag}.tar.gz>vst3_public_sdk-v${_vst3sdk_tag}.tar.gz"
|
|
checksum="ad2ac1dd3bfe7dfe155ed7d8eb66a5f4e400f4b7cce41034adbe1b4ec175515d
|
|
04fc5a94d0966e9ab9d9e78590250e692da49a716e2c9cc719ba75b45bff9c25
|
|
80cb5869f8a7fa6195ed232eb5371e6201d9e1163357302f701af84741398800
|
|
d0a2b2f881271dc66bc5149dcc7235039481faebc6f1d4f31ff944fef0b14e0f
|
|
5b1762301d3836b86eb15bbd7d4d556c0c03b5ef87341c78f2093abadd471184
|
|
fbfb0baa6ca9080600733d0ab752a11da9e8cbeb4eec4b34ce73d95d56469c3d"
|
|
|
|
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
|
|
}
|