forked from pool/raylib
Accepting request 894320 from home:susnux:branches:devel:libraries:c_c++
- Update to 3.7.0 OBS-URL: https://build.opensuse.org/request/show/894320 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=29
This commit is contained in:
parent
6c93ac1f4b
commit
442d615d98
16
_service
Normal file
16
_service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<services>
|
||||||
|
<service name="obs_scm" mode="disabled">
|
||||||
|
<param name="url">https://github.com/raysan5/raylib.git</param>
|
||||||
|
<param name="revision">3.7.0</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">examples</param>
|
||||||
|
</service>
|
||||||
|
|
||||||
|
<service name="set_version" mode="buildtime"/>
|
||||||
|
<service name="tar" mode="buildtime"/>
|
||||||
|
<service name="recompress" mode="buildtime">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
@ -1,13 +0,0 @@
|
|||||||
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()
|
|
||||||
-
|
|
||||||
enable_testing()
|
|
3
raylib-3.7.0.obscpio
Normal file
3
raylib-3.7.0.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ea9a87f8c482005a33125b794441a880f67689cf0ffcfa8559d101305f5dfaaa
|
||||||
|
size 64661518
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e93a883071b9a027d6aa4174aebd5fd17afe16b67236712d6c17c1a9ecff7863
|
|
||||||
size 4321069
|
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 19 09:27:56 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
|
||||||
|
|
||||||
|
- Update to 3.7.0
|
||||||
|
* rlgl module for greater abstraction level. Now rlgl functionality
|
||||||
|
is self-contained in the module and used by higher-level layers,
|
||||||
|
* Multiple rlgl functions have been renamed for consistency
|
||||||
|
* A new API has been added, more comprehensive and better integrated
|
||||||
|
with raylib, the new stereo rendering can be combined with
|
||||||
|
RenderTexture and Shader API allowing the user to manage fbo and
|
||||||
|
distortion shader directly.
|
||||||
|
* New file access callbacks system.
|
||||||
|
* glTF animations support.
|
||||||
|
* raylib supports music streamming from memory data for all
|
||||||
|
supported file formats: WAV, OGG, MP3, FLAC, XM and MOD.
|
||||||
|
* Most raylib enums names and values names have been renamed for
|
||||||
|
consistency, now all value names start with the type of data
|
||||||
|
they represent.
|
||||||
|
* See: https://github.com/raysan5/raylib/blob/3.7.0/CHANGELOG
|
||||||
|
- Drop raylib-3.0.0-noexamples.patch
|
||||||
|
- Edit _service:
|
||||||
|
* Exclude examples as they are licensed under unsupported licenses
|
||||||
|
(Upstream does not provid the -noexamples package anymore)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 4 14:46:21 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
Mon Jan 4 14:46:21 UTC 2021 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
5
raylib.obsinfo
Normal file
5
raylib.obsinfo
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
name: raylib
|
||||||
|
version: 3.7.0
|
||||||
|
mtime: 1619452833
|
||||||
|
commit: b6c8d343dca2ef19c23c50975328a028124cf3cb
|
||||||
|
|
18
raylib.spec
18
raylib.spec
@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: raylib
|
Name: raylib
|
||||||
Version: 3.5.0
|
Version: 3.7.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: http://www.raylib.com
|
||||||
Source: https://github.com/raysan5/raylib/releases/download/%{version}/raylib-noexamples-%{version}.tar.gz
|
Source: raylib-%{version}.tar.xz
|
||||||
Patch0: raylib-3.0.0-noexamples.patch
|
|
||||||
BuildRequires: Mesa-libGL-devel
|
BuildRequires: Mesa-libGL-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -54,28 +53,25 @@ Group: System/Libraries
|
|||||||
A C library for learning video game programming.
|
A C library for learning video game programming.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n raylib-3.5.0
|
%setup -q
|
||||||
%patch0 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DPLATFORM=Desktop \
|
-DBUILD_EXAMPLES=OFF \
|
||||||
-DSHARED=ON
|
-DPLATFORM=Desktop \
|
||||||
|
-DSHARED=ON
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
for f in build/src/*.h; do
|
|
||||||
install -Dm 644 "$f" "$RPM_BUILD_ROOT/usr/include/$(basename $f)"
|
|
||||||
done
|
|
||||||
|
|
||||||
%post -n libraylib351 -p /sbin/ldconfig
|
%post -n libraylib351 -p /sbin/ldconfig
|
||||||
%postun -n libraylib351 -p /sbin/ldconfig
|
%postun -n libraylib351 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libraylib351
|
%files -n libraylib351
|
||||||
|
%license LICENSE
|
||||||
%{_libdir}/libraylib.so.*
|
%{_libdir}/libraylib.so.*
|
||||||
|
|
||||||
%files -n raylib-devel
|
%files -n raylib-devel
|
||||||
%license LICENSE
|
|
||||||
%doc CHANGELOG README.md
|
%doc CHANGELOG README.md
|
||||||
%{_includedir}/raylib.h
|
%{_includedir}/raylib.h
|
||||||
%{_includedir}/raudio.h
|
%{_includedir}/raudio.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user