void-packages/srcpkgs/giada/template
2020-01-21 12:11:12 +01:00

31 lines
912 B
Bash

# Template file for 'giada'
pkgname=giada
version=0.16.1
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=39bd1dc20794d01a530bb832a7b7fc032ee0403a9d2b254b24c1b1d5eaa4cfa1
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
}