Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qemu: enable JACK Audio support #31639

Merged
merged 1 commit into from
Jun 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions srcpkgs/qemu/template
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This package should be updated together with qemu-user-static
pkgname=qemu
version=6.0.0
revision=2
revision=3
build_style=configure
hostmakedepends="gettext pkg-config perl python3 automake libtool flex
python3-Sphinx texinfo ninja"
Expand All @@ -17,7 +17,8 @@ makedepends="libpng-devel libjpeg-turbo-devel pixman-devel snappy-devel
$(vopt_if opengl 'libepoxy-devel libdrm-devel MesaLib-devel')
$(vopt_if iscsi 'libiscsi-devel')
$(vopt_if smartcard libcacard-devel) $(vopt_if numa 'libnuma-devel')
$(vopt_if spice 'pcsclite-devel')"
$(vopt_if spice 'pcsclite-devel')
$(vopt_if jack 'jack-devel')"
short_desc="Open Source Processor Emulator"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
Expand All @@ -31,8 +32,8 @@ nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64
# FIXME
make_check=extended

build_options="gtk3 opengl sdl2 spice virgl smartcard numa iscsi"
build_options_default="opengl gtk3 virgl sdl2 numa iscsi"
build_options="gtk3 opengl sdl2 spice virgl smartcard numa iscsi jack"
build_options_default="opengl gtk3 virgl sdl2 numa iscsi jack"
desc_option_sdl2="Enable SDL (2.x) video output"
desc_option_spice="Enable support for SPICE"
desc_option_virgl="Enable support for VirGL (A Virtual 3D GPU renderer)"
Expand Down Expand Up @@ -68,9 +69,12 @@ do_configure() {
want_sdl="--enable-sdl"
audio_sdl=",sdl"
fi
if [ $"build_option_jack" ]; then
audio_jack=",jack"
fi

./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/libexec \
--enable-kvm --audio-drv-list=alsa,pa${audio_sdl} \
--enable-kvm --audio-drv-list=alsa,pa${audio_sdl}${audio_jack} \
--disable-xen --enable-tpm \
--enable-vhost-net --enable-vnc-png --enable-virtfs \
--enable-libusb --disable-glusterfs --enable-snappy --enable-usb-redir \
Expand Down