void-packages/srcpkgs/geonkick/template
2021-04-04 19:42:28 -03:00

24 lines
821 B
Bash

# Template file for 'geonkick'
pkgname=geonkick
version=2.8.0
revision=1
build_style=cmake
hostmakedepends="pkg-config tar xz"
makedepends="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=ec656e76df13ae1226bba6eeb8146c4f0ddbae2c34d28a89db473c16497eaff4
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