mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: geonkick-2.7.0
closes https://github.com/void-linux/void-packages/issues/20957
This commit is contained in:
parent
cad806987a
commit
3356240074
2 changed files with 63 additions and 0 deletions
39
srcpkgs/geonkick/patches/musl.patch
Normal file
39
srcpkgs/geonkick/patches/musl.patch
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
diff --git dsp/src/compressor.h dsp/src/compressor.h
|
||||||
|
index 2b246be..e6cac5d 100644
|
||||||
|
--- dsp/src/compressor.h
|
||||||
|
+++ dsp/src/compressor.h
|
||||||
|
@@ -26,6 +26,8 @@
|
||||||
|
|
||||||
|
#include "geonkick_internal.h"
|
||||||
|
|
||||||
|
+#include <pthread.h>
|
||||||
|
+
|
||||||
|
struct gkick_compressor {
|
||||||
|
int enabled;
|
||||||
|
|
||||||
|
diff --git dsp/src/distortion.h dsp/src/distortion.h
|
||||||
|
index 4e42f11..b06e6e5 100644
|
||||||
|
--- dsp/src/distortion.h
|
||||||
|
+++ dsp/src/distortion.h
|
||||||
|
@@ -26,6 +26,8 @@
|
||||||
|
|
||||||
|
#include "geonkick_internal.h"
|
||||||
|
|
||||||
|
+#include <pthread.h>
|
||||||
|
+
|
||||||
|
struct gkick_distortion {
|
||||||
|
int enabled;
|
||||||
|
/* Input limiter for distortion. */
|
||||||
|
diff --git dsp/src/synthesizer.h dsp/src/synthesizer.h
|
||||||
|
index 303f810..d4d4f9b 100644
|
||||||
|
--- dsp/src/synthesizer.h
|
||||||
|
+++ dsp/src/synthesizer.h
|
||||||
|
@@ -31,6 +31,8 @@
|
||||||
|
|
||||||
|
#include <stdatomic.h>
|
||||||
|
|
||||||
|
+#include <pthread.h>
|
||||||
|
+
|
||||||
|
struct gkick_synth {
|
||||||
|
atomic_size_t id;
|
||||||
|
char name[30];
|
24
srcpkgs/geonkick/template
Normal file
24
srcpkgs/geonkick/template
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Template file for 'geonkick'
|
||||||
|
pkgname=geonkick
|
||||||
|
version=2.7.0
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="pkg-config tar xz redkite"
|
||||||
|
makedepends="redkite-devel jack-devel libsndfile-devel rapidjson
|
||||||
|
lv2 libX11-devel cairo-devel"
|
||||||
|
short_desc="Free software percussion synthesizer"
|
||||||
|
maintainer="teldra <teldra@rotce.de>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/iurie-sw/geonkick"
|
||||||
|
distfiles="https://github.com/iurie-sw/geonkick/archive/v${version}.tar.gz"
|
||||||
|
checksum=c333da9f8db3eb71519a8920e8cc05525754c3a71f9c68ae16b55690d03fb9d4
|
||||||
|
make_check=extended # No target to "ninja test".
|
||||||
|
|
||||||
|
if [[ ! ${XBPS_TARGET_MACHINE} == "x86_64" ]]; then
|
||||||
|
configure_args+=" -DGKICK_ARCHITECTURE=$XBPS_TARGET_MACHINE"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||||
|
makedepends+=" libatomic-devel"
|
||||||
|
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS='-latomic'"
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue