[arch-commits] Commit in patchmatrix/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Mon Apr 15 17:58:48 UTC 2019


    Date: Monday, April 15, 2019 @ 17:58:47
  Author: dvzrv
Revision: 451712

upgpkg: patchmatrix 0.14.0-1

Upgrading to 0.14.0.

Modified:
  patchmatrix/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-15 17:41:55 UTC (rev 451711)
+++ PKGBUILD	2019-04-15 17:58:47 UTC (rev 451712)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=patchmatrix
-pkgver=0.12.0
-pkgrel=4
+pkgver=0.14.0
+pkgrel=1
 pkgdesc="A JACK patchbay in flow matrix style"
 arch=('x86_64')
 url="https://git.open-music-kontrollers.ch/lad/patchmatrix/about/"
@@ -8,26 +8,29 @@
 license=('Artistic2.0')
 groups=('lv2-plugins' 'pro-audio')
 depends=('hicolor-icon-theme' 'jack' 'libgl')
-makedepends=('cmake' 'lv2')
+makedepends=('lv2' 'meson' 'sord')
 source=("https://git.open-music-kontrollers.ch/lad/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.xz")
-sha512sums=('be8c1559aa5c3344a134af974290d5aec0b98e0aa4acb6d7fcfb1c6ee0143cd6863bc094f4037375af0db27bc5a2fb39aa3087ecd14d06143a4fc3ba4bebff20')
+sha512sums=('135cfd9342700f31a5f2e0c3c1d8615d520cb714bed0d14c0b42899d9cb6ab6c83ff93a4453b6ebf84c1c6bca713f53df4ae2c9cce5e174d5711e5c01a515a6e')
 
-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