void-packages/srcpkgs/giada/template

32 lines
912 B
Bash

# Template file for 'giada'
pkgname=giada
version=0.16.0
revision=1
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=18f5b87199b978d61e025bf479dc1b9a3e76fe7660084742284a05e94e893b3b
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
esac
post_extract() {
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
armv6*|ppc*) vsed -e 's/\($(ldAdd)\)/\1 -latomic/g' -i Makefile.am ;;
esac
}
pre_configure() {
autoreconf -fi
}