[arch-commits] Commit in carla/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Thu Dec 16 14:43:54 UTC 2021


    Date: Thursday, December 16, 2021 @ 14:43:54
  Author: dvzrv
Revision: 1074494

upgpkg: carla 2.4.1-2: Rebuild to apply stability fix for python 3.10.

Aplly a fix to not crash on python 3.10.
Simplify quoting in file.

Modified:
  carla/trunk/PKGBUILD

----------+
 PKGBUILD |   30 +++++++++++++++++++-----------
 1 file changed, 19 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-16 14:42:42 UTC (rev 1074493)
+++ PKGBUILD	2021-12-16 14:43:54 UTC (rev 1074494)
@@ -5,26 +5,34 @@
 _name=Carla
 pkgname=carla
 pkgver=2.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Audio Plugin Host"
-arch=('x86_64')
+arch=(x86_64)
 url="https://kxstudio.linuxaudio.org/Applications:Carla"
-license=('GPL2')
-groups=('pro-audio')
-depends=('alsa-lib' 'gcc-libs' 'glibc' 'libglvnd' 'libx11' 'python-pyqt5'
-'python-pyliblo' 'python-rdflib' 'qt5-base' 'qt5-svg')
-makedepends=('file' 'fluidsynth' 'freetype2' 'git' 'libsndfile' 'liblo' 'libpulse' 'qt5-tools')
+license=(GPL2)
+groups=(pro-audio)
+depends=(alsa-lib gcc-libs glibc libglvnd libx11 python-pyqt5 python-pyliblo
+python-rdflib qt5-base qt5-svg)
+makedepends=(file fluidsynth freetype2 git libsndfile liblo libpulse qt5-tools)
 optdepends=(
   'jack: for using carla with JACK'
   'lv2-host: for the LV2 plugin'
   'vst-host: for the VST plugin'
 )
-provides=('dssi-host' 'ladspa-host' 'lv2-host' 'vst-host' 'vst3-host')
-source=("git+https://github.com/falkTX/${pkgname}#tag=v${pkgver}?signed")
+provides=(dssi-host ladspa-host lv2-host vst-host vst3-host)
+source=(
+  "git+https://github.com/falkTX/${pkgname}#tag=v${pkgver}?signed"
+)
 sha512sums=('SKIP')
 b2sums=('SKIP')
 validpgpkeys=('62B11043D2F6EB6672D93103CDBAA37ABC74FBA0')  # falkTX <falktx at falktx.com>
 
+prepare() {
+  cd "${pkgname}"
+  # fix python 3.10 related crashes
+  git cherry-pick -n 91720f6ddcfd00ebf9f0a6613099f53922426726
+}
+
 build() {
   cd "${pkgname}"
   make features
@@ -32,8 +40,8 @@
 }
 
 package() {
-  depends+=('libasound.so' 'libfluidsynth.so' 'libfreetype.so' 'liblo.so'
-  'libmagic.so' 'libpulse.so' 'libsndfile.so')
+  depends+=(libasound.so libfluidsynth.so libfreetype.so liblo.so libmagic.so
+  libpulse.so libsndfile.so)
 
   cd "${pkgname}"
   make DEFAULT_QT=5 \



More information about the arch-commits mailing list