community/carla to 2.0.0-2

This commit is contained in:
Kevin Mihelich 2020-04-12 14:33:21 +00:00
parent dcc1416829
commit 5c28817129

View file

@ -1,4 +1,4 @@
# Maintainer: David Runge <dave@sleepmap.de> # Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: Llewelyn Trahaearn <WoefulDerelict [at] GMail [dot] com> # Contributor: Llewelyn Trahaearn <WoefulDerelict [at] GMail [dot] com>
# Contributor: falkTX <falktx [at] gmail [dot] com> # Contributor: falkTX <falktx [at] gmail [dot] com>
@ -8,20 +8,26 @@
_name=Carla _name=Carla
pkgname=carla pkgname=carla
pkgver=2.0.0 pkgver=2.0.0
pkgrel=1 pkgrel=2
pkgdesc="Audio Plugin Host" pkgdesc="Audio Plugin Host"
arch=('x86_64') arch=('x86_64')
url="https://kxstudio.linuxaudio.org/Applications:Carla" url="https://kxstudio.linuxaudio.org/Applications:Carla"
license=('GPL2') license=('GPL2')
groups=('pro-audio') groups=('pro-audio')
depends=('ffmpeg' 'file' 'fluidsynth' 'gtk2' 'gtk3' 'python-pyqt5' depends=('gcc-libs' 'glibc' 'python-pyqt5' 'python-pyliblo' 'python-rdflib'
'python-pyliblo' 'python-rdflib' 'qt5-svg') 'qt5-base' 'qt5-svg')
makedepends=('qt5-tools') makedepends=('ffmpeg' 'file' 'fluidsynth' 'glib2' 'gtk2' 'gtk3' 'libsndfile'
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/falkTX/${pkgname}/archive/v${pkgver}.tar.gz") 'qt5-tools')
sha512sums=('7cb1a8a6376e2fbb58a75fc2f60693984b5a8d03e47fe695f59f8a602ccd776ec3a578d93858faa704623fd3bf0521cb2f5e87600f6c55ff2df67f5451c35d5a') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/falkTX/${pkgname}/archive/v${pkgver}.tar.gz"
"${pkgname}-2.0.0-qt5.13.patch::https://github.com/falkTX/Carla/commit/db6dadd6de2041adf34905d77839cce05273924c.patch")
sha512sums=('7cb1a8a6376e2fbb58a75fc2f60693984b5a8d03e47fe695f59f8a602ccd776ec3a578d93858faa704623fd3bf0521cb2f5e87600f6c55ff2df67f5451c35d5a'
'f710773c5bc19ac4213df89a33c1f55c991e259f24a7de8a2b961c941aeb3198b46c688e29da8f4b4b02c882bb903c5592534cae5d92501ce776586410012e1c')
prepare() { prepare() {
mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
cd $pkgname-$pkgver
# Fix build with Qt 5.13
patch -p1 -i "../${pkgname}-2.0.0-qt5.13.patch"
} }
build() { build() {
@ -31,6 +37,9 @@ build() {
} }
package() { package() {
depends+=('libsndfile.so' 'libavcodec.so' 'libavformat.so' 'libavutil.so'
'libfluidsynth.so' 'libgdk-3.so' 'libgdk-x11-2.0.so' 'libgobject-2.0.so'
'libglib-2.0.so' 'libmagic.so' 'libgtk-3.so' 'libgtk-x11-2.0.so')
cd "${pkgname}-${pkgver}" cd "${pkgname}-${pkgver}"
make NOOPT=true DEFAULT_QT=5 \ make NOOPT=true DEFAULT_QT=5 \
DESTDIR="${pkgdir}/" \ DESTDIR="${pkgdir}/" \
@ -38,5 +47,4 @@ package() {
install install
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/" install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: