Compare commits

...

35 commits

Author SHA1 Message Date
Your Name
5ee1b13531 3.2.10
All checks were successful
Run CI/CD... / main (push) Successful in 9m34s
2025-03-31 22:05:24 +00:00
Your Name
f2764b6975 3.2.8
All checks were successful
Run CI/CD... / main (push) Successful in 11m31s
2025-03-05 00:12:32 +00:00
Your Name
17f04114d1 3.2.6
All checks were successful
Run CI/CD... / main (push) Successful in 11m32s
2025-03-02 21:53:11 +00:00
Your Name
36cef29a4a 3.2.4
All checks were successful
Run CI/CD... / main (push) Successful in 14m18s
2025-02-07 09:46:40 +00:00
Your Name
1ca6b7bbc9 3.2.2
All checks were successful
Run CI/CD... / main (push) Successful in 9m39s
2025-02-05 20:57:22 +00:00
Your Name
3ecf73fabf 3.2.2 2025-02-05 19:37:46 +00:00
Your Name
1412374284 3.2.2
Some checks failed
Run CI/CD... / main (push) Failing after 3m23s
2025-02-03 10:21:02 +00:00
Your Name
4ec3badb50 3.2.2 2025-02-03 10:20:34 +00:00
Your Name
891259c6f3 Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Failing after 21m49s
2025-01-31 15:38:45 +00:00
979a76c399 3.1.10 2025-01-17 08:31:59 +00:00
3f32712841 Добавление .gitignore и .gitea/workflows/ci.yml 2025-01-08 00:07:55 +03:00
7abeb141f1 3.1.3 2024-12-24 09:55:40 +00:00
93e4b59ff2 3.1.3 2024-12-24 09:54:30 +00:00
33fefbf6f6 3.1.6 2024-12-20 22:52:10 +00:00
9aae0114aa remove old spec 2024-12-21 01:34:51 +03:00
43b0b9b156 3.1.6 2024-12-20 22:28:42 +00:00
22f7ec15af 3.1.6 2024-12-20 14:57:52 +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
survolog (Andrey Grigorev)
3cb875960d Update to 2.30.1 2024-03-27 09:36:54 +03:00
Alexander Stefanov
6f507fe3ad 2.30.0 2024-03-05 08:31:47 +00:00
survolog (Andrey Grigorev)
e1b0c0aa51 Update to 2.28.5 (wine stack update) 2024-01-06 21:59:25 +03:00
survolog (Andrey Grigorev)
31960ee96a Update to 2.28.2 (wine stack update) 2023-08-30 10:34:27 +03:00
survolog (Andrey Grigorev)
ba771826e3 Update to 2.28.1 (wine stack update) 2023-07-20 17:43:18 +03:00
survolog
74d646efd6 Merge pull request #2 from minergenon/SDL2:rosa2023.1
SDL2
2023-05-20 17:58:03 +00:00
Sergey
ae92e548a1 Update to 2.26.5 2023-05-18 06:18:37 +00:00
Sergey
cc0e68a04b Update to 2.26.5 2023-05-18 06:08:36 +00:00
survolog (Andrey Grigorev)
0352cabde8 Update to 2.26.4 2023-03-27 14:43:18 +03:00
survolog (Andrey Grigorev)
474004a008 Update to 2.26.3 (wine stack update) 2023-02-08 21:43:38 +03:00
Aleksandr Proklov
44e2ffdfc8 Update version to 2.26.2 2023-02-04 13:43:43 +03:00
5 changed files with 58 additions and 35 deletions

View file

@ -1,2 +1,2 @@
sources:
SDL2-2.24.0.tar.gz: 04d7768f4418ba03537ef14a86a0c1c45582f5c3
SDL3-3.2.10.tar.gz: 4d6f91951f8dfa2e1fb35defc06e9e966675870a

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

@ -1,12 +0,0 @@
diff -urN SDL2-2.0.16/CMakeLists.txt SDL2-2.0.16-patched/CMakeLists.txt
--- SDL2-2.0.16/CMakeLists.txt 2021-08-11 10:17:18.363243527 +1000
+++ SDL2-2.0.16-patched/CMakeLists.txt 2021-08-11 10:18:52.446580179 +1000
@@ -2564,7 +2564,7 @@
elseif(UNIX AND NOT ANDROID)
set_target_properties(SDL2 PROPERTIES
VERSION ${LT_VERSION}
- SOVERSION ${LT_MAJOR}
+ SOVERSION 0
OUTPUT_NAME "SDL2-${LT_RELEASE}")
else()
if(WINDOWS OR CYGWIN)

View file

@ -1,22 +1,21 @@
%define oversion 0.2400.0
%define oversion %(echo %{version} |cut -d. -f2- |sed "s/^/0./" |sed "s/\\./00./2")
%define api 2.0
%define api 3.0
%define major 0
%define libname %mklibname %{name}_ %{api} %{major}
%define devname %mklibname %{name} -d
Summary: Simple DirectMedia Layer
Name: SDL2
Version: 2.24.0
Name: SDL3
Version: 3.2.10
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: 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
BuildRequires: xz
%ifarch %{x86_64} %{ix86} %{armx}
BuildRequires: nas-devel
%endif
@ -27,7 +26,6 @@ BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libpipewire-0.3)
BuildRequires: pkgconfig(samplerate)
BuildRequires: pkgconfig(sndio)
BuildRequires: pkgconfig(libusb)
@ -46,7 +44,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
@ -64,10 +63,9 @@ This package contains the library needed to run programs dynamically
linked with %{name}.
%files -n %{libname}
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
%license LICENSE.txt
%{_libdir}/lib%{name}-%{api}.so.%{major}
%{_libdir}/lib%{name}-%{api}.so.%{oversion}
%doc README.md BUGS.txt WhatsNew.txt
%doc LICENSE.txt
%{_libdir}/lib%{name}.so.*
#----------------------------------------------------------------------------
@ -82,24 +80,36 @@ This package contains the headers that programmers will need to develop
applications which will use %{name}.
%files -n %{devname}
%doc README.md README-SDL.txt CREDITS.txt BUGS.txt WhatsNew.txt
%license LICENSE.txt
%{_bindir}/sdl2-config
%{_datadir}/aclocal/sdl2.m4
%{_datadir}/cmake/Modules/Find%{name}.cmake
%doc README.md BUGS.txt WhatsNew.txt
%doc LICENSE.txt
%{_includedir}/%{name}
%{_libdir}/cmake/%{name}
%{_libdir}/lib%{name}*.a
%{_libdir}/pkgconfig/sdl2.pc
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
#----------------------------------------------------------------------------
%prep
%autosetup -p1
%setup -q
cat > sdl3.pc << EOF
prefix=%{_prefix}
exec_prefix=${prefix}
libdir=%{_libdir}
includedir=%{_includedir}
Name: sdl3
Description: %{summary}
URL: %{url}
Version: %{version}
Libs: -lSDL3
EOF
%build
%cmake \
-DCMAKE_BUILD_TYPE=Release \
-DESD:BOOL=OFF \
-DESD_SHARED:BOOL=OFF \
-DRPATH:BOOL=OFF \
@ -115,6 +125,11 @@ 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
# erase rpath in pkgconfig
rm -f %{buildroot}%{_libdir}/pkgconfig/sdl3.pc
install -Dm0644 sdl3.pc %{buildroot}%{_libdir}/pkgconfig/sdl3.pc