[arch-commits] Commit in noise-repellent/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Jan 3 11:33:18 UTC 2020
Date: Friday, January 3, 2020 @ 11:33:18
Author: dvzrv
Revision: 547129
upgpkg: noise-repellent 0.1.5-1: Upgrading to 0.1.5. Updating maintainer info. Switching to correct license (LGPL3). Adding all direct library dependencies. Using new meson based build setup (and opening an upsteam bug report about misuse of prefix).
Modified:
noise-repellent/trunk/PKGBUILD
----------+
PKGBUILD | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-03 11:29:21 UTC (rev 547128)
+++ PKGBUILD 2020-01-03 11:33:18 UTC (rev 547129)
@@ -1,29 +1,31 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
pkgname=noise-repellent
-pkgver=0.1.4
-pkgrel=2
+pkgver=0.1.5
+pkgrel=1
pkgdesc="An lv2 plug-in for broadband noise reduction"
arch=('x86_64')
url="https://github.com/lucianodato/noise-repellent"
-license=('GPL3')
+license=('LGPL3')
groups=('lv2-plugins' 'pro-audio')
-depends=('fftw')
-makedepends=('lv2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lucianodato/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('9194d0923f6128f3628d6ee008991629ff20e693a94ba672f628bb2affb973592608c976696a48b2ff41d5001603be2844988defe66fb39ff31f103b55dc6c57')
+depends=('fftw' 'glibc')
+makedepends=('lv2' 'meson')
+# upstream changes tag system sometimes:
+# https://github.com/lucianodato/noise-repellent/issues/69
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lucianodato/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('d6fa6bffd072fd1c80baa39d42fb9c2890910c642be5ba433a140cb3da484c9d5a4c65624b0332391f25e1e8fc7caa218c23863503d5b3af2c540705ddc8194a')
-prepare() {
- cd "$pkgname-$pkgver"
- export PREFIX=/usr
-}
-
build() {
cd "$pkgname-$pkgver"
- make
+ # install_folder is broken:
+ # https://github.com/lucianodato/noise-repellent/issues/68
+ meson --prefix=/usr/lib/lv2 \
+ build
+ ninja -C build
}
package() {
cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ DESTDIR="${pkgdir}" meson install -C build
install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}/"
}
More information about the arch-commits
mailing list