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

David Runge dvzrv at archlinux.org
Fri Apr 3 08:15:33 UTC 2020


    Date: Friday, April 3, 2020 @ 08:15:30
  Author: dvzrv
Revision: 610802

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   99 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 54 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-03 08:15:21 UTC (rev 610801)
+++ PKGBUILD	2020-04-03 08:15:30 UTC (rev 610802)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: RedTide <redtid3 at gmail.com>
-
-pkgname=sfizz
-pkgver=0.3.1
-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 lv2 and abseil-cpp
-depends=('cairo' 'gcc-libs' 'glibc' 'libx11' 'xcb-util' 'xcb-util-cursor'
-'libxkbcommon' 'libxkbcommon-x11')
-makedepends=('cmake' 'jack' 'freetype2' 'libsndfile' 'lv2' 'xcb-util-keysyms')
-checkdepends=('lv2lint')
-optdepends=('jack: for sfizz_jack')
-provides=('libsfizz.so' 'soundfont-synthesizer')
-source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz")
-sha512sums=('4b162e986ca3f7c04a3d7ac88885ffe9297418c4d66819bdd9235e5781b77a25acdbee89bc72337a819a30c59262a7926990f0ebc0a7fea7fab6a40518539e6e')
-
-build() {
-  cd "$pkgname-$pkgver"
-  cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-        -DCMAKE_BUILD_TYPE='Release' \
-        -DSFIZZ_TESTS=ON \
-        -DSFIZZ_VST=ON \
-        -B build \
-        -S .
-  make VERBOSE=1 -C build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  ./build/tests/${pkgname}_tests
-  LV2_PATH="${PWD}/build:/usr/lib/lv2" lv2lint "http://sfztools.github.io/sfizz"
-}
-
-package() {
-  depends+=('libsndfile.so')
-  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}"
-}

Copied: sfizz/repos/community-x86_64/PKGBUILD (from rev 610801, sfizz/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-03 08:15:30 UTC (rev 610802)
@@ -0,0 +1,54 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: RedTide <redtid3 at gmail.com>
+
+pkgname=sfizz
+pkgver=0.3.2
+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')
+makedepends=('cmake' 'jack' 'freetype2' 'libsndfile' 'lv2' 'xcb-util-keysyms')
+checkdepends=('lv2lint')
+optdepends=('jack: for sfizz_jack')
+provides=('libsfizz.so' 'soundfont-synthesizer')
+source=("https://github.com/sfztools/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}-src.tar.gz")
+sha512sums=('5fc75ae7baa31d59237c2cae5c47650eed94f27d7fba1b456345ad670ff74c5f6b4c9cd69c21866a9bba8dee3612491241990427950067a90e792021ad3aa60f')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # devendor lv2
+  rm -rfv lv2/lv2
+  sed -e 's|"lv2/core/lv2.h"|<lv2/core/lv2.h>|g' \
+      -i lv2/external/ardour/ardour/lv2_extensions.h
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  cmake -DCMAKE_INSTALL_PREFIX="/usr" \
+        -DCMAKE_BUILD_TYPE='Release' \
+        -ENABLE_LTO=ON \
+        -DSFIZZ_TESTS=ON \
+        -DSFIZZ_VST=ON \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  ./build/tests/${pkgname}_tests
+  LV2_PATH="${PWD}/build:/usr/lib/lv2" lv2lint "http://sfztools.github.io/sfizz"
+}
+
+package() {
+  depends+=('libsndfile.so')
+  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}"
+}



More information about the arch-commits mailing list