diff --git a/.abf.yml b/.abf.yml index 7b28472..158260b 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - SDL2-2.30.6.tar.gz: 76d70f28a0c044111b461a189f02196814fd116e + SDL2-2.30.7.tar.gz: fc1119fad88d21d1b4945dfd69d8a49f39155a6d diff --git a/SDL2.spec b/SDL2.spec index 456b631..0d29d5c 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -7,12 +7,13 @@ Summary: Simple DirectMedia Layer Name: SDL2 -Version: 2.30.6 +Version: 2.30.7 Release: 1 License: Zlib Group: System/Libraries -Url: http://www.libsdl.org -Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz +URL: https://www.libsdl.org +#Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz +Source0: https://github.com/libsdl-org/SDL/releases/download/release-%{version}/%{name}-%{version}.tar.gz # Keep major stable, should be 0 Patch1: SDL2-2.0.16-soversion.patch BuildRequires: cmake @@ -26,7 +27,7 @@ BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(libpulse) -BuildRequires: pkgconfig(libpipewire-0.3) +#BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(samplerate) BuildRequires: pkgconfig(sndio) BuildRequires: pkgconfig(libusb) @@ -45,7 +46,7 @@ BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(zlib) -BuildRequires: vulkan-devel +BuildRequires: pkgconfig(vulkan) %description This is the Simple DirectMedia Layer, a generic API that provides low level @@ -64,7 +65,7 @@ linked with %{name}. %files -n %{libname} %doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt -%license LICENSE.txt +%doc LICENSE.txt %{_libdir}/lib%{name}-%{api}.so.%{major} %{_libdir}/lib%{name}-%{api}.so.%{oversion} @@ -82,7 +83,7 @@ applications which will use %{name}. %files -n %{devname} %doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt -%license LICENSE.txt +%doc LICENSE.txt %{_bindir}/sdl2-config %{_datadir}/aclocal/sdl2.m4 %{_includedir}/%{name} @@ -98,6 +99,7 @@ applications which will use %{name}. %build %cmake \ + -DCMAKE_BUILD_TYPE=Release \ -DESD:BOOL=OFF \ -DESD_SHARED:BOOL=OFF \ -DRPATH:BOOL=OFF \ @@ -115,3 +117,6 @@ applications which will use %{name}. %make_install -C build rm -rf %{buildroot}%{_datadir}/licenses + +# fix double slash +sed -i 's|//|/|g' %{buildroot}%{_libdir}/pkgconfig/sdl2.pc