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

David Runge dvzrv at archlinux.org
Fri Dec 27 15:15:36 UTC 2019


    Date: Friday, December 27, 2019 @ 15:15:35
  Author: dvzrv
Revision: 543080

upgpkg: geonkick 1.9.2-1: Upgrading to 1.9.2. Updating maintainer info.
Running lv2lint and sord_validate in check() and openeing upstream ticket about them failing. Simplifying cmake setup.

Modified:
  geonkick/trunk/PKGBUILD

----------+
 PKGBUILD |   39 ++++++++++++++++-----------------------
 1 file changed, 16 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-27 15:15:33 UTC (rev 543079)
+++ PKGBUILD	2019-12-27 15:15:35 UTC (rev 543080)
@@ -1,6 +1,6 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 pkgname=geonkick
-pkgver=1.9.0
+pkgver=1.9.2
 pkgrel=1
 pkgdesc="A free software percussion synthesizer"
 arch=('x86_64')
@@ -9,37 +9,30 @@
 groups=('pro-audio')
 depends=('cairo' 'desktop-file-utils' 'gcc-libs' 'glibc' 'hicolor-icon-theme'
 'libsndfile' 'libx11' 'shared-mime-info')
-makedepends=('cmake' 'jack' 'lv2' 'sord' 'rapidjson' 'redkite')
-optdepends=('jack: for standalone application')
+makedepends=('cmake' 'libjack.so' 'lv2' 'rapidjson' 'redkite')
+checkdepends=('lv2lint' 'sord')
+optdepends=('libjack.so: for standalone application')
 source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
-sha512sums=('4ebaa9cbb8d22d618b6085d7d1d86223ae6deffef2e8c296baf27d55d613a51ae4a80d015efc7c97e651a78fa33cdb6d53c2b0782fe1637fc55b6674aad0e4b2')
+sha512sums=('445d8103365b583cd57c62f21faed36c964b687e2b887747977f301fe1d1cd5f5f3f3080b9f727d06bfa9a3f37972082436d8d84aae2e9534213adf32bd6f04f')
 
 prepare() {
   mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  mkdir -v build
 }
 
 build() {
   cd "$pkgname-$pkgver"
-  (
-    cd build
-    cmake -DCMAKE_INSTALL_PREFIX=/usr \
-          -DGKICK_REDKITE_SDK_PATH=/usr \
-          ..
-    make VERBOSE=1
-  )
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DGKICK_REDKITE_SDK_PATH=/usr \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
 }
 
-# lv2_validate still fails on itself:
-# https://gitlab.com/lv2/lv2/issues/27
-# check() {
-#   cd "$pkgname-$pkgver"
-#   (
-#     cd build
-#     lv2_validate "../plugin/lv2/${pkgname}.lv2/"*.ttl
-#   )
-# }
+check() {
+  cd "$pkgname-$pkgver"
+  LV2_PATH="${PWD}/plugin/lv2" lv2lint "http://geontime.com/geonkick" || echo "Known to fail: https://gitlab.com/geontime/geonkick/issues/144"
+  sord_validate "${PWD}/plugin/lv2/${pkgname}.lv2/"*.ttl || echo "Known to fail: https://gitlab.com/geontime/geonkick/issues/144"
+}
 
 package() {
   cd "$pkgname-$pkgver"



More information about the arch-commits mailing list