# Maintainer: David Runge # Contributor: Ray Rashif # Contributor: speps # Contributor: Philipp Überbacher # ALARM: Kevin Mihelich # - set -DCONFIG_SSE=OFF pkgname=qtractor pkgver=0.9.32 pkgrel=1 pkgdesc="Audio/MIDI multitrack sequencer" arch=(x86_64) url="https://qtractor.sourceforge.io/" license=(GPL2) 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=(https://github.com/rncbc/$pkgname/archive/refs/tags/${pkgname}_${pkgver//./_}.tar.gz) sha512sums=('f46fea340c3945cdd7ce96c7c0e48cfdf2bd374b3ec9751b3ef16eb40393b21c74b0be9be4922455569df765ae214e7be622ee7c2ca3d957c8d5b722051e73b5') b2sums=('e3d6a92b613641460a66807e6539ceb81eb637c9490a1d7fef9133a6f8c43e7a4cee8482c014a4822408e3fea1c84e73cf3aeb8907efe1ad3d9eb2f4b096fe3f') build() { local cmake_options=( -B build -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_QT6=ON -DCONFIG_SSE=OFF -S $pkgname-${pkgname}_${pkgver//./_} -Wno-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-${pkgname}_${pkgver//./_}/{README,README.VST} -t "$pkgdir/usr/share/doc/$pkgname/" }