5 |
%define uversion %{version}-%{status} |
%define uversion %{version}-%{status} |
6 |
|
|
7 |
Name: godot3 |
Name: godot3 |
8 |
Version: 3.0.2 |
Version: 3.0.5 |
9 |
Release: %mkrel 1 |
Release: %mkrel 1 |
10 |
Summary: Multi-platform 2D and 3D game engine with a feature-rich editor |
Summary: Multi-platform 2D and 3D game engine with a feature-rich editor |
11 |
Group: Development/Tools |
Group: Development/Tools |
14 |
URL: https://godotengine.org |
URL: https://godotengine.org |
15 |
Source0: https://github.com/godotengine/godot/archive/%{uversion}/%{uname}-%{uversion}.tar.gz |
Source0: https://github.com/godotengine/godot/archive/%{uversion}/%{uname}-%{uversion}.tar.gz |
16 |
|
|
|
# Upstream fix for https://github.com/godotengine/godot/issues/17245 |
|
|
Patch0: 0001-SCons-Fix-linking-system-pcre2-on-server-platform.patch |
|
|
# Upstream fix |
|
|
Patch1: 0001-Dist-Fix-Linux-desktop-file-launch-argument.patch |
|
|
|
|
17 |
# Mageia patch for "godot3" backport name |
# Mageia patch for "godot3" backport name |
18 |
Patch10: godot-3.0.2-rename-to-godot3.patch |
Patch10: godot-3.0.2-rename-to-godot3.patch |
19 |
|
|
140 |
|
|
141 |
%define _scons %scons CCFLAGS="%{optflags}" LINKFLAGS="%{ldflags}" $system_libs udev=yes progress=no |
%define _scons %scons CCFLAGS="%{optflags}" LINKFLAGS="%{ldflags}" $system_libs udev=yes progress=no |
142 |
|
|
143 |
export BUILD_REVISION="%{_real_vendor}" |
export BUILD_NAME="%{_real_vendor}" |
144 |
|
|
145 |
# Build graphical editor (tools) |
# Build graphical editor (tools) |
146 |
%_scons p=x11 tools=yes target=release_debug |
%_scons p=x11 tools=yes target=release_debug |