summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-23 08:42:25 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-23 08:58:16 -0400
commit9c1504651fd01e2a5faffd753783495880e39572 (patch)
tree5ac01f702b5a47a87a44fc0da192c3b5b4178159 /games-strategy
parentgames-strategy/widelands: add 1.1 (diff)
downloadgentoo-9c1504651fd01e2a5faffd753783495880e39572.tar.gz
gentoo-9c1504651fd01e2a5faffd753783495880e39572.tar.bz2
gentoo-9c1504651fd01e2a5faffd753783495880e39572.zip
games-strategy/widelands: sync live
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/widelands/widelands-9999.ebuild28
1 files changed, 13 insertions, 15 deletions
diff --git a/games-strategy/widelands/widelands-9999.ebuild b/games-strategy/widelands/widelands-9999.ebuild
index 6b04bc906390..8d19ee6f56bb 100644
--- a/games-strategy/widelands/widelands-9999.ebuild
+++ b/games-strategy/widelands/widelands-9999.ebuild
@@ -1,24 +1,23 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit xdg cmake python-any-r1
-
-DESCRIPTION="Game similar to Settlers 2"
-HOMEPAGE="https://www.widelands.org/"
+PYTHON_COMPAT=( python3_{8..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 ~x86"
+ KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
fi
-LICENSE="|| ( Apache-2.0 GPL-3 ) BitstreamVera CC-BY-SA-3.0 GPL-2 GPL-2+ MIT OFL-1.1 ZLIB"
+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 )"
@@ -32,22 +31,21 @@ RDEPEND="
media-libs/sdl2-image[jpeg,png]
media-libs/sdl2-mixer[vorbis]
media-libs/sdl2-ttf
- net-misc/curl
- sys-libs/zlib:=
+ sys-libs/zlib:=[minizip]
virtual/libintl"
DEPEND="
${RDEPEND}
- dev-libs/boost"
+ dev-cpp/asio"
BDEPEND="
${PYTHON_DEPS}
sys-devel/gettext"
src_configure() {
- CMAKE_BUILD_TYPE="Release"
+ CMAKE_BUILD_TYPE=Release # disables -Werror
local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/bin
-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)