qemu: build with libusb

Requested in https://github.com/termux/termux-packages/issues/5249.
This commit is contained in:
Leonid Pliushch 2020-05-06 15:02:54 +03:00
parent 9115d41450
commit 8d92b8b03e

View File

@ -5,10 +5,10 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
# Do not update version unless you verified that it works properly.
_PACKAGE_VERSION=4.1.1
TERMUX_PKG_VERSION=1:${_PACKAGE_VERSION}
TERMUX_PKG_REVISION=3
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://download.qemu.org/qemu-${_PACKAGE_VERSION}.tar.xz
TERMUX_PKG_SHA256="ed6fdbbdd272611446ff8036991e9b9f04a2ab2e3ffa9e79f3bab0eb9a95a1d2"
TERMUX_PKG_DEPENDS="attr, glib, libbz2, libc++, libcap, libcurl, libandroid-shmem, libgcrypt, libiconv, libjpeg-turbo, liblzo, libnfs, libpixman, libpng, libssh, libxml2, ncurses, qemu-common, resolv-conf, zlib"
TERMUX_PKG_DEPENDS="attr, glib, libbz2, libc++, libcap, libcurl, libandroid-shmem, libgcrypt, libiconv, libjpeg-turbo, liblzo, libnfs, libpixman, libpng, libssh, libusb, libxml2, ncurses, qemu-common, resolv-conf, zlib"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
@ -76,7 +76,7 @@ termux_step_configure() {
--disable-hvf \
--disable-whpx \
--enable-libnfs \
--disable-libusb \
--enable-libusb \
--enable-lzo \
--disable-snappy \
--enable-bzip2 \