From ba35f8bc7ca333473c675d1872c227c9e6dacde2 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sun, 2 Jan 2022 12:46:21 +0100 Subject: [PATCH] calf: fix cross --- srcpkgs/calf/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/calf/template b/srcpkgs/calf/template index 929f40ad902c..cd56434627d7 100644 --- a/srcpkgs/calf/template +++ b/srcpkgs/calf/template @@ -3,6 +3,7 @@ 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 @@ -16,7 +17,6 @@ homepage="http://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 -nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/6795/steps/shell_3/logs/stdio" case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) configure_args+=" --enable-sse";; @@ -25,3 +25,7 @@ esac pre_configure() { NOCONFIGURE=1 ./autogen.sh } + +pre_install() { + vsed -e "s|exec |exec /usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static |" -i src/calfmakerdf +}