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