2020-04-12 14:33:21 +00:00
|
|
|
# Maintainer: David Runge <dvzrv@archlinux.org>
|
2019-03-03 00:12:08 +00:00
|
|
|
# Contributor: Llewelyn Trahaearn <WoefulDerelict [at] GMail [dot] com>
|
|
|
|
# Contributor: falkTX <falktx [at] gmail [dot] com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - make with NOOPT=true
|
|
|
|
|
|
|
|
_name=Carla
|
|
|
|
pkgname=carla
|
2020-06-11 19:28:13 +00:00
|
|
|
pkgver=2.1.1
|
2020-04-13 12:30:00 +00:00
|
|
|
pkgrel=1
|
2019-03-03 00:12:08 +00:00
|
|
|
pkgdesc="Audio Plugin Host"
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://kxstudio.linuxaudio.org/Applications:Carla"
|
|
|
|
license=('GPL2')
|
|
|
|
groups=('pro-audio')
|
2020-04-13 12:30:00 +00:00
|
|
|
depends=('gcc-libs' 'glibc' 'libglvnd' 'libx11' 'python-pyqt5' 'python-pyliblo'
|
|
|
|
'python-rdflib' 'qt5-base' 'qt5-svg')
|
|
|
|
# libpulse is linked against in carla/libcarla_standalone2.so
|
|
|
|
# liblo is linked against in carla/libcarla_standalone2.so,
|
|
|
|
# carla/libcarla_native-plugin.so and the lv2 and vst plugins
|
|
|
|
makedepends=('alsa-lib' 'file' 'fluidsynth' 'glib2' 'gtk2' 'gtk3' 'libsndfile'
|
|
|
|
'liblo' 'libpulse' 'qt5-tools')
|
|
|
|
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/falkTX/${pkgname}/archive/v${pkgver}.tar.gz")
|
2020-06-11 19:28:13 +00:00
|
|
|
sha512sums=('e8da99d7bddff1415dd54ac3e1abe90fbccb42877d2daec0a60ad046e6d15531ebf8328c4d44c06cb14a7a5308d43be62d88eed6268a55dfbfae0f620a5f04dc')
|
2019-03-03 00:12:08 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
|
2020-04-12 14:33:21 +00:00
|
|
|
cd $pkgname-$pkgver
|
2020-04-13 12:30:00 +00:00
|
|
|
# fixing file (libmagic.so) detection
|
|
|
|
sed -e 's/\\#include/#include/' -i source/Makefile.mk
|
2019-03-03 00:12:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make NOOPT=true features
|
|
|
|
make NOOPT=true DEFAULT_QT=5
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-04-13 12:30:00 +00:00
|
|
|
depends+=('libasound.so' 'libfluidsynth.so' 'libgdk-3.so'
|
|
|
|
'libgdk-x11-2.0.so' 'libgobject-2.0.so' 'libglib-2.0.so' 'libgtk-3.so'
|
|
|
|
'libgtk-x11-2.0.so' 'liblo.so' 'libmagic.so' 'libpulse.so'
|
|
|
|
'libpulse-simple.so' 'libsndfile.so')
|
2019-03-03 00:12:08 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make NOOPT=true DEFAULT_QT=5 \
|
|
|
|
DESTDIR="${pkgdir}/" \
|
|
|
|
PREFIX=/usr \
|
|
|
|
install
|
|
|
|
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
|
|
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|