From 662b111ed73274bd547d88b04dd8bad3ea8c1dea663677a6f9b6561f3553b7bf Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Mon, 28 Feb 2022 17:52:53 +0000 Subject: [PATCH] - Update to 4.0.0: * Naming consistency and coherency: API has been completely reviewed to be consistent on naming conventions * Event Automation System: This new experimental feature has been added for future usage, it allows to record input events and re-play them automatically. * Custom game-loop control: As requested by some advance users, the game-loop control can be exposed * For details see: https://github.com/raysan5/raylib/blob/4.0.0/CHANGELOG OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=31 --- _service | 2 +- raylib-3.7.0.obscpio | 3 --- raylib-4.0.0.obscpio | 3 +++ raylib.changes | 13 +++++++++++++ raylib.obsinfo | 6 +++--- raylib.spec | 25 ++++++++++++++----------- 6 files changed, 34 insertions(+), 18 deletions(-) delete mode 100644 raylib-3.7.0.obscpio create mode 100644 raylib-4.0.0.obscpio diff --git a/_service b/_service index dbf3c92..068f037 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ https://github.com/raysan5/raylib.git - 3.7.0 + 4.0.0 @PARENT_TAG@ git examples diff --git a/raylib-3.7.0.obscpio b/raylib-3.7.0.obscpio deleted file mode 100644 index 1eae98c..0000000 --- a/raylib-3.7.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ea9a87f8c482005a33125b794441a880f67689cf0ffcfa8559d101305f5dfaaa -size 64661518 diff --git a/raylib-4.0.0.obscpio b/raylib-4.0.0.obscpio new file mode 100644 index 0000000..70984f7 --- /dev/null +++ b/raylib-4.0.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83b04f2860f93bf408e6595d4079a085935dec69bb5d078ae732dc480ccb3e8a +size 53543438 diff --git a/raylib.changes b/raylib.changes index 1742d75..eb60771 100644 --- a/raylib.changes +++ b/raylib.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Mon Feb 28 17:50:08 UTC 2022 - Michael Vetter + +- Update to 4.0.0: + * Naming consistency and coherency: API has been completely + reviewed to be consistent on naming conventions + * Event Automation System: This new experimental feature has been + added for future usage, it allows to record input events and + re-play them automatically. + * Custom game-loop control: As requested by some advance users, + the game-loop control can be exposed + * For details see: https://github.com/raysan5/raylib/blob/4.0.0/CHANGELOG + ------------------------------------------------------------------- Wed May 19 09:27:56 UTC 2021 - Ferdinand Thiessen diff --git a/raylib.obsinfo b/raylib.obsinfo index 2175ab7..cde737d 100644 --- a/raylib.obsinfo +++ b/raylib.obsinfo @@ -1,5 +1,5 @@ name: raylib -version: 3.7.0 -mtime: 1619452833 -commit: b6c8d343dca2ef19c23c50975328a028124cf3cb +version: 4.0.0 +mtime: 1636052925 +commit: 0851960397f02a477d80eda2239f90fae14dec64 diff --git a/raylib.spec b/raylib.spec index 60fc194..7709699 100644 --- a/raylib.spec +++ b/raylib.spec @@ -1,7 +1,7 @@ # # spec file for package raylib # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: raylib -Version: 3.7.0 +Version: 4.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 +URL: https://www.raylib.com Source: raylib-%{version}.tar.xz BuildRequires: Mesa-libGL-devel BuildRequires: cmake @@ -31,6 +31,7 @@ BuildRequires: libXcursor-devel BuildRequires: libXi-devel BuildRequires: libXinerama-devel BuildRequires: libXrandr-devel +BuildRequires: libglfw-devel %description A C library for learning video game programming. @@ -39,17 +40,17 @@ raylib is inspired by the Borland BGI graphics library and by the XNA framework. %package -n raylib-devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ -Requires: libraylib351 = %{version} +Requires: libraylib400 = %{version} Requires: openal-soft-devel %description -n raylib-devel Development files and headers for %{name}. -%package -n libraylib351 +%package -n libraylib400 Summary: C library for learning video game programming Group: System/Libraries -%description -n libraylib351 +%description -n libraylib400 A C library for learning video game programming. %prep @@ -59,15 +60,18 @@ A C library for learning video game programming. %cmake \ -DBUILD_EXAMPLES=OFF \ -DPLATFORM=Desktop \ - -DSHARED=ON + -DBUILD_SHARED_LIBS=ON \ + -DCMAKE_BUILD_TYPE=Release \ + -DOpenGL_GL_PREFERENCE=GLVND \ + -DUSE_EXTERNAL_GLFW=ON %install %cmake_install -%post -n libraylib351 -p /sbin/ldconfig -%postun -n libraylib351 -p /sbin/ldconfig +%post -n libraylib400 -p /sbin/ldconfig +%postun -n libraylib400 -p /sbin/ldconfig -%files -n libraylib351 +%files -n libraylib400 %license LICENSE %{_libdir}/libraylib.so.* @@ -75,7 +79,6 @@ A C library for learning video game programming. %doc CHANGELOG README.md %{_includedir}/raylib.h %{_includedir}/raudio.h -%{_includedir}/physac.h %{_includedir}/raymath.h %{_includedir}/rlgl.h %{_libdir}/libraylib.so