Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/openrct2/
Date: Wed, 09 May 2018 12:26:46
Message-Id: 1525868794.e96a192772718a605c4bb1bd1b336b7f598bdf82.mgorny@gentoo
1 commit: e96a192772718a605c4bb1bd1b336b7f598bdf82
2 Author: Hendrik v. Raven <hendrik <AT> consetetur <DOT> de>
3 AuthorDate: Wed Apr 25 10:12:08 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 9 12:26:34 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96a1927
7
8 games-simulation/openrct2: drop old
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-simulation/openrct2/Manifest | 1 -
13 games-simulation/openrct2/openrct2-0.1.1.ebuild | 94 -------------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest
17 index 4a784c69ff6..6df07396a3b 100644
18 --- a/games-simulation/openrct2/Manifest
19 +++ b/games-simulation/openrct2/Manifest
20 @@ -1,4 +1,3 @@
21 -DIST openrct2-0.1.1.tar.gz 6284135 BLAKE2B 71ac2671c42fb679f5430ef0d0bd5e05d112aebd20b4b59e05e3527bacf24137b81bcedc72f9cc86cbf0b7612d6dc14c82881a828108aa5b16b8ddeeed78c46e SHA512 fd84907819ac317af88c0446afcb04acdb43cd6671f0837f1294191aacf58e93887d46e6eb28d86f558577f4e7c834bc42a9ec486f67e0b64cb7bc0cc1bda427
22 DIST openrct2-0.1.2.tar.gz 6769785 BLAKE2B 0cc6ef6c68c1db6c822dd6038bc2d115f487a52b5891316273ee36db1713913baa2f119dabace88a37c16f87c90b14cf84df75a24b26b22571e98966afd2adbc SHA512 489dac96e1eda1449680f98a4b500eeb7b3f1ffbdaa5a5c701300071eb3a7862c65fa5a81e769083927b95a14914db54307724756a9841cff0c769c9e5471adc
23 DIST openrct2-title-sequence-v0.1.0.zip 1766393 BLAKE2B 19612ba78572c4f271349387a24fc9caf389552ad78841ed86ff069c20686da339c83cabe041a1ae240055721984372f1ef20bd009f1ac8b38bf3ff82297b29a SHA512 0d1b47c5fc5d1d9e5580b30d0f43d5532b388f1a5685060ca9313ec2f76c61a5fc96b8aa37689072b71edd9fb1aedddd46fa38c237ccb7198841d7bc33bf2a2b
24 DIST openrct2-title-sequence-v0.1.2.zip 4073116 BLAKE2B a36fb07e8da62afce129f2224f4cf5cc226922094132a3dc515fda1f02e0f8bbe07c973363f824ae58a54a26f252ad96f3f673bf5f142be5c964f45b6f712ed6 SHA512 7592c5397ceb27347c127ae5c4f8e11d7ef2ff23c97f627b354f941894420f546ffdcff88e2348e42c82d182ccf620e739c745d894a9b5650a0d7d028b68a106
25
26 diff --git a/games-simulation/openrct2/openrct2-0.1.1.ebuild b/games-simulation/openrct2/openrct2-0.1.1.ebuild
27 deleted file mode 100644
28 index cc286b38589..00000000000
29 --- a/games-simulation/openrct2/openrct2-0.1.1.ebuild
30 +++ /dev/null
31 @@ -1,94 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -
37 -inherit cmake-utils gnome2-utils
38 -
39 -DESCRIPTION="An open source re-implementation of RollerCoaster Tycoon 2"
40 -HOMEPAGE="https://openrct2.website/"
41 -if [[ ${PV} == 9999 ]]; then
42 - EGIT_REPO_URI="https://github.com/OpenRCT2/OpenRCT2.git"
43 - EGIT_BRANCH="develop"
44 - inherit git-r3
45 - SRC_URI=""
46 -else
47 - KEYWORDS="~amd64 ~x86"
48 - SRC_URI="https://github.com/OpenRCT2/OpenRCT2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
49 - S="${WORKDIR}/OpenRCT2-${PV}"
50 -fi
51 -
52 -TSV="0.1.0"
53 -SRC_URI+=" https://github.com/OpenRCT2/title-sequences/releases/download/v${TSV}/title-sequence-v${TSV}.zip -> ${PN}-title-sequence-v${TSV}.zip "
54 -
55 -LICENSE="GPL-3"
56 -SLOT="0"
57 -IUSE="libressl +multiplayer opengl test truetype +twitch"
58 -
59 -# This is needed because of this bug: https://github.com/OpenRCT2/OpenRCT2/issues/5469
60 -REQUIRED_USE="multiplayer? ( twitch )"
61 -
62 -RDEPEND="
63 - >=dev-libs/jansson-2.5
64 - >=dev-libs/libzip-1.0
65 - media-libs/libpng:0=
66 - media-libs/libsdl2
67 - >=media-libs/speex-1.2.0
68 - media-libs/speexdsp
69 - multiplayer? (
70 - libressl? ( dev-libs/libressl:0= )
71 - !libressl? ( dev-libs/openssl:0= )
72 - )
73 - opengl? ( virtual/opengl )
74 - truetype? (
75 - media-libs/sdl2-ttf
76 - media-libs/fontconfig
77 - )
78 - twitch? ( net-misc/curl[ssl] )
79 -"
80 -DEPEND="${RDEPEND}
81 - test? ( dev-cpp/gtest )
82 -"
83 -
84 -if [[ ${PV} == 9999 ]]; then
85 -src_unpack() {
86 - default
87 - git-r3_src_unpack
88 -}
89 -fi
90 -
91 -src_configure() {
92 - local mycmakeargs=(
93 - -DDISABLE_HTTP_TWITCH="$(usex !twitch)"
94 - -DDISABLE_NETWORK="$(usex !multiplayer)"
95 - -DDISABLE_OPENGL="$(usex !opengl)"
96 - -DDISABLE_TTF="$(usex !truetype)"
97 - -DWITH_TESTS="$(usex test)"
98 - -DDOWNLOAD_TITLE_SEQUENCES=OFF
99 - -DDISABLE_RCT2_TESTS=ON
100 - -DSYSTEM_GTEST=ON
101 - )
102 -
103 - cmake-utils_src_configure
104 -}
105 -
106 -src_install() {
107 - cmake-utils_src_install
108 -
109 - insinto /usr/share/openrct2/title
110 - doins "${WORKDIR}"/*.parkseq
111 -}
112 -
113 -pkg_postinst() {
114 - if [[ -z ${REPLACING_VERSIONS} ]]; then
115 - ewarn ""
116 - ewarn "You need the original RollerCoaster Tycoon 2 files to play this game."
117 - ewarn "See: https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files#how-to-retrieve"
118 - ewarn ""
119 - fi
120 - gnome2_icon_cache_update
121 -}
122 -
123 -pkg_postrm() {
124 - gnome2_icon_cache_update
125 -}