mirror of
https://abf.rosa.ru/djam/SDL3.git
synced 2025-02-23 13:52:54 +00:00
2.30.7
This commit is contained in:
parent
4a7a270a28
commit
60979515f9
2 changed files with 13 additions and 8 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
SDL2-2.30.6.tar.gz: 76d70f28a0c044111b461a189f02196814fd116e
|
SDL2-2.30.7.tar.gz: fc1119fad88d21d1b4945dfd69d8a49f39155a6d
|
||||||
|
|
19
SDL2.spec
19
SDL2.spec
|
@ -7,12 +7,13 @@
|
||||||
|
|
||||||
Summary: Simple DirectMedia Layer
|
Summary: Simple DirectMedia Layer
|
||||||
Name: SDL2
|
Name: SDL2
|
||||||
Version: 2.30.6
|
Version: 2.30.7
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://www.libsdl.org
|
URL: https://www.libsdl.org
|
||||||
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
#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
|
# Keep major stable, should be 0
|
||||||
Patch1: SDL2-2.0.16-soversion.patch
|
Patch1: SDL2-2.0.16-soversion.patch
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
@ -26,7 +27,7 @@ BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
BuildRequires: pkgconfig(jack)
|
BuildRequires: pkgconfig(jack)
|
||||||
BuildRequires: pkgconfig(libpulse)
|
BuildRequires: pkgconfig(libpulse)
|
||||||
BuildRequires: pkgconfig(libpipewire-0.3)
|
#BuildRequires: pkgconfig(libpipewire-0.3)
|
||||||
BuildRequires: pkgconfig(samplerate)
|
BuildRequires: pkgconfig(samplerate)
|
||||||
BuildRequires: pkgconfig(sndio)
|
BuildRequires: pkgconfig(sndio)
|
||||||
BuildRequires: pkgconfig(libusb)
|
BuildRequires: pkgconfig(libusb)
|
||||||
|
@ -45,7 +46,7 @@ BuildRequires: pkgconfig(xrandr)
|
||||||
BuildRequires: pkgconfig(xscrnsaver)
|
BuildRequires: pkgconfig(xscrnsaver)
|
||||||
BuildRequires: pkgconfig(xxf86vm)
|
BuildRequires: pkgconfig(xxf86vm)
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
BuildRequires: vulkan-devel
|
BuildRequires: pkgconfig(vulkan)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the Simple DirectMedia Layer, a generic API that provides low level
|
This is the Simple DirectMedia Layer, a generic API that provides low level
|
||||||
|
@ -64,7 +65,7 @@ linked with %{name}.
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
|
%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.%{major}
|
||||||
%{_libdir}/lib%{name}-%{api}.so.%{oversion}
|
%{_libdir}/lib%{name}-%{api}.so.%{oversion}
|
||||||
|
|
||||||
|
@ -82,7 +83,7 @@ applications which will use %{name}.
|
||||||
|
|
||||||
%files -n %{devname}
|
%files -n %{devname}
|
||||||
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
|
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
|
||||||
%license LICENSE.txt
|
%doc LICENSE.txt
|
||||||
%{_bindir}/sdl2-config
|
%{_bindir}/sdl2-config
|
||||||
%{_datadir}/aclocal/sdl2.m4
|
%{_datadir}/aclocal/sdl2.m4
|
||||||
%{_includedir}/%{name}
|
%{_includedir}/%{name}
|
||||||
|
@ -98,6 +99,7 @@ applications which will use %{name}.
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DESD:BOOL=OFF \
|
-DESD:BOOL=OFF \
|
||||||
-DESD_SHARED:BOOL=OFF \
|
-DESD_SHARED:BOOL=OFF \
|
||||||
-DRPATH:BOOL=OFF \
|
-DRPATH:BOOL=OFF \
|
||||||
|
@ -115,3 +117,6 @@ applications which will use %{name}.
|
||||||
%make_install -C build
|
%make_install -C build
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_datadir}/licenses
|
rm -rf %{buildroot}%{_datadir}/licenses
|
||||||
|
|
||||||
|
# fix double slash
|
||||||
|
sed -i 's|//|/|g' %{buildroot}%{_libdir}/pkgconfig/sdl2.pc
|
||||||
|
|
Loading…
Add table
Reference in a new issue