SHA256
1
0
forked from pool/qemu

Accepting request 900339 from home:Akaricchi

Enable JACK audio plugin.

OBS-URL: https://build.opensuse.org/request/show/900339
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=658
This commit is contained in:
José Ricardo Ziviani 2021-06-21 22:02:08 +00:00 committed by Git OBS Bridge
parent 6594b5746e
commit 82a8b144fb
2 changed files with 36 additions and 2 deletions

View File

@ -304,6 +304,7 @@ BuildRequires: pkgconfig(pixman-1) >= 0.21.8
%ifarch x86_64
BuildRequires: pkgconfig(libpmem)
%endif
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libpulse)
%if 0%{?with_rbd}
@ -572,6 +573,16 @@ Release: 0
%description audio-pa
This package contains a module for Pulse Audio based audio support for QEMU.
%package audio-jack
Summary: JACK based audio support for QEMU
Group: System/Emulators/PC
Version: %{qemuver}
Release: 0
%{qemu_module_conflicts}
%description audio-jack
This package contains a module for JACK based audio support for QEMU.
%package audio-spice
Summary: Spice based audio support for QEMU
Group: System/Emulators/PC
@ -980,6 +991,7 @@ This package provides a service file for starting and stopping KSM.
BuildRequires: bc
BuildRequires: qemu-arm = %{qemuver}
BuildRequires: qemu-audio-alsa = %{qemuver}
BuildRequires: qemu-audio-jack = %{qemuver}
BuildRequires: qemu-audio-pa = %{qemuver}
BuildRequires: qemu-audio-spice = %{qemuver}
BuildRequires: qemu-block-curl = %{qemuver}
@ -1260,7 +1272,7 @@ cd %blddir
--enable-slirp=system \
--enable-pie \
--enable-docs \
--audio-drv-list="pa alsa" \
--audio-drv-list="pa alsa jack" \
--enable-attr \
--disable-auth-pam \
--enable-bochs \
@ -2196,6 +2208,11 @@ fi
%dir %_libdir/%name
%_libdir/%name/audio-pa.so
%files audio-jack
%defattr(-, root, root)
%dir %_libdir/%name
%_libdir/%name/audio-jack.so
%files audio-spice
%defattr(-, root, root)
%dir %_datadir/%name/forsplits

View File

@ -214,6 +214,7 @@ BuildRequires: pkgconfig(pixman-1) >= 0.21.8
%ifarch x86_64
BuildRequires: pkgconfig(libpmem)
%endif
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libpulse)
%if 0%{?with_rbd}
@ -482,6 +483,16 @@ Release: 0
%description audio-pa
This package contains a module for Pulse Audio based audio support for QEMU.
%package audio-jack
Summary: JACK based audio support for QEMU
Group: System/Emulators/PC
Version: %{qemuver}
Release: 0
%{qemu_module_conflicts}
%description audio-jack
This package contains a module for JACK based audio support for QEMU.
%package audio-spice
Summary: Spice based audio support for QEMU
Group: System/Emulators/PC
@ -891,6 +902,7 @@ BuildRequires: bc
BuildRequires: qemu-arm = %{qemuver}
BuildRequires: qemu-audio-alsa = %{qemuver}
BuildRequires: qemu-audio-pa = %{qemuver}
BuildRequires: qemu-audio-jack = %{qemuver}
BuildRequires: qemu-audio-spice = %{qemuver}
BuildRequires: qemu-block-curl = %{qemuver}
BuildRequires: qemu-block-dmg = %{qemuver}
@ -1081,7 +1093,7 @@ cd %blddir
--enable-slirp=system \
--enable-pie \
--enable-docs \
--audio-drv-list="pa alsa" \
--audio-drv-list="pa alsa jack" \
--enable-attr \
--disable-auth-pam \
--enable-bochs \
@ -2017,6 +2029,11 @@ fi
%dir %_libdir/%name
%_libdir/%name/audio-pa.so
%files audio-jack
%defattr(-, root, root)
%dir %_libdir/%name
%_libdir/%name/audio-jack.so
%files audio-spice
%defattr(-, root, root)
%dir %_datadir/%name/forsplits