void-packages/srcpkgs/geonkick/template

25 lines
843 B
Bash
Raw Normal View History

# 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