forked from pool/raylib
- Switch to noexamples tarball as requested in:
https://github.com/raysan5/raylib/issues/1180 So we don't ship examples with various licenses that we don't install anyways. - Add raylib-3.0.0-noexamples.patch: dont try to install examples Raysan seems to have forgotten that. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/raylib?expand=0&rev=24
This commit is contained in:
parent
55e6709965
commit
3964b1ecd5
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:164d1cc1710bb8e711a495e84cc585681b30098948d67d482e11dc37d2054eab
|
|
||||||
size 92254615
|
|
16
raylib-3.0.0-noexamples.patch
Normal file
16
raylib-3.0.0-noexamples.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
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 @@
|
||||||
|
|
||||||
|
add_subdirectory(src)
|
||||||
|
|
||||||
|
-if (${BUILD_EXAMPLES})
|
||||||
|
- add_subdirectory(examples)
|
||||||
|
-endif()
|
||||||
|
-
|
||||||
|
-if (${BUILD_GAMES})
|
||||||
|
- add_subdirectory(games)
|
||||||
|
-endif()
|
||||||
|
-
|
||||||
|
enable_testing()
|
3
raylib-noexamples-3.0.0.tar.gz
Normal file
3
raylib-noexamples-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:be17b6b39bb0e742c0df1e683b49853981854aefa25a758ddcf40f71da8b8436
|
||||||
|
size 4390778
|
@ -1,8 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 29 20:15:43 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
- Switch to noexamples tarball as requested in:
|
||||||
|
https://github.com/raysan5/raylib/issues/1180
|
||||||
|
So we don't ship examples with various licenses that we don't
|
||||||
|
install anyways.
|
||||||
|
- Add raylib-3.0.0-noexamples.patch: dont try to install examples
|
||||||
|
Raysan seems to have forgotten that.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 29 09:59:00 UTC 2020 - Scott Young <dev@iotib.net>
|
Wed Apr 29 09:59:00 UTC 2020 - Scott Young <dev@iotib.net>
|
||||||
- Added missing development header files.
|
- Added missing development header files.
|
||||||
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 31 09:17:57 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
Tue Mar 31 09:17:57 UTC 2020 - Michael Vetter <mvetter@suse.com>
|
||||||
|
|
||||||
|
@ -23,7 +23,8 @@ 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/archive/%{version}.tar.gz
|
Source: https://github.com/raysan5/raylib/releases/download/%{version}/raylib-noexamples-%{version}.tar.gz
|
||||||
|
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,6 +55,7 @@ A C library for learning video game programming.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n raylib-3.0.0
|
%setup -q -n raylib-3.0.0
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user