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

David Runge dvzrv at archlinux.org
Mon Apr 15 16:13:03 UTC 2019


    Date: Monday, April 15, 2019 @ 16:13:03
  Author: dvzrv
Revision: 451706

upgpkg: midi_matrix.lv2 0.22.0-1

Upgrading to 0.22.0

Modified:
  midi_matrix.lv2/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++++++-------------
 1 file changed, 22 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-15 15:44:26 UTC (rev 451705)
+++ PKGBUILD	2019-04-15 16:13:03 UTC (rev 451706)
@@ -1,16 +1,16 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=midi_matrix.lv2
-pkgver=0.20.0
-pkgrel=2
-pkgdesc="A 3-in-1 filter plugin with a simple UI enabling you to easily accomplish MIDI channel filtering, multiplication and rerouting"
+pkgver=0.22.0
+pkgrel=1
+pkgdesc="A plugin for MIDI channel filtering, multiplication and rerouting"
 arch=('x86_64')
 url="https://open-music-kontrollers.ch/lv2/midi_matrix/"
 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=('96b74972b0ab0b0a1ab5629c234fe70f')
+md5sums=('2c1a8cd9f1cb429b9a1589de519c36e3')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -18,16 +18,25 @@
 }
 
 build() {
-  cd "$pkgname-$pkgver/build"
-  cmake -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        ..
-  make
+  cd "$pkgname-$pkgver"
+  arch-meson --prefix=/usr \
+             --libdir=lib \
+             --buildtype=release \
+             build
+  ninja -C build
 }
 
+# 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