forked from pool/raylib
Accepting request 1033063 from devel:libraries:c_c++
- Switch -DUSE_EXTERNAL_GLFW to OFF: Earlier we build required on our glfw package. But with raylib 4.2.0 they started to use features are only in the development version. They were unhappy that glfw 3.4.0 takes a long time to be relased and decided to create a in-tree copy. So for raylib 4.2.0 to build we need to use this in-tree version. - Update to 4.2.0: * extra libraries cleanup: * examples review * rres resource format * raygui official gui library * new file system API * New audio stream processors API * For details see https://github.com/raysan5/raylib/releases/tag/4.2.0 OBS-URL: https://build.opensuse.org/request/show/1033063 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/raylib?expand=0&rev=10
This commit is contained in:
2
_service
2
_service
@@ -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">4.0.0</param>
|
<param name="revision">4.2.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>
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:83b04f2860f93bf408e6595d4079a085935dec69bb5d078ae732dc480ccb3e8a
|
|
||||||
size 53543438
|
|
||||||
3
raylib-4.2.0.obscpio
Normal file
3
raylib-4.2.0.obscpio
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:477fb735373cd12857ea93008a66e7c89547f111aab9d79bcbfcf2dd6dc31fd5
|
||||||
|
size 58797582
|
||||||
@@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 3 12:43:51 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
- Switch -DUSE_EXTERNAL_GLFW to OFF:
|
||||||
|
Earlier we build required on our glfw package.
|
||||||
|
But with raylib 4.2.0 they started to use features are only
|
||||||
|
in the development version.
|
||||||
|
They were unhappy that glfw 3.4.0 takes a long time to be
|
||||||
|
relased and decided to create a in-tree copy.
|
||||||
|
So for raylib 4.2.0 to build we need to use this in-tree version.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 12 05:37:23 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
- Update to 4.2.0:
|
||||||
|
* extra libraries cleanup:
|
||||||
|
* examples review
|
||||||
|
* rres resource format
|
||||||
|
* raygui official gui library
|
||||||
|
* new file system API
|
||||||
|
* New audio stream processors API
|
||||||
|
* For details see https://github.com/raysan5/raylib/releases/tag/4.2.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 28 17:50:08 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
Mon Feb 28 17:50:08 UTC 2022 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
name: raylib
|
name: raylib
|
||||||
version: 4.0.0
|
version: 4.2.0
|
||||||
mtime: 1636052925
|
mtime: 1660242405
|
||||||
commit: 0851960397f02a477d80eda2239f90fae14dec64
|
commit: d658e6772d75bce52fbe46cc9789f0b33500bc0f
|
||||||
|
|
||||||
|
|||||||
22
raylib.spec
22
raylib.spec
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: raylib
|
Name: raylib
|
||||||
Version: 4.0.0
|
Version: 4.2.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
|
||||||
@@ -31,7 +31,10 @@ BuildRequires: libXcursor-devel
|
|||||||
BuildRequires: libXi-devel
|
BuildRequires: libXi-devel
|
||||||
BuildRequires: libXinerama-devel
|
BuildRequires: libXinerama-devel
|
||||||
BuildRequires: libXrandr-devel
|
BuildRequires: libXrandr-devel
|
||||||
BuildRequires: libglfw-devel
|
# raylib ships an in-tree glfw that is a copy of *a* git revision of upstream glfw
|
||||||
|
# containing features they need. They are unhappy that it takes such
|
||||||
|
# a long time for 3.4 to be released. So ship it.
|
||||||
|
#BuildRequires: libglfw-devel >= 3.4
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A C library for learning video game programming.
|
A C library for learning video game programming.
|
||||||
@@ -40,17 +43,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: libraylib400 = %{version}
|
Requires: libraylib420 = %{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 libraylib400
|
%package -n libraylib420
|
||||||
Summary: C library for learning video game programming
|
Summary: C library for learning video game programming
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libraylib400
|
%description -n libraylib420
|
||||||
A C library for learning video game programming.
|
A C library for learning video game programming.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@@ -63,22 +66,21 @@ A C library for learning video game programming.
|
|||||||
-DBUILD_SHARED_LIBS=ON \
|
-DBUILD_SHARED_LIBS=ON \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DOpenGL_GL_PREFERENCE=GLVND \
|
-DOpenGL_GL_PREFERENCE=GLVND \
|
||||||
-DUSE_EXTERNAL_GLFW=ON
|
-DUSE_EXTERNAL_GLFW=OFF
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
|
||||||
%post -n libraylib400 -p /sbin/ldconfig
|
%post -n libraylib420 -p /sbin/ldconfig
|
||||||
%postun -n libraylib400 -p /sbin/ldconfig
|
%postun -n libraylib420 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libraylib400
|
%files -n libraylib420
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libraylib.so.*
|
%{_libdir}/libraylib.so.*
|
||||||
|
|
||||||
%files -n raylib-devel
|
%files -n raylib-devel
|
||||||
%doc CHANGELOG README.md
|
%doc CHANGELOG README.md
|
||||||
%{_includedir}/raylib.h
|
%{_includedir}/raylib.h
|
||||||
%{_includedir}/raudio.h
|
|
||||||
%{_includedir}/raymath.h
|
%{_includedir}/raymath.h
|
||||||
%{_includedir}/rlgl.h
|
%{_includedir}/rlgl.h
|
||||||
%{_libdir}/libraylib.so
|
%{_libdir}/libraylib.so
|
||||||
|
|||||||
Reference in New Issue
Block a user