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/openrct2/
Date: Sun, 10 May 2020 19:45:30
Message-Id: 1589139920.8c9a30f1d73d685d2ad4365b04a6f9b45a9d84e1.conikost@gentoo
1 commit: 8c9a30f1d73d685d2ad4365b04a6f9b45a9d84e1
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 10 19:44:58 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun May 10 19:45:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9a30f1
7
8 games-simulation/openrct2: drop old version
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 games-simulation/openrct2/Manifest | 3 -
14 games-simulation/openrct2/openrct2-0.2.5.ebuild | 162 ------------------------
15 2 files changed, 165 deletions(-)
16
17 diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest
18 index da2e23f8d3f..c1149fc8327 100644
19 --- a/games-simulation/openrct2/Manifest
20 +++ b/games-simulation/openrct2/Manifest
21 @@ -1,11 +1,8 @@
22 DIST openrct2-0.2.4.tar.gz 6805976 BLAKE2B 7860746d1705804682756097ff37d4584d0ebb20c450c08b88134795e9f3c375dfb888a67302f530cd55700eaa5cd13149c365c30a5d267d382b39225f06d210 SHA512 956044b5fa5e55256a33f352d2d1e8a4eb6738b98dc9894807b3628b5c5c08f3229c952fbf8b33ad867771f88c6d7e17ad1a8a4e050f8f269a6152d013afce03
23 -DIST openrct2-0.2.5.tar.gz 11076466 BLAKE2B 7e3aff0e2a322b1a0319df6ebdc335052d5aeb0c35dc97123fcf316272e95171ced5f9f41695d986b69b93cdacfa755fef924e2ff87a3f2441e03fd33175a2cc SHA512 8ab091788a52408ef37d603581841a12ffbe5a5eced43504d8e19e89d26b1320010dc0b4a4b67080260e66e24edeb2c780d7bad9b88b58e6a7216f4e393fc516
24 DIST openrct2-0.2.6.tar.gz 11094308 BLAKE2B 4aed899fee4735a0237558c1c34f67f37ecc9b8138f8a66314a9abc013cf10ad3a9f80fd5159afc5860ded780d4c705fd9e394b38f981aac90c8cee883356996 SHA512 abe7c344b7588b169c95ffe0ab9028f72614d9b5783d81fa4f97f206d90d8cbaa0b91f04314c10926dbd5f68bba166558c428557f598abb343d306800611fb24
25 DIST openrct2-objects-1.0.12.zip 2173875 BLAKE2B d344dde3dc376004b9e303a489c058a574c2f8babcce8c9998ef12f2b91e3fe7d3e22e1afc81aadd39637f3f91a5d36c4267aed06980686fd909cc515f4c8fde SHA512 d17d2197b66d22e33a246651a0c544a49a6d6a809612d26a851dc4b40bb9e1bf5079bbe5b1a3b7d41f541fc41ce41717d772a5579aa2cdc9ec1dfea72b5a3144
26 -DIST openrct2-objects-1.0.13.zip 2214431 BLAKE2B 6301c787364cb16a4f599c2b94d475237abd098715a98a0bfe87fc067d490f8939c5f25235350d9fed02c37d4f92a29c2bb021a9acf1615f161e5b5d95b8fd63 SHA512 690255506e3286bff00076f3dcb3ce50e98606dfc1e522aa679d5e6c7e01c5f56a6624a65bb8aab5915d7d71ae21de310642c16cd5154db6b096bedd77d5797e
27 DIST openrct2-objects-1.0.14.zip 2237331 BLAKE2B 39a0c92674abc0d16fc3dd463b68e2ee8f3f7dd1c2a944d5448173ca58e6c3c4a79092a40e66ac8e919f75be2d2d691a76dc046e41caf7237138815a4e6ad526 SHA512 66e7a55ca894f2ea11af1c6300f934ef00f659137dded06f54bf749f490ff6063f95da800ae3cbfbbffe1c3e7d995e307d1281d57e4454ded6fed5affde84f8e
28 DIST openrct2-replays-0.0.12.zip 1817941 BLAKE2B e000b005289db12b611c901e83ed785baefcee9eb34b2195f2b9679db9ff4d7c62b7b4fca072e90e464f1ecdbba685395a79889b366e04f7d28e257ecd8571a3 SHA512 d2136bbaf4f42decedcdd2f3546ffb80c93078b52325c5db80e86bfaf87548503ea941f511f905727a046d927464680f3bee3c9ec646ff286050be1ac31c7948
29 DIST openrct2-replays-0.0.4.zip 1098833 BLAKE2B efe4f72b16285d8e6508313f16b892b02f1b124cf9b4d146731280f5090d071d3351834e6d4ab51122804fbbcb49044be4e681182141aac93795c3b1953b6590 SHA512 5c2469bfdaa94a6007f6788878f4e80d87fbbfd48b522e1bd2a22c2aa0c98583159b9559fd45f7f9450d544a99a59b6c17399d9ac91a171a86135f0e1a5b3e71
30 -DIST openrct2-replays-0.0.8.zip 1038537 BLAKE2B 7b6da300cb588676aceb75c440b0e7d4bcdf0e44d889a21a381d45c8b3237f362bd33c53998795845904a2b6ea8bde38efa5bcea5f4d73d1b2ed876382abaa3e SHA512 60b95d89691c83054627829ddc4aa8c7c85dd7f4e2b268834e05aba724bf42e3968d14b158d6277fcf74fa81c1ec4f063c20cf6c940b8707538747d86eeacd94
31 DIST openrct2-replays-0.0.9.zip 1817119 BLAKE2B 3c63a0acf991487e667ae43ac987b8ee936ce77ad4eb75209d09e41f85b72550856c84d93bdbee1541a994ffbf9bc956b5366d77d760ebd7ed1dab0dffbf7885 SHA512 8066a664c12df047e64b9a049e39da6a4e366adfc60824a7a6c33e526c3a5a9afbc05d1dd11ff81eddbec0783445275d2be8cbe8141031fbeaefe8ea95cd1a7b
32 DIST openrct2-title-sequences-0.1.2c.zip 2980030 BLAKE2B f91168bea0a4f88a801c95ea45759e0d1c887a89c18dbbded5887d2914db7119dd65c231aa422e4f8a964a81d832eae05bffaa8b7908fac39a63792d082b53a0 SHA512 0e544d236d5f6ac7f68d75ba1f56f043c76c77676cbb92e6fdbf68a6ae2dc6c41dbdad6083ceec36b2f774bcdd99f64f28de73b208d6a39a8218a9e95502d46e
33
34 diff --git a/games-simulation/openrct2/openrct2-0.2.5.ebuild b/games-simulation/openrct2/openrct2-0.2.5.ebuild
35 deleted file mode 100644
36 index 55734f4bd98..00000000000
37 --- a/games-simulation/openrct2/openrct2-0.2.5.ebuild
38 +++ /dev/null
39 @@ -1,162 +0,0 @@
40 -# Copyright 1999-2020 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=7
44 -
45 -inherit cmake-utils readme.gentoo-r1 xdg-utils
46 -
47 -MY_PN="OpenRCT2"
48 -MY_PN_OBJ="objects"
49 -MY_PN_RPL="replays"
50 -MY_PN_TS="title-sequences"
51 -MY_PV_OBJ="1.0.13"
52 -MY_PV_RPL="0.0.8"
53 -MY_PV_TS="0.1.2c"
54 -
55 -DESCRIPTION="An open source re-implementation of Chris Sawyer's RollerCoaster Tycoon 2"
56 -HOMEPAGE="https://openrct2.org/"
57 -SRC_URI="
58 - https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
59 - 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
60 - 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
61 - 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 )
62 -"
63 -
64 -LICENSE="GPL-3"
65 -SLOT="0"
66 -KEYWORDS="~amd64 ~x86"
67 -IUSE="dedicated libressl +lightfx +opengl test +truetype twitch"
68 -
69 -COMMON_DEPEND="
70 - dev-libs/icu:=
71 - dev-libs/jansson
72 - dev-libs/libzip:=
73 - media-libs/libpng:0=
74 - sys-libs/zlib
75 - !dedicated? (
76 - media-libs/libsdl2
77 - media-libs/speexdsp
78 - opengl? ( virtual/opengl )
79 - twitch? (
80 - net-misc/curl[ssl]
81 - )
82 - )
83 - libressl? ( dev-libs/libressl:0= )
84 - !libressl? ( dev-libs/openssl:0= )
85 - truetype? (
86 - media-libs/fontconfig:1.0
87 - media-libs/freetype:2
88 - )
89 -"
90 -
91 -RDEPEND="
92 - ${COMMON_DEPEND}
93 - dedicated? (
94 - acct-group/openrct2
95 - acct-user/openrct2
96 - )
97 -"
98 -
99 -DEPEND="
100 - ${COMMON_DEPEND}
101 - test? ( dev-cpp/gtest )
102 -"
103 -
104 -BDEPEND="
105 - app-arch/unzip
106 - virtual/pkgconfig
107 -"
108 -
109 -RESTRICT="!test? ( test )"
110 -
111 -S="${WORKDIR}/${MY_PN}-${PV}"
112 -
113 -PATCHES=(
114 - "${FILESDIR}/${PN}-0.2.4-include-additional-paths.patch"
115 -)
116 -
117 -src_unpack() {
118 - unpack "${P}".tar.gz
119 -
120 - mkdir -p "${S}"/data/title || die
121 - cd "${S}"/data/title || 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-utils_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_TWITCH=$(usex !twitch)
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 - -DPORTABLE=OFF
158 - -DSTATIC=OFF
159 - $(usex test "-DSYSTEM_GTEST=ON" "")
160 - -DWITH_TESTS=$(usex test)
161 - -DUSE_MMAP=ON
162 - )
163 -
164 - cmake-utils_src_configure
165 -}
166 -
167 -src_test() {
168 - # Since the tests need the OpenRCT2 data,
169 - # we need to symlink them into the build directory,
170 - # otherwise some tests will fail, as they don't find the OpenRCT2 data.
171 - # It is currently not possible to override that path.
172 - # See: https://github.com/OpenRCT2/OpenRCT2/issues/6473
173 - ln -s "${S}"/data "${BUILD_DIR}" || die
174 -
175 - cmake-utils_src_test
176 -}
177 -
178 -src_install() {
179 - cmake-utils_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 -}