PKGBUILDs/community/qtractor/PKGBUILD

61 lines
1.9 KiB
Bash
Raw Normal View History

2019-11-09 15:22:12 +00:00
# Maintainer: David Runge <dvzrv@archlinux.org>
2018-03-23 00:03:04 +00:00
# Contributor: Ray Rashif <schiv@archlinux.org>
2017-12-24 22:23:45 +00:00
# Contributor: speps <speps at aur dot archlinux dot org>
2014-01-03 02:40:56 +00:00
# Contributor: Philipp Überbacher <hollunder at gmx dot at>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2020-09-15 21:52:50 +00:00
# - set -DCONFIG_SSE=OFF
2014-01-03 02:40:56 +00:00
pkgname=qtractor
2023-01-25 19:21:17 +00:00
pkgver=0.9.31
2022-12-30 16:49:04 +00:00
pkgrel=1
2014-01-03 02:40:56 +00:00
pkgdesc="Audio/MIDI multitrack sequencer"
2022-01-10 23:54:44 +00:00
arch=(x86_64)
2020-09-15 21:52:50 +00:00
url="https://qtractor.sourceforge.io/"
2022-01-10 23:54:44 +00:00
license=(GPL2)
groups=(pro-audio)
2022-04-28 12:19:53 +00:00
depends=(glibc gcc-libs hicolor-icon-theme libmad libxcb qt6-base qt6-svg zlib)
2022-12-30 16:49:04 +00:00
makedepends=(alsa-lib aubio clap cmake dssi jack ladspa liblo libogg
libsamplerate libsndfile libvorbis lilv lv2 qt6-tools rubberband suil vst3sdk)
2021-03-19 12:32:06 +00:00
optdepends=(
'new-session-manager: for session management'
'qt6-wayland: for native wayland support'
)
2022-10-03 23:31:12 +00:00
provides=(clap-host dssi-host ladspa-host lv2-host vst-host vst3-host)
2022-12-30 16:49:04 +00:00
source=(https://github.com/rncbc/$pkgname/archive/refs/tags/${pkgname}_${pkgver//./_}.tar.gz)
2023-01-25 19:21:17 +00:00
sha512sums=('20390e6035f5f3b7ac8af786d1fb72d9f02955df5e958f946a37914ffb18c50084598c5c878c5dcd9a3eabc29213cd5121712ce7bffa49bc1b7b99a71515c20d')
b2sums=('09cd3f709ffc3a6ea13e2cf0bbf474cf5be6e67f9ecfd8738eddadebe0e3cdee7abe55712425437095bbf385a7f413a324a9bc7b88077adede2f162c9177f378')
2014-03-29 16:20:23 +00:00
build() {
2023-01-25 19:21:17 +00:00
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
2014-01-03 02:40:56 +00:00
}
2014-03-29 16:20:23 +00:00
package() {
2023-01-25 19:21:17 +00:00
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
)
2022-01-10 23:54:44 +00:00
2023-01-25 19:21:17 +00:00
DESTDIR="$pkgdir" cmake --install build
2022-12-30 16:49:04 +00:00
install -vDm 644 $pkgname-${pkgname}_${pkgver//./_}/{README,README.VST} -t "$pkgdir/usr/share/doc/$pkgname/"
2014-01-03 02:40:56 +00:00
}