summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-12-01 10:21:18 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-12-01 22:13:53 -0500
commitb62da93d1c576e219992db512e9553c96295f963 (patch)
treee109ec14f9d3c1397822e74fd08ea4950d9e37a8 /games-strategy
parentgames-arcade/cdogs-sdl: drop 1.3.1 (diff)
downloadgentoo-b62da93d1c576e219992db512e9553c96295f963.tar.gz
gentoo-b62da93d1c576e219992db512e9553c96295f963.tar.bz2
gentoo-b62da93d1c576e219992db512e9553c96295f963.zip
games-strategy/widelands: drop 1.0
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/widelands/Manifest1
-rw-r--r--games-strategy/widelands/files/widelands-1.0-boost-1.77.patch16
-rw-r--r--games-strategy/widelands/files/widelands-1.0-gcc12-werror.patch29
-rw-r--r--games-strategy/widelands/widelands-1.0.ebuild62
4 files changed, 0 insertions, 108 deletions
diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest
index bf07695d8d51..0a4c8d53cb7d 100644
--- a/games-strategy/widelands/Manifest
+++ b/games-strategy/widelands/Manifest
@@ -1,2 +1 @@
-DIST widelands-1.0.tar.gz 792124780 BLAKE2B 03f3eeacd8a9a867020be8ed086f139dc7f2fdf30b901edfc1d86bf9c245a71c3c4358d5589f1cd7734b6ac3bf93bab38870544050628f44863decbed86f6d47 SHA512 1092750944a8669682097dfbd2b578cdb8fab377f32cb81ce8d85b9d9b2e8ae8c4c73500c0a89be649b360fd7e086e19595eba37cecb8d64679e46f7da13e46e
DIST widelands-1.1.tar.gz 416104611 BLAKE2B e217ff5a4e3ba0431b96290dd4908d7ddadaf1850e890cee135a54f88162b30d75dbf5bc5f086d6c5e8c5e4410a0a788201117c3615e15a3e2acfd00e8f01272 SHA512 29dbeae0940468c8aad6f0fa610c8467bdb6ecf2ba5fe9175683b7cdaab5f977fa86beb71de29057c829e9738568d15e10bc22fa7fc9e58132151a1a02d72d9d
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
deleted file mode 100644
index 69c1cb8caf43..000000000000
--- a/games-strategy/widelands/files/widelands-1.0-boost-1.77.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-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/files/widelands-1.0-gcc12-werror.patch b/games-strategy/widelands/files/widelands-1.0-gcc12-werror.patch
deleted file mode 100644
index a00603a7969c..000000000000
--- a/games-strategy/widelands/files/widelands-1.0-gcc12-werror.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Drop -Werror= (uninitialized cause issues from gcc-12) and also backport
-fix for the offending variable.
-
-Note: upstream changed how -Werror is handled next release, currently pass
-a hard non-specific -Werror and disables it for gcc-12 (review on bump, see
-commit/PR below).
-
-https://bugs.gentoo.org/859277
-https://github.com/widelands/widelands/pull/5415
-https://github.com/widelands/widelands/commit/e4da6d624
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -312,8 +312,2 @@
- if(NOT MSVC)
-- # Turn some warnings into errors.
-- wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=format-security")
-- wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=return-type")
-- wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=shadow")
-- wl_add_flag(WL_COMPILE_DIAGNOSTICS "-Werror=uninitialized")
--
- wl_add_flag(WL_GENERIC_CXX_FLAGS "-std=c++11")
---- a/src/editor/editorinteractive.h
-+++ b/src/editor/editorinteractive.h
-@@ -87,4 +87,4 @@
- EditorIncreaseResourcesTool increase_resources;
-- EditorSetPortSpaceTool set_port_space;
- EditorUnsetPortSpaceTool unset_port_space;
-+ EditorSetPortSpaceTool set_port_space;
- EditorSetOriginTool set_origin;
diff --git a/games-strategy/widelands/widelands-1.0.ebuild b/games-strategy/widelands/widelands-1.0.ebuild
deleted file mode 100644
index 62799a6e424f..000000000000
--- a/games-strategy/widelands/widelands-1.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit xdg cmake python-any-r1
-
-DESCRIPTION="Game similar to Settlers 2"
-HOMEPAGE="https://www.widelands.org/"
-
-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
-
-LICENSE="|| ( Apache-2.0 GPL-3 ) BitstreamVera CC-BY-SA-3.0 GPL-2 GPL-2+ MIT OFL-1.1 ZLIB"
-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
- net-misc/curl
- sys-libs/zlib:=
- virtual/libintl"
-DEPEND="
- ${RDEPEND}
- dev-libs/boost"
-BDEPEND="
- ${PYTHON_DEPS}
- sys-devel/gettext"
-
-PATCHES=(
- "${FILESDIR}"/${P}-boost-1.77.patch
- "${FILESDIR}"/${P}-gcc12-werror.patch
-)
-
-src_configure() {
- CMAKE_BUILD_TYPE="Release"
-
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/bin
- -DWL_INSTALL_BASEDIR="${EPREFIX}"/usr/share/doc/${PF}
- -DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/${PN}
- -DGTK_UPDATE_ICON_CACHE=OFF
- -DOPTION_BUILD_TESTS=$(usex test)
- )
-
- cmake_src_configure
-}