mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
102 lines
2.3 KiB
Bash
102 lines
2.3 KiB
Bash
# Maintainer: David Runge <dvzrv@archlinux.org>
|
|
# Contributor: Ray Rashif <schiv@archlinux.org>
|
|
# Contributor: speps <speps at aur dot archlinux dot org>
|
|
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - set -DCONFIG_SSE=OFF
|
|
|
|
pkgname=qtractor
|
|
pkgver=0.9.37
|
|
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=(https://github.com/rncbc/$pkgname/archive/refs/tags/${pkgname}_${pkgver//./_}.tar.gz)
|
|
sha512sums=('316e23df294cc78fcff6e9b507575281b3bfd5aa3e4283d391f80e554a1aa268421c79aa0f3f505f8d351a5b27ababa67280aacea0186af40603b0a4a65fe38b')
|
|
b2sums=('cfb0d07be4d5b7d1726dbd50939527578d0d91864c1bc82d24144f1110a4d2cec8cab9887fe7bb2ab413c30f295c2013413f9b3667cabc1649f10a564819b736')
|
|
|
|
prepare() {
|
|
# symlink vst3sdk into place
|
|
rm -frv $pkgname-${pkgname}_${pkgver//./_}/src/vst3
|
|
ln -fsv /usr/src/vst3sdk $pkgname-${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-${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-${pkgname}_${pkgver//./_}/{README,README.VST} -t "$pkgdir/usr/share/doc/$pkgname/"
|
|
}
|