Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/corsix-th/, games-simulation/corsix-th/files/
Date: Wed, 27 Jan 2021 18:48:57
Message-Id: 1611772571.38bd62d881868ba616b0ee043727fa05e8bb1b8c.conikost@gentoo
1 commit: 38bd62d881868ba616b0ee043727fa05e8bb1b8c
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 27 18:36:11 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 27 18:36:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38bd62d8
7
8 games-simulation/corsix-th: drop old version
9
10 Package-Manager: Portage-3.0.14, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 games-simulation/corsix-th/Manifest | 1 -
14 games-simulation/corsix-th/corsix-th-0.63.ebuild | 71 ----------------------
15 games-simulation/corsix-th/corsix-th-0.64.ebuild | 67 --------------------
16 .../corsix-th/files/corsix-th-0.62-gcc-10.patch | 10 ---
17 4 files changed, 149 deletions(-)
18
19 diff --git a/games-simulation/corsix-th/Manifest b/games-simulation/corsix-th/Manifest
20 index ae594593e6f..6e83b2aeb32 100644
21 --- a/games-simulation/corsix-th/Manifest
22 +++ b/games-simulation/corsix-th/Manifest
23 @@ -1,2 +1 @@
24 -DIST corsix-th-0.63.tar.gz 4040119 BLAKE2B a700264c21377d53fb031c57428e5a50bbef426f32a3cd8bc4f83174a7f12b76d72050885ae257a6017a03f2f9611106cf9226c606ef726c1220b997eacbc5f1 SHA512 73a170bbf3da0e11ffe30fcbafb80f9e3852ce992dd6ecae2a2da332b9d4927a98efb0208e2056918a4100db54d1bdc564454cadae370cfab87625ca3f9889fd
25 DIST corsix-th-0.64.tar.gz 4062048 BLAKE2B 2b807a5c712a19cac80bae613065dd8c9e1219573a3c288c1433b6fa857c3a93632e9c51ba126a70626b4044d469ca1ebc815257f291fa9f86ea94491aae35fe SHA512 c02d07ae4fb9a1ce008f32c4b9ea12a949316feddca4e2a29e860e0d88efdfa0440d372b00b9d3eda5e5c3ca739085510ebe8650790d06a7e91255b7d0990e6c
26
27 diff --git a/games-simulation/corsix-th/corsix-th-0.63.ebuild b/games-simulation/corsix-th/corsix-th-0.63.ebuild
28 deleted file mode 100644
29 index 9a427ca8e03..00000000000
30 --- a/games-simulation/corsix-th/corsix-th-0.63.ebuild
31 +++ /dev/null
32 @@ -1,71 +0,0 @@
33 -# Copyright 1999-2020 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit cmake xdg
39 -
40 -MY_PN="CorsixTH"
41 -MY_PV="$(ver_rs 2 -)"
42 -
43 -DESCRIPTION="Open source clone of Theme Hospital"
44 -HOMEPAGE="http://corsixth.com"
45 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~arm ~x86"
50 -IUSE="doc +midi +sound +truetype +videos"
51 -
52 -RDEPEND="
53 - >=dev-lang/lua-5.1:0
54 - >=dev-lua/luafilesystem-1.5
55 - >=dev-lua/lpeg-0.9
56 - >=dev-lua/luasocket-3.0_rc1-r4
57 - media-libs/libsdl2[opengl,video]
58 - sound? ( media-libs/sdl2-mixer[midi?] )
59 - truetype? ( >=media-libs/freetype-2.5.3:2 )
60 - videos? ( >=media-video/ffmpeg-2.2.3:0= )
61 -"
62 -
63 -DEPEND="${RDEPEND}"
64 -
65 -BDEPEND="
66 - virtual/pkgconfig
67 - doc? (
68 - app-doc/doxygen[dot]
69 - >=dev-lang/lua-5.1:0
70 - )
71 -"
72 -
73 -S="${WORKDIR}/${MY_PN}-${MY_PV}"
74 -
75 -PATCHES=(
76 - "${FILESDIR}"/${PN}-0.62-gcc-10.patch
77 -)
78 -
79 -src_prepare() {
80 - cmake_src_prepare
81 -}
82 -
83 -src_configure() {
84 - local mycmakeargs=(
85 - -DWITH_AUDIO=$(usex sound)
86 - -DWITH_FREETYPE2=$(usex truetype)
87 - -DWITH_MOVIES=$(usex videos)
88 - )
89 - cmake_src_configure
90 -}
91 -
92 -src_compile() {
93 - cmake_src_compile
94 - use doc && cmake_src_compile doc
95 -}
96 -
97 -src_install() {
98 - cmake_src_install
99 - dodoc {changelog,CONTRIBUTING}.txt
100 -
101 - docinto html
102 - use doc && dodoc -r "${BUILD_DIR}"/doc/*
103 -}
104
105 diff --git a/games-simulation/corsix-th/corsix-th-0.64.ebuild b/games-simulation/corsix-th/corsix-th-0.64.ebuild
106 deleted file mode 100644
107 index 78a3d26cfd7..00000000000
108 --- a/games-simulation/corsix-th/corsix-th-0.64.ebuild
109 +++ /dev/null
110 @@ -1,67 +0,0 @@
111 -# Copyright 1999-2020 Gentoo Authors
112 -# Distributed under the terms of the GNU General Public License v2
113 -
114 -EAPI=7
115 -
116 -inherit cmake xdg
117 -
118 -MY_PN="CorsixTH"
119 -MY_PV="$(ver_rs 2 -)"
120 -
121 -DESCRIPTION="Open source clone of Theme Hospital"
122 -HOMEPAGE="http://corsixth.com"
123 -SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="MIT"
126 -SLOT="0"
127 -KEYWORDS="~amd64 ~arm ~x86"
128 -IUSE="doc +midi +sound +truetype +videos"
129 -
130 -RDEPEND="
131 - >=dev-lang/lua-5.1:0
132 - >=dev-lua/luafilesystem-1.5
133 - >=dev-lua/lpeg-0.9
134 - >=dev-lua/luasocket-3.0_rc1-r4
135 - media-libs/libsdl2[opengl,video]
136 - sound? ( media-libs/sdl2-mixer[midi?] )
137 - truetype? ( >=media-libs/freetype-2.5.3:2 )
138 - videos? ( >=media-video/ffmpeg-2.2.3:0= )
139 -"
140 -
141 -DEPEND="${RDEPEND}"
142 -
143 -BDEPEND="
144 - virtual/pkgconfig
145 - doc? (
146 - app-doc/doxygen[dot]
147 - >=dev-lang/lua-5.1:0
148 - )
149 -"
150 -
151 -S="${WORKDIR}/${MY_PN}-${MY_PV}"
152 -
153 -src_prepare() {
154 - cmake_src_prepare
155 -}
156 -
157 -src_configure() {
158 - local mycmakeargs=(
159 - -DWITH_AUDIO=$(usex sound)
160 - -DWITH_FREETYPE2=$(usex truetype)
161 - -DWITH_MOVIES=$(usex videos)
162 - )
163 - cmake_src_configure
164 -}
165 -
166 -src_compile() {
167 - cmake_src_compile
168 - use doc && cmake_src_compile doc
169 -}
170 -
171 -src_install() {
172 - cmake_src_install
173 - dodoc {changelog,CONTRIBUTING}.txt
174 -
175 - docinto html
176 - use doc && dodoc -r "${BUILD_DIR}"/doc/*
177 -}
178
179 diff --git a/games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch b/games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch
180 deleted file mode 100644
181 index ff820f44946..00000000000
182 --- a/games-simulation/corsix-th/files/corsix-th-0.62-gcc-10.patch
183 +++ /dev/null
184 @@ -1,10 +0,0 @@
185 ---- a/CorsixTH/Src/th_lua_map.cpp
186 -+++ b/CorsixTH/Src/th_lua_map.cpp
187 -@@ -26,6 +26,7 @@ SOFTWARE.
188 - #include <cstring>
189 - #include <string>
190 - #include <exception>
191 -+#include <stdexcept> /* std::out_of_range */
192 -
193 - static const int player_max = 4;
194 -