community/carla to 2.4.1-2

This commit is contained in:
Kevin Mihelich 2021-12-16 15:12:13 +00:00
parent bcd016d2ac
commit 110fae2473

View file

@ -8,26 +8,34 @@
_name=Carla _name=Carla
pkgname=carla pkgname=carla
pkgver=2.4.1 pkgver=2.4.1
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=('alsa-lib' 'gcc-libs' 'glibc' 'libglvnd' 'libx11' 'python-pyqt5' depends=(alsa-lib gcc-libs glibc libglvnd libx11 python-pyqt5 python-pyliblo
'python-pyliblo' 'python-rdflib' 'qt5-base' 'qt5-svg') 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'
'lv2-host: for the LV2 plugin' 'lv2-host: for the LV2 plugin'
'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)
source=("git+https://github.com/falkTX/${pkgname}#tag=v${pkgver}?signed") source=(
"git+https://github.com/falkTX/${pkgname}#tag=v${pkgver}?signed"
)
sha512sums=('SKIP') sha512sums=('SKIP')
b2sums=('SKIP') b2sums=('SKIP')
validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com> validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0') # falkTX <falktx@falktx.com>
prepare() {
cd "${pkgname}"
# fix python 3.10 related crashes
git cherry-pick -n 91720f6ddcfd00ebf9f0a6613099f53922426726
}
build() { build() {
cd "${pkgname}" cd "${pkgname}"
make NOOPT=true features make NOOPT=true features
@ -35,8 +43,8 @@ build() {
} }
package() { package() {
depends+=('libasound.so' 'libfluidsynth.so' 'libfreetype.so' 'liblo.so' depends+=(libasound.so libfluidsynth.so libfreetype.so liblo.so libmagic.so
'libmagic.so' 'libpulse.so' 'libsndfile.so') libpulse.so libsndfile.so)
cd "${pkgname}" cd "${pkgname}"
make NOOPT=true DEFAULT_QT=5 \ make NOOPT=true DEFAULT_QT=5 \