PKGBUILDs/community/cadence/PKGBUILD

45 lines
1.5 KiB
Bash
Raw Normal View History

2018-02-07 03:14:44 +00:00
# Maintainer: David Runge <dave@sleepmap.de>
# Contributor: Llewelyn Trahaearn <WoefulDerelict at GMail dot com>
# Contributor: falkTX <falktx at gmail dot com>
# Kevin Mihelich <kevin@archlinuxarm.org>
# - remove x86isms from Makefile
_name=Cadence
pkgname=cadence
pkgver=0.8.1
2018-03-07 13:33:59 +00:00
pkgrel=8
2018-02-07 03:14:44 +00:00
pkgdesc="JACK toolbox for audio production."
arch=('x86_64')
2018-03-07 13:33:59 +00:00
url="https://kxstudio.linuxaudio.org/Applications:Cadence"
2018-02-07 03:14:44 +00:00
license=('GPL2')
2018-03-07 13:33:59 +00:00
groups=('pro-audio')
2018-02-07 14:40:26 +00:00
depends=('jack' 'python-dbus' 'python-pyqt4')
makedepends=('a2jmidid' 'jack_capture' 'libpulse' 'pulseaudio-jack' 'python-rdflib' 'zita-ajbridge')
2018-02-07 03:14:44 +00:00
optdepends=('a2jmidid: ALSA to JACK MIDI bridge'
'jack_capture: recording via Cadence-Render'
'pulseaudio-jack: PulseAudio to JACK bridge'
'python-rdflib: LADSPA-RDF support in Carla'
'zita-ajbridge: ALSA to JACK bridge')
source=("https://downloads.sourceforge.net/project/kxstudio/Releases/${pkgname}/${_name}-${pkgver}-src.tar.bz2")
sha512sums=('333a8532859cfa4ca61446b6b136baa7930d2a9d1acbb55e2ee296998604c0e8e3effd5e21fe3154caf8ae6534190a0f592b070b671164ccfd647567ba2cc33f')
prepare() {
2018-03-07 13:33:59 +00:00
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
2018-02-07 03:14:44 +00:00
sed -i 's/-mtune=generic -msse -mfpmath=sse//' c++/Makefile.mk
}
build() {
2018-03-07 13:50:48 +00:00
cd "${pkgname}-${pkgver}"
2018-02-07 03:14:44 +00:00
make
}
package() {
2018-03-07 13:33:59 +00:00
cd "${pkgname}-${pkgver}"
2018-02-07 03:14:44 +00:00
make DESTDIR="${pkgdir}" PREFIX=/usr install
# docs
install -t "${pkgdir}/usr/share/doc/${pgkname}/" -vDm644 {README.md,TODO}
}