void-packages/srcpkgs/geonkick/template

25 lines
832 B
Bash

# Template file for 'geonkick'
pkgname=geonkick
version=2.9.1
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/free-sm/geonkick"
changelog="https://raw.githubusercontent.com/free-sm/geonkick/main/NEWS.md"
distfiles="https://github.com/free-sm/geonkick/archive/refs/tags/v${version}.tar.gz"
checksum=30ee2a36a26cabb9af8f458bb12d7b0358b4d6abec67ab5f8df696390b5699b4
if [ ${CROSS_BUILD} ]; 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