58 lines
2.4 KiB
Bash
58 lines
2.4 KiB
Bash
# Template file for 'qtractor'
|
|
pkgname=qtractor
|
|
version=0.9.90
|
|
revision=1
|
|
_clap_tag=1.2.0
|
|
_vst3sdk_tag=3.7.10_build_14
|
|
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/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="ce4941baf3b39ba7dc807d23c4dd97c18d3de000ed5b9f4f8dfbee183866052e
|
|
7abd3468e73aa5941d73e7bd486881923b00f9940ce7a957d690def3733ac3ee
|
|
2ecf1dfad6a0b4ca23861ac2928e9fd919558236ae2d1ea1d9b51032a8d5b1fd
|
|
1f0fea72d33d03c5256772414ae400ab42e236240e5cadb3e8e909e071d5949d
|
|
71cf1f5f51d356b4f874f1804ff55255b391631d5fbec1c2c27579530da9e1a4
|
|
af58e6ee7d102ec74829aacac367cdd2b8bd541511305632e02fac9cfa7cb6c8"
|
|
|
|
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
|
|
}
|