X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=SDL2.spec;h=daa3e1c22d2a6c1ba8e424591724ea672b1acb4e;hb=refs%2Fheads%2Fmaster;hp=c2d3ba796654ed65b47fe5570365f096ba82e3d6;hpb=56c60aaa48f93d03c273aeeb9203cf18ff4e38cf;p=packages%2FSDL2.git diff --git a/SDL2.spec b/SDL2.spec index c2d3ba7..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,14 +61,13 @@ 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 -Release: 2 +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 -Patch1: cmake-target.patch URL: http://www.libsdl.org/ %{?with_kms:BuildRequires: Mesa-libgbm-devel >= 11.1.0} %{?with_directfb:BuildRequires: DirectFB-devel >= 1.0.0} @@ -79,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} @@ -93,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} @@ -203,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. @@ -213,7 +215,6 @@ SDL - przykładowe programy. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %{__libtoolize} @@ -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 \