[arch-commits] Commit in sfizz/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Sun Jan 16 09:31:11 UTC 2022


    Date: Sunday, January 16, 2022 @ 09:31:11
  Author: dvzrv
Revision: 1105961

archrelease: copy trunk to community-x86_64

Added:
  sfizz/repos/community-x86_64/PKGBUILD
    (from rev 1105960, sfizz/trunk/PKGBUILD)
Deleted:
  sfizz/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  132 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 69 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-16 09:31:02 UTC (rev 1105960)
+++ PKGBUILD	2022-01-16 09:31:11 UTC (rev 1105961)
@@ -1,63 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: RedTide <redtid3 at gmail.com>
-
-pkgname=sfizz
-pkgver=1.1.1
-pkgrel=2
-pkgdesc="SFZ library and LV2 plugin"
-arch=('x86_64')
-url="https://github.com/sfztools/sfizz"
-license=('BSD')
-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'
-  'vst3-host: for the VST3 plugin'
-)
-provides=('libsfizz.so' 'soundfont-synthesizer')
-source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('06a0a96b107068261422b11cb4072900b18fcb2d283cca9586a1f5fbdf6944c11799ef2b9861fd3c15d2b9be4727e682a40bd5064dc2428208a69cf6c5b5cba6')
-b2sums=('c8f956c249e354a251d1546dd7d73619bf18ee55adce8584b2ace4e965bf3b4050f1df1419d0b70ceaf1f9cf15d99d43dc5de2eca8128f6b07f048bca77f364f')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  # devendor lv2
-  rm -rfv lv2/lv2
-  sed -e 's|"lv2/core/lv2.h"|<lv2/core/lv2.h>|g' \
-      -i plugins/lv2/external/ardour/ardour/lv2_extensions.h
-}
-
-build() {
-  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 .
-  make VERBOSE=1 -C build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  ./build/tests/${pkgname}_tests
-  lv2lint -Mpack -I "build/${pkgname}.lv2" "http://sfztools.github.io/sfizz"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
-  # 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}"
-}

Copied: sfizz/repos/community-x86_64/PKGBUILD (from rev 1105960, sfizz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-16 09:31:11 UTC (rev 1105961)
@@ -0,0 +1,69 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: RedTide <redtid3 at gmail.com>
+
+pkgname=sfizz
+pkgver=1.2.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)
+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 simde vst3sdk xcb-util-keysyms)
+checkdepends=(lv2lint)
+optdepends=(
+  'jack: for sfizz_jack'
+  'lv2-host: for the LV2 plugin'
+  'pd: for puredata external'
+  'vst3-host: for the VST3 plugin'
+)
+provides=(libsfizz.so)
+source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('fd8500a9e94acee4cd61053ce9d6fd85e6dcee56c198e986557bb40b35a7ac902a4e3544bce4a13349a00f9d3024509db1a805ef442abdf94cb63cfadf0df81d')
+b2sums=('cecedcd1a1f6268f84b1e878b264226566d43b091cfc8d522084ed3af24a030b0840833dc093300d3e8b933398401b6ea619f36fe1df6ff04544eabf2850665c')
+
+prepare() {
+  # symlink tests data to top-level location so that tests can get to them
+  ln -s "$pkgname-$pkgver/tests" .
+  (
+  # devendor vst3sdk
+  cd "$pkgname-$pkgver"
+  rm -rf plugins/vst/external/VST_SDK/VST3_SDK/*
+  cp -av /usr/include/vst3sdk/* plugins/vst/external/VST_SDK/VST3_SDK/
+  )
+  cd "$pkgname-$pkgver"
+  # devendor lv2
+  rm -rfv lv2/lv2
+  sed -e 's|"lv2/core/lv2.h"|<lv2/core/lv2.h>|g' \
+      -i plugins/lv2/external/ardour/ardour/lv2_extensions.h
+}
+
+build() {
+  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 \
+        -DSFIZZ_USE_SYSTEM_SIMDE=ON \
+        -Wno-dev \
+        -B build \
+        -S "$pkgname-$pkgver"
+  make VERBOSE=1 -C build
+}
+
+check() {
+  ./build/tests/${pkgname}_tests
+  lv2lint -Mpack -I "build/${pkgname}.lv2" "http://sfztools.github.io/sfizz" || echo "Known to fail: https://github.com/sfztools/sfizz/issues/1071"
+}
+
+package() {
+  make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
+  install -vDm 644 "$pkgname-$pkgver/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 "$pkgname-$pkgver/"{AUTHORS,CONTRIBUTING,GOVERNANCE,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