qemu-system: update to 2.12.1

This commit is contained in:
Leonid Pliushch 2018-09-17 15:03:04 +03:00 committed by Yaksh Bariya
parent 67d96765b7
commit 11e99aef1c
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 5 additions and 7 deletions

View File

@ -2,19 +2,18 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://www.qemu.org
TERMUX_PKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (i386, x86_64 targets)"
TERMUX_PKG_VERSION=2.12.0
TERMUX_PKG_REVISION=3
TERMUX_PKG_VERSION=2.12.1
TERMUX_PKG_SRCURL=https://download.qemu.org/qemu-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=e69301f361ff65bf5dabd8a19196aeaa5613c1b5ae1678f0823bdf50e7d5c6fc
TERMUX_PKG_SHA256=33583800e0006cd00b78226b85be5a27c8e3b156bed2e60e83ecbeb7b9b8364f
TERMUX_PKG_DEPENDS="glib, libandroid-shmem, libandroid-support, libbz2, libc++, libcurl, libgnutls, libjpeg-turbo, liblzo, libnettle, libpixman, libpng, libsasl, libsdl, libssh2, libutil, ncurses"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_RM_AFTER_INSTALL="
bin/qemu-nbd
share/man/man8
"
termux_step_configure()
{
termux_step_configure() {
./configure --prefix="${TERMUX_PREFIX}" \
--cross-prefix="${CC//clang}" \
--cc="${CC}" \
@ -52,8 +51,7 @@ termux_step_configure()
--target-list=aarch64-softmmu,arm-softmmu,i386-softmmu,x86_64-softmmu
}
termux_step_post_make_install()
{
termux_step_post_make_install() {
## by default, alias 'qemu' will be a qemu-system-x86_64
ln -sfr "${TERMUX_PREFIX}/bin/qemu-system-x86_64" "${TERMUX_PREFIX}/bin/qemu"
sed -i 's/qemu\\-system\\-i386/qemu\\-system\\-x86_64/g' "${TERMUX_PREFIX}/share/man/man1/qemu.1"