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: Sun, 19 Aug 2018 12:59:55
Message-Id: 1534683583.45c2aa1d94db20bab62dce0eeb29cd71c81bee55.mgorny@gentoo
1 commit: 45c2aa1d94db20bab62dce0eeb29cd71c81bee55
2 Author: Hendrik v. Raven <hendrik <AT> consetetur <DOT> de>
3 AuthorDate: Sat Aug 4 12:12:50 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 19 12:59:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45c2aa1d
7
8 games-simulation/openrct2: drop old
9
10 Package-Manager: Portage-2.3.44, Repoman-2.3.10
11 Closes: https://github.com/gentoo/gentoo/pull/9437
12
13 games-simulation/openrct2/Manifest | 1 -
14 games-simulation/openrct2/openrct2-0.1.2.ebuild | 101 ------------------------
15 2 files changed, 102 deletions(-)
16
17 diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest
18 index 9aafa6ade4d..a6c9d3963c3 100644
19 --- a/games-simulation/openrct2/Manifest
20 +++ b/games-simulation/openrct2/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST openrct2-0.1.2.tar.gz 6769785 BLAKE2B 0cc6ef6c68c1db6c822dd6038bc2d115f487a52b5891316273ee36db1713913baa2f119dabace88a37c16f87c90b14cf84df75a24b26b22571e98966afd2adbc SHA512 489dac96e1eda1449680f98a4b500eeb7b3f1ffbdaa5a5c701300071eb3a7862c65fa5a81e769083927b95a14914db54307724756a9841cff0c769c9e5471adc
23 DIST openrct2-0.2.0.tar.gz 6481521 BLAKE2B b3a17d4dd7b0d3e68d4a0a200a81307fa598ac9bafd0636fc2fe62cc0921d1e620cf29a31f2fd5d9258d5b79cd952887e853c005ed719f5990744e9849ad0ee8 SHA512 ac42509ceb52eab20964bf95d7a140dc00d9b4c2569fab1200faff31548f063e209acde29f8ca4ee14858fcf5f6781eebe6d5f7de3d4e01fd43c43ee8905863b
24 DIST openrct2-objects-v1.0.2.zip 2068705 BLAKE2B 4f291289a7f331bad19080ffc63d204819973682710ea62c3fc66fb9d05b63c267e2146d6c533f59eac3baa9760b85953ae344b6da4bb778e5ccd249f6160525 SHA512 814d52ee5c071f33c17d88bc53711a509d7988ece12381996b3d233b9b46c79739fd2dafbed57f00537b19c78e290e2481d72b2824b5574734f6876a0af0c359
25 DIST openrct2-objects-v1.0.3.zip 2070513 BLAKE2B 3499b022f1d1f2b05da003f87f5f885de8463ed63d751653b0d8d48e2a339496d84d025eb2e44619012aa76360f6880541a519312e6d339eca862f6274d2b73b SHA512 9012a6337df7abd2743e94e3606266cde306335f33bf4f7869cca90c9c31758806c063b697bc3a6e21af7c733841551f2b29072592850cc51090d58f5f685f99
26
27 diff --git a/games-simulation/openrct2/openrct2-0.1.2.ebuild b/games-simulation/openrct2/openrct2-0.1.2.ebuild
28 deleted file mode 100644
29 index ae25725577a..00000000000
30 --- a/games-simulation/openrct2/openrct2-0.1.2.ebuild
31 +++ /dev/null
32 @@ -1,101 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -inherit cmake-utils gnome2-utils xdg-utils
39 -
40 -DESCRIPTION="An open source re-implementation of RollerCoaster Tycoon 2"
41 -HOMEPAGE="https://openrct2.website/"
42 -if [[ ${PV} == 9999 ]]; then
43 - EGIT_REPO_URI="https://github.com/OpenRCT2/OpenRCT2.git"
44 - EGIT_BRANCH="develop"
45 - inherit git-r3
46 - SRC_URI=""
47 -else
48 - KEYWORDS="~amd64 ~x86"
49 - SRC_URI="https://github.com/OpenRCT2/OpenRCT2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
50 - S="${WORKDIR}/OpenRCT2-${PV}"
51 -fi
52 -
53 -TSV="${PV}"
54 -SRC_URI+=" https://github.com/OpenRCT2/title-sequences/releases/download/v${TSV}/title-sequence-v${TSV}.zip -> ${PN}-title-sequence-v${TSV}.zip "
55 -
56 -LICENSE="GPL-3"
57 -SLOT="0"
58 -IUSE="libressl +multiplayer opengl test truetype +twitch"
59 -
60 -RDEPEND="
61 - >=dev-libs/jansson-2.5
62 - >=dev-libs/libzip-1.0
63 - media-libs/libpng:0=
64 - media-libs/libsdl2
65 - media-libs/speexdsp
66 - multiplayer? (
67 - libressl? ( dev-libs/libressl:0= )
68 - !libressl? ( dev-libs/openssl:0= )
69 - )
70 - opengl? ( virtual/opengl )
71 - truetype? (
72 - media-libs/sdl2-ttf
73 - media-libs/fontconfig
74 - )
75 - twitch? ( net-misc/curl[ssl] )
76 -"
77 -DEPEND="${RDEPEND}
78 - app-arch/unzip
79 - test? ( dev-cpp/gtest )
80 -"
81 -
82 -src_unpack() {
83 - if [[ ${PV} == 9999 ]]; then
84 - git-r3_src_unpack
85 - else
86 - unpack ${P}.tar.gz
87 - fi
88 -
89 - mkdir -p "${S}/data/title" || die
90 - pushd "${S}/data/title" || die
91 - unpack ${PN}-title-sequence-v${TSV}.zip
92 - popd || die
93 -}
94 -
95 -src_prepare() {
96 - sed -i CMakeLists.txt -e 's/-Werror//' || die
97 -
98 - cmake-utils_src_prepare
99 -}
100 -
101 -src_configure() {
102 - local mycmakeargs=(
103 - -DDISABLE_HTTP_TWITCH="$(usex !twitch)"
104 - -DDISABLE_NETWORK="$(usex !multiplayer)"
105 - -DDISABLE_OPENGL="$(usex !opengl)"
106 - -DDISABLE_TTF="$(usex !truetype)"
107 - -DWITH_TESTS="$(usex test)"
108 - -DDOWNLOAD_TITLE_SEQUENCES=OFF
109 - -DDISABLE_RCT2_TESTS=ON
110 - -DSYSTEM_GTEST=ON
111 - -DBUILD_SHARED_LIBS=ON
112 - )
113 -
114 - cmake-utils_src_configure
115 -}
116 -
117 -pkg_postinst() {
118 - if [[ -z ${REPLACING_VERSIONS} ]]; then
119 - ewarn ""
120 - ewarn "You need the original RollerCoaster Tycoon 2 files to play this game."
121 - ewarn "See: https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files#how-to-retrieve"
122 - ewarn ""
123 - fi
124 - gnome2_icon_cache_update
125 - xdg_desktop_database_update
126 - xdg_mimeinfo_database_update
127 -}
128 -
129 -pkg_postrm() {
130 - gnome2_icon_cache_update
131 - xdg_desktop_database_update
132 - xdg_mimeinfo_database_update
133 -}