[arch-commits] Commit in vm.lv2/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Apr 15 18:43:54 UTC 2019


    Date: Monday, April 15, 2019 @ 18:43:54
  Author: dvzrv
Revision: 451721

upgpkg: vm.lv2 0.6.0-1

Upgrading to 0.6.0.

Modified:
  vm.lv2/trunk/PKGBUILD

----------+
 PKGBUILD |   38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-15 18:35:59 UTC (rev 451720)
+++ PKGBUILD	2019-04-15 18:43:54 UTC (rev 451721)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=vm.lv2
-pkgver=0.4.0
-pkgrel=4
+pkgver=0.6.0
+pkgrel=1
 pkgdesc="A virtual machine LV2 plugin bundle"
 arch=('x86_64')
 url="https://open-music-kontrollers.ch/lv2/vm/#"
@@ -8,29 +8,29 @@
 license=('Artistic2.0')
 groups=('lv2-plugins' 'pro-audio')
 depends=('libgl')
-makedepends=('cmake' 'lv2')
+makedepends=('lv2' 'meson' 'sord')
 source=("https://git.open-music-kontrollers.ch/lv2//$pkgname/snapshot/$pkgname-$pkgver.tar.xz")
-md5sums=('01614eb27309f4fbd0dde02dc74991c0')
+md5sums=('7313588b1e5b9794fc70c1b7acb31134')
 
-prepare() {
+build() {
   cd "$pkgname-$pkgver"
-  # hotfixing undeclared variable:
-  # https://gitlab.com/OpenMusicKontrollers/vm.lv2/issues/1
-  sed -e 's/HUGE/HUGE_VAL/g' -i vm_ui.c
-  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