mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
51 lines
1.9 KiB
Bash
51 lines
1.9 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.24
|
|
pkgrel=1
|
|
pkgdesc="Audio/MIDI multitrack sequencer"
|
|
arch=('x86_64')
|
|
url="https://qtractor.sourceforge.io/"
|
|
license=('GPL2')
|
|
groups=('pro-audio')
|
|
depends=('glibc' 'gcc-libs' 'hicolor-icon-theme' 'libmad' 'libxcb' 'qt6-base' 'zlib')
|
|
makedepends=('alsa-lib' 'aubio' '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=('dssi-host' 'ladspa-host' 'lv2-host' 'vst-host' 'vst3-host')
|
|
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
|
sha512sums=('b65dc90566023e06edc08a437e3a9f1e8a6e524cb1c9cf78afe90cdc1437ce345b7bb4907619ced7886966923facb7dbe8f22ac23076531e95e149a71286187b')
|
|
b2sums=('a94822b20544aa0675a4b1208b7f1dcb726973c3ffb4705ef10ef284e21433c2b92747eca189667e2e8d8cec4569421e8492ea330d7b51cb80a6157dffdd8e41')
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}"
|
|
cmake -DCMAKE_INSTALL_PREFIX='/usr' \
|
|
-DCMAKE_BUILD_TYPE='None' \
|
|
-DCONFIG_QT6=ON \
|
|
-DCONFIG_SSE=OFF \
|
|
-Wno-dev \
|
|
-B build \
|
|
-S .
|
|
make VERBOSE=1 -C build
|
|
}
|
|
|
|
package() {
|
|
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' )
|
|
cd "${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install -C build
|
|
# docs
|
|
install -vDm 644 {AUTHORS,README,README.VST,TODO} \
|
|
-t "${pkgdir}/usr/share/doc/${pkgname}"
|
|
}
|