X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=SDL2.spec;h=d2d116de118b7eaab5d8d8190ca097976a6c5d14;hb=HEAD;hp=1f87f4ea861bfad9c4287a662ee69008bfec47b4;hpb=68a163040e423b863c376f7897da2f26a6746ea5;p=packages%2FSDL2.git diff --git a/SDL2.spec b/SDL2.spec index 1f87f4e..8e18949 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 @@ -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.24.0 +Version: 2.30.3 Release: 1 License: Zlib (BSD-like) Group: Libraries Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz -# Source0-md5: cf539ffe9e0dd6f943ac9de75fd2e56e +# Source0-md5: 85ceed58290332fa4ef75a3dabfa1b89 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 \