mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
102 lines
2.2 KiB
Bash
102 lines
2.2 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=1.0.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=('3b45ba339097740eb3e85596a5e02b0b2a65bb0e2bfcfa1d6b031bd533ccb5076c285199eb1072258d6ddf404a28bfef93dcf33b3a6ea1e268762bec838499d9')
|
|
b2sums=('47a6deba30e908cca9489e96f3b8e9f178da8c8c827aa703a0e03ab54ba67a26e59da0e397eb53548a339d6b3f1ad732e3d7ed984f4fa355bc43194ea02cd4ff')
|
|
|
|
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/"
|
|
}
|