mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
freeorion: update to 0.5.1.1.
Source code URL changed a bit. Added a patch for build failure (cmake cannot find `GG/GG/Config.h`) Reported upstream as: https://github.com/freeorion/freeorion/pull/5259 Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
This commit is contained in:
parent
4b2ce99ad7
commit
79c87d9b7e
2 changed files with 16 additions and 3 deletions
13
srcpkgs/freeorion/patches/fix-gigi-config-file-finding.patch
Normal file
13
srcpkgs/freeorion/patches/fix-gigi-config-file-finding.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/GG/GG/CMakeLists.txt b/GG/GG/CMakeLists.txt
|
||||
index 606c8e9cb..4026dc6b9 100644
|
||||
--- a/GG/GG/CMakeLists.txt
|
||||
+++ b/GG/GG/CMakeLists.txt
|
||||
@@ -18,7 +18,7 @@ target_sources(GiGi
|
||||
${CMAKE_CURRENT_LIST_DIR}/Button.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/ClrConstants.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/Clr.h
|
||||
- ${CMAKE_CURRENT_LIST_DIR}/Config.h
|
||||
+ ${CMAKE_CURRENT_BINARY_DIR}/Config.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/Control.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/Cursor.h
|
||||
${CMAKE_CURRENT_LIST_DIR}/DeferredLayout.h
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'freeorion'
|
||||
pkgname=freeorion
|
||||
version=0.5.1
|
||||
version=0.5.1.1
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="cppcheck doxygen python3-pycodestyle"
|
||||
|
@ -12,8 +12,8 @@ maintainer="Emil Tomczyk <emru@emru.xyz>"
|
|||
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${version}_Source.tar.gz"
|
||||
checksum=75cca4aa0895b8988e800f7c75e0f4fbffd302dfd5fb64f0a7f509123c43cbbb
|
||||
distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion-v${version}_Source.tar.gz"
|
||||
checksum=bf6c578ddf1c48021016341dc910f038c80f651fc6f1874390aadb36448b410e
|
||||
replaces="freeorion-data>=0"
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Add table
Reference in a new issue