summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-strategy/widelands/Manifest1
-rw-r--r--games-strategy/widelands/files/widelands-0.18-cxxflags.patch12
-rw-r--r--games-strategy/widelands/widelands-0.18-r1.ebuild69
3 files changed, 0 insertions, 82 deletions
diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest
index b570f4d15118..b621b800bf4e 100644
--- a/games-strategy/widelands/Manifest
+++ b/games-strategy/widelands/Manifest
@@ -1,3 +1,2 @@
-DIST widelands-build18-src.tar.bz2 183443325 BLAKE2B 100555b7a800cac1094a768edd40e6b44d6bd0d36386c6f057e0cd81f9b03404b249f259c85d3fae655d7343bb50c41a70f228651530c13092e50190fdd2f9b8 SHA512 9b01c0a7e197360ddd7e21292fc8ba5d1102e24f3a9ec35cfbbf67413a0e9d69abeccd2bc3f6aad05b42cabff32112466803738b41f61562d843779e0c974e72
DIST widelands-build20-rc1.tar.bz2 232490916 BLAKE2B 7dd13c325fa0dc891a5ab3cc643ae86025c5e853909d172b39d9d1cd2a41132d099f3d03349322b03dc52353f1465391ec006a83e70eb6554be133199efd96b8 SHA512 2d713db8e4a0774e8a6615b6f0dbec4f29870d69fa9bf48db8694316f7320b58ee5afa5a7796e0886471c9c787954c21f478b1364f52ce01a23212a7512465a6
DIST widelands-build20.tar.bz2 232364340 BLAKE2B 1d8e2cd28d2ac3e2425c91a9872a3f158d7063a2c6c669d95df347561ef35dfca479fd81252d61008a3282c99a2ce70c4d904622272dd86477a731fc711306b1 SHA512 25280db6a57adeb37d13db35ce9eb41a5478534b04772240f6228c180f5a41a55fc414dab66e724945442985cbbba7a8a59a582291aca176e0bd8ae6c08760e5
diff --git a/games-strategy/widelands/files/widelands-0.18-cxxflags.patch b/games-strategy/widelands/files/widelands-0.18-cxxflags.patch
deleted file mode 100644
index f6b65400bf82..000000000000
--- a/games-strategy/widelands/files/widelands-0.18-cxxflags.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru widelands-build18-src.orig/CMakeLists.txt widelands-build18-src/CMakeLists.txt
---- widelands-build18-src.orig/CMakeLists.txt 2014-02-22 04:06:51.000000000 -0500
-+++ widelands-build18-src/CMakeLists.txt 2016-03-23 23:04:50.536259815 -0400
-@@ -271,7 +271,7 @@
- ENDIF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2")
- ENDIF (CMAKE_COMPILER_IS_GNUCXX)
-
--set (CMAKE_CXX_FLAGS_RELEASE "${WL_COMPILERFLAG_CXXSTD} ${WL_COMPILERFLAG_OPTIMIZATIONS} -DNDEBUG${WL_COMPILERFLAG_OLDSTYLECAST}${WL_COMPILERFLAG_GENERICWARNINGS}${WL_COMPILERFLAG_EXTRAWARNINGS}${WL_COMPILERFLAG_GCCWARNINGS}${WL_COMPILERFLAG_STRICT}" CACHE STRING "Set by widelands CMakeLists.txt" FORCE)
-+set (CMAKE_CXX_FLAGS_RELEASE "${WL_COMPILERFLAG_CXXSTD} -DNDEBUG${WL_COMPILERFLAG_OLDSTYLECAST}${WL_COMPILERFLAG_GENERICWARNINGS}${WL_COMPILERFLAG_EXTRAWARNINGS}${WL_COMPILERFLAG_GCCWARNINGS}${WL_COMPILERFLAG_STRICT}" CACHE STRING "Set by widelands CMakeLists.txt" FORCE)
-
- #If building with MSVC, then check for 3rdparty libs
- if (DEFINED MSVC)
diff --git a/games-strategy/widelands/widelands-0.18-r1.ebuild b/games-strategy/widelands/widelands-0.18-r1.ebuild
deleted file mode 100644
index adee0947e0bc..000000000000
--- a/games-strategy/widelands/widelands-0.18-r1.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils versionator cmake-utils
-
-MY_PV=build$(get_version_component_range 2)
-MY_P=${PN}-${MY_PV}-src
-
-DESCRIPTION="A game similar to Settlers 2"
-HOMEPAGE="http://www.widelands.org/"
-SRC_URI="https://launchpad.net/widelands/${MY_PV}/build-$(get_version_component_range 2)/+download/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-lang/lua:0
- >=dev-libs/boost-1.48:=
- media-libs/glew:0=
- media-libs/libpng:0=
- media-libs/libsdl[video]
- media-libs/sdl-gfx
- media-libs/sdl-image[jpeg,png]
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-net
- media-libs/sdl-ttf
- sys-libs/zlib[minizip]"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${MY_P}
-
-CMAKE_BUILD_TYPE=Release
-
-PATCHES=(
- "${FILESDIR}"/${P}-cxxflags.patch
-)
-
-src_prepare() {
- cmake-utils_src_prepare
-
- sed -i -e 's:__ppc__:__PPC__:' src/s2map.cc || die
- sed -i -e '/WL_VERSION_MINOR/s/17/18/' CMakeLists.txt || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DWL_VERSION_STANDARD=true
-
- # Game is NOT happy being moved from /usr/share/games
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share/games/${PN}
-
- -DWL_INSTALL_PREFIX="${EPREFIX}"/usr/games
- -DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}
- -DWL_INSTALL_LOCALEDIR="${EPREFIX}"/usr/share/games/${PN}/locale
- -DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- newicon pics/wl-ico-128.png ${PN}.png
- make_desktop_entry ${PN} ${PN^}
-}