Date: Wednesday, May 18, 2022 @ 13:57:55 Author: dvzrv Revision: 1208248
upgpkg: geonkick 2.9.1-1: Upgrade to 2.9.1. Remove unneeded quotes and curly braces. Disable LTO as it introduces issues with visible symbols. Add debug package. Modified: geonkick/trunk/PKGBUILD ----------+ PKGBUILD | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-05-18 13:57:51 UTC (rev 1208247) +++ PKGBUILD 2022-05-18 13:57:55 UTC (rev 1208248) @@ -1,7 +1,7 @@ # Maintainer: David Runge <dv...@archlinux.org> pkgname=geonkick -pkgver=2.9.0 +pkgver=2.9.1 pkgrel=1 pkgdesc="A free software percussion synthesizer" arch=(x86_64) @@ -15,9 +15,11 @@ 'lv2-host: for LV2 plugin' 'jack: for standalone application' ) -source=("$pkgname-v$pkgver.tar.gz::https://github.com/free-sm/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz") -sha512sums=('5f4ea7e4363092ac770b925d7e969a368fcaddffe36fddbcda1c1c486b387a366192e02706d431504bae3dada95551accfbece0059ff748f7c14d4479bb8358d') -b2sums=('db6e615cbab5d712ffa31a944a6ab06e1dd676498256cd73357e0a9bafed2892560386b792db725407b0d13521bda7e9e373700384eadc42f3a5bccf64bc9ace') +# issues with visible symbols during check() if LTO is enabled: https://github.com/free-sm/geonkick/issues/164 +options=(debug !lto) +source=($pkgname-v$pkgver.tar.gz::https://github.com/free-sm/$pkgname/archive/refs/tags/v$pkgver.tar.gz) +sha512sums=('9d72588405da30b8968ee5a23274593b08bdc21c4a7df73dcd75231d67e9e92706fbfd3f26d6ba7352ec7323ca01ec9cd40619fab8cf7a3d78263a45f75eb9ff') +b2sums=('5864d24e273de85c6fb3fd85f5883f7ef2884d3520ff2c8412717a35066f72a3693ff74cd84e11dfb86cbb8c782d5232f8430c1f074a9de5c752e5b623305f92') build() { cmake -DCMAKE_INSTALL_PREFIX=/usr \ @@ -24,20 +26,20 @@ -DCMAKE_BUILD_TYPE=None \ -Wno-dev \ -B build \ - -S "$pkgname-$pkgver" + -S $pkgname-$pkgver make VERBOSE=1 -C build } check() { - cp -av build/plugin/lv2/*.so "$pkgname-$pkgver/plugin/lv2/${pkgname}.lv2/" - lv2lint -Mpack -I "$pkgname-$pkgver/plugin/lv2/${pkgname}.lv2/" "http://geontime.com/geonkick" || echo "Known to fail: https://github.com/free-sm/geonkick/issues/164" - rm -v "$pkgname-$pkgver/plugin/lv2/${pkgname}.lv2/"*.so + cp -av build/plugin/lv2/*.so $pkgname-$pkgver/plugin/lv2/$pkgname.lv2/ + lv2lint -Mpack -I $pkgname-$pkgver/plugin/lv2/$pkgname.lv2/ "http://geontime.com/geonkick" + rm -v $pkgname-$pkgver/plugin/lv2/$pkgname.lv2/*.so } package() { depends+=(libsndfile.so) - make VERBOSE=1 DESTDIR="$pkgdir/" install -C build - install -vDm 644 "$pkgname-$pkgver/data/${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" - install -vDm 644 "$pkgname-$pkgver/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}" + make VERBOSE=1 DESTDIR="$pkgdir" install -C build + install -vDm 644 $pkgname-$pkgver/data/$pkgname.desktop -t "$pkgdir/usr/share/applications/" + install -vDm 644 $pkgname-$pkgver/README.md -t "$pkgdir/usr/share/doc/$pkgname/" }