2019-11-09 15:22:12 +00:00
|
|
|
# Maintainer: David Runge <dvzrv@archlinux.org>
|
2018-03-23 00:03:04 +00:00
|
|
|
# Contributor: Ray Rashif <schiv@archlinux.org>
|
2017-12-24 22:23:45 +00:00
|
|
|
# Contributor: speps <speps at aur dot archlinux dot org>
|
2014-01-03 02:40:56 +00:00
|
|
|
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2020-09-15 21:52:50 +00:00
|
|
|
# - set -DCONFIG_SSE=OFF
|
2014-01-03 02:40:56 +00:00
|
|
|
|
|
|
|
pkgname=qtractor
|
2024-08-11 21:31:48 +00:00
|
|
|
pkgver=1.1.1
|
|
|
|
pkgrel=1
|
2014-01-03 02:40:56 +00:00
|
|
|
pkgdesc="Audio/MIDI multitrack sequencer"
|
2022-01-10 23:54:44 +00:00
|
|
|
arch=(x86_64)
|
2020-09-15 21:52:50 +00:00
|
|
|
url="https://qtractor.sourceforge.io/"
|
2023-09-15 13:59:42 +00:00
|
|
|
license=(GPL-2.0-or-later)
|
2022-01-10 23:54:44 +00:00
|
|
|
groups=(pro-audio)
|
2023-03-25 19:00:33 +00:00
|
|
|
depends=(
|
|
|
|
gcc-libs
|
|
|
|
glibc
|
|
|
|
hicolor-icon-theme
|
|
|
|
libmad
|
|
|
|
libxcb
|
|
|
|
qt6-base
|
|
|
|
qt6-svg
|
|
|
|
zlib
|
|
|
|
)
|
|
|
|
makedepends=(
|
|
|
|
alsa-lib
|
|
|
|
aubio
|
|
|
|
clap
|
|
|
|
cmake
|
|
|
|
dssi
|
|
|
|
jack
|
|
|
|
ladspa
|
|
|
|
liblo
|
|
|
|
libogg
|
|
|
|
libsamplerate
|
|
|
|
libsndfile
|
|
|
|
libvorbis
|
|
|
|
lilv
|
|
|
|
lv2
|
|
|
|
qt6-tools
|
|
|
|
rubberband
|
|
|
|
suil
|
|
|
|
vst3sdk
|
|
|
|
)
|
2021-03-19 12:32:06 +00:00
|
|
|
optdepends=(
|
|
|
|
'new-session-manager: for session management'
|
|
|
|
'qt6-wayland: for native wayland support'
|
|
|
|
)
|
2023-03-25 19:00:33 +00:00
|
|
|
provides=(
|
|
|
|
clap-host
|
|
|
|
dssi-host
|
|
|
|
ladspa-host
|
|
|
|
lv2-host
|
|
|
|
vst-host
|
|
|
|
vst3-host
|
|
|
|
)
|
2024-07-03 12:14:16 +00:00
|
|
|
source=($pkgname-$pkgver.tar.gz::https://github.com/rncbc/$pkgname/archive/refs/tags/v$pkgver.tar.gz)
|
2024-08-11 21:31:48 +00:00
|
|
|
sha512sums=('79f6ab49e5a52294d0a5e40548047e296afb6532126f98534724fa49da21b7413d90ba15e2f1dd19db7749c1fee5d13b3c7bc729bdf7495d9ec2f115c8f9a814')
|
|
|
|
b2sums=('c33260d2693225f2d1deeb87a64bb55573aa30108b886d75d741adaaf0cf445e6413f228fb5cef531ab293530e257f5eb3979e663a5179db4e347231b7f5e8f6')
|
2023-09-15 13:59:42 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
# symlink vst3sdk into place
|
2024-07-03 12:14:16 +00:00
|
|
|
rm -frv $pkgname-$pkgver/src/vst3
|
|
|
|
ln -fsv /usr/src/vst3sdk $pkgname-$pkgver/src/vst3
|
2023-09-15 13:59:42 +00:00
|
|
|
}
|
2014-03-29 16:20:23 +00:00
|
|
|
|
|
|
|
build() {
|
2023-01-25 19:21:17 +00:00
|
|
|
local cmake_options=(
|
|
|
|
-B build
|
2023-09-15 13:59:42 +00:00
|
|
|
-D CMAKE_BUILD_TYPE=None
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr
|
|
|
|
-D CONFIG_QT6=ON
|
|
|
|
-D CONFIG_SSE=OFF
|
|
|
|
-D CONFIG_LV2_UI_GTK2=OFF
|
|
|
|
-D CONFIG_LV2_UI_GTKMM2=OFF
|
2024-07-03 12:14:16 +00:00
|
|
|
-S $pkgname-$pkgver
|
2023-09-15 13:59:42 +00:00
|
|
|
-W no-dev
|
2023-01-25 19:21:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
cmake "${cmake_options[@]}"
|
|
|
|
cmake --build build --verbose
|
2014-01-03 02:40:56 +00:00
|
|
|
}
|
|
|
|
|
2014-03-29 16:20:23 +00:00
|
|
|
package() {
|
2023-01-25 19:21:17 +00:00
|
|
|
depends+=(
|
|
|
|
alsa-lib libasound.so
|
|
|
|
aubio libaubio.so
|
|
|
|
jack libjack.so
|
|
|
|
liblo liblo.so
|
|
|
|
libogg libogg.so
|
|
|
|
libsamplerate libsamplerate.so
|
|
|
|
libsndfile libsndfile.so
|
|
|
|
libvorbis libvorbisenc.so libvorbisfile.so libvorbis.so
|
|
|
|
lilv liblilv-0.so
|
|
|
|
rubberband librubberband.so
|
|
|
|
)
|
2022-01-10 23:54:44 +00:00
|
|
|
|
2023-01-25 19:21:17 +00:00
|
|
|
DESTDIR="$pkgdir" cmake --install build
|
2024-07-03 12:14:16 +00:00
|
|
|
install -vDm 644 $pkgname-$pkgver/README* -t "$pkgdir/usr/share/doc/$pkgname/"
|
2014-01-03 02:40:56 +00:00
|
|
|
}
|