Compare commits

...

15 commits

Author SHA1 Message Date
Your Name
fc557094b3 2.32.4
All checks were successful
Run CI/CD... / main (push) Successful in 8m37s
2025-03-31 18:21:54 +00:00
Your Name
33f7bde381 2.32.2
All checks were successful
Run CI/CD... / main (push) Successful in 11m11s
2025-03-02 21:51:27 +00:00
Your Name
dd9798e10d 2.32.0
All checks were successful
Run CI/CD... / main (push) Successful in 12m6s
2025-02-08 21:40:52 +00:00
Your Name
40794555e9 2.30.12
Some checks failed
Run CI/CD... / main (push) Failing after 2m48s
2025-02-03 10:17:29 +00:00
Your Name
405ff9938a Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Failing after 45m56s
2025-01-31 15:15:07 +00:00
c448fa723f 2.30.11 2025-01-08 21:13:39 +00:00
8d38165040 Добавление .gitignore и .gitea/workflows/ci.yml 2025-01-08 00:07:43 +03:00
0ec78fe57d 2.30.10 2024-12-21 10:54:14 +00:00
9a8309186a 2.30.10 2024-12-20 14:43:19 +00:00
60979515f9 2.30.7 2024-09-16 22:27:37 +00:00
4a7a270a28 Merge pull request #1 from djam/SDL2:rosa2023.1
Backports and update
2024-09-16 12:52:35 +00:00
survolog (Andrey Grigorev)
66c0119445 Update to 2.30.6 2024-08-02 20:44:07 +03:00
Alexander Stefanov
4bb2450fe6 2.30.5 2024-07-07 20:20:58 +00:00
survolog (Andrey Grigorev)
6fa347c226 Update to 2.30.3 2024-05-20 18:22:04 +03:00
Alexander Stefanov
e52a5770c2 2.30.2, fix build for fheroes2 2024-04-14 12:18:49 +00:00
4 changed files with 34 additions and 11 deletions

View file

@ -1,2 +1,2 @@
sources:
SDL2-2.30.1.tar.gz: 9d502c495f3aa2d15446376e835a5e561ac32897
SDL2-2.32.4.tar.gz: 4fb68f43891ca4def414cc7cf0f3b2a053cb6aaf

17
.gitea/workflows/ci.yml Normal file
View file

@ -0,0 +1,17 @@
version: '1'
name: Run CI/CD...
on: [push]
jobs:
main:
runs-on: r11_builder
steps:
- name: Jobs
uses: ${{ github.server_url }}/Djam/r11_workflows@main
with:
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
PUBLICATOR: ${{ secrets.PUBLICATOR }}
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.*~
*~
.env

View file

@ -7,13 +7,13 @@
Summary: Simple DirectMedia Layer
Name: SDL2
Version: 2.30.1
Version: 2.32.4
Release: 1
License: Zlib
Group: System/Libraries
Url: http://www.libsdl.org
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
Source1: FindSDL2.cmake
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
@ -27,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)
@ -46,7 +46,8 @@ BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(zlib)
BuildRequires: vulkan-devel
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(openssl3.3)
%description
This is the Simple DirectMedia Layer, a generic API that provides low level
@ -65,7 +66,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}
@ -83,10 +84,9 @@ 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
%{_datadir}/cmake/Modules/Find%{name}.cmake
%{_includedir}/%{name}
%{_libdir}/cmake/%{name}
%{_libdir}/lib%{name}*.a
@ -100,6 +100,7 @@ applications which will use %{name}.
%build
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DESD:BOOL=OFF \
-DESD_SHARED:BOOL=OFF \
-DRPATH:BOOL=OFF \
@ -115,6 +116,8 @@ applications which will use %{name}.
%install
%make_install -C build
install -m644 %{SOURCE1} -D %{buildroot}%{_datadir}/cmake/Modules/Find%{name}.cmake
rm -rf %{buildroot}%{_datadir}/licenses
# fix double slash
sed -i 's|//|/|g' %{buildroot}%{_libdir}/pkgconfig/sdl2.pc