forked from pool/raylib
- Update to 2.0.0:
* Full redesign of audio module to use the mini_al audio library * Refactor all #define SUPPORT_* into a single config.h * Reviewed raymath.h for better consistency and performance (inlining) * New font rendering * STB support * New functions for CPU image data manipulation - Remove raylib-2.0.0-api-version.patch: upstreamed OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=14
This commit is contained in:
parent
782113d717
commit
dbd5c7fa46
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:591dad75a3ff22597afa0011da4f92049942ea06fba32c723ea3d10d8dfb7da1
|
||||
size 95694476
|
3
2.0.0.tar.gz
Normal file
3
2.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3b476b55cedcbcff49ecf96d262748e0bf17fd7c2d2f375ee781d409c2535f4
|
||||
size 81916869
|
@ -1,28 +0,0 @@
|
||||
See:
|
||||
https://github.com/raysan5/raylib/issues/537
|
||||
https://github.com/raysan5/raylib/pull/545
|
||||
--
|
||||
diff -urEbwB raylib-2.0.0-rc1/src/CMakeLists.txt raylib-2.0.0-rc1.new/src/CMakeLists.txt
|
||||
--- raylib-2.0.0-rc1/src/CMakeLists.txt 2018-05-14 00:33:15.000000000 +0200
|
||||
+++ raylib-2.0.0-rc1.new/src/CMakeLists.txt 2018-05-18 16:01:02.430254508 +0200
|
||||
@@ -3,7 +3,7 @@
|
||||
include(GNUInstallDirs)
|
||||
|
||||
set(PROJECT_VERSION 2.0.0)
|
||||
-set(API_VERSION 1)
|
||||
+set(API_VERSION 2)
|
||||
set(RAYLIB raylib) # Name of the generated library
|
||||
|
||||
include("CMakeOptions.txt")
|
||||
diff -urEbwB raylib-2.0.0-rc1/src/Makefile raylib-2.0.0-rc1.new/src/Makefile
|
||||
--- raylib-2.0.0-rc1/src/Makefile 2018-05-14 00:33:15.000000000 +0200
|
||||
+++ raylib-2.0.0-rc1.new/src/Makefile 2018-05-18 16:00:51.182137365 +0200
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
# Define required raylib variables
|
||||
RAYLIB_VERSION = 2.0.0
|
||||
-RAYLIB_API_VERSION = 1
|
||||
+RAYLIB_API_VERSION = 2
|
||||
|
||||
# See below for alternatives.
|
||||
RAYLIB_PATH = ..
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 24 09:13:42 UTC 2018 - mvetter@suse.com
|
||||
|
||||
- Update to 2.0.0:
|
||||
* Full redesign of audio module to use the mini_al audio library
|
||||
* Refactor all #define SUPPORT_* into a single config.h
|
||||
* Reviewed raymath.h for better consistency and performance (inlining)
|
||||
* New font rendering
|
||||
* STB support
|
||||
* New functions for CPU image data manipulation
|
||||
- Remove raylib-2.0.0-api-version.patch: upstreamed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 18 14:12:17 UTC 2018 - mvetter@suse.com
|
||||
|
||||
|
18
raylib.spec
18
raylib.spec
@ -17,20 +17,17 @@
|
||||
|
||||
|
||||
Name: raylib
|
||||
Version: 2.0.0~rc1
|
||||
Version: 2.0.0
|
||||
Release: 0
|
||||
Summary: C library for learning video game programming
|
||||
License: Zlib
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://www.raylib.com
|
||||
#Source: https://github.com/raysan5/%{name}/archive/%{version}.tar.gz
|
||||
Source: https://github.com/raysan5/raylib/archive/2.0.0-rc1.tar.gz
|
||||
# FIX-UPSTREAM: https://github.com/raysan5/raylib/pull/545
|
||||
Patch0: raylib-2.0.0-api-version.patch
|
||||
Source: https://github.com/raysan5/raylib/archive/%{version}.tar.gz
|
||||
BuildRequires: Mesa-libGL-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libglfw-devel >= 3.2
|
||||
#BuildRequires: libglfw-devel >= 3.2
|
||||
|
||||
%description
|
||||
A C library for learning video game programming.
|
||||
@ -53,15 +50,12 @@ Group: System/Libraries
|
||||
A C library for learning video game programming.
|
||||
|
||||
%prep
|
||||
%setup -q -n raylib-2.0.0-rc1
|
||||
%patch0 -p1
|
||||
%setup -q -n raylib-2.0.0
|
||||
|
||||
%build
|
||||
%cmake \
|
||||
-DPLATFORM=PLATFORM_DESKTOP \
|
||||
-DSHARED=ON \
|
||||
-DUSE_EXTERNAL_GLFW=ON \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DPLATFORM=Desktop \
|
||||
-DSHARED=ON
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
Loading…
x
Reference in New Issue
Block a user