void-packages/srcpkgs/giada/template

30 lines
867 B
Bash

# Template file for 'giada'
pkgname=giada
version=0.16.1
revision=2
build_style=gnu-configure
configure_args="--target=linux"
hostmakedepends="automake"
makedepends="fltk-devel jack-devel jansson-devel libsamplerate-devel
libsndfile-devel libXpm-devel pulseaudio-devel rtmidi-devel libXcursor-devel"
short_desc="Loop machine, audio tool for DJs, live performers and musicians"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-only"
homepage="https://www.giadamusic.com/"
distfiles="https://github.com/monocasual/giada/archive/v${version}.tar.gz"
checksum=39bd1dc20794d01a530bb832a7b7fc032ee0403a9d2b254b24c1b1d5eaa4cfa1
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_extract() {
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
vsed -e 's/\($(ldAdd)\)/\1 -latomic/g' -i Makefile.am
fi
}
pre_configure() {
autoreconf -fi
}