Hello community,

here is the log from the commit of package raylib for openSUSE:Factory checked 
in at 2018-05-29 10:31:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/raylib (Old)
 and      /work/SRC/openSUSE:Factory/.raylib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "raylib"

Tue May 29 10:31:08 2018 rev:3 rq:610473 version:2.0.0~rc1

Changes:
--------
--- /work/SRC/openSUSE:Factory/raylib/raylib.changes    2017-11-12 
18:02:19.284873472 +0100
+++ /work/SRC/openSUSE:Factory/.raylib.new/raylib.changes       2018-05-29 
10:31:12.890851998 +0200
@@ -1,0 +2,15 @@
+Fri May 18 14:12:17 UTC 2018 - [email protected]
+
+- Update to 2.0.0rc1:
+  * Complete redesign of audio module to use mini_al audio library
+  * Support AppVeyor and Travis CI (continuous integration) build
+  * Reviewed raymath.h for better consistency and performance (inlining)
+  * Refactor all #define SUPPORT_* into a single config.h
+  * Support TCC compiler
+  * For complete list see CHANGELOG file
+- Remove BR openal-soft-devel
+- Add packageconfig file
+- Add raylib-2.0.0-api-version.patch: api version should be 2
+- Switch from meson to CMake
+
+-------------------------------------------------------------------

Old:
----
  1.8.0.tar.gz

New:
----
  2.0.0-rc1.tar.gz
  raylib-2.0.0-api-version.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ raylib.spec ++++++
--- /var/tmp/diff_new_pack.SBTYXp/_old  2018-05-29 10:31:21.034551186 +0200
+++ /var/tmp/diff_new_pack.SBTYXp/_new  2018-05-29 10:31:21.038551038 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package raylib
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,18 +17,20 @@
 
 
 Name:           raylib
-Version:        1.8.0
+Version:        2.0.0~rc1
 Release:        0
 Summary:        C library for learning video game programming
 License:        Zlib
 Group:          Development/Libraries/C and C++
 Url:            http://www.raylib.com
-Source:         https://github.com/raysan5/%{name}/archive/%{version}.tar.gz
+#Source:         https://github.com/raysan5/%{name}/archive/%{version}.tar.gz
+Source:         https://github.com/raysan5/raylib/archive/2.0.0-rc1.tar.gz
+# FIX-UPSTREAM: https://github.com/raysan5/raylib/pull/545
+Patch0:         raylib-2.0.0-api-version.patch
 BuildRequires:  Mesa-libGL-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libXi-devel
 BuildRequires:  libglfw-devel >= 3.2
-BuildRequires:  meson >= 0.39.1
-BuildRequires:  openal-soft-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 A C library for learning video game programming.
@@ -37,41 +39,46 @@
 %package -n raylib-devel
 Summary:        Development files for %{name}
 Group:          Development/Libraries/C and C++
+Requires:       libraylib2 = %{version}
 Requires:       openal-soft-devel
-Requires:       libraylib1 = %{version}
 
 %description -n raylib-devel
 Development files and headers for %{name}.
 
-%package -n libraylib1
+%package -n libraylib2
 Summary:        C library for learning video game programming
 Group:          System/Libraries
 
-%description -n libraylib1
+%description -n libraylib2
 A C library for learning video game programming.
 
 %prep
-%setup -q
+%setup -q -n raylib-2.0.0-rc1
+%patch0 -p1
 
 %build
-%{meson}
-%{meson_build}
+%cmake \
+    -DPLATFORM=PLATFORM_DESKTOP \
+       -DSHARED=ON \
+       -DUSE_EXTERNAL_GLFW=ON \
+       -DBUILD_SHARED_LIBS=ON
 
 %install
-%{meson_install}
+%cmake_install
+rm %{buildroot}%{_libdir}/libraylib.a
 
-%post -n libraylib1 -p /sbin/ldconfig
-%postun -n libraylib1 -p /sbin/ldconfig
+%post -n libraylib2 -p /sbin/ldconfig
+%postun -n libraylib2 -p /sbin/ldconfig
 
-%files -n libraylib1
-%defattr(-,root,root)
-%{_libdir}/libraylib.so.1
-%{_libdir}/libraylib.so.1.8.0
+%files -n libraylib2
+%{_libdir}/libraylib.so.2
+%{_libdir}/libraylib.so.2.0.0
 
 %files -n raylib-devel
-%defattr(-,root,root)
-%doc CHANGELOG README.md LICENSE.md
+%license LICENSE.md
+%doc CHANGELOG README.md
 %{_includedir}/raylib.h
 %{_libdir}/libraylib.so
+%{_libdir}/pkgconfig/raylib.pc
 
 %changelog

++++++ raylib-2.0.0-api-version.patch ++++++
See:
https://github.com/raysan5/raylib/issues/537
https://github.com/raysan5/raylib/pull/545
--
diff -urEbwB raylib-2.0.0-rc1/src/CMakeLists.txt 
raylib-2.0.0-rc1.new/src/CMakeLists.txt
--- raylib-2.0.0-rc1/src/CMakeLists.txt 2018-05-14 00:33:15.000000000 +0200
+++ raylib-2.0.0-rc1.new/src/CMakeLists.txt     2018-05-18 16:01:02.430254508 
+0200
@@ -3,7 +3,7 @@
 include(GNUInstallDirs)
 
 set(PROJECT_VERSION 2.0.0)
-set(API_VERSION 1)
+set(API_VERSION 2)
 set(RAYLIB raylib)    # Name of the generated library
 
 include("CMakeOptions.txt")
diff -urEbwB raylib-2.0.0-rc1/src/Makefile raylib-2.0.0-rc1.new/src/Makefile
--- raylib-2.0.0-rc1/src/Makefile       2018-05-14 00:33:15.000000000 +0200
+++ raylib-2.0.0-rc1.new/src/Makefile   2018-05-18 16:00:51.182137365 +0200
@@ -43,7 +43,7 @@
 
 # Define required raylib variables
 RAYLIB_VERSION     = 2.0.0
-RAYLIB_API_VERSION = 1
+RAYLIB_API_VERSION = 2
 
 # See below for alternatives.
 RAYLIB_PATH        = ..

Reply via email to