qemu: Include ppc targets (#7294)

This commit is contained in:
marcusz 2021-08-10 17:46:02 +08:00 committed by GitHub
parent 7152c44235
commit d1702760f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 29 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A generic and open source machine emulator and virtualiz
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=1:5.2.0
TERMUX_PKG_REVISION=7
TERMUX_PKG_REVISION=8
TERMUX_PKG_SRCURL=https://download.qemu.org/qemu-${TERMUX_PKG_VERSION:2}.tar.xz
TERMUX_PKG_SHA256="cb18d889b628fbe637672b0326789d9b0e3b8027e0445b936537c78549df17bc"
TERMUX_PKG_DEPENDS="attr, glib, libbz2, libc++, libcap-ng, libcurl, libgcrypt, libiconv, libjpeg-turbo, liblzo, libnfs, libpixman, libpng, libssh, ncurses, qemu-common, resolv-conf, zlib, libspice-server, libusbredir"
@ -25,6 +25,8 @@ termux_step_configure() {
QEMU_TARGETS+="aarch64-softmmu,"
QEMU_TARGETS+="arm-softmmu,"
QEMU_TARGETS+="i386-softmmu,"
QEMU_TARGETS+="ppc64-softmmu,"
QEMU_TARGETS+="ppc-softmmu,"
QEMU_TARGETS+="riscv32-softmmu,"
QEMU_TARGETS+="riscv64-softmmu,"
QEMU_TARGETS+="x86_64-softmmu,"
@ -33,6 +35,8 @@ termux_step_configure() {
QEMU_TARGETS+="aarch64-linux-user,"
QEMU_TARGETS+="arm-linux-user,"
QEMU_TARGETS+="i386-linux-user,"
QEMU_TARGETS+="ppc64-linux-user,"
QEMU_TARGETS+="ppc-linux-user,"
QEMU_TARGETS+="riscv32-linux-user,"
QEMU_TARGETS+="riscv64-linux-user,"
QEMU_TARGETS+="x86_64-linux-user"

View File

@ -0,0 +1,8 @@
TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)"
TERMUX_SUBPKG_DEPENDS="attr, glib, libbz2, libc++, libcap-ng, libcurl, libgcrypt, libiconv, libjpeg-turbo, liblzo, libnfs, libpixman, libpng, libssh, ncurses, qemu-common, resolv-conf, zlib, libspice-server, libusbredir"
TERMUX_SUBPKG_DEPEND_ON_PARENT=no
TERMUX_SUBPKG_INCLUDE="
bin/qemu-system-ppc
share/man/man1/qemu-system-ppc.1.gz
"

View File

@ -0,0 +1,8 @@
TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)"
TERMUX_SUBPKG_DEPENDS="attr, glib, libbz2, libc++, libcap-ng, libcurl, libgcrypt, libiconv, libjpeg-turbo, liblzo, libnfs, libpixman, libpng, libssh, ncurses, qemu-common, resolv-conf, zlib, libspice-server, libusbredir"
TERMUX_SUBPKG_DEPEND_ON_PARENT=no
TERMUX_SUBPKG_INCLUDE="
bin/qemu-system-ppc64
share/man/man1/qemu-system-ppc64.1.gz
"

View File

@ -0,0 +1,4 @@
TERMUX_SUBPKG_DESCRIPTION="QEMU Linux user mode emulator"
TERMUX_SUBPKG_DEPENDS="glib, libandroid-shmem, libc++, libgcrypt, zlib"
TERMUX_SUBPKG_DEPEND_ON_PARENT=no
TERMUX_SUBPKG_INCLUDE="bin/qemu-ppc"

View File

@ -0,0 +1,4 @@
TERMUX_SUBPKG_DESCRIPTION="QEMU Linux user mode emulator"
TERMUX_SUBPKG_DEPENDS="glib, libandroid-shmem, libc++, libgcrypt, zlib"
TERMUX_SUBPKG_DEPEND_ON_PARENT=no
TERMUX_SUBPKG_INCLUDE="bin/qemu-ppc64"