diff --git a/srcpkgs/freeorion/patches/musl.patch b/srcpkgs/freeorion/patches/musl.patch new file mode 100644 index 00000000000000..aac5ecdfe0471e --- /dev/null +++ b/srcpkgs/freeorion/patches/musl.patch @@ -0,0 +1,20 @@ +--- a/Empire/Diplomacy.h ++++ b/Empire/Diplomacy.h +@@ -1,6 +1,7 @@ + #ifndef _Diplomacy_h_ + #define _Diplomacy_h_ + ++#include + #include + #include + #include "../util/Enum.h" +--- a/universe/Enums.h ++++ b/universe/Enums.h +@@ -2,6 +2,7 @@ + #define _Enums_h_ + + ++#include + #include + #include + #include diff --git a/srcpkgs/freeorion/template b/srcpkgs/freeorion/template index 35e77d84d6bc44..972f04e3ea0ac8 100644 --- a/srcpkgs/freeorion/template +++ b/srcpkgs/freeorion/template @@ -1,20 +1,19 @@ # Template file for 'freeorion' pkgname=freeorion -version=0.4.10.2 -revision=8 -_release=${version}_2021-08-01.f663dad +version=0.5.0.1 +revision=1 build_style=cmake hostmakedepends="cppcheck doxygen python3-pycodestyle" makedepends="boost-devel libvorbis-devel freetype-devel glew-devel libopenal-devel python3-devel SDL2-devel" depends="desktop-file-utils hicolor-icon-theme" short_desc="Turn-based space empire and galactic conquest (4X) computer game" -maintainer="Orphaned " +maintainer="Emil Tomczyk " license="GPL-2.0-or-later" homepage="https://freeorion.org/index.php/Main_Page" changelog="https://raw.githubusercontent.com/freeorion/freeorion/master/ChangeLog.md" -distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${_release}_Source.tar.gz" -checksum=f6056ee97edd46dee8076cc1cdb11c711652f1e26f03cec1244a01a3cd5b0d70 +distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${version}_Source.tar.gz" +checksum=c6f62c3b400d50b336d62508ac5d5d656e4c0c8e57d0ff2b270f72381e68e1db replaces="freeorion-data>=0" post_extract() {