1 |
commit: 6f2501d2fd958d2795585972279a25843239143b |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 3 08:18:01 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 3 08:20:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f2501d2 |
7 |
|
8 |
games-simulation/openrct2: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.2 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
games-simulation/openrct2/Manifest | 3 - |
14 |
games-simulation/openrct2/openrct2-0.3.1.ebuild | 167 ------------------------ |
15 |
2 files changed, 170 deletions(-) |
16 |
|
17 |
diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest |
18 |
index 82ad945f33d..06407f1c28c 100644 |
19 |
--- a/games-simulation/openrct2/Manifest |
20 |
+++ b/games-simulation/openrct2/Manifest |
21 |
@@ -1,10 +1,7 @@ |
22 |
DIST openrct2-0.3.0.tar.gz 11754657 BLAKE2B 66d956fd85829bc6b4825a59db9f3a3eebbb1e4565a4c8afdb8c05d9d7b3f339f75ff1d9fbc0a0f48d3c0673ac3fc335fb6bec5fe458513de2a0611ccfa3d48d SHA512 585bcd7a077114dc5332b95cb44f7c689e47fcbd7cff7c2ab32a24253a4fd87f50e79f40f9428c79ea6bc6d8cd88019b4edfce88509c03bc2d43854926d21317 |
23 |
-DIST openrct2-0.3.1.tar.gz 11761818 BLAKE2B e89b6272d70d0f908f313efdff4f4788480ce14cf2872a8104a67b5e6283cb366d78d9a2f2692d9da627d06ee23a4632e4120d0437149e48f36b5a988bc5b674 SHA512 2a6027a28a26d9770a759296cfcf38290b44b90483113e93b8762403e1043dbe88c6666245155b4c7fc9d9122f44705b718cdc8dbc7b9d3888dc9036fd5928a1 |
24 |
DIST openrct2-0.3.2.tar.gz 12749225 BLAKE2B de79fefdb860dae1bf2962f9359d1ea46ab073c80206b6687ef40386725c84d1d048eafbd3f3aeb3fcae3136528568943e4cb88ae0f78b4f6c04d127726254e8 SHA512 e9986ce1fb7e57b4ac80b1de6c99f6b9d26a7a37b4e7fe081528f4faac41833871f9bcf8df864302b8d902271561fc44e606acf8d9adfaf789f69fbc4ae379a7 |
25 |
DIST openrct2-objects-1.0.16.zip 3056214 BLAKE2B 7d8d938ba20ce612f7845dce1038134ec60d7e17e0f7d78a67480ae1ae2e6f8dd043f266742acd2dbd8539390349a2dcd7b8c73859a3caef3b5cd8565a4ec1c7 SHA512 2a8696467320f7894330d0fbb4894dd6effb2d6844fcf643e1f8e15a7b0b45411a7c205b75a9e9d7ea0627bc70b7a7e1e2213e0f7db1c7b489ae8b485670dba5 |
26 |
-DIST openrct2-objects-1.0.17.zip 3106347 BLAKE2B d69df650f3d493d1d22ea9d6269fc18df121c64c0372dbcaf8fcee7ba81f9918e80c46e34b7d6ad4dcd3af9b7411e91fd8dc23499ee9b3ebcc269a4aed72d640 SHA512 3de4d2a58dbbf17d30296829edc520b089bb98457e5569578491f0750a95b172326bea6f153d4dcc2152736a32b2401d15c6cfa49ae3e95ec13bfcee24af2a5b |
27 |
DIST openrct2-objects-1.0.18.zip 3117675 BLAKE2B faccbd11ff7995977b45cc81df07fde8eeecd781141cab813026bc551fb0d867edd078627cc83a6317fddccd025ed3019e14596bf107f48d287110d69c6f73bd SHA512 12deb118740e83a1dcd64b5196371f0fd4f57a3593ab58cb71867ccd35e7a9b0641bb797ab15266ec932c96f1fc208daa7b0e8683ac7e7ef48342733d8b58aa4 |
28 |
DIST openrct2-replays-0.0.17.zip 1825315 BLAKE2B 9c22b52302c37abe5e802662eb4b6805fa3e229a71ab9f901b57eee30641ae4b86de9b1315476d158a3feb57c6be2a26c1ccca7c94328fe35bf57b46e2364c32 SHA512 103a8ba5b5b2dd76c18b642720d262553bb15ad26d59892f895327bf5e87b73e476b255af6556286faacb668aae49aa1ee29a14bcca2bb75d855383d12e60f4a |
29 |
-DIST openrct2-replays-0.0.18.zip 1825295 BLAKE2B fb873fe235c1cc4b76b3d074a41be779f03561d92aa2e13870aca6de116910ae22589de9f5c57e65b3b6eb6f6d192f03d48c9f2e7a76ace81d4c5d14c19eb078 SHA512 5012f63c1b203e348e58168dedcbca3b170339dd65f4b63cbd31b145fc9b50160c2fb17b4e7e72972a1de807dffe82b846f360dfa16e5d5992d21d9fdbb3f948 |
30 |
DIST openrct2-replays-0.0.19.zip 1825303 BLAKE2B d7ddbe090fe041f5bdeab435d223a40f5e8a231850393aa0274813c1b5db0abc2086dcf5b0e807232edf9ceaa05ce98efca14869a01742820366460353c29320 SHA512 09615b9687da0de1fd690765305a413b8e57b1de48d42a8707a9e4167ac20566b39b2abb6112b200ac0caab45001b7cd2896df71205d64df0c61e7742e082de5 |
31 |
DIST openrct2-title-sequences-0.1.2c.zip 2980030 BLAKE2B f91168bea0a4f88a801c95ea45759e0d1c887a89c18dbbded5887d2914db7119dd65c231aa422e4f8a964a81d832eae05bffaa8b7908fac39a63792d082b53a0 SHA512 0e544d236d5f6ac7f68d75ba1f56f043c76c77676cbb92e6fdbf68a6ae2dc6c41dbdad6083ceec36b2f774bcdd99f64f28de73b208d6a39a8218a9e95502d46e |
32 |
|
33 |
diff --git a/games-simulation/openrct2/openrct2-0.3.1.ebuild b/games-simulation/openrct2/openrct2-0.3.1.ebuild |
34 |
deleted file mode 100644 |
35 |
index f153410ac97..00000000000 |
36 |
--- a/games-simulation/openrct2/openrct2-0.3.1.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,167 +0,0 @@ |
39 |
-# Copyright 1999-2020 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=7 |
43 |
- |
44 |
-inherit cmake readme.gentoo-r1 xdg-utils |
45 |
- |
46 |
-MY_PN="OpenRCT2" |
47 |
-MY_PN_OBJ="objects" |
48 |
-MY_PN_RPL="replays" |
49 |
-MY_PN_TS="title-sequences" |
50 |
-MY_PV_OBJ="1.0.17" |
51 |
-MY_PV_RPL="0.0.18" |
52 |
-MY_PV_TS="0.1.2c" |
53 |
- |
54 |
-DESCRIPTION="An open source re-implementation of Chris Sawyer's RollerCoaster Tycoon 2" |
55 |
-HOMEPAGE="https://openrct2.org/" |
56 |
-SRC_URI=" |
57 |
- https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
58 |
- https://github.com/${MY_PN}/${MY_PN_OBJ}/releases/download/v${MY_PV_OBJ}/${MY_PN_OBJ}.zip -> ${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}.zip |
59 |
- https://github.com/${MY_PN}/${MY_PN_TS}/releases/download/v${MY_PV_TS}/${MY_PN_TS}.zip -> ${PN}-${MY_PN_TS}-${MY_PV_TS}.zip |
60 |
- test? ( https://github.com/${MY_PN}/${MY_PN_RPL}/releases/download/v${MY_PV_RPL}/${MY_PN_RPL}.zip -> ${PN}-${MY_PN_RPL}-${MY_PV_RPL}.zip ) |
61 |
-" |
62 |
- |
63 |
-LICENSE="GPL-3" |
64 |
-SLOT="0" |
65 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
66 |
-IUSE="dedicated libressl +lightfx +opengl scripting test +truetype" |
67 |
- |
68 |
-COMMON_DEPEND=" |
69 |
- dev-libs/icu:= |
70 |
- dev-libs/jansson |
71 |
- dev-libs/libzip:= |
72 |
- media-libs/libpng:0= |
73 |
- net-misc/curl[ssl] |
74 |
- sys-libs/zlib |
75 |
- !dedicated? ( |
76 |
- media-libs/libsdl2 |
77 |
- media-libs/speexdsp |
78 |
- opengl? ( virtual/opengl ) |
79 |
- ) |
80 |
- libressl? ( dev-libs/libressl:0= ) |
81 |
- !libressl? ( dev-libs/openssl:0= ) |
82 |
- scripting? ( dev-lang/duktape ) |
83 |
- truetype? ( |
84 |
- media-libs/fontconfig:1.0 |
85 |
- media-libs/freetype:2 |
86 |
- ) |
87 |
-" |
88 |
- |
89 |
-RDEPEND=" |
90 |
- ${COMMON_DEPEND} |
91 |
- dedicated? ( |
92 |
- acct-group/openrct2 |
93 |
- acct-user/openrct2 |
94 |
- ) |
95 |
-" |
96 |
- |
97 |
-DEPEND=" |
98 |
- ${COMMON_DEPEND} |
99 |
- dev-cpp/nlohmann_json |
100 |
- test? ( dev-cpp/gtest ) |
101 |
-" |
102 |
- |
103 |
-BDEPEND=" |
104 |
- app-arch/unzip |
105 |
- virtual/pkgconfig |
106 |
-" |
107 |
- |
108 |
-RESTRICT="!test? ( test )" |
109 |
- |
110 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
111 |
- |
112 |
-PATCHES=( |
113 |
- "${FILESDIR}/${PN}-0.2.4-include-additional-paths.patch" |
114 |
- "${FILESDIR}/${PN}-0.2.6-gtest-1.10.patch" |
115 |
-) |
116 |
- |
117 |
-src_unpack() { |
118 |
- unpack "${P}".tar.gz |
119 |
- |
120 |
- mkdir -p "${S}"/data/sequence || die |
121 |
- cd "${S}"/data/sequence || die |
122 |
- unpack "${PN}-${MY_PN_TS}-${MY_PV_TS}".zip |
123 |
- |
124 |
- mkdir -p "${S}"/data/object || die |
125 |
- cd "${S}"/data/object || die |
126 |
- unpack "${PN}-${MY_PN_OBJ}-${MY_PV_OBJ}".zip |
127 |
- |
128 |
- if use test; then |
129 |
- mkdir -p "${S}"/testdata/replays || die |
130 |
- cd "${S}"/testdata/replays || die |
131 |
- unpack "${PN}-${MY_PN_RPL}-${MY_PV_RPL}".zip |
132 |
- fi |
133 |
-} |
134 |
- |
135 |
-src_prepare() { |
136 |
- cmake_src_prepare |
137 |
- |
138 |
- # Don't treat warnings as errors. |
139 |
- sed -e 's/-Werror//' -i CMakeLists.txt || die |
140 |
-} |
141 |
- |
142 |
-src_configure() { |
143 |
- # Note: There is currently no support for Disord-RPC and Google Benchmark, |
144 |
- # as both packages do not exist in Gentoo, so support for them has been disabled. |
145 |
- local mycmakeargs=( |
146 |
- -DDISABLE_DISCORD_RPC=ON |
147 |
- -DDISABLE_GOOGLE_BENCHMARK=ON |
148 |
- -DDISABLE_GUI=$(usex dedicated) |
149 |
- -DDISABLE_HTTP=OFF |
150 |
- -DDISABLE_NETWORK=OFF |
151 |
- $(usex !dedicated "-DDISABLE_OPENGL=$(usex !opengl)" "") |
152 |
- -DDISABLE_TTF=$(usex !truetype) |
153 |
- -DDOWNLOAD_OBJECTS=OFF |
154 |
- -DDOWNLOAD_REPLAYS=OFF |
155 |
- -DDOWNLOAD_TITLE_SEQUENCES=OFF |
156 |
- -DENABLE_LIGHTFX=$(usex lightfx) |
157 |
- -DENABLE_SCRIPTING=$(usex scripting) |
158 |
- -DOPENRCT2_USE_CCACHE=OFF |
159 |
- -DPORTABLE=OFF |
160 |
- -DSTATIC=OFF |
161 |
- $(usex test "-DSYSTEM_GTEST=ON" "") |
162 |
- -DWITH_TESTS=$(usex test) |
163 |
- -DUSE_MMAP=ON |
164 |
- ) |
165 |
- |
166 |
- cmake_src_configure |
167 |
-} |
168 |
- |
169 |
-src_test() { |
170 |
- # Since the tests need the OpenRCT2 data, |
171 |
- # we need to symlink them into the build directory, |
172 |
- # otherwise some tests will fail, as they don't find the OpenRCT2 data. |
173 |
- # It is currently not possible to override that path. |
174 |
- # See: https://github.com/OpenRCT2/OpenRCT2/issues/6473 |
175 |
- ln -s "${S}"/data "${BUILD_DIR}" || die |
176 |
- |
177 |
- cmake_src_test |
178 |
-} |
179 |
- |
180 |
-src_install() { |
181 |
- use scripting && DOCS+=( "distribution/scripting.md" "distribution/openrct2.d.ts" ) |
182 |
- |
183 |
- cmake_src_install |
184 |
- |
185 |
- if use dedicated; then |
186 |
- newinitd "${FILESDIR}"/openrct2.initd openrct2 |
187 |
- newconfd "${FILESDIR}"/openrct2.confd openrct2 |
188 |
- fi |
189 |
- |
190 |
- readme.gentoo_create_doc |
191 |
-} |
192 |
- |
193 |
-pkg_postinst() { |
194 |
- readme.gentoo_print_elog |
195 |
- |
196 |
- xdg_desktop_database_update |
197 |
- xdg_icon_cache_update |
198 |
- xdg_mimeinfo_database_update |
199 |
-} |
200 |
- |
201 |
-pkg_postrm() { |
202 |
- xdg_desktop_database_update |
203 |
- xdg_icon_cache_update |
204 |
- xdg_mimeinfo_database_update |
205 |
-} |