[arch-commits] Commit in noise-repellent/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Sep 20 20:19:31 UTC 2021
Date: Monday, September 20, 2021 @ 20:19:31
Author: dvzrv
Revision: 1019683
upgpkg: noise-repellent 0.1.5-3: Rebuild to fix checksum issues.
Upstream retagged the 1.5.0 release to fix issues with tag conformity:
https://github.com/lucianodato/noise-repellent/issues/69
https://bugs.archlinux.org/task/72014
Add lv2lint call in check() and report problems upstream.
Add lv2-host to dependencies.
Modified:
noise-repellent/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-20 20:19:01 UTC (rev 1019682)
+++ PKGBUILD 2021-09-20 20:19:31 UTC (rev 1019683)
@@ -2,26 +2,33 @@
pkgname=noise-repellent
pkgver=0.1.5
-pkgrel=2
+pkgrel=3
pkgdesc="An lv2 plug-in for broadband noise reduction"
arch=('x86_64')
url="https://github.com/lucianodato/noise-repellent"
license=('LGPL3')
groups=('lv2-plugins' 'pro-audio')
-depends=('fftw' 'glibc')
+depends=('fftw' 'glibc' 'lv2-host')
makedepends=('lv2' 'meson')
+checkdepends=('lv2lint')
source=("$pkgname-$pkgver.tar.gz::https://github.com/lucianodato/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('cd2f150c39d4615042eafd6ada6487234be1578b00d857de9561d1bf5f39999078e9ea0fbf41a81cb23890a0c48192c1a309e3b054dc47682312d0f1e003d09c')
+sha512sums=('85fcafdaead400efa3ba9e87f2ecf96c02a41334f933902d456a2d5e714e72ef4124e68534f87b60421ef7139bea4e5e768a89d5ed13e6fcf95a9923cc89e383')
+b2sums=('b840df30a5b374be7df2797f970e115083aa97e1ba4219466a659d29ff5791f34c8d7f7352cfb615ea8d109b92a27b47b29ca1dd6b77031a6f7fd3f15e2ddf5f')
build() {
cd "$pkgname-$pkgver"
# install_folder is broken:
# https://github.com/lucianodato/noise-repellent/issues/68
- meson --prefix=/usr/lib/lv2 \
- build
+ arch-meson --prefix=/usr/lib/lv2 build
ninja -C build
}
+check() {
+ cd "$pkgname-$pkgver"
+ cp -av lv2ttl/*.ttl build/
+ lv2lint -Mpack -I build "https://github.com/lucianodato/noise-repellent" || printf "Known to fail: https://github.com/lucianodato/noise-repellent/issues/79\n"
+}
+
package() {
cd "$pkgname-$pkgver"
DESTDIR="${pkgdir}" meson install -C build
More information about the arch-commits
mailing list