SHA256
1
0
forked from pool/raylib

- 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
This commit is contained in:
Michael Vetter 2022-02-28 17:52:53 +00:00 committed by Git OBS Bridge
parent 442d615d98
commit 662b111ed7
6 changed files with 34 additions and 18 deletions

View File

@ -1,7 +1,7 @@
<services> <services>
<service name="obs_scm" mode="disabled"> <service name="obs_scm" mode="disabled">
<param name="url">https://github.com/raysan5/raylib.git</param> <param name="url">https://github.com/raysan5/raylib.git</param>
<param name="revision">3.7.0</param> <param name="revision">4.0.0</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">examples</param> <param name="exclude">examples</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea9a87f8c482005a33125b794441a880f67689cf0ffcfa8559d101305f5dfaaa
size 64661518

3
raylib-4.0.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83b04f2860f93bf408e6595d4079a085935dec69bb5d078ae732dc480ccb3e8a
size 53543438

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Feb 28 17:50:08 UTC 2022 - Michael Vetter <mvetter@suse.com>
- 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 <rpm@fthiessen.de> Wed May 19 09:27:56 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>

View File

@ -1,5 +1,5 @@
name: raylib name: raylib
version: 3.7.0 version: 4.0.0
mtime: 1619452833 mtime: 1636052925
commit: b6c8d343dca2ef19c23c50975328a028124cf3cb commit: 0851960397f02a477d80eda2239f90fae14dec64

View File

@ -1,7 +1,7 @@
# #
# spec file for package raylib # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,12 +17,12 @@
Name: raylib Name: raylib
Version: 3.7.0 Version: 4.0.0
Release: 0 Release: 0
Summary: C library for learning video game programming Summary: C library for learning video game programming
License: Zlib License: Zlib
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: http://www.raylib.com URL: https://www.raylib.com
Source: raylib-%{version}.tar.xz Source: raylib-%{version}.tar.xz
BuildRequires: Mesa-libGL-devel BuildRequires: Mesa-libGL-devel
BuildRequires: cmake BuildRequires: cmake
@ -31,6 +31,7 @@ BuildRequires: libXcursor-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: libXinerama-devel BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel BuildRequires: libXrandr-devel
BuildRequires: libglfw-devel
%description %description
A C library for learning video game programming. 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 %package -n raylib-devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libraylib351 = %{version} Requires: libraylib400 = %{version}
Requires: openal-soft-devel Requires: openal-soft-devel
%description -n raylib-devel %description -n raylib-devel
Development files and headers for %{name}. Development files and headers for %{name}.
%package -n libraylib351 %package -n libraylib400
Summary: C library for learning video game programming Summary: C library for learning video game programming
Group: System/Libraries Group: System/Libraries
%description -n libraylib351 %description -n libraylib400
A C library for learning video game programming. A C library for learning video game programming.
%prep %prep
@ -59,15 +60,18 @@ A C library for learning video game programming.
%cmake \ %cmake \
-DBUILD_EXAMPLES=OFF \ -DBUILD_EXAMPLES=OFF \
-DPLATFORM=Desktop \ -DPLATFORM=Desktop \
-DSHARED=ON -DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DOpenGL_GL_PREFERENCE=GLVND \
-DUSE_EXTERNAL_GLFW=ON
%install %install
%cmake_install %cmake_install
%post -n libraylib351 -p /sbin/ldconfig %post -n libraylib400 -p /sbin/ldconfig
%postun -n libraylib351 -p /sbin/ldconfig %postun -n libraylib400 -p /sbin/ldconfig
%files -n libraylib351 %files -n libraylib400
%license LICENSE %license LICENSE
%{_libdir}/libraylib.so.* %{_libdir}/libraylib.so.*
@ -75,7 +79,6 @@ A C library for learning video game programming.
%doc CHANGELOG README.md %doc CHANGELOG README.md
%{_includedir}/raylib.h %{_includedir}/raylib.h
%{_includedir}/raudio.h %{_includedir}/raudio.h
%{_includedir}/physac.h
%{_includedir}/raymath.h %{_includedir}/raymath.h
%{_includedir}/rlgl.h %{_includedir}/rlgl.h
%{_libdir}/libraylib.so %{_libdir}/libraylib.so