PKGBUILDs/community/qtractor/PKGBUILD

61 lines
2.3 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>
# - patch to fix building on ARM
2020-09-15 21:52:50 +00:00
# - set -DCONFIG_SSE=OFF
2014-01-03 02:40:56 +00:00
pkgname=qtractor
2021-03-19 12:32:06 +00:00
pkgver=0.9.21
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')
2017-12-24 22:23:45 +00:00
source=("https://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
2014-01-03 02:40:56 +00:00
'04-q_atomic_ftbfs.patch')
2021-03-19 12:32:06 +00:00
sha512sums=('12d823c4efd557709d83e0e5ace6cb84ac066a0eddbfdbac0dbaf6b75e6bbe37c0e3548270e80fb89f318c58db4b0ebad95daac989eb7d6b8f82b8cc7ccc3a3c'
2017-12-24 22:23:45 +00:00
'fe0e4d6adcd0eb64c39a194f16c026e6505d5f3b0537b7724ed9060443340559cc12a57665aec3e2a4d4c71ea05b1e575508cae334a8ca3a16543b5fdf55b4bf')
2021-03-19 12:32:06 +00:00
b2sums=('8c76966695e6054cd0d3743313f50de1bf4f741dfaad0d60f41ae87bd531ce394d11c7fc719c75ee159bf0bf7dd3037679cb93d7d4295132a7dc2fa6d89a786e'
2020-09-15 21:52:50 +00:00
'ab86331b8cdc583cbe740c23e2a47280205cd20e80f23de1d8e189d6f2ea9a651caad14188656e5f85357cb444f9a51544871b2603ad54748db555ab6a9f4124')
2014-01-03 02:40:56 +00:00
2014-03-29 16:20:23 +00:00
prepare() {
2017-12-24 22:23:45 +00:00
cd "${pkgname}-${pkgver}"
2021-02-12 21:59:03 +00:00
2014-01-03 02:40:56 +00:00
patch -p1 -i ../04-q_atomic_ftbfs.patch
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' \
-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'
'libsuil-0.so' '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
}