From bd00954576df000a87c14935a2e9c84986ca7b6f Mon Sep 17 00:00:00 2001 From: Leap of Azzam <76893443+leapofazzam123@users.noreply.github.com> Date: Fri, 8 Oct 2021 17:05:39 +0700 Subject: [PATCH] qemu: fix "audio: Unknown audio driver `pa'" error (#7655) --- packages/qemu-system-x86-64-headless/build.sh | 5 +++-- .../qemu-system-aarch64-headless.subpackage.sh | 2 +- .../qemu-system-arm-headless.subpackage.sh | 2 +- .../qemu-system-i386-headless.subpackage.sh | 2 +- .../qemu-system-ppc-headless.subpackage.sh | 2 +- .../qemu-system-ppc64-headless.subpackage.sh | 2 +- .../qemu-system-riscv32-headless.subpackage.sh | 2 +- .../qemu-system-riscv64-headless.subpackage.sh | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/qemu-system-x86-64-headless/build.sh b/packages/qemu-system-x86-64-headless/build.sh index 569ce025e..2188f369e 100644 --- a/packages/qemu-system-x86-64-headless/build.sh +++ b/packages/qemu-system-x86-64-headless/build.sh @@ -3,10 +3,10 @@ TERMUX_PKG_DESCRIPTION="A generic and open source machine emulator and virtualiz TERMUX_PKG_LICENSE="LGPL-2.1" TERMUX_PKG_MAINTAINER="Leonid Pliushch " TERMUX_PKG_VERSION=1:6.1.0 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL=https://download.qemu.org/qemu-${TERMUX_PKG_VERSION:2}.tar.xz TERMUX_PKG_SHA256=eebc089db3414bbeedf1e464beda0a7515aad30f73261abc246c9b27503a3c96 -TERMUX_PKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_PKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" # Required by configuration script, but I can't find any binary that uses it. TERMUX_PKG_BUILD_DEPENDS="libtasn1" @@ -62,6 +62,7 @@ termux_step_configure() { --disable-stack-protector \ --smbd="$TERMUX_PREFIX/bin/smbd" \ --enable-coroutine-pool \ + --audio-drv-list=pa \ --enable-trace-backends=nop \ --disable-guest-agent \ --enable-gnutls \ diff --git a/packages/qemu-system-x86-64-headless/qemu-system-aarch64-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-aarch64-headless.subpackage.sh index f6b73d99f..6fe47c6b6 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-aarch64-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-aarch64-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE=" diff --git a/packages/qemu-system-x86-64-headless/qemu-system-arm-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-arm-headless.subpackage.sh index 697d7c8ef..9fafb05be 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-arm-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-arm-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE=" diff --git a/packages/qemu-system-x86-64-headless/qemu-system-i386-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-i386-headless.subpackage.sh index 1cd228b26..a382798c9 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-i386-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-i386-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE=" diff --git a/packages/qemu-system-x86-64-headless/qemu-system-ppc-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-ppc-headless.subpackage.sh index f102a9af6..9454b5e52 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-ppc-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-ppc-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE=" diff --git a/packages/qemu-system-x86-64-headless/qemu-system-ppc64-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-ppc64-headless.subpackage.sh index 57a6650cb..449a36d00 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-ppc64-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-ppc64-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE=" diff --git a/packages/qemu-system-x86-64-headless/qemu-system-riscv32-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-riscv32-headless.subpackage.sh index f8221949c..72838d475 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-riscv32-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-riscv32-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE=" diff --git a/packages/qemu-system-x86-64-headless/qemu-system-riscv64-headless.subpackage.sh b/packages/qemu-system-x86-64-headless/qemu-system-riscv64-headless.subpackage.sh index cdc52428b..d42923f49 100644 --- a/packages/qemu-system-x86-64-headless/qemu-system-riscv64-headless.subpackage.sh +++ b/packages/qemu-system-x86-64-headless/qemu-system-riscv64-headless.subpackage.sh @@ -1,5 +1,5 @@ TERMUX_SUBPKG_DESCRIPTION="A generic and open source machine emulator and virtualizer (headless)" -TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, qemu-common, resolv-conf, zlib, zstd" +TERMUX_SUBPKG_DEPENDS="glib, libbz2, libc++, libcurl, libgnutls, libiconv, libjpeg-turbo, liblzo, libnettle, libnfs, libpixman, libpng, libspice-server, libssh, libusb, libusbredir, ncurses, pulseaudio, qemu-common, resolv-conf, zlib, zstd" TERMUX_SUBPKG_DEPEND_ON_PARENT=no TERMUX_SUBPKG_INCLUDE="