]> git.pld-linux.org Git - packages/SDL2.git/blobdiff - SDL2.spec
up to 2.30.2
[packages/SDL2.git] / SDL2.spec
index 6e0ed74d42c2b70649c92d76676632c4b3410885..dddd438d0e7b75414eb5382ec97c43109bbd956a 100644 (file)
--- 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
@@ -60,12 +61,12 @@ Summary:    SDL (Simple DirectMedia Layer) - Game/Multimedia Library
 Summary(pl.UTF-8):     SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimediów
 Summary(zh_CN.UTF-8):  SDL (Simple DirectMedia Layer) Generic APIs - 游戏/多媒体库
 Name:          SDL2
-Version:       2.26.0
+Version:       2.30.2
 Release:       1
 License:       Zlib (BSD-like)
 Group:         Libraries
 Source0:       http://www.libsdl.org/release/%{name}-%{version}.tar.gz
-# Source0-md5: 35bc58cfe41b8fb6c8e6646be26fa47e
+# Source0-md5: 08667937c83fada423dacc7cd90f3ec8
 Patch0:                %{name}-config.patch
 URL:           http://www.libsdl.org/
 %{?with_kms:BuildRequires:     Mesa-libgbm-devel >= 11.1.0}
@@ -78,7 +79,7 @@ BuildRequires:        EGL-devel
 %{?with_gles:BuildRequires:    OpenGLES-devel}
 %{?with_alsa:BuildRequires:    alsa-lib-devel >= 1.0.11}
 %{?with_arts:BuildRequires:    artsc-devel >= 1.1}
-BuildRequires: autoconf >= 2.59-9
+BuildRequires: autoconf >= 2.65
 BuildRequires: automake
 BuildRequires: dbus-devel
 %{?with_esd:BuildRequires:     esound-devel >= 0.2.8}
@@ -92,9 +93,10 @@ 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: pulseaudio-devel >= 0.9.15
+BuildRequires: rpm-build >= 4.6
 BuildRequires: udev-devel
 # wayland-client, wayland-cursor
 %{?with_wayland:BuildRequires: wayland-devel >= 1.18}
@@ -202,6 +204,7 @@ Summary(pl.UTF-8):  SDL - programy przykładowe
 License:       Public Domain
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
+BuildArch:     noarch
 
 %description examples
 SDL - example programs.
@@ -228,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 \
This page took 0.03068 seconds and 4 git commands to generate.