[arch-commits] Commit in sfizz/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Apr 3 08:15:22 UTC 2020
Date: Friday, April 3, 2020 @ 08:15:21
Author: dvzrv
Revision: 610801
upgpkg: sfizz 0.3.2-1: Upgrading to 0.3.2.
Devendoring lv2 by patching one file and removing the vendored sources.
Enabling link time optimization (LTO).
Modified:
sfizz/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-03 07:54:02 UTC (rev 610800)
+++ PKGBUILD 2020-04-03 08:15:21 UTC (rev 610801)
@@ -2,7 +2,7 @@
# Contributor: RedTide <redtid3 at gmail.com>
pkgname=sfizz
-pkgver=0.3.1
+pkgver=0.3.2
pkgrel=1
pkgdesc="SFZ library and LV2 plugin"
arch=('x86_64')
@@ -9,7 +9,7 @@
url="https://github.com/sfztools/sfizz"
license=('BSD')
groups=('lv2-plugins' 'pro-audio' 'vst3-plugins')
-# TODO: devendor lv2 and abseil-cpp
+# 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')
@@ -17,12 +17,21 @@
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')
+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 \
More information about the arch-commits
mailing list