PKGBUILDs/community/qtractor/PKGBUILD

52 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
2021-10-17 14:39:32 +00:00
pkgver=0.9.24
2020-06-29 12:40:17 +00:00
pkgrel=1
2014-01-03 02:40:56 +00:00
pkgdesc="Audio/MIDI multitrack sequencer"
2017-12-24 22:23:45 +00:00
arch=('x86_64')
2020-09-15 21:52:50 +00:00
url="https://qtractor.sourceforge.io/"
2019-10-13 22:03:31 +00:00
license=('GPL2')
2018-03-23 00:03:04 +00:00
groups=('pro-audio')
2021-03-19 12:32:06 +00:00
depends=('glibc' 'gcc-libs' 'hicolor-icon-theme' 'libmad' 'libxcb' 'qt6-base' 'zlib')
2020-09-15 21:52:50 +00:00
makedepends=('alsa-lib' 'aubio' 'cmake' 'dssi' 'jack' 'ladspa' 'liblo' 'libogg'
2021-03-19 12:32:06 +00:00
'libsamplerate' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'qt6-tools' 'rubberband'
2020-10-31 16:23:17 +00:00
'suil' 'vst3sdk')
2021-03-19 12:32:06 +00:00
optdepends=(
'new-session-manager: for session management'
'qt6-wayland: for native wayland support'
)
2020-10-31 16:23:17 +00:00
provides=('dssi-host' 'ladspa-host' 'lv2-host' 'vst-host' 'vst3-host')
2021-07-11 17:29:03 +00:00
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
2021-10-17 14:39:32 +00:00
sha512sums=('b65dc90566023e06edc08a437e3a9f1e8a6e524cb1c9cf78afe90cdc1437ce345b7bb4907619ced7886966923facb7dbe8f22ac23076531e95e149a71286187b')
b2sums=('a94822b20544aa0675a4b1208b7f1dcb726973c3ffb4705ef10ef284e21433c2b92747eca189667e2e8d8cec4569421e8492ea330d7b51cb80a6157dffdd8e41')
2014-03-29 16:20:23 +00:00
build() {
2017-12-24 22:23:45 +00:00
cd "${pkgname}-${pkgver}"
2020-09-15 21:52:50 +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 \
-S .
make VERBOSE=1 -C build
2014-01-03 02:40:56 +00:00
}
2014-03-29 16:20:23 +00:00
package() {
2020-03-28 19:54:07 +00:00
depends+=('libasound.so' 'libaubio.so' 'libjack.so' 'liblilv-0.so' 'liblo.so'
2020-06-29 12:40:17 +00:00
'libogg.so' 'librubberband.so' 'libsamplerate.so' 'libsndfile.so'
2021-10-17 14:39:32 +00:00
'libvorbisenc.so' 'libvorbisfile.so' 'libvorbis.so' )
2017-12-24 22:23:45 +00:00
cd "${pkgname}-${pkgver}"
2020-09-15 21:52:50 +00:00
make DESTDIR="${pkgdir}" install -C build
2018-02-07 19:59:06 +00:00
# docs
2020-09-15 21:52:50 +00:00
install -vDm 644 {AUTHORS,README,README.VST,TODO} \
-t "${pkgdir}/usr/share/doc/${pkgname}"
2014-01-03 02:40:56 +00:00
}