SHA256
1
0
forked from pool/raylib

Accepting request 1087397 from devel:libraries:c_c++

- Update to 4.5.0:
  * NEW Improved ANGLE support on Desktop platforms: Support for OpenGL ES 2.0 on Desktop platforms (Windows,
    Linux, macOS) has been reviewed by @wtnbgo GitHub user. Now raylib can be compiled on desktop for OpenGL
    ES 2.0 and linked against ANGLE. This small addition open the door to building raylib for all ANGLE
    supported backends: Direct3D 11, Vulkan and Metal. Please note that this new feature is still experimental
    and requires further testing!
  * NEW Camera module: A brand new implementation from scratch for rcamera module, contributed by @Crydsch
    GitHub user! New camera system is simpler, more flexible, more granular and more extendable. Specific camera
    math transformations (movement/rotation) have been moved to individual functions, exposing them to users if
    required. Global state has been removed from the module and standalone usage has been greatly improved; now
    rcamera.h single-file header-only library can be used externally, independently of raylib. A new
    UpdateCameraPro() function has been added to address input-dependency of UpdateCamera(), now advance users
    have full control over camera inputs and movement/rotation speeds!
  * NEW Support for M3D models and M3D/GLTF animations: 3d models animations support has been a limited aspect of
    raylib for long time, some versions ago IQM animations were supported but raylib 4.5 also adds support for
    the brand new M3D file format, including animations and the long expected support for GLTF animations! The
    new M3D file format is simple, portable, feature complete, extensible and open source. It also provides a
    complete set of tools to export/visualize M3D models from/to Blender! Now raylib supports up to 3 model
    file-formats with animations: IQM, GLTF and M3D.
  * NEW Support QOA audio format (import/export): Just a couple of months ago the new QOA file format was
    published, a very simple, portable and open source quite-ok-audio file format. raylib already supports it,
    added to raudio module and including audio loading from file, loading from memory, streaming from file,
    streaming from memory and exporting to QOA audio format. Because simplicity really matters to raylib!
  * NEW Module for compressed textures loading: rl_gputex, a portable single-file header-only small library to
    load compressed texture file-formats (DDS, PKM, KTX, PVR, ASTC). Provided functionality is not new to raylib
    but it was part of the raylib rtextures module, now it has been moved into a separate self-contained library,
    improving portability. Note that this module is only intended to load compressed data from files, ready to be
    uploaded to GPU, no compression/decompression functionality is provided. This change is a first step towards
    a better modularization of raylib library.
  * Reviewed rlgl module for automatic limits checking: Again, rlgl has been reviewed to simplify usage. Now

OBS-URL: https://build.opensuse.org/request/show/1087397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/raylib?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2023-05-16 12:16:55 +00:00 committed by Git OBS Bridge
commit 2dcc13b951
6 changed files with 57 additions and 10 deletions

View File

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

View File

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

3
raylib-4.5.0.obscpio Normal file
View File

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

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Mon Mar 20 09:23:14 UTC 2023 - Michael Vetter <mvetter@suse.com>
- Update to 4.5.0:
* NEW Improved ANGLE support on Desktop platforms: Support for OpenGL ES 2.0 on Desktop platforms (Windows,
Linux, macOS) has been reviewed by @wtnbgo GitHub user. Now raylib can be compiled on desktop for OpenGL
ES 2.0 and linked against ANGLE. This small addition open the door to building raylib for all ANGLE
supported backends: Direct3D 11, Vulkan and Metal. Please note that this new feature is still experimental
and requires further testing!
* NEW Camera module: A brand new implementation from scratch for rcamera module, contributed by @Crydsch
GitHub user! New camera system is simpler, more flexible, more granular and more extendable. Specific camera
math transformations (movement/rotation) have been moved to individual functions, exposing them to users if
required. Global state has been removed from the module and standalone usage has been greatly improved; now
rcamera.h single-file header-only library can be used externally, independently of raylib. A new
UpdateCameraPro() function has been added to address input-dependency of UpdateCamera(), now advance users
have full control over camera inputs and movement/rotation speeds!
* NEW Support for M3D models and M3D/GLTF animations: 3d models animations support has been a limited aspect of
raylib for long time, some versions ago IQM animations were supported but raylib 4.5 also adds support for
the brand new M3D file format, including animations and the long expected support for GLTF animations! The
new M3D file format is simple, portable, feature complete, extensible and open source. It also provides a
complete set of tools to export/visualize M3D models from/to Blender! Now raylib supports up to 3 model
file-formats with animations: IQM, GLTF and M3D.
* NEW Support QOA audio format (import/export): Just a couple of months ago the new QOA file format was
published, a very simple, portable and open source quite-ok-audio file format. raylib already supports it,
added to raudio module and including audio loading from file, loading from memory, streaming from file,
streaming from memory and exporting to QOA audio format. Because simplicity really matters to raylib!
* NEW Module for compressed textures loading: rl_gputex, a portable single-file header-only small library to
load compressed texture file-formats (DDS, PKM, KTX, PVR, ASTC). Provided functionality is not new to raylib
but it was part of the raylib rtextures module, now it has been moved into a separate self-contained library,
improving portability. Note that this module is only intended to load compressed data from files, ready to be
uploaded to GPU, no compression/decompression functionality is provided. This change is a first step towards
a better modularization of raylib library.
* Reviewed rlgl module for automatic limits checking: Again, rlgl has been reviewed to simplify usage. Now
users do not need to worry about reaching the internal render-batch limits when they send their triangles to
draw 2d/3d, rlgl manages it automatically! This change allows a great simplification for other modules like
rshapes, rtextures and rmodels that do not need to worry about bufffer overflows and can just define as many
vertex as desired!
* Reviewed rshapes module to minimize the rlgl dependency: Now rshapes 2d shapes drawing functions only depend
on 6 low-level functions: rlBegin(), rlEnd(), rlVertex3f(), rlTexCoord2f(), rlNormal3f(), rlSetTexture().
With only those pseudo-OpenGl 1.1 minimal functionality, everything can be drawn! This improvement converts
rshapes module in a self-contained, portable shapes-drawing library that can be used independently of raylib,
as far as entry points for those 6 functions are provided by the user. It even allows to be used for software
rendering, with the proper backend!
* Added data structures validation functions: Multiple functions have been added by @RobLoach GitHub user to
ease the validation of raylib data structures: IsImageReady(), IsTextureReady(), IsSoundReady()... Now users
have a simple mechanism to make sure data has been correctly loaded, instead of checking internal structure
values by themselfs.
-------------------------------------------------------------------
Thu Nov 3 12:43:51 UTC 2022 - Michael Vetter <mvetter@suse.com>

View File

@ -1,5 +1,4 @@
name: raylib
version: 4.2.0
mtime: 1660242405
commit: d658e6772d75bce52fbe46cc9789f0b33500bc0f
version: 4.5.0
mtime: 1679157424
commit: fec96137e8d10ee6c88914fbe5e5429c13ee1dac

View File

@ -1,7 +1,7 @@
#
# spec file for package raylib
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: raylib
Version: 4.2.0
Version: 4.5.0
Release: 0
Summary: C library for learning video game programming
License: Zlib