# Maintainer: David Runge # Contributor: Ray Rashif # Contributor: speps # Contributor: Philipp Überbacher # ALARM: Kevin Mihelich # - set -DCONFIG_SSE=OFF pkgname=qtractor pkgver=1.2.0 pkgrel=1 pkgdesc="Audio/MIDI multitrack sequencer" arch=(x86_64) url="https://qtractor.sourceforge.io/" license=(GPL-2.0-or-later) groups=(pro-audio) 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 ) optdepends=( 'new-session-manager: for session management' 'qt6-wayland: for native wayland support' ) provides=( clap-host dssi-host ladspa-host lv2-host vst-host vst3-host ) source=($pkgname-$pkgver.tar.gz::https://github.com/rncbc/$pkgname/archive/refs/tags/v$pkgver.tar.gz) sha512sums=('8be7b81778095a35dfbd5154109447ff38180498fda20c32480ca099db5d992a8bc67f65eb288a9f3e69c38cf846e8fee3dc438a6ef909f17bc2ffd79d20a3b9') b2sums=('c5a707e76704c45326a22e2fa5a6ca8ef4fc6e0d7b4a7bb35c7794d6d5e0fa1660fc1c4bdd653beba050b1bf8592a8bb7c8e7747b19278e27f3911ba6a7decc0') prepare() { # symlink vst3sdk into place rm -frv $pkgname-$pkgver/src/vst3 ln -fsv /usr/src/vst3sdk $pkgname-$pkgver/src/vst3 } build() { local cmake_options=( -B build -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 -S $pkgname-$pkgver -W no-dev ) cmake "${cmake_options[@]}" cmake --build build --verbose } package() { 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 ) DESTDIR="$pkgdir" cmake --install build install -vDm 644 $pkgname-$pkgver/README* -t "$pkgdir/usr/share/doc/$pkgname/" }