public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/openrct2/
Date: Wed,  9 May 2018 12:26:42 +0000 (UTC)	[thread overview]
Message-ID: <1525868793.e5a5da3285f1bc675323ee02cdb4fe78eb7c6b15.mgorny@gentoo> (raw)

commit:     e5a5da3285f1bc675323ee02cdb4fe78eb7c6b15
Author:     Hendrik v. Raven <hendrik <AT> consetetur <DOT> de>
AuthorDate: Wed Apr 25 10:11:32 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May  9 12:26:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a5da32

games-simulation/openrct2: version bump to 0.1.2

also force the build system to create a shared library used by both
binaries

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-simulation/openrct2/Manifest              |   2 +
 games-simulation/openrct2/openrct2-0.1.2.ebuild | 104 ++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/games-simulation/openrct2/Manifest b/games-simulation/openrct2/Manifest
index 065282fe9cc..4a784c69ff6 100644
--- a/games-simulation/openrct2/Manifest
+++ b/games-simulation/openrct2/Manifest
@@ -1,2 +1,4 @@
 DIST openrct2-0.1.1.tar.gz 6284135 BLAKE2B 71ac2671c42fb679f5430ef0d0bd5e05d112aebd20b4b59e05e3527bacf24137b81bcedc72f9cc86cbf0b7612d6dc14c82881a828108aa5b16b8ddeeed78c46e SHA512 fd84907819ac317af88c0446afcb04acdb43cd6671f0837f1294191aacf58e93887d46e6eb28d86f558577f4e7c834bc42a9ec486f67e0b64cb7bc0cc1bda427
+DIST openrct2-0.1.2.tar.gz 6769785 BLAKE2B 0cc6ef6c68c1db6c822dd6038bc2d115f487a52b5891316273ee36db1713913baa2f119dabace88a37c16f87c90b14cf84df75a24b26b22571e98966afd2adbc SHA512 489dac96e1eda1449680f98a4b500eeb7b3f1ffbdaa5a5c701300071eb3a7862c65fa5a81e769083927b95a14914db54307724756a9841cff0c769c9e5471adc
 DIST openrct2-title-sequence-v0.1.0.zip 1766393 BLAKE2B 19612ba78572c4f271349387a24fc9caf389552ad78841ed86ff069c20686da339c83cabe041a1ae240055721984372f1ef20bd009f1ac8b38bf3ff82297b29a SHA512 0d1b47c5fc5d1d9e5580b30d0f43d5532b388f1a5685060ca9313ec2f76c61a5fc96b8aa37689072b71edd9fb1aedddd46fa38c237ccb7198841d7bc33bf2a2b
+DIST openrct2-title-sequence-v0.1.2.zip 4073116 BLAKE2B a36fb07e8da62afce129f2224f4cf5cc226922094132a3dc515fda1f02e0f8bbe07c973363f824ae58a54a26f252ad96f3f673bf5f142be5c964f45b6f712ed6 SHA512 7592c5397ceb27347c127ae5c4f8e11d7ef2ff23c97f627b354f941894420f546ffdcff88e2348e42c82d182ccf620e739c745d894a9b5650a0d7d028b68a106

diff --git a/games-simulation/openrct2/openrct2-0.1.2.ebuild b/games-simulation/openrct2/openrct2-0.1.2.ebuild
new file mode 100644
index 00000000000..33e4efa303c
--- /dev/null
+++ b/games-simulation/openrct2/openrct2-0.1.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils xdg-utils
+
+DESCRIPTION="An open source re-implementation of RollerCoaster Tycoon 2"
+HOMEPAGE="https://openrct2.website/"
+if [[ ${PV} == 9999 ]]; then
+	EGIT_REPO_URI="https://github.com/OpenRCT2/OpenRCT2.git"
+	EGIT_BRANCH="develop"
+	inherit git-r3
+	SRC_URI=""
+else
+	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/OpenRCT2/OpenRCT2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/OpenRCT2-${PV}"
+fi
+
+TSV="${PV}"
+SRC_URI+=" https://github.com/OpenRCT2/title-sequences/releases/download/v${TSV}/title-sequence-v${TSV}.zip -> ${PN}-title-sequence-v${TSV}.zip "
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="libressl +multiplayer opengl test truetype +twitch"
+
+RDEPEND="
+	>=dev-libs/jansson-2.5
+	>=dev-libs/libzip-1.0
+	media-libs/libpng:0=
+	media-libs/libsdl2
+	|| (
+		media-libs/speexdsp
+		<media-libs/speex-1.2.0
+	)
+	multiplayer? (
+		libressl? ( dev-libs/libressl:0= )
+		!libressl? ( dev-libs/openssl:0= )
+	)
+	opengl? ( virtual/opengl )
+	truetype? (
+		media-libs/sdl2-ttf
+		media-libs/fontconfig
+	)
+	twitch? ( net-misc/curl[ssl] )
+"
+DEPEND="${RDEPEND}
+	app-arch/unzip
+	test? ( dev-cpp/gtest )
+"
+
+src_unpack() {
+	if [[ ${PV} == 9999 ]]; then
+		git-r3_src_unpack
+	else
+		unpack ${P}.tar.gz
+	fi
+
+	mkdir -p "${S}/data/title" || die
+	pushd "${S}/data/title" || die
+	unpack ${PN}-title-sequence-v${TSV}.zip
+	popd || die
+}
+
+src_prepare() {
+	sed -i CMakeLists.txt -e 's/-Werror//' || die
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DDISABLE_HTTP_TWITCH="$(usex !twitch)"
+		-DDISABLE_NETWORK="$(usex !multiplayer)"
+		-DDISABLE_OPENGL="$(usex !opengl)"
+		-DDISABLE_TTF="$(usex !truetype)"
+		-DWITH_TESTS="$(usex test)"
+		-DDOWNLOAD_TITLE_SEQUENCES=OFF
+		-DDISABLE_RCT2_TESTS=ON
+		-DSYSTEM_GTEST=ON
+		-DBUILD_SHARED_LIBS=ON
+	)
+
+	cmake-utils_src_configure
+}
+
+pkg_postinst() {
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		ewarn ""
+		ewarn "You need the original RollerCoaster Tycoon 2 files to play this game."
+		ewarn "See: https://github.com/OpenRCT2/OpenRCT2/wiki/Required-RCT2-files#how-to-retrieve"
+		ewarn ""
+	fi
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+	xdg_mimeinfo_database_update
+}


             reply	other threads:[~2018-05-09 12:26 UTC|newest]

Thread overview: 130+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09 12:26 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-15 13:50 [gentoo-commits] repo/gentoo:master commit in: games-simulation/openrct2/ Conrad Kostecki
2024-09-15 13:50 Conrad Kostecki
2024-09-15 13:50 Conrad Kostecki
2024-08-11 14:22 Conrad Kostecki
2024-08-11 14:22 Conrad Kostecki
2024-07-14 12:30 Conrad Kostecki
2024-07-14 12:30 Conrad Kostecki
2024-06-22 20:01 Conrad Kostecki
2024-06-08  9:37 Arthur Zamarin
2024-05-26  6:01 Sam James
2024-05-25  2:03 Sam James
2024-05-25  0:49 Sam James
2024-05-12 12:29 Conrad Kostecki
2024-05-12 12:29 Conrad Kostecki
2024-05-06 18:32 Conrad Kostecki
2024-05-06  1:51 Ionen Wolkens
2024-04-17 23:59 Sam James
2024-04-17 23:11 Sam James
2024-04-17 22:29 Sam James
2024-04-17 14:13 Conrad Kostecki
2024-04-17 14:13 Conrad Kostecki
2024-04-17 14:13 Conrad Kostecki
2024-03-10 17:06 Arthur Zamarin
2024-03-10 17:06 Arthur Zamarin
2024-03-10 13:25 Conrad Kostecki
2024-03-10 13:25 Conrad Kostecki
2024-03-03 23:16 Conrad Kostecki
2024-03-03 23:16 Conrad Kostecki
2024-02-08 21:51 Conrad Kostecki
2024-01-19 17:14 Arthur Zamarin
2024-01-04 21:08 Conrad Kostecki
2024-01-03  6:22 Sam James
2024-01-02  7:38 Sam James
2024-01-01 17:56 Conrad Kostecki
2023-10-10 23:35 Conrad Kostecki
2023-10-10 23:35 Conrad Kostecki
2023-10-10 23:35 Conrad Kostecki
2023-09-08 16:04 Conrad Kostecki
2023-08-05 22:41 Conrad Kostecki
2023-05-08 20:15 Conrad Kostecki
2023-05-08 20:15 Conrad Kostecki
2023-04-18 20:38 Conrad Kostecki
2023-04-18 20:38 Conrad Kostecki
2023-04-18 20:38 Conrad Kostecki
2023-04-01 19:39 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2023-01-31 15:17 Conrad Kostecki
2022-12-15 21:14 Conrad Kostecki
2022-12-15 21:14 Conrad Kostecki
2022-11-05 19:35 Conrad Kostecki
2022-11-05 19:28 Conrad Kostecki
2022-11-05 19:28 Conrad Kostecki
2022-11-05 19:28 Conrad Kostecki
2022-11-05 19:28 Conrad Kostecki
2022-10-05 20:35 Conrad Kostecki
2022-10-05 20:35 Conrad Kostecki
2022-07-16 20:41 Conrad Kostecki
2022-07-16 20:41 Conrad Kostecki
2022-07-09 21:30 Conrad Kostecki
2022-05-27 22:34 Conrad Kostecki
2022-05-27 22:34 Conrad Kostecki
2022-04-10 22:08 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-12-23 19:19 Conrad Kostecki
2021-11-22 21:24 Conrad Kostecki
2021-11-22 21:24 Conrad Kostecki
2021-11-22 21:24 Conrad Kostecki
2021-11-14 13:57 Conrad Kostecki
2021-11-07 12:37 Conrad Kostecki
2021-11-07 12:37 Conrad Kostecki
2021-09-25 19:08 Sam James
2021-08-26 18:10 Conrad Kostecki
2021-08-26 18:10 Conrad Kostecki
2021-08-26 18:10 Conrad Kostecki
2021-08-26 18:10 Conrad Kostecki
2021-07-26 20:05 Conrad Kostecki
2021-07-23 19:50 Conrad Kostecki
2021-07-20 19:03 Conrad Kostecki
2021-07-20 19:03 Conrad Kostecki
2021-05-03  7:01 Mikle Kolyada
2021-04-14 20:08 Conrad Kostecki
2021-04-14 20:08 Conrad Kostecki
2021-04-14 20:08 Conrad Kostecki
2021-04-14 20:08 Conrad Kostecki
2021-03-15  6:38 Sam James
2021-03-14  0:53 Conrad Kostecki
2021-03-14  0:53 Conrad Kostecki
2020-12-17  0:54 Conrad Kostecki
2020-12-17  0:48 Sam James
2020-12-13 21:45 Thomas Deutschmann
2020-11-13 16:57 Sam James
2020-11-03  8:21 Conrad Kostecki
2020-11-03  8:21 Conrad Kostecki
2020-11-03  8:21 Conrad Kostecki
2020-10-04  0:26 Sam James
2020-10-03 14:42 Conrad Kostecki
2020-10-03 14:42 Conrad Kostecki
2020-09-23 21:54 Conrad Kostecki
2020-09-23 10:34 Agostino Sarubbo
2020-09-23 10:20 Agostino Sarubbo
2020-08-19 22:45 Conrad Kostecki
2020-08-19 22:45 Conrad Kostecki
2020-08-11 18:30 Conrad Kostecki
2020-08-11 14:23 Agostino Sarubbo
2020-08-10 12:34 Agostino Sarubbo
2020-07-19  0:08 Sam James
2020-05-10 19:45 Conrad Kostecki
2020-05-10 19:25 Conrad Kostecki
2020-05-10 19:25 Conrad Kostecki
2020-04-07 16:09 Conrad Kostecki
2020-04-07 16:09 Conrad Kostecki
2020-01-21 10:42 Agostino Sarubbo
2020-01-20 12:52 Agostino Sarubbo
2019-12-09 22:18 Conrad Kostecki
2019-12-05 21:47 Conrad Kostecki
2019-12-02 21:16 Conrad Kostecki
2019-10-28 14:43 Joonas Niilola
2019-03-10 22:38 Patrice Clement
2018-09-30 21:35 Andreas Sturmlechner
2018-08-19 12:59 Michał Górny
2018-05-09 12:26 Michał Górny
2018-05-09 12:26 Michał Górny
2018-05-09 12:26 Michał Górny
2018-04-30 15:58 Mike Gilbert
2017-08-11 22:12 Michał Górny
2017-07-28 12:02 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525868793.e5a5da3285f1bc675323ee02cdb4fe78eb7c6b15.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox