PKGBUILDs/community/qtractor/PKGBUILD

51 lines
1.8 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
2022-10-05 23:34:16 +00:00
pkgver=0.9.29
2022-10-06 00:03:30 +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-01-10 23:54:44 +00:00
makedepends=(alsa-lib aubio 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-10-06 00:03:30 +00:00
# NOTE: debug package contains include files of vst3sdk
# options=(debug)
2022-04-09 16:34:16 +00:00
source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
2022-10-05 23:34:16 +00:00
sha512sums=('bd432e3eb2d804aacc45943c36160c938778827a1c832f30045b2456d363843ac2f77e4b2cb897b905aa026b7d9238eb2963ca1ebbd64d127d890857c5426c41')
b2sums=('d7f17211e885c8458c7d74d1cd0cde69d316b1765ab79bdfb3ff1abcfb35ad008f017dd12372a2fafb309a7bead0c3d31f8f1cc322da123d39760377c1883e82')
2014-03-29 16:20:23 +00:00
build() {
2022-01-10 23:54:44 +00:00
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
2021-05-14 18:46:54 +00:00
-DCONFIG_QT6=ON \
2020-09-15 21:52:50 +00:00
-DCONFIG_SSE=OFF \
-Wno-dev \
-B build \
2022-04-09 16:34:16 +00:00
-S $pkgname-$pkgver
2020-09-15 21:52:50 +00:00
make VERBOSE=1 -C build
2014-01-03 02:40:56 +00:00
}
2014-03-29 16:20:23 +00:00
package() {
2022-01-10 23:54:44 +00:00
depends+=(libasound.so libaubio.so libjack.so liblilv-0.so liblo.so libogg.so
librubberband.so libsamplerate.so libsndfile.so libvorbisenc.so
libvorbisfile.so libvorbis.so )
2022-04-09 16:34:16 +00:00
make DESTDIR="$pkgdir" install -C build
2018-02-07 19:59:06 +00:00
# docs
2022-04-09 16:34:16 +00:00
install -vDm 644 $pkgname-$pkgver/{README,README.VST} -t "$pkgdir/usr/share/doc/$pkgname/"
2014-01-03 02:40:56 +00:00
}