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

David Runge dvzrv at gemini.archlinux.org
Sun Nov 7 15:23:51 UTC 2021


    Date: Sunday, November 7, 2021 @ 15:23:51
  Author: dvzrv
Revision: 1038660

upgpkg: sfizz 1.1.0-1: Upgrade to 1.1.0.

Use abseil-cpp, cxxopts and pugixml instead of vendored versions.

Modified:
  sfizz/trunk/PKGBUILD

----------+
 PKGBUILD |   26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-07 14:54:13 UTC (rev 1038659)
+++ PKGBUILD	2021-11-07 15:23:51 UTC (rev 1038660)
@@ -2,18 +2,17 @@
 # Contributor: RedTide <redtid3 at gmail.com>
 
 pkgname=sfizz
-pkgver=1.0.0
+pkgver=1.1.0
 pkgrel=1
 pkgdesc="SFZ library and LV2 plugin"
 arch=('x86_64')
 url="https://github.com/sfztools/sfizz"
 license=('BSD')
-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' 'ttf-roboto' 'zenity')
-makedepends=('cmake' 'jack' 'freetype2' 'lv2' 'xcb-util-keysyms')
-checkdepends=('lv2lint')
+groups=(lv2-plugins pro-audio vst3-plugins)
+depends=(abseil-cpp cairo gcc-libs glibc libx11 libxkbcommon libxkbcommon-x11
+pugixml ttf-roboto xcb-util xcb-util-cursor zenity)
+makedepends=(cmake cxxopts jack freetype2 lv2 xcb-util-keysyms)
+checkdepends=(lv2lint)
 optdepends=(
   'jack: for sfizz_jack'
   'lv2-host: for the LV2 plugin'
@@ -21,8 +20,8 @@
 )
 provides=('libsfizz.so' 'soundfont-synthesizer')
 source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('541f07c18e96ebf7dfa9977b4e6aa69b37e7146f3b2e88276363f7cc5c6f34d3d71a166854fcdc688f89368beeb8eb3a78edf5c8fedb3c89bd2f79f32b31d941')
-b2sums=('2d9b1cabc58d312ee0ac6837bb917369d8ec1785d1dd59a9d0e00d51b4371f98cfddb58fc713f9cafcec072129b8d5cf13870efbf00715fff44aa38a59ec3ddf')
+sha512sums=('3ddebdebaf290416a478233e03dcc3d228ba0bfb68fd14564f9cc7b3f1dd82f19b8381f1f9a3aa825683cb41f2298fe5439fc15068befc942866e067b872b18f')
+b2sums=('fcec77b47edcc06ef14b3f3dc2e358ef4dd18fa7081056ffa50909a5ee798aabc5e9b0dec127b5632a748c87f91c83c0de53783ecb1f4429ee3d82d34865921f')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -36,7 +35,11 @@
   cd "$pkgname-$pkgver"
   cmake -DCMAKE_INSTALL_PREFIX="/usr" \
         -DCMAKE_BUILD_TYPE='None' \
+        -DSFIZZ_PUREDATA=ON \
         -DSFIZZ_TESTS=ON \
+        -DSFIZZ_USE_SYSTEM_ABSEIL=ON \
+        -DSFIZZ_USE_SYSTEM_CXXOPTS=ON \
+        -DSFIZZ_USE_SYSTEM_PUGIXML=ON \
         -Wno-dev \
         -B build \
         -S .
@@ -52,8 +55,9 @@
 package() {
   cd "$pkgname-$pkgver"
   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/"
+
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {AUTHORS,CONTRIBUTING,GOVERNANCE,README}.md -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list