1 |
commit: 17dfc81196111be67a038944a8a597349a24c397 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 1 14:08:28 2019 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 21:13:57 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17dfc811 |
7 |
|
8 |
games-simulation/openrct2: drop old version |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
games-simulation/openrct2/Manifest | 3 - |
14 |
.../openrct2-0.2.1-disable-tests-with-assets.patch | 50 --------- |
15 |
games-simulation/openrct2/metadata.xml | 1 - |
16 |
games-simulation/openrct2/openrct2-0.2.1.ebuild | 122 --------------------- |
17 |
4 files changed, 176 deletions(-) |
18 |
|
19 |
diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest |
20 |
index 6b447756bce..95e80e71498 100644 |
21 |
--- a/games-simulation/openrct2/Manifest |
22 |
+++ b/games-simulation/openrct2/Manifest |
23 |
@@ -1,7 +1,4 @@ |
24 |
-DIST openrct2-0.2.1.tar.gz 6571807 BLAKE2B f5a72072ce4cda9b68d1f82f56932f1a074c4ea4050d63e4bf39de1220544d543265c67f764f85d0cc85b6ff42f3fa67fc71e7dd9c5eacb1881be47e2d79a84f SHA512 04bf2cfbb2d3b9fb0a8423cfffc70b81a2a2518af73b9a2c2c65b2a4e5ef2380621d4d3aaefaea73d926a99259dfb047d6fcc330cd0d7227541cffead28ba540 |
25 |
DIST openrct2-0.2.4.tar.gz 6805976 BLAKE2B 7860746d1705804682756097ff37d4584d0ebb20c450c08b88134795e9f3c375dfb888a67302f530cd55700eaa5cd13149c365c30a5d267d382b39225f06d210 SHA512 956044b5fa5e55256a33f352d2d1e8a4eb6738b98dc9894807b3628b5c5c08f3229c952fbf8b33ad867771f88c6d7e17ad1a8a4e050f8f269a6152d013afce03 |
26 |
DIST openrct2-objects-1.0.12.zip 2173875 BLAKE2B d344dde3dc376004b9e303a489c058a574c2f8babcce8c9998ef12f2b91e3fe7d3e22e1afc81aadd39637f3f91a5d36c4267aed06980686fd909cc515f4c8fde SHA512 d17d2197b66d22e33a246651a0c544a49a6d6a809612d26a851dc4b40bb9e1bf5079bbe5b1a3b7d41f541fc41ce41717d772a5579aa2cdc9ec1dfea72b5a3144 |
27 |
-DIST openrct2-objects-v1.0.7.zip 2164242 BLAKE2B 003baf3400c52e3b2efdc208f6c64a45f7c9274aca3b729856a60fc1e72c8b6440b663d3fd791ebde7412df9920095367763bcad58257534b32c222d97976dcb SHA512 8e77adae59062582a22be69e81d144477482148c839abbea76e6bbbc65ca6426a8354bd4726176702a41684f01a62c5bddc0f6c2c6e42fa91c88815879c91fe5 |
28 |
DIST openrct2-replays-0.0.4.zip 1098833 BLAKE2B efe4f72b16285d8e6508313f16b892b02f1b124cf9b4d146731280f5090d071d3351834e6d4ab51122804fbbcb49044be4e681182141aac93795c3b1953b6590 SHA512 5c2469bfdaa94a6007f6788878f4e80d87fbbfd48b522e1bd2a22c2aa0c98583159b9559fd45f7f9450d544a99a59b6c17399d9ac91a171a86135f0e1a5b3e71 |
29 |
-DIST openrct2-title-sequence-v0.1.2.zip 4073116 BLAKE2B a36fb07e8da62afce129f2224f4cf5cc226922094132a3dc515fda1f02e0f8bbe07c973363f824ae58a54a26f252ad96f3f673bf5f142be5c964f45b6f712ed6 SHA512 7592c5397ceb27347c127ae5c4f8e11d7ef2ff23c97f627b354f941894420f546ffdcff88e2348e42c82d182ccf620e739c745d894a9b5650a0d7d028b68a106 |
30 |
DIST openrct2-title-sequences-0.1.2c.zip 2980030 BLAKE2B f91168bea0a4f88a801c95ea45759e0d1c887a89c18dbbded5887d2914db7119dd65c231aa422e4f8a964a81d832eae05bffaa8b7908fac39a63792d082b53a0 SHA512 0e544d236d5f6ac7f68d75ba1f56f043c76c77676cbb92e6fdbf68a6ae2dc6c41dbdad6083ceec36b2f774bcdd99f64f28de73b208d6a39a8218a9e95502d46e |
31 |
|
32 |
diff --git a/games-simulation/openrct2/files/openrct2-0.2.1-disable-tests-with-assets.patch b/games-simulation/openrct2/files/openrct2-0.2.1-disable-tests-with-assets.patch |
33 |
deleted file mode 100644 |
34 |
index a4f1e237532..00000000000 |
35 |
--- a/games-simulation/openrct2/files/openrct2-0.2.1-disable-tests-with-assets.patch |
36 |
+++ /dev/null |
37 |
@@ -1,50 +0,0 @@ |
38 |
-From 86b45a7a4a4fc9b038bcd0e720cf575b934fb462 Mon Sep 17 00:00:00 2001 |
39 |
-From: "Hendrik v. Raven" <hendrik@××××××××××.de> |
40 |
-Date: Sat, 4 Aug 2018 13:58:31 +0200 |
41 |
-Subject: [PATCH] reintroduce DISABLE_RCT2_TESTS compile option |
42 |
- |
43 |
-the option was removing when restructuring the CI system, but it is |
44 |
-still usefull for package maintainers. |
45 |
---- |
46 |
- test/tests/CMakeLists.txt | 10 +++++++--- |
47 |
- 1 file changed, 7 insertions(+), 3 deletions(-) |
48 |
- |
49 |
-diff --git a/test/tests/CMakeLists.txt b/test/tests/CMakeLists.txt |
50 |
-index 1f862153d..34ab5c884 100644 |
51 |
---- a/test/tests/CMakeLists.txt |
52 |
-+++ b/test/tests/CMakeLists.txt |
53 |
-@@ -1,5 +1,6 @@ |
54 |
- cmake_minimum_required(VERSION 2.6) |
55 |
- |
56 |
-+option(DISABLE_RCT2_TESTS "Disable tests that require RollerCoaster Tycoon 2 assets.") |
57 |
- option(SYSTEM_GTEST "Use the googletest library provided by the system.") |
58 |
- |
59 |
- if (SYSTEM_GTEST) |
60 |
-@@ -172,18 +173,21 @@ set(RIDE_RATINGS_TEST_SOURCES "${CMAKE_CURRENT_LIST_DIR}/RideRatings.cpp" |
61 |
- "${CMAKE_CURRENT_LIST_DIR}/TestData.cpp") |
62 |
- add_executable(test_ride_ratings ${RIDE_RATINGS_TEST_SOURCES}) |
63 |
- target_link_libraries(test_ride_ratings ${GTEST_LIBRARIES} libopenrct2 ${LDL} z) |
64 |
--add_test(NAME ride_ratings COMMAND test_ride_ratings) |
65 |
- |
66 |
- # Multi-launch test |
67 |
- set(MULTILAUNCH_TEST_SOURCES "${CMAKE_CURRENT_LIST_DIR}/MultiLaunch.cpp" |
68 |
- "${CMAKE_CURRENT_LIST_DIR}/TestData.cpp") |
69 |
- add_executable(test_multilaunch ${MULTILAUNCH_TEST_SOURCES}) |
70 |
- target_link_libraries(test_multilaunch ${GTEST_LIBRARIES} libopenrct2 ${LDL} z) |
71 |
--add_test(NAME multilaunch COMMAND test_multilaunch) |
72 |
- |
73 |
- # Tile element test |
74 |
- set(TILE_ELEMENT_TEST_SOURCES "${CMAKE_CURRENT_LIST_DIR}/TileElements.cpp" |
75 |
- "${CMAKE_CURRENT_LIST_DIR}/TestData.cpp") |
76 |
- add_executable(test_tile_elements ${TILE_ELEMENT_TEST_SOURCES}) |
77 |
- target_link_libraries(test_tile_elements ${GTEST_LIBRARIES} libopenrct2 ${LDL} z) |
78 |
--add_test(NAME tile_elements COMMAND test_tile_elements) |
79 |
-+ |
80 |
-+if (NOT DISABLE_RCT2_TESTS) |
81 |
-+ add_test(NAME ride_ratings COMMAND test_ride_ratings) |
82 |
-+ add_test(NAME multilaunch COMMAND test_multilaunch) |
83 |
-+ add_test(NAME tile_elements COMMAND test_tile_elements) |
84 |
-+endif () |
85 |
--- |
86 |
-2.18.0 |
87 |
- |
88 |
|
89 |
diff --git a/games-simulation/openrct2/metadata.xml b/games-simulation/openrct2/metadata.xml |
90 |
index 9fce1c161ff..95e51ef2b73 100644 |
91 |
--- a/games-simulation/openrct2/metadata.xml |
92 |
+++ b/games-simulation/openrct2/metadata.xml |
93 |
@@ -28,7 +28,6 @@ |
94 |
</longdescription> |
95 |
<use> |
96 |
<flag name="lightfx">Enables LightFX for better lightning effects.</flag> |
97 |
- <flag name="multiplayer">Enable multiplayer functionality</flag> |
98 |
<flag name="twitch">Enables streaming of ingame content to Twitch.</flag> |
99 |
</use> |
100 |
<upstream> |
101 |
|
102 |
diff --git a/games-simulation/openrct2/openrct2-0.2.1.ebuild b/games-simulation/openrct2/openrct2-0.2.1.ebuild |
103 |
deleted file mode 100644 |
104 |
index d8620527030..00000000000 |
105 |
--- a/games-simulation/openrct2/openrct2-0.2.1.ebuild |
106 |
+++ /dev/null |
107 |
@@ -1,122 +0,0 @@ |
108 |
-# Copyright 1999-2019 Gentoo Authors |
109 |
-# Distributed under the terms of the GNU General Public License v2 |
110 |
- |
111 |
-EAPI=6 |
112 |
- |
113 |
-inherit cmake-utils gnome2-utils xdg-utils |
114 |
- |
115 |
-DESCRIPTION="An open source re-implementation of RollerCoaster Tycoon 2" |
116 |
-HOMEPAGE="https://openrct2.org/" |
117 |
-if [[ ${PV} == 9999 ]]; then |
118 |
- EGIT_REPO_URI="https://github.com/OpenRCT2/OpenRCT2.git" |
119 |
- EGIT_BRANCH="develop" |
120 |
- inherit git-r3 |
121 |
- SRC_URI="" |
122 |
-else |
123 |
- KEYWORDS="~amd64 ~x86" |
124 |
- SRC_URI="https://github.com/OpenRCT2/OpenRCT2/archive/v${PV}.tar.gz |
125 |
- -> ${P}.tar.gz" |
126 |
- S="${WORKDIR}/OpenRCT2-${PV}" |
127 |
-fi |
128 |
- |
129 |
-TSV="0.1.2" |
130 |
-OBJV="1.0.7" |
131 |
-SRC_URI+=" |
132 |
- https://github.com/OpenRCT2/title-sequences/releases/download/v${TSV}/title-sequence-v${TSV}.zip |
133 |
- -> ${PN}-title-sequence-v${TSV}.zip |
134 |
- https://github.com/OpenRCT2/objects/releases/download/v${OBJV}/objects.zip |
135 |
- -> ${PN}-objects-v${OBJV}.zip" |
136 |
- |
137 |
-LICENSE="GPL-3" |
138 |
-SLOT="0" |
139 |
-IUSE="libressl +multiplayer opengl test truetype +twitch" |
140 |
- |
141 |
-RDEPEND=" |
142 |
- >=dev-libs/jansson-2.5 |
143 |
- >=dev-libs/libzip-1.0 |
144 |
- media-libs/libpng:0= |
145 |
- media-libs/libsdl2 |
146 |
- media-libs/speexdsp |
147 |
- multiplayer? ( |
148 |
- libressl? ( dev-libs/libressl:0= ) |
149 |
- !libressl? ( dev-libs/openssl:0= ) |
150 |
- ) |
151 |
- opengl? ( virtual/opengl ) |
152 |
- truetype? ( |
153 |
- media-libs/sdl2-ttf |
154 |
- media-libs/fontconfig |
155 |
- ) |
156 |
- twitch? ( net-misc/curl[ssl] ) |
157 |
-" |
158 |
-DEPEND="${RDEPEND} |
159 |
- app-arch/unzip |
160 |
- test? ( dev-cpp/gtest ) |
161 |
-" |
162 |
- |
163 |
-PATCHES=( |
164 |
- "${FILESDIR}/${PN}-0.2.1-disable-tests-with-assets.patch" |
165 |
-) |
166 |
- |
167 |
-src_unpack() { |
168 |
- if [[ ${PV} == 9999 ]]; then |
169 |
- git-r3_src_unpack |
170 |
- else |
171 |
- unpack ${P}.tar.gz |
172 |
- fi |
173 |
- |
174 |
- mkdir -p "${S}/data/title" || die |
175 |
- pushd "${S}/data/title" || die |
176 |
- unpack ${PN}-title-sequence-v${TSV}.zip |
177 |
- popd || die |
178 |
- |
179 |
- mkdir -p "${S}/data/object" || die |
180 |
- pushd "${S}/data/object" || die |
181 |
- unpack ${PN}-objects-v${OBJV}.zip |
182 |
- popd || die |
183 |
-} |
184 |
- |
185 |
-src_prepare() { |
186 |
- sed -i CMakeLists.txt -e 's/-Werror//' || die |
187 |
- |
188 |
- cmake-utils_src_prepare |
189 |
-} |
190 |
- |
191 |
-src_configure() { |
192 |
- local mycmakeargs=( |
193 |
- -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" |
194 |
- -DDISABLE_HTTP_TWITCH="$(usex !twitch)" |
195 |
- -DDISABLE_NETWORK="$(usex !multiplayer)" |
196 |
- -DDISABLE_OPENGL="$(usex !opengl)" |
197 |
- -DDISABLE_TTF="$(usex !truetype)" |
198 |
- -DWITH_TESTS="$(usex test)" |
199 |
- -DDOWNLOAD_TITLE_SEQUENCES=OFF |
200 |
- -DDOWNLOAD_OBJECTS=OFF |
201 |
- -DBUILD_SHARED_LIBS=ON |
202 |
- ) |
203 |
- if use test ; then |
204 |
- mycmakeargs+=( |
205 |
- -DSYSTEM_GTEST=ON |
206 |
- -DDISABLE_RCT2_TESTS=ON |
207 |
- ) |
208 |
- fi |
209 |
- |
210 |
- cmake-utils_src_configure |
211 |
-} |
212 |
- |
213 |
-pkg_postinst() { |
214 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
215 |
- ewarn "" |
216 |
- ewarn "You need the original RollerCoaster Tycoon 2 files to play this game." |
217 |
- ewarn "See: https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files#how-to-retrieve" |
218 |
- ewarn "" |
219 |
- fi |
220 |
- gnome2_icon_cache_update |
221 |
- xdg_desktop_database_update |
222 |
- xdg_mimeinfo_database_update |
223 |
-} |
224 |
- |
225 |
-pkg_postrm() { |
226 |
- gnome2_icon_cache_update |
227 |
- xdg_desktop_database_update |
228 |
- xdg_mimeinfo_database_update |
229 |
-} |