[arch-commits] Commit in geonkick/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Oct 14 20:59:14 UTC 2019
Date: Monday, October 14, 2019 @ 20:59:13
Author: dvzrv
Revision: 515925
archrelease: copy trunk to community-x86_64
Added:
geonkick/repos/community-x86_64/PKGBUILD
(from rev 515924, geonkick/trunk/PKGBUILD)
Deleted:
geonkick/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 58 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-14 20:59:08 UTC (rev 515924)
+++ PKGBUILD 2019-10-14 20:59:13 UTC (rev 515925)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=geonkick
-pkgver=1.8.1
-pkgrel=1
-pkgdesc="A free software percussion synthesizer"
-arch=('x86_64')
-url="https://gitlab.com/iurie/geonkick"
-license=('GPL3')
-groups=('pro-audio')
-depends=('cairo' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
-makedepends=('cmake' 'jack' 'lv2' 'sord' 'rapidjson' 'redkite')
-optdepends=('jack: for standalone application')
-source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
-sha512sums=('a8d42e76b6e865969754d75ee7e4a87a45dc787ab84b16099abe310be75a791e6380330362160586fa3a7de2a51ae5ae0fedeac22a35d100c50a24d979a34b7a')
-
-prepare() {
- mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
- mkdir -v build
- # fix hardcoded redkite headers location:
- # https://gitlab.com/quamplex/geonkick/issues/133
- sed -e 's|/usr/local/include|/usr/include|' -i CMakeLists.txt
-}
-
-build() {
- cd "$pkgname-$pkgver"
- (
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- ..
- make
- )
-}
-
-# 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
-# )
-# }
-
-package() {
- cd "$pkgname-$pkgver"
- (
- cd build
- make DESTDIR="$pkgdir/" install
- )
- install -vDm 644 "data/${pkgname}.desktop" \
- -t "${pkgdir}/usr/share/applications"
- install -vDm 644 examples/* \
- -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
- install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: geonkick/repos/community-x86_64/PKGBUILD (from rev 515924, geonkick/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-14 20:59:13 UTC (rev 515925)
@@ -0,0 +1,58 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=geonkick
+pkgver=1.9.0
+pkgrel=1
+pkgdesc="A free software percussion synthesizer"
+arch=('x86_64')
+url="https://gitlab.com/iurie/geonkick"
+license=('GPL3')
+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')
+source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
+sha512sums=('4ebaa9cbb8d22d618b6085d7d1d86223ae6deffef2e8c296baf27d55d613a51ae4a80d015efc7c97e651a78fa33cdb6d53c2b0782fe1637fc55b6674aad0e4b2')
+
+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
+ )
+}
+
+# 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
+# )
+# }
+
+package() {
+ cd "$pkgname-$pkgver"
+ make -C build DESTDIR="$pkgdir/" install VERBOSE=1
+ install -vDm 644 "data/${pkgname}.desktop" \
+ -t "${pkgdir}/usr/share/applications"
+ install -vDm 644 examples/*.gkick \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/examples"
+ for directory in examples/*; do
+ if [ -d "$directory" ]; then
+ install -vDm 644 "$directory/"*.gkick \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/examples/$(basename "$directory")"
+ fi
+ done
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list