From 319278dac4118d08dfb3e06b54f787cb2dce5185 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Fri, 1 May 2020 10:23:29 +0200 Subject: [PATCH] qemu-user-static: update to 5.0.0. --- srcpkgs/qemu-user-static/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/qemu-user-static/template b/srcpkgs/qemu-user-static/template index b8607620523..af3dd9161fc 100644 --- a/srcpkgs/qemu-user-static/template +++ b/srcpkgs/qemu-user-static/template @@ -1,16 +1,16 @@ # Template file for 'qemu-user-static' pkgname=qemu-user-static -version=4.2.0 +version=5.0.0 revision=1 wrksrc="qemu-${version}" -hostmakedepends="pkg-config automake python" +hostmakedepends="pkg-config automake python3" makedepends="dtc-devel libglib-static pixman-devel libuuid-devel" short_desc="QEMU User-mode emulators (statically compiled)" maintainer="Helmut Pozimski " license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.qemu.org" distfiles="https://wiki.qemu.org/download/qemu-${version}.tar.bz2" -checksum=3cf4f3f73233a12211a045f07eef467fdc7bf3877568cd0c8a0cf36121da9fbd +checksum=c368f81d0a6e8af62e1699fa6aebdc1bf850f3cea6b9839621304a0a4e575efb _fmts="aarch64 alpha arm armeb cris i386 m68k microblaze mips mipsel mips64 mips64el ppc ppc64 ppc64abi32 ppc64le s390x sh4 sh4eb sparc sparc32plus sparc64 x86_64" @@ -78,20 +78,22 @@ for _fmt in $_fmts; do done binfmts="${binfmts%?}" -nopie=yes post_extract() { sed -i 's/__u64/unsigned long/' linux-user/host/aarch64/hostdep.h } + do_configure() { ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \ --disable-kvm --disable-vnc-png \ --disable-virtfs --disable-fdt --disable-seccomp \ --enable-linux-user --disable-system } + do_build() { make ${makejobs} LDFLAGS="-static -lrt -luuid" } + do_install() { make DESTDIR=${DESTDIR} install # Remove unneeded stuff.