56 lines
2.5 KiB
Bash
56 lines
2.5 KiB
Bash
# Template file for 'qtractor'
|
|
pkgname=qtractor
|
|
version=0.9.27
|
|
revision=1
|
|
_clap_tag=1.0.3
|
|
_vst3sdk_tag=3.7.5_build_44
|
|
wrksrc="qtractor-qtractor_${version//./_}"
|
|
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-svg-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="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="e3461b1c752fb6e85591f183042c52f03453c95c79aebb9622248b00f93197dd
|
|
84fef9f2e975177b320ede47365fc8e04a459d34d967eef2afc5a57b6992b0c6
|
|
ed359d496796588aa0be86cc902e2472e9624abf6af3a85b2a5711ad069fb9f3
|
|
360c51e3fbb33c0bf389175d07f8f09c175120296e9b0e6a4d222663e92bccf8
|
|
f34e313c7ff6661401275947a8c3d695d9a2c06c84135c9c8d4939f5316393a7
|
|
11992e0fddff5173785bcd9a4ce9e57f3262b07e5f2c76a8aa812ef99497e3be"
|
|
|
|
post_extract() {
|
|
cd $wrksrc
|
|
ln -s 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
|
|
ln -sr $wrksrc/$_src $_dst
|
|
done
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../vst3sdk/base/LICENSE.txt VST3SDK-LICENSE.txt
|
|
}
|