community/qtractor to 0.9.31-1

This commit is contained in:
Kevin Mihelich 2023-01-25 19:21:17 +00:00
parent 3126226634
commit 58042d454e

View file

@ -7,7 +7,7 @@
# - set -DCONFIG_SSE=OFF # - set -DCONFIG_SSE=OFF
pkgname=qtractor pkgname=qtractor
pkgver=0.9.30 pkgver=0.9.31
pkgrel=1 pkgrel=1
pkgdesc="Audio/MIDI multitrack sequencer" pkgdesc="Audio/MIDI multitrack sequencer"
arch=(x86_64) arch=(x86_64)
@ -22,28 +22,39 @@ optdepends=(
'qt6-wayland: for native wayland support' 'qt6-wayland: for native wayland support'
) )
provides=(clap-host dssi-host ladspa-host lv2-host vst-host vst3-host) provides=(clap-host dssi-host ladspa-host lv2-host vst-host vst3-host)
options=(debug)
source=(https://github.com/rncbc/$pkgname/archive/refs/tags/${pkgname}_${pkgver//./_}.tar.gz) source=(https://github.com/rncbc/$pkgname/archive/refs/tags/${pkgname}_${pkgver//./_}.tar.gz)
sha512sums=('2fd59282a0cd7c41924e80ed3302766c06f182f9a2106fb91d8b24e81a2d46e962294490be6ff2e4b263d626c04f3efdd57d635162152fdfd4638c946ab87562') sha512sums=('20390e6035f5f3b7ac8af786d1fb72d9f02955df5e958f946a37914ffb18c50084598c5c878c5dcd9a3eabc29213cd5121712ce7bffa49bc1b7b99a71515c20d')
b2sums=('119c5deb7a804a9e88b3171b339830fec94b6ae691a47d0ea129791e88444dca5ff8f9b1dc17ca558b65c739c1a8638c353bdaacd1e9e9cd075b7a97bf27d1ca') b2sums=('09cd3f709ffc3a6ea13e2cf0bbf474cf5be6e67f9ecfd8738eddadebe0e3cdee7abe55712425437095bbf385a7f413a324a9bc7b88077adede2f162c9177f378')
build() { build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr \ local cmake_options=(
-DCMAKE_BUILD_TYPE=None \ -B build
-DCONFIG_QT6=ON \ -DCMAKE_BUILD_TYPE=None
-DCONFIG_SSE=OFF \ -DCMAKE_INSTALL_PREFIX=/usr
-Wno-dev \ -DCONFIG_QT6=ON
-B build \ -DCONFIG_SSE=OFF
-S $pkgname-${pkgname}_${pkgver//./_} -S $pkgname-${pkgname}_${pkgver//./_}
make VERBOSE=1 -C build -Wno-dev
)
cmake "${cmake_options[@]}"
cmake --build build --verbose
} }
package() { package() {
depends+=(libasound.so libaubio.so libjack.so liblilv-0.so liblo.so libogg.so depends+=(
librubberband.so libsamplerate.so libsndfile.so libvorbisenc.so alsa-lib libasound.so
libvorbisfile.so libvorbis.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
)
make DESTDIR="$pkgdir" install -C build DESTDIR="$pkgdir" cmake --install build
# docs
install -vDm 644 $pkgname-${pkgname}_${pkgver//./_}/{README,README.VST} -t "$pkgdir/usr/share/doc/$pkgname/" install -vDm 644 $pkgname-${pkgname}_${pkgver//./_}/{README,README.VST} -t "$pkgdir/usr/share/doc/$pkgname/"
} }