PKGBUILDs/community/qtractor/PKGBUILD

52 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>
# - patch to fix building on ARM
pkgname=qtractor
2020-06-29 12:40:17 +00:00
pkgver=0.9.15
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')
2017-04-26 12:27:11 +00:00
url="http://qtractor.org/"
2019-10-13 22:03:31 +00:00
license=('GPL2')
2018-03-23 00:03:04 +00:00
groups=('pro-audio')
2020-06-29 12:40:17 +00:00
depends=('glibc' 'gcc-libs' 'hicolor-icon-theme' 'libmad' 'qt5-base'
2020-03-28 19:54:07 +00:00
'qt5-x11extras' 'zlib')
2020-06-29 12:40:17 +00:00
makedepends=('alsa-lib' 'aubio' 'dssi' 'jack' 'ladspa' 'liblo' 'libogg'
'libsamplerate' 'libsndfile' 'libvorbis' 'lilv' 'lv2' 'qt5-tools' 'rubberband'
'suil')
2020-06-20 23:59:11 +00:00
optdepends=('non-session-manager: for session management')
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')
2020-06-29 12:40:17 +00:00
sha512sums=('11fa61dcdb8960ff86939ade2694d7cbeb623d9bd1bac2c0f27ff1d459b5685116ed8c59037f67d07def59f38c8c8c0a5e8678a2b5f1d002eb10c09b020d044d'
2017-12-24 22:23:45 +00:00
'fe0e4d6adcd0eb64c39a194f16c026e6505d5f3b0537b7724ed9060443340559cc12a57665aec3e2a4d4c71ea05b1e575508cae334a8ca3a16543b5fdf55b4bf')
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}"
2018-05-30 12:52:02 +00:00
autoreconf -vfi
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}"
2016-12-10 16:58:49 +00:00
./configure --prefix=/usr \
--libdir=/usr/lib
2014-01-03 02:40:56 +00:00
make
}
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}"
make DESTDIR="${pkgdir}" install
2018-02-07 19:59:06 +00:00
# docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
2018-05-30 12:52:02 +00:00
-vDm 644 {AUTHORS,README,README.VST,TODO}
2014-01-03 02:40:56 +00:00
}
# vim:set ts=2 sw=2 et: