raylib/raylib-2.0.0-api-version.patch
Adam Majer 782113d717 Accepting request 610387 from home:jubalh:branches:devel:libraries:c_c++
- Update to 2.0.0rc1:
  * Complete redesign of audio module to use mini_al audio library
  * Support AppVeyor and Travis CI (continuous integration) build
  * Reviewed raymath.h for better consistency and performance (inlining)
  * Refactor all #define SUPPORT_* into a single config.h
  * Support TCC compiler
  * For complete list see CHANGELOG file
- Remove BR openal-soft-devel
- Add packageconfig file
- Add raylib-2.0.0-api-version.patch: api version should be 2
- Switch from meson to CMake

OBS-URL: https://build.opensuse.org/request/show/610387
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=12
2018-05-18 17:44:43 +00:00

29 lines
949 B
Diff

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 = ..