51 lines
2.3 KiB
Bash
51 lines
2.3 KiB
Bash
# Template file for 'qtractor'
|
|
pkgname=qtractor
|
|
version=0.9.26
|
|
revision=1
|
|
_vst3sdk_tag=3.7.4_build_25
|
|
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-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/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="bf1f89a805166e99ca4b9bfc66f8bb1d71a258bf611b1e9e90613cd46799e6a4
|
|
24f79a670d8f3c7aac34e1340f2d12763beabc9229d61b6f806d850675c8c5f6
|
|
ee333bd17ad533135481c163d85c99fe4d3cdb3e49214eb5adb17ffb1897a423
|
|
59326a77b5df73ec6a35925a4005874ee3e29a2dbd6e6b88905d03b90fc9c3a5
|
|
3b321b7f2289c7204bceae1f6640d74b6cf35b474f98da7a50ed36c24e019831"
|
|
|
|
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
|
|
}
|