community/carla to 2.4.1-3

This commit is contained in:
David Beauchamp 2022-02-07 17:58:17 -05:00
parent fa3807303a
commit 0c708ab1dc

View file

@ -8,14 +8,14 @@
_name=Carla _name=Carla
pkgname=carla pkgname=carla
pkgver=2.4.1 pkgver=2.4.1
pkgrel=2 pkgrel=3
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=(alsa-lib gcc-libs glibc libglvnd libx11 python-pyqt5 python-pyliblo depends=(alsa-lib gcc-libs glibc hicolor-icon-theme libglvnd libx11
python-rdflib qt5-base qt5-svg) python-pyqt5 python-pyliblo python-rdflib qt5-base qt5-svg)
makedepends=(file fluidsynth freetype2 git libsndfile liblo libpulse qt5-tools) makedepends=(file fluidsynth freetype2 git libsndfile liblo libpulse qt5-tools)
optdepends=( optdepends=(
'jack: for using carla with JACK' 'jack: for using carla with JACK'
@ -23,6 +23,7 @@ optdepends=(
'vst-host: for the VST plugin' 'vst-host: for the VST plugin'
) )
provides=(dssi-host ladspa-host lv2-host vst-host vst3-host) provides=(dssi-host ladspa-host lv2-host vst-host vst3-host)
options=(debug)
source=( source=(
"git+https://github.com/falkTX/${pkgname}#tag=v${pkgver}?signed" "git+https://github.com/falkTX/${pkgname}#tag=v${pkgver}?signed"
) )
@ -31,26 +32,21 @@ b2sums=('SKIP')
validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com> validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com>
prepare() { prepare() {
cd "${pkgname}" cd $pkgname
# fix python 3.10 related crashes # fix python 3.10 related crashes
git cherry-pick -n 91720f6ddcfd00ebf9f0a6613099f53922426726 git cherry-pick -n 91720f6ddcfd00ebf9f0a6613099f53922426726
} }
build() { build() {
cd "${pkgname}" make NOOPT=true features -C $pkgname
make NOOPT=true features make NOOPT=true -C $pkgname
make NOOPT=true
} }
package() { package() {
depends+=(libasound.so libfluidsynth.so libfreetype.so liblo.so libmagic.so depends+=(libasound.so libfluidsynth.so libfreetype.so liblo.so libmagic.so
libpulse.so libsndfile.so) libpulse.so libsndfile.so)
cd "${pkgname}" make NOOPT=true DEFAULT_QT=5 DESTDIR="$pkgdir/" PREFIX=/usr install -C $pkgname
make NOOPT=true DEFAULT_QT=5 \ install -vDm 644 $pkgname/README.md -t "${pkgdir}/usr/share/doc/$pkgname/"
DESTDIR="${pkgdir}/" \
PREFIX=/usr \
install
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: