1 |
commit: 6a0928ec00e9fc80de30ef0383a9d32eaabb1521 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 2 14:47:17 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 2 14:52:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a0928ec |
7 |
|
8 |
games-strategy/widelands: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
games-strategy/widelands/Manifest | 1 - |
14 |
.../widelands/files/widelands-0.18-cxxflags.patch | 12 ---- |
15 |
games-strategy/widelands/widelands-0.18-r1.ebuild | 69 ---------------------- |
16 |
3 files changed, 82 deletions(-) |
17 |
|
18 |
diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest |
19 |
index b570f4d1511..b621b800bf4 100644 |
20 |
--- a/games-strategy/widelands/Manifest |
21 |
+++ b/games-strategy/widelands/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
-DIST widelands-build18-src.tar.bz2 183443325 BLAKE2B 100555b7a800cac1094a768edd40e6b44d6bd0d36386c6f057e0cd81f9b03404b249f259c85d3fae655d7343bb50c41a70f228651530c13092e50190fdd2f9b8 SHA512 9b01c0a7e197360ddd7e21292fc8ba5d1102e24f3a9ec35cfbbf67413a0e9d69abeccd2bc3f6aad05b42cabff32112466803738b41f61562d843779e0c974e72 |
24 |
DIST widelands-build20-rc1.tar.bz2 232490916 BLAKE2B 7dd13c325fa0dc891a5ab3cc643ae86025c5e853909d172b39d9d1cd2a41132d099f3d03349322b03dc52353f1465391ec006a83e70eb6554be133199efd96b8 SHA512 2d713db8e4a0774e8a6615b6f0dbec4f29870d69fa9bf48db8694316f7320b58ee5afa5a7796e0886471c9c787954c21f478b1364f52ce01a23212a7512465a6 |
25 |
DIST widelands-build20.tar.bz2 232364340 BLAKE2B 1d8e2cd28d2ac3e2425c91a9872a3f158d7063a2c6c669d95df347561ef35dfca479fd81252d61008a3282c99a2ce70c4d904622272dd86477a731fc711306b1 SHA512 25280db6a57adeb37d13db35ce9eb41a5478534b04772240f6228c180f5a41a55fc414dab66e724945442985cbbba7a8a59a582291aca176e0bd8ae6c08760e5 |
26 |
|
27 |
diff --git a/games-strategy/widelands/files/widelands-0.18-cxxflags.patch b/games-strategy/widelands/files/widelands-0.18-cxxflags.patch |
28 |
deleted file mode 100644 |
29 |
index f6b65400bf8..00000000000 |
30 |
--- a/games-strategy/widelands/files/widelands-0.18-cxxflags.patch |
31 |
+++ /dev/null |
32 |
@@ -1,12 +0,0 @@ |
33 |
-diff -ru widelands-build18-src.orig/CMakeLists.txt widelands-build18-src/CMakeLists.txt |
34 |
---- widelands-build18-src.orig/CMakeLists.txt 2014-02-22 04:06:51.000000000 -0500 |
35 |
-+++ widelands-build18-src/CMakeLists.txt 2016-03-23 23:04:50.536259815 -0400 |
36 |
-@@ -271,7 +271,7 @@ |
37 |
- ENDIF (WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.1" OR WLBUILD_COMPILERVERSION_REP STREQUAL "4.5.2") |
38 |
- ENDIF (CMAKE_COMPILER_IS_GNUCXX) |
39 |
- |
40 |
--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) |
41 |
-+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) |
42 |
- |
43 |
- #If building with MSVC, then check for 3rdparty libs |
44 |
- if (DEFINED MSVC) |
45 |
|
46 |
diff --git a/games-strategy/widelands/widelands-0.18-r1.ebuild b/games-strategy/widelands/widelands-0.18-r1.ebuild |
47 |
deleted file mode 100644 |
48 |
index adee0947e0b..00000000000 |
49 |
--- a/games-strategy/widelands/widelands-0.18-r1.ebuild |
50 |
+++ /dev/null |
51 |
@@ -1,69 +0,0 @@ |
52 |
-# Copyright 1999-2017 Gentoo Foundation |
53 |
-# Distributed under the terms of the GNU General Public License v2 |
54 |
- |
55 |
-EAPI=6 |
56 |
- |
57 |
-inherit eutils versionator cmake-utils |
58 |
- |
59 |
-MY_PV=build$(get_version_component_range 2) |
60 |
-MY_P=${PN}-${MY_PV}-src |
61 |
- |
62 |
-DESCRIPTION="A game similar to Settlers 2" |
63 |
-HOMEPAGE="http://www.widelands.org/" |
64 |
-SRC_URI="https://launchpad.net/widelands/${MY_PV}/build-$(get_version_component_range 2)/+download/${MY_P}.tar.bz2" |
65 |
- |
66 |
-LICENSE="GPL-2+" |
67 |
-SLOT="0" |
68 |
-KEYWORDS="~amd64 ~x86" |
69 |
-IUSE="" |
70 |
- |
71 |
-RDEPEND=" |
72 |
- dev-lang/lua:0 |
73 |
- >=dev-libs/boost-1.48:= |
74 |
- media-libs/glew:0= |
75 |
- media-libs/libpng:0= |
76 |
- media-libs/libsdl[video] |
77 |
- media-libs/sdl-gfx |
78 |
- media-libs/sdl-image[jpeg,png] |
79 |
- media-libs/sdl-mixer[vorbis] |
80 |
- media-libs/sdl-net |
81 |
- media-libs/sdl-ttf |
82 |
- sys-libs/zlib[minizip]" |
83 |
-DEPEND="${RDEPEND}" |
84 |
- |
85 |
-S=${WORKDIR}/${MY_P} |
86 |
- |
87 |
-CMAKE_BUILD_TYPE=Release |
88 |
- |
89 |
-PATCHES=( |
90 |
- "${FILESDIR}"/${P}-cxxflags.patch |
91 |
-) |
92 |
- |
93 |
-src_prepare() { |
94 |
- cmake-utils_src_prepare |
95 |
- |
96 |
- sed -i -e 's:__ppc__:__PPC__:' src/s2map.cc || die |
97 |
- sed -i -e '/WL_VERSION_MINOR/s/17/18/' CMakeLists.txt || die |
98 |
-} |
99 |
- |
100 |
-src_configure() { |
101 |
- local mycmakeargs=( |
102 |
- -DWL_VERSION_STANDARD=true |
103 |
- |
104 |
- # Game is NOT happy being moved from /usr/share/games |
105 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share/games/${PN} |
106 |
- |
107 |
- -DWL_INSTALL_PREFIX="${EPREFIX}"/usr/games |
108 |
- -DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN} |
109 |
- -DWL_INSTALL_LOCALEDIR="${EPREFIX}"/usr/share/games/${PN}/locale |
110 |
- -DWL_INSTALL_BINDIR="${EPREFIX}"/usr/bin |
111 |
- ) |
112 |
- cmake-utils_src_configure |
113 |
-} |
114 |
- |
115 |
-src_install() { |
116 |
- cmake-utils_src_install |
117 |
- |
118 |
- newicon pics/wl-ico-128.png ${PN}.png |
119 |
- make_desktop_entry ${PN} ${PN^} |
120 |
-} |