Accepting request 860228 from devel:libraries:c_c++
- Update to 3.5.0: * Platform supported: Raspberry Pi 4 native mode (no X11 windows) through DRM subsystem and GBM API. Actually this is a really interesting improvement because it opens the door to raylib to support other embedded platforms (Odroid, GameShell, NanoPi...). Also worth mentioning the un-official homebrew ports of raylib for PS4 and PSVita. * NEW configuration options exposed: For custom raylib builds, config.h now exposes more than 150 flags and defines to build raylib with only the desired features, for example, it allows to build a minimal raylib library in just some KB removing all external data filetypes supported, very useful to generate small executables or embedded devices. * NEW automatic GIF recording feature: Actually, automatic GIF recording (CTRL+F12) for any raylib application has been available for some versions but this feature was really slow and low-performant using an old gif library with many file-accesses. It has been replaced by a high-performant alternative (msf_gif.h) that operates directly on memory... and actually works very well! Try it out! * NEW RenderBatch system: rlgl module has been redesigned to support custom render batches to allow grouping draw calls as desired, previous implementation just had one default render batch. This feature has not been exposed to raylib API yet but it can be used by advance users dealing with rlgl directly. For example, multiple RenderBatch can be created for 2D sprites and 3D geometry independently. * NEW Framebuffer system: rlgl module now exposes an API for custom Framebuffer attachments (including cubemaps!). raylib RenderTexture is a basic use-case, just allowing color and depth textures, but this new API allows the creation of more advance Framebuffers with multiple attachments, like the G-Buffers. GenTexture*() functions have been redesigned to use this new API. OBS-URL: https://build.opensuse.org/request/show/860228 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/raylib?expand=0&rev=7
This commit is contained in:
commit
71a09aeb3b
@ -1,16 +1,13 @@
|
||||
diff -urEbw raylib-3.0.0/CMakeLists.txt raylib-3.0.0.new/CMakeLists.txt
|
||||
--- raylib-3.0.0/CMakeLists.txt 2020-04-01 11:07:01.000000000 +0200
|
||||
+++ raylib-3.0.0.new/CMakeLists.txt 2020-04-29 22:12:32.184784329 +0200
|
||||
@@ -43,12 +43,4 @@
|
||||
diff -urEbw raylib-3.5.0/CMakeLists.txt raylib-3.5.0.new/CMakeLists.txt
|
||||
--- raylib-3.5.0/CMakeLists.txt 2020-12-25 02:07:24.000000000 +0100
|
||||
+++ raylib-3.5.0.new/CMakeLists.txt 2021-01-04 15:42:23.762568448 +0100
|
||||
@@ -53,9 +53,4 @@
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
-if (${BUILD_EXAMPLES})
|
||||
- MESSAGE(STATUS "Building examples is enabled")
|
||||
- add_subdirectory(examples)
|
||||
-endif()
|
||||
-
|
||||
-if (${BUILD_GAMES})
|
||||
- add_subdirectory(games)
|
||||
-endif()
|
||||
-
|
||||
enable_testing()
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be17b6b39bb0e742c0df1e683b49853981854aefa25a758ddcf40f71da8b8436
|
||||
size 4390778
|
3
raylib-noexamples-3.5.0.tar.gz
Normal file
3
raylib-noexamples-3.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e93a883071b9a027d6aa4174aebd5fd17afe16b67236712d6c17c1a9ecff7863
|
||||
size 4321069
|
@ -1,3 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 4 14:46:21 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
- Update to 3.5.0:
|
||||
* Platform supported: Raspberry Pi 4 native mode (no X11 windows)
|
||||
through DRM subsystem and GBM API. Actually this is a really
|
||||
interesting improvement because it opens the door to raylib to
|
||||
support other embedded platforms (Odroid, GameShell, NanoPi...).
|
||||
Also worth mentioning the un-official homebrew ports of raylib
|
||||
for PS4 and PSVita.
|
||||
* NEW configuration options exposed: For custom raylib builds,
|
||||
config.h now exposes more than 150 flags and defines to build
|
||||
raylib with only the desired features, for example, it allows to
|
||||
build a minimal raylib library in just some KB removing all
|
||||
external data filetypes supported, very useful to generate small
|
||||
executables or embedded devices.
|
||||
* NEW automatic GIF recording feature: Actually, automatic GIF
|
||||
recording (CTRL+F12) for any raylib application has been available
|
||||
for some versions but this feature was really slow and low-performant
|
||||
using an old gif library with many file-accesses. It has been replaced
|
||||
by a high-performant alternative (msf_gif.h) that operates directly
|
||||
on memory... and actually works very well! Try it out!
|
||||
* NEW RenderBatch system: rlgl module has been redesigned to support
|
||||
custom render batches to allow grouping draw calls as desired, previous
|
||||
implementation just had one default render batch. This feature has not
|
||||
been exposed to raylib API yet but it can be used by advance users dealing
|
||||
with rlgl directly. For example, multiple RenderBatch can be created
|
||||
for 2D sprites and 3D geometry independently.
|
||||
* NEW Framebuffer system: rlgl module now exposes an API for custom Framebuffer
|
||||
attachments (including cubemaps!). raylib RenderTexture is a basic
|
||||
use-case, just allowing color and depth textures, but this new API allows
|
||||
the creation of more advance Framebuffers with multiple attachments,
|
||||
like the G-Buffers. GenTexture*() functions have been redesigned to use this new API.
|
||||
* Improved software rendering: raylib Image*() API is intended for
|
||||
software rendering, for those cases when no GPU or no Window is available.
|
||||
Those functions operate directly with multi-format pixel data on RAM and
|
||||
they have been completely redesigned to be way faster, specially for small
|
||||
resolutions and retro-gaming. Low-end embedded devices like microcontrollers
|
||||
with custom displays could benefit of this raylib functionality!
|
||||
* File loading from memory: Multiple functions have been redesigned to load
|
||||
data from memory buffers instead of directly accessing the files, now all
|
||||
raylib file loading/saving goes through a couple of functions that load
|
||||
data into memory. This feature allows custom virtual-file-systems and it
|
||||
gives more control to the user to access data already loaded in memory
|
||||
(i.e. images, fonts, sounds...).
|
||||
* NEW Window states management system: raylib core module has been
|
||||
redesigned to support Window state check and setup more easily and also
|
||||
before/after Window initialization, SetConfigFlags() has been reviewed and
|
||||
SetWindowState() has been added to control Window minification,
|
||||
maximization, hidding, focusing, topmost and more.
|
||||
* For details see CHANGELOG file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 29 20:15:43 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||
|
||||
|
21
raylib.spec
21
raylib.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package raylib
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 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: 3.0.0
|
||||
Version: 3.5.0
|
||||
Release: 0
|
||||
Summary: C library for learning video game programming
|
||||
License: Zlib
|
||||
@ -40,21 +40,21 @@ 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: libraylib301 = %{version}
|
||||
Requires: libraylib351 = %{version}
|
||||
Requires: openal-soft-devel
|
||||
|
||||
%description -n raylib-devel
|
||||
Development files and headers for %{name}.
|
||||
|
||||
%package -n libraylib301
|
||||
%package -n libraylib351
|
||||
Summary: C library for learning video game programming
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libraylib301
|
||||
%description -n libraylib351
|
||||
A C library for learning video game programming.
|
||||
|
||||
%prep
|
||||
%setup -q -n raylib-3.0.0
|
||||
%setup -q -n raylib-3.5.0
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
@ -68,12 +68,11 @@ for f in build/src/*.h; do
|
||||
install -Dm 644 "$f" "$RPM_BUILD_ROOT/usr/include/$(basename $f)"
|
||||
done
|
||||
|
||||
%post -n libraylib301 -p /sbin/ldconfig
|
||||
%postun -n libraylib301 -p /sbin/ldconfig
|
||||
%post -n libraylib351 -p /sbin/ldconfig
|
||||
%postun -n libraylib351 -p /sbin/ldconfig
|
||||
|
||||
%files -n libraylib301
|
||||
%{_libdir}/libraylib.so.301
|
||||
%{_libdir}/libraylib.so.3.0.0
|
||||
%files -n libraylib351
|
||||
%{_libdir}/libraylib.so.*
|
||||
|
||||
%files -n raylib-devel
|
||||
%license LICENSE
|
||||
|
Loading…
x
Reference in New Issue
Block a user