mirror of
https://abf.rosa.ru/djam/SDL3.git
synced 2025-02-23 13:52:54 +00:00
2.0.12
This commit is contained in:
parent
1bc7171322
commit
1ad9455504
3 changed files with 4 additions and 18 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
||||||
sources:
|
sources:
|
||||||
SDL2-2.0.10.tar.gz: fb31312ea1d4b45db839796ae2336dfe3d5884e5
|
SDL2-2.0.12.tar.gz: e8ba91bf5eb438dbcf1fedf0530a1bcbe30d3bb6
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff -urN SDL2-2.0.10/CMakeLists.txt SDL2-2.0.10-patched/CMakeLists.txt
|
|
||||||
--- SDL2-2.0.10/CMakeLists.txt 2019-07-25 14:32:36.000000000 +1000
|
|
||||||
+++ SDL2-2.0.10-patched/CMakeLists.txt 2019-08-30 21:49:54.390555194 +1000
|
|
||||||
@@ -1885,7 +1885,7 @@
|
|
||||||
if (WINDOWS)
|
|
||||||
set(PKG_PREFIX "cmake")
|
|
||||||
else ()
|
|
||||||
- set(PKG_PREFIX "lib/cmake/SDL2")
|
|
||||||
+ set(PKG_PREFIX "lib${LIB_SUFFIX}/cmake/SDL2")
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
include(CMakePackageConfigHelpers)
|
|
|
@ -1,4 +1,4 @@
|
||||||
%define oversion 0.10.0
|
%define oversion 0.12.0
|
||||||
|
|
||||||
%define api 2.0
|
%define api 2.0
|
||||||
%define major 0
|
%define major 0
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
Summary: Simple DirectMedia Layer
|
Summary: Simple DirectMedia Layer
|
||||||
Name: SDL2
|
Name: SDL2
|
||||||
Version: 2.0.10
|
Version: 2.0.12
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
@ -15,7 +15,6 @@ Url: http://www.libsdl.org/
|
||||||
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
||||||
Patch0: SDL2-2.0.3-cmake.patch
|
Patch0: SDL2-2.0.3-cmake.patch
|
||||||
Patch1: SDL2-2.0.7-soversion.patch
|
Patch1: SDL2-2.0.7-soversion.patch
|
||||||
Patch2: SDL2-2.0.10-cmake-libdir.patch
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: wayland-doc
|
BuildRequires: wayland-doc
|
||||||
BuildRequires: nas-devel
|
BuildRequires: nas-devel
|
||||||
|
@ -88,8 +87,7 @@ applications which will use %{name}.
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%apply_patches
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global optflags %{optflags} -mstackrealign
|
%global optflags %{optflags} -mstackrealign
|
||||||
|
|
Loading…
Add table
Reference in a new issue