51 lines
2.3 KiB
Bash
51 lines
2.3 KiB
Bash
# Template file for 'qtractor'
|
|
pkgname=qtractor
|
|
version=0.9.24
|
|
revision=1
|
|
_vst3sdk_tag=3.7.3_build_20
|
|
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="724b80587f844cfc7c58c22d69d6ff1cd30c7752c2116e55837f468edb6bf4d1
|
|
815e51e84e6ed900f6103f00e847bee175c2dc95b16a73ae60719daa0e24ad95
|
|
d69d28a6a932d3c946749c9aeb6220b028d7af7ab10f83e4e732e760347fe796
|
|
313f3e8c8f080d514763b3e88964a0820851d81f1159219628e1ed188fdb7303
|
|
63cd7e3bf0be8ec9b3934ebdc145e13af84004c988071ecbed1aa5c8f8277d80"
|
|
|
|
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
|
|
}
|