[arch-commits] Commit in geonkick/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Jun 11 15:04:21 UTC 2020
Date: Thursday, June 11, 2020 @ 15:04:20
Author: dvzrv
Revision: 642038
archrelease: copy trunk to community-x86_64
Added:
geonkick/repos/community-x86_64/PKGBUILD
(from rev 642037, geonkick/trunk/PKGBUILD)
Deleted:
geonkick/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 51 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-11 14:49:38 UTC (rev 642037)
+++ PKGBUILD 2020-06-11 15:04:20 UTC (rev 642038)
@@ -1,57 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=geonkick
-pkgver=2.1.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' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libx11')
-makedepends=('cmake' 'jack' 'libsndfile' 'lv2' 'rapidjson' 'redkite')
-checkdepends=('lv2lint')
-optdepends=('jack: for standalone application')
-source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
-sha512sums=('fa7bbe925f191fd39942746a0ef5fb8088bcf9290f18939ac4ce54a3e8f54d9f1269eea33873b429c1d5f1ecc3d67e87589269386bc91890e134d1c16f114c62')
-
-prepare() {
- mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver/doc/examples"
- # extract AVL drumkit
- tar xvJf AVL-Drumkit.tar.xz
-}
-
-build() {
- cd "$pkgname-$pkgver"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DGKICK_REDKITE_SDK_PATH=/usr \
- -B build \
- -S .
- make VERBOSE=1 -C build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- cp -av build/plugin/lv2/*.so plugin/lv2/${pkgname}.lv2/
- lv2lint -Mpack -I "${PWD}/plugin/lv2/${pkgname}.lv2/" \
- "http://geontime.com/geonkick"
- rm -v plugin/lv2/${pkgname}.lv2/*.so
-}
-
-package() {
- depends+=('libsndfile.so')
- 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 doc/examples/*.{gkick,gkit} \
- -t "${pkgdir}/usr/share/${pkgname}/presets"
- for directory in doc/examples/*; do
- if [ -d "$directory" ]; then
- install -vDm 644 "$directory/"*.{gkick,gkit} \
- -t "${pkgdir}/usr/share/${pkgname}/presets/$(basename "$directory")"
- fi
- done
- install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: geonkick/repos/community-x86_64/PKGBUILD (from rev 642037, geonkick/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-11 15:04:20 UTC (rev 642038)
@@ -0,0 +1,51 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=geonkick
+pkgver=2.2.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' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libx11')
+makedepends=('cmake' 'jack' 'libsndfile' 'lv2' 'rapidjson' 'redkite')
+checkdepends=('lv2lint')
+optdepends=('jack: for standalone application')
+source=("https://gitlab.com/iurie/geonkick/-/archive/v${pkgver}/$pkgname-v$pkgver.tar.gz")
+sha512sums=('0e6e479785db0ced40f6abc05190856ab3f90575c56606e73e70aa30e75596ad36d3cdc2f6e5f3a15ea0a72f4fd6f9a2b8d7343a31e46faac98bb67ab42d966e')
+
+prepare() {
+ mv -v "$pkgname-v$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DGKICK_REDKITE_SDK_PATH='/usr' \
+ -DCMAKE_BUILD_TYPE='None' \
+ -Wno-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ # creating non-XDG_DATA_DIRS conforming directory, required for testing
+ # https://gitlab.com/iurie-sw/geonkick/-/issues/155
+ mkdir -vp "$HOME/.local/geonkick"
+ cp -av build/plugin/lv2/*.so plugin/lv2/${pkgname}.lv2/
+ lv2lint -Mpack -I "${PWD}/plugin/lv2/${pkgname}.lv2/" \
+ "http://geontime.com/geonkick"
+ rm -v plugin/lv2/${pkgname}.lv2/*.so
+}
+
+package() {
+ depends+=('libsndfile.so')
+ 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 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list