mirror of
https://abf.rosa.ru/djam/SDL2.git
synced 2025-02-23 22:52:58 +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:
|
||||
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 major 0
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
Summary: Simple DirectMedia Layer
|
||||
Name: SDL2
|
||||
Version: 2.0.10
|
||||
Version: 2.0.12
|
||||
Release: 1
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
|
@ -15,7 +15,6 @@ Url: http://www.libsdl.org/
|
|||
Source0: http://www.libsdl.org/release/%{name}-%{version}.tar.gz
|
||||
Patch0: SDL2-2.0.3-cmake.patch
|
||||
Patch1: SDL2-2.0.7-soversion.patch
|
||||
Patch2: SDL2-2.0.10-cmake-libdir.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: wayland-doc
|
||||
BuildRequires: nas-devel
|
||||
|
@ -88,8 +87,7 @@ applications which will use %{name}.
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%apply_patches
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%global optflags %{optflags} -mstackrealign
|
||||
|
|
Loading…
Add table
Reference in a new issue