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

David Runge dvzrv at archlinux.org
Mon Apr 13 11:10:07 UTC 2020


    Date: Monday, April 13, 2020 @ 11:10:07
  Author: dvzrv
Revision: 613625

upgpkg: carla 2.1-1: Upgrading to 2.1.


Removing obsoleted ffmpeg sodeps/makedepends.
Fixing discovery of libmagic.so during build().
Adding linked in liblo and libpulse sodeps (they're not picked up by find-libdeps though).
Adding all other available sodeps in package() and moving the respective packges to makedepends.

Modified:
  carla/trunk/PKGBUILD

----------+
 PKGBUILD |   32 +++++++++++++++++---------------
 1 file changed, 17 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-13 11:08:52 UTC (rev 613624)
+++ PKGBUILD	2020-04-13 11:10:07 UTC (rev 613625)
@@ -4,27 +4,28 @@
 
 _name=Carla
 pkgname=carla
-pkgver=2.0.0
-pkgrel=2
+pkgver=2.1
+pkgrel=1
 pkgdesc="Audio Plugin Host"
 arch=('x86_64')
 url="https://kxstudio.linuxaudio.org/Applications:Carla"
 license=('GPL2')
 groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'python-pyqt5' 'python-pyliblo' 'python-rdflib'
-'qt5-base' 'qt5-svg')
-makedepends=('ffmpeg' 'file' 'fluidsynth' 'glib2' 'gtk2' 'gtk3' 'libsndfile'
-'qt5-tools')
-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')
+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")
+sha512sums=('b265e3150e12b42095e28ac30f72e211e96a769619a5ec56d574be8a17fb6ca282a504bb9759de312066202106b6e5234e006689b90edb1cc54f3e6919384509')
 
 prepare() {
   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"
+  # fixing file (libmagic.so) detection
+  sed -e 's/\\#include/#include/' -i source/Makefile.mk
 }
 
 build() {
@@ -34,9 +35,10 @@
 }
 
 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')
+  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')
   cd "${pkgname}-${pkgver}"
   make DEFAULT_QT=5 \
        DESTDIR="${pkgdir}/" \



More information about the arch-commits mailing list