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

David Runge dvzrv at archlinux.org
Sun Feb 28 17:21:23 UTC 2021


    Date: Sunday, February 28, 2021 @ 17:21:23
  Author: dvzrv
Revision: 875921

upgpkg: sfizz 0.5.1-2: Rebuild to devendor ttf-roboto.

Replace the vendored ttf-roboto with the system package:
https://bugs.archlinux.org/task/69808
Add zenity to depends, so that file open dialogs work properly:
https://github.com/sfztools/sfizz/issues/637

Modified:
  sfizz/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 17:21:10 UTC (rev 875920)
+++ PKGBUILD	2021-02-28 17:21:23 UTC (rev 875921)
@@ -3,7 +3,7 @@
 
 pkgname=sfizz
 pkgver=0.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc="SFZ library and LV2 plugin"
 arch=('x86_64')
 url="https://github.com/sfztools/sfizz"
@@ -11,10 +11,14 @@
 groups=('lv2-plugins' 'pro-audio' 'vst3-plugins')
 # TODO: devendor abseil-cpp
 depends=('cairo' 'gcc-libs' 'glibc' 'libx11' 'xcb-util' 'xcb-util-cursor'
-'libxkbcommon' 'libxkbcommon-x11')
+'libxkbcommon' 'libxkbcommon-x11' 'ttf-roboto' 'zenity')
 makedepends=('cmake' 'jack' 'freetype2' 'libsndfile' 'lv2' 'xcb-util-keysyms')
 checkdepends=('lv2lint')
-optdepends=('jack: for sfizz_jack')
+optdepends=(
+  'jack: for sfizz_jack'
+  'lv2-host: for the LV2 plugin'
+  'vst3-host: for the VST3 plugin'
+)
 provides=('libsfizz.so' 'soundfont-synthesizer')
 source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz")
 sha512sums=('e25072be304775aa7f0173b6cac4284ddc192f7bc40b7ea6335e3cef7d982845aefc67c1f905560c036564a67e4049f81198e1b316cc17aa3df5b9f4095b3c2a')
@@ -52,4 +56,6 @@
   make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
   install -vDm 644 LICENSE.md -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  # devendor ttf-roboto
+  ln -svf /usr/share/fonts/TTF/Roboto-Regular.ttf "${pkgdir}/usr/lib/vst3/${pkgname}.vst3/Contents/Resources/Fonts/"
 }



More information about the arch-commits mailing list