[arch-commits] Commit in eteroj.lv2/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Apr 15 18:23:39 UTC 2019
Date: Monday, April 15, 2019 @ 18:23:39
Author: dvzrv
Revision: 451716
upgpkg: eteroj.lv2 0.6.0-1
Upgrading to 0.6.0.
Modified:
eteroj.lv2/trunk/PKGBUILD
----------+
PKGBUILD | 37 ++++++++++++++++++++-----------------
1 file changed, 20 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-15 18:04:55 UTC (rev 451715)
+++ PKGBUILD 2019-04-15 18:23:39 UTC (rev 451716)
@@ -1,33 +1,36 @@
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=eteroj.lv2
-pkgver=0.4.0
-pkgrel=4
+pkgver=0.6.0
+pkgrel=1
pkgdesc="Open Sound Control for LV2"
arch=('x86_64')
url="https://open-music-kontrollers.ch/lv2/eteroj/"
license=('Artistic2.0')
groups=('lv2-plugins' 'pro-audio')
-depends=('libuv')
-makedepends=('cmake' 'lv2')
+depends=('glibc')
+makedepends=('lv2' 'meson' 'sord')
source=("https://git.open-music-kontrollers.ch/lv2/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz")
-sha512sums=('93288eaf6ff1df439f8af920f535f46d2dcdf792b0d737c2c316efe005928e6447dccdbb057594c548943089b2f7883de18ad9f652c4a15f6cad2f5f5de7c5bb')
+sha512sums=('9c28789b5b69129e6c57dce40cd167bd226afe4209aeca5edf3abbbbe205f9525d25334483c540da24314c02f11476679c7988eed9e1acbc6f2d8722d6c0abe7')
-prepare() {
+build() {
cd "$pkgname-$pkgver"
- mkdir -v build
+ arch-meson --prefix=/usr \
+ --libdir=lib \
+ --buildtype=release \
+ build
+ ninja -C build
}
-build() {
- cd "$pkgname-$pkgver/build"
- cmake -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- ..
- make
-}
+# check fails due to currently broken lv2_validate in lv2
+# check() {
+# cd "$pkgname-$pkgver"
+# meson test -C build
+# }
package() {
- cd "$pkgname-$pkgver/build"
- make DESTDIR="$pkgdir/" install
+ cd "$pkgname-$pkgver"
+ DESTDIR="${pkgdir}" meson install -C build
# docs
- install -vDm 644 ../README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
+ install -vDm 644 {ChangeLog,README.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list