void-packages/srcpkgs/calf/template

34 lines
1.1 KiB
Bash

# Template file for 'calf'
pkgname=calf
version=0.90.3
revision=3
build_style=gnu-configure
build_helper=qemu
configure_args="--enable-experimental"
hostmakedepends="automake libtool pkg-config"
makedepends="expat-devel dssi-devel jack-devel glib-devel gtk+-devel
cairo-devel ladish-devel fftw-devel fluidsynth-devel
ladspa-sdk lv2"
depends="ladspa-sdk lv2 desktop-file-utils hicolor-icon-theme"
short_desc="LV2/DSSI/LADSPA plug-ins suite and standalone JACK host"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://calf-studio-gear.org"
changelog="https://raw.githubusercontent.com/calf-studio-gear/calf/master/ChangeLog"
distfiles="https://github.com/calf-studio-gear/calf/archive/${version}.tar.gz"
checksum=8781cbd1a81dec59b5923a23141ab2ca74e0e724389e15ffcf3820ace138a46c
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) configure_args+=" --enable-sse";;
esac
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
pre_install() {
if [ "$CROSS_BUILD" ]; then
vsed -e "s|exec |exec /usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static |" -i src/calfmakerdf
fi
}