* [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/
@ 2020-03-12 17:31 Lars Wendler
0 siblings, 0 replies; 5+ messages in thread
From: Lars Wendler @ 2020-03-12 17:31 UTC (permalink / raw
To: gentoo-commits
commit: be975d4634d9e9dbbc257d4b632d5d2c67d37112
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 17:30:52 2020 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 17:30:52 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be975d46
games-strategy/widelands: Fixed build with media-libs/libglvnd
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
.../widelands/files/widelands-0.20-glvnd.patch | 25 ++++++++++++++++++++++
...elands-0.20.ebuild => widelands-0.20-r1.ebuild} | 1 +
2 files changed, 26 insertions(+)
diff --git a/games-strategy/widelands/files/widelands-0.20-glvnd.patch b/games-strategy/widelands/files/widelands-0.20-glvnd.patch
new file mode 100644
index 00000000000..94d1aa3850c
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-0.20-glvnd.patch
@@ -0,0 +1,25 @@
+From 4661768699c4651df1668fbfe0e24bb02bf10db1 Mon Sep 17 00:00:00 2001
+From: franku <somal@arcor.de>
+Date: Thu, 18 Jul 2019 19:30:34 +0200
+Subject: [PATCH] use link_libraries instead of set(CMAKE_EXE_LINKER_FLAGS...
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5c5ca8a60b..bcff2db2ff 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -181,7 +181,7 @@ endif(OPTION_ASAN)
+
+ # This is set to avoid linker errors when using GLVND-libs on Linux
+ if("${OpenGL_GL_PREFERENCE}" STREQUAL "GLVND")
+- set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lGL")
++ link_libraries("GL")
+ add_compile_definitions(WL_USE_GLVND)
+ message(STATUS "Adding linker flags for GLVND.")
+ endif()
+--
+2.25.1
+
diff --git a/games-strategy/widelands/widelands-0.20.ebuild b/games-strategy/widelands/widelands-0.20-r1.ebuild
similarity index 97%
rename from games-strategy/widelands/widelands-0.20.ebuild
rename to games-strategy/widelands/widelands-0.20-r1.ebuild
index e714c6e11a9..335598744fe 100644
--- a/games-strategy/widelands/widelands-0.20.ebuild
+++ b/games-strategy/widelands/widelands-0.20-r1.ebuild
@@ -44,6 +44,7 @@ S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}/${PN}-0.20_rc1-cxxflags.patch"
+ "${FILESDIR}/${PN}-0.20-glvnd.patch"
)
src_prepare() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/
@ 2020-06-14 22:13 David Seifert
0 siblings, 0 replies; 5+ messages in thread
From: David Seifert @ 2020-06-14 22:13 UTC (permalink / raw
To: gentoo-commits
commit: 030ea7d9d612e6effe3f833e5f7cba260be9452c
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 14 22:13:28 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 14 22:13:28 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030ea7d9
games-strategy/widelands: Fix for boost 1.73
Closes: https://bugs.gentoo.org/724316
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>
.../files/widelands-0.20-boost-1.73.patch | 22 ++++++++++++++++++++++
games-strategy/widelands/widelands-0.20-r1.ebuild | 5 +++--
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch b/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch
new file mode 100644
index 00000000000..99a8c51190b
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-0.20-boost-1.73.patch
@@ -0,0 +1,22 @@
+--- a/src/editor/ui_menus/categorized_item_selection_menu.h
++++ b/src/editor/ui_menus/categorized_item_selection_menu.h
+@@ -124,7 +124,7 @@
+
+ UI::Checkbox* cb = create_checkbox(horizontal, descriptions_.get(i));
+ cb->set_state(tool_->is_enabled(i));
+- cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, _1));
++ cb->changedto.connect(boost::bind(&CategorizedItemSelectionMenu::selected, this, i, boost::placeholders::_1));
+ checkboxes_[i] = cb;
+ horizontal->add(cb);
+ horizontal->add_space(kSpacing);
+--- a/src/ui_basic/box.cc
++++ b/src/ui_basic/box.cc
+@@ -104,7 +104,7 @@
+ int maxbreadth = mindesiredbreadth_;
+
+ for (uint32_t idx = 0; idx < items_.size(); ++idx) {
+- int depth, breadth = 0;
++ int depth = 0, breadth = 0;
+ get_item_desired_size(idx, &depth, &breadth);
+
+ totaldepth += depth;
diff --git a/games-strategy/widelands/widelands-0.20-r1.ebuild b/games-strategy/widelands/widelands-0.20-r1.ebuild
index 14a80be7f6c..c0629174bc7 100644
--- a/games-strategy/widelands/widelands-0.20-r1.ebuild
+++ b/games-strategy/widelands/widelands-0.20-r1.ebuild
@@ -43,8 +43,9 @@ CMAKE_BUILD_TYPE="Release"
S="${WORKDIR}/${MY_P}"
PATCHES=(
- "${FILESDIR}/${PN}-0.20_rc1-cxxflags.patch"
- "${FILESDIR}/${PN}-0.20-glvnd.patch"
+ "${FILESDIR}"/${PN}-0.20_rc1-cxxflags.patch
+ "${FILESDIR}"/${PN}-0.20-glvnd.patch
+ "${FILESDIR}"/${PN}-0.20-boost-1.73.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/
@ 2021-08-17 13:26 Ionen Wolkens
0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2021-08-17 13:26 UTC (permalink / raw
To: gentoo-commits
commit: c8e688edab6e01b301a4b83febab2f010357f29c
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 17 13:22:11 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug 17 13:25:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e688ed
games-strategy/widelands: backport upstream fix for boost-1.77
Closes: https://bugs.gentoo.org/808747
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../widelands/files/widelands-1.0-boost-1.77.patch | 16 ++++++++++++++++
games-strategy/widelands/widelands-1.0.ebuild | 4 ++++
2 files changed, 20 insertions(+)
diff --git a/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch b/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch
new file mode 100644
index 00000000000..69c1cb8caf4
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/808747
+
+https://github.com/widelands/widelands/commit/316eaea
+From: matthiakl <t-m.42@mailpost.spdns.org>
+Date: Sat, 14 Aug 2021 19:24:08 +0200
+Subject: [PATCH] Added missing direct incude (#5025)
+--- a/src/network/bufferedconnection.h
++++ b/src/network/bufferedconnection.h
+@@ -20,6 +20,7 @@
+ #ifndef WL_NETWORK_BUFFEREDCONNECTION_H
+ #define WL_NETWORK_BUFFEREDCONNECTION_H
+
++#include <map>
+ #include <memory>
+ #include <mutex>
+ #include <thread>
diff --git a/games-strategy/widelands/widelands-1.0.ebuild b/games-strategy/widelands/widelands-1.0.ebuild
index 6b04bc90639..1c8af8b6ba6 100644
--- a/games-strategy/widelands/widelands-1.0.ebuild
+++ b/games-strategy/widelands/widelands-1.0.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
${PYTHON_DEPS}
sys-devel/gettext"
+PATCHES=(
+ "${FILESDIR}"/${P}-boost-1.77.patch
+)
+
src_configure() {
CMAKE_BUILD_TYPE="Release"
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/
@ 2023-01-27 5:26 Sam James
0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2023-01-27 5:26 UTC (permalink / raw
To: gentoo-commits
commit: 3075f396dfd814a3a8b4d2fdba9dd3d88dab1176
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 04:46:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 27 05:23:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3075f396
games-strategy/widelands: fix build w/ gcc 13
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../widelands/files/widelands-1.1-gcc-13.patch | 124 +++++++++++++++++++++
games-strategy/widelands/widelands-1.1.ebuild | 4 +
2 files changed, 128 insertions(+)
diff --git a/games-strategy/widelands/files/widelands-1.1-gcc-13.patch b/games-strategy/widelands/files/widelands-1.1-gcc-13.patch
new file mode 100644
index 000000000000..c2f2501dff0d
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-1.1-gcc-13.patch
@@ -0,0 +1,124 @@
+https://github.com/widelands/widelands/pull/5765
+
+From 14b9c357073126d11d719fd1a539bb7ef0154791 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Wed, 25 Jan 2023 23:42:42 +0100
+Subject: [PATCH] Fix build with gcc 13 by including <cstdint>
+
+Like other versions before, gcc 13 moved some includes around and as a
+result <cstdint> is no longer transitively included. Explicitly include
+it for uint16_t.
+--- a/src/base/md5.h
++++ b/src/base/md5.h
+@@ -21,6 +21,7 @@
+ #define WL_BASE_MD5_H
+
+ #include <cassert>
++#include <cstdint>
+ #include <cstring>
+ #include <string>
+
+--- a/src/base/random.h
++++ b/src/base/random.h
+@@ -20,6 +20,7 @@
+ #define WL_BASE_RANDOM_H
+
+ #include <cassert>
++#include <cstdint>
+ #include <string>
+
+ extern const uint32_t rng_sbox[256];
+--- a/src/base/time_string.h
++++ b/src/base/time_string.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_BASE_TIME_STRING_H
+ #define WL_BASE_TIME_STRING_H
+
++#include <cstdint>
+ #include <string>
+
+ /// Get a string representation conforming to ISO 8601 of the current time (in
+--- a/src/build_info.h
++++ b/src/build_info.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_BUILD_INFO_H
+ #define WL_BUILD_INFO_H
+
++#include <cstdint>
+ #include <string>
+
+ constexpr uint16_t kWidelandsCopyrightStart = 2002;
+--- a/src/graphic/align.h
++++ b/src/graphic/align.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_GRAPHIC_ALIGN_H
+ #define WL_GRAPHIC_ALIGN_H
+
++#include <cstdint>
+ #include <string>
+
+ #include "base/rect.h"
+--- a/src/graphic/text/textstream.h
++++ b/src/graphic/text/textstream.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_GRAPHIC_TEXT_TEXTSTREAM_H
+ #define WL_GRAPHIC_TEXT_TEXTSTREAM_H
+
++#include <cstdint>
+ #include <string>
+
+ namespace RT {
+--- a/src/logic/generic_save_handler.h
++++ b/src/logic/generic_save_handler.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_LOGIC_GENERIC_SAVE_HANDLER_H
+ #define WL_LOGIC_GENERIC_SAVE_HANDLER_H
+
++#include <cstdint>
+ #include <functional>
+
+ #include "io/filesystem/filesystem.h"
+--- a/src/logic/map_revision.h
++++ b/src/logic/map_revision.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_LOGIC_MAP_REVISION_H
+ #define WL_LOGIC_MAP_REVISION_H
+
++#include <cstdint>
+ #include <string>
+
+ namespace Widelands {
+--- a/src/logic/save_handler.h
++++ b/src/logic/save_handler.h
+@@ -19,6 +19,8 @@
+ #ifndef WL_LOGIC_SAVE_HANDLER_H
+ #define WL_LOGIC_SAVE_HANDLER_H
+
++#include <cstdint>
++
+ #include "io/filesystem/filesystem.h"
+
+ namespace Widelands {
+--- a/src/map_io/map_elemental_packet.h
++++ b/src/map_io/map_elemental_packet.h
+@@ -19,6 +19,7 @@
+ #ifndef WL_MAP_IO_MAP_ELEMENTAL_PACKET_H
+ #define WL_MAP_IO_MAP_ELEMENTAL_PACKET_H
+
++#include <cstdint>
+ #include <string>
+ #include <vector>
+
+--- a/src/scripting/persistence.h
++++ b/src/scripting/persistence.h
+@@ -19,6 +19,8 @@
+ #ifndef WL_SCRIPTING_PERSISTENCE_H
+ #define WL_SCRIPTING_PERSISTENCE_H
+
++#include <cstdint>
++
+ #include "scripting/lua.h"
+
+ class FileRead;
+--
+2.39.1
diff --git a/games-strategy/widelands/widelands-1.1.ebuild b/games-strategy/widelands/widelands-1.1.ebuild
index 694f1e6b01d3..4d2e256576f8 100644
--- a/games-strategy/widelands/widelands-1.1.ebuild
+++ b/games-strategy/widelands/widelands-1.1.ebuild
@@ -40,6 +40,10 @@ BDEPEND="
${PYTHON_DEPS}
sys-devel/gettext"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1-gcc-13.patch
+)
+
src_configure() {
CMAKE_BUILD_TYPE=Release # disables -Werror
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/
@ 2024-04-27 12:11 Ionen Wolkens
0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2024-04-27 12:11 UTC (permalink / raw
To: gentoo-commits
commit: 5d1e1d84882ae11cec053390aa7db096b898ff20
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 27 11:38:51 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Apr 27 12:10:35 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d1e1d84
games-strategy/widelands: drop 1.1
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-strategy/widelands/Manifest | 1 -
.../widelands/files/widelands-1.1-gcc-13.patch | 124 ---------------------
games-strategy/widelands/widelands-1.1.ebuild | 59 ----------
3 files changed, 184 deletions(-)
diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest
index ce2d210f4704..586eed9ef89a 100644
--- a/games-strategy/widelands/Manifest
+++ b/games-strategy/widelands/Manifest
@@ -1,2 +1 @@
-DIST widelands-1.1.tar.gz 416104611 BLAKE2B e217ff5a4e3ba0431b96290dd4908d7ddadaf1850e890cee135a54f88162b30d75dbf5bc5f086d6c5e8c5e4410a0a788201117c3615e15a3e2acfd00e8f01272 SHA512 29dbeae0940468c8aad6f0fa610c8467bdb6ecf2ba5fe9175683b7cdaab5f977fa86beb71de29057c829e9738568d15e10bc22fa7fc9e58132151a1a02d72d9d
DIST widelands-1.2.tar.gz 457713595 BLAKE2B b89caef369268b31fb70c4b054f1df3651e974763c6b2d82488a662a7edaed19f525177371592f9ad28cc14194044d48862e22b38a3a449c6e7ed0023bf30d09 SHA512 e05812f93defe8b9a3da60e6ba73a65bba47abec3199298f9a778fb42655aba671cb45a2603c2936538de1e0f82892a183ea5e1df15937b9812d369d068fab81
diff --git a/games-strategy/widelands/files/widelands-1.1-gcc-13.patch b/games-strategy/widelands/files/widelands-1.1-gcc-13.patch
deleted file mode 100644
index c2f2501dff0d..000000000000
--- a/games-strategy/widelands/files/widelands-1.1-gcc-13.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-https://github.com/widelands/widelands/pull/5765
-
-From 14b9c357073126d11d719fd1a539bb7ef0154791 Mon Sep 17 00:00:00 2001
-From: Heiko Becker <heirecka@exherbo.org>
-Date: Wed, 25 Jan 2023 23:42:42 +0100
-Subject: [PATCH] Fix build with gcc 13 by including <cstdint>
-
-Like other versions before, gcc 13 moved some includes around and as a
-result <cstdint> is no longer transitively included. Explicitly include
-it for uint16_t.
---- a/src/base/md5.h
-+++ b/src/base/md5.h
-@@ -21,6 +21,7 @@
- #define WL_BASE_MD5_H
-
- #include <cassert>
-+#include <cstdint>
- #include <cstring>
- #include <string>
-
---- a/src/base/random.h
-+++ b/src/base/random.h
-@@ -20,6 +20,7 @@
- #define WL_BASE_RANDOM_H
-
- #include <cassert>
-+#include <cstdint>
- #include <string>
-
- extern const uint32_t rng_sbox[256];
---- a/src/base/time_string.h
-+++ b/src/base/time_string.h
-@@ -19,6 +19,7 @@
- #ifndef WL_BASE_TIME_STRING_H
- #define WL_BASE_TIME_STRING_H
-
-+#include <cstdint>
- #include <string>
-
- /// Get a string representation conforming to ISO 8601 of the current time (in
---- a/src/build_info.h
-+++ b/src/build_info.h
-@@ -19,6 +19,7 @@
- #ifndef WL_BUILD_INFO_H
- #define WL_BUILD_INFO_H
-
-+#include <cstdint>
- #include <string>
-
- constexpr uint16_t kWidelandsCopyrightStart = 2002;
---- a/src/graphic/align.h
-+++ b/src/graphic/align.h
-@@ -19,6 +19,7 @@
- #ifndef WL_GRAPHIC_ALIGN_H
- #define WL_GRAPHIC_ALIGN_H
-
-+#include <cstdint>
- #include <string>
-
- #include "base/rect.h"
---- a/src/graphic/text/textstream.h
-+++ b/src/graphic/text/textstream.h
-@@ -19,6 +19,7 @@
- #ifndef WL_GRAPHIC_TEXT_TEXTSTREAM_H
- #define WL_GRAPHIC_TEXT_TEXTSTREAM_H
-
-+#include <cstdint>
- #include <string>
-
- namespace RT {
---- a/src/logic/generic_save_handler.h
-+++ b/src/logic/generic_save_handler.h
-@@ -19,6 +19,7 @@
- #ifndef WL_LOGIC_GENERIC_SAVE_HANDLER_H
- #define WL_LOGIC_GENERIC_SAVE_HANDLER_H
-
-+#include <cstdint>
- #include <functional>
-
- #include "io/filesystem/filesystem.h"
---- a/src/logic/map_revision.h
-+++ b/src/logic/map_revision.h
-@@ -19,6 +19,7 @@
- #ifndef WL_LOGIC_MAP_REVISION_H
- #define WL_LOGIC_MAP_REVISION_H
-
-+#include <cstdint>
- #include <string>
-
- namespace Widelands {
---- a/src/logic/save_handler.h
-+++ b/src/logic/save_handler.h
-@@ -19,6 +19,8 @@
- #ifndef WL_LOGIC_SAVE_HANDLER_H
- #define WL_LOGIC_SAVE_HANDLER_H
-
-+#include <cstdint>
-+
- #include "io/filesystem/filesystem.h"
-
- namespace Widelands {
---- a/src/map_io/map_elemental_packet.h
-+++ b/src/map_io/map_elemental_packet.h
-@@ -19,6 +19,7 @@
- #ifndef WL_MAP_IO_MAP_ELEMENTAL_PACKET_H
- #define WL_MAP_IO_MAP_ELEMENTAL_PACKET_H
-
-+#include <cstdint>
- #include <string>
- #include <vector>
-
---- a/src/scripting/persistence.h
-+++ b/src/scripting/persistence.h
-@@ -19,6 +19,8 @@
- #ifndef WL_SCRIPTING_PERSISTENCE_H
- #define WL_SCRIPTING_PERSISTENCE_H
-
-+#include <cstdint>
-+
- #include "scripting/lua.h"
-
- class FileRead;
---
-2.39.1
diff --git a/games-strategy/widelands/widelands-1.1.ebuild b/games-strategy/widelands/widelands-1.1.ebuild
deleted file mode 100644
index 4d2e256576f8..000000000000
--- a/games-strategy/widelands/widelands-1.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake python-any-r1 xdg
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/widelands/widelands.git"
-else
- SRC_URI="https://github.com/widelands/widelands/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
-fi
-
-DESCRIPTION="Game similar to Settlers 2"
-HOMEPAGE="https://www.widelands.org/"
-
-LICENSE="GPL-2+ || ( Apache-2.0 GPL-3 ) BitstreamVera CC-BY-SA-3.0 MIT OFL-1.1"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/icu:=
- media-libs/glew:0=
- media-libs/libglvnd
- media-libs/libpng:=
- media-libs/libsdl2[opengl,sound,video]
- media-libs/sdl2-image[jpeg,png]
- media-libs/sdl2-mixer[vorbis]
- media-libs/sdl2-ttf
- sys-libs/zlib:=[minizip]
- virtual/libintl"
-DEPEND="
- ${RDEPEND}
- dev-cpp/asio"
-BDEPEND="
- ${PYTHON_DEPS}
- sys-devel/gettext"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.1-gcc-13.patch
-)
-
-src_configure() {
- CMAKE_BUILD_TYPE=Release # disables -Werror
-
- local mycmakeargs=(
- -DWL_INSTALL_BASEDIR="${EPREFIX}"/usr/share/doc/${PF}
- -DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin
- -DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/${PN}
- -DGTK_UPDATE_ICON_CACHE=OFF
- -DOPTION_BUILD_TESTS=$(usex test)
- )
-
- cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-27 12:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-12 17:31 [gentoo-commits] repo/gentoo:master commit in: games-strategy/widelands/, games-strategy/widelands/files/ Lars Wendler
-- strict thread matches above, loose matches on Subject: below --
2020-06-14 22:13 David Seifert
2021-08-17 13:26 Ionen Wolkens
2023-01-27 5:26 Sam James
2024-04-27 12:11 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox