[packages/SDL2] - allow building without pipewire
hawk
hawk at pld-linux.org
Sat Jul 22 16:26:17 CEST 2023
commit c574ca6fb2612f32955dd861b94962412937040e
Author: Marcin Krol <hawk at tld-linux.org>
Date: Sat Jul 22 15:45:49 2023 +0200
- allow building without pipewire
SDL2.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/SDL2.spec b/SDL2.spec
index a4e4deb..08ca7f1 100644
--- a/SDL2.spec
+++ b/SDL2.spec
@@ -9,6 +9,7 @@
%bcond_without opengl # OpenGL (GLX) support
%bcond_without gles # OpenGL ES (EGL) support
%bcond_with kms # KMS/DRM graphics support
+%bcond_without pipewire # Pipewire audio support
%bcond_without vulkan # Vulkan graphics support
%bcond_without wayland # Wayland graphics support
%bcond_without fcitx # Fcitx IM support
@@ -92,7 +93,7 @@ BuildRequires: libsamplerate-devel
BuildRequires: libtool >= 2:2.0
%{?with_nas:BuildRequires: nas-devel}
BuildRequires: perl-modules
-BuildRequires: pipewire-devel >= 0.3.20
+%{?with_pipewire:BuildRequires: pipewire-devel >= 0.3.20}
BuildRequires: pkgconfig >= 1:0.7
BuildRequires: pulseaudio-devel >= 0.9
BuildRequires: rpm-build >= 4.6
@@ -230,6 +231,7 @@ SDL - przykładowe programy.
%{!?with_jack:--disable-jack} \
%{!?with_mmx:--disable-mmx} \
%{!?with_nas:--disable-nas} \
+ %{!?with_pipewire:--disable-pipewire} \
--enable-pthreads \
--enable-pthread-sem \
--disable-rpath \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SDL2.git/commitdiff/c574ca6fb2612f32955dd861b94962412937040e
More information about the pld-cvs-commit
mailing list