From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/corsix-th/
Date: Sun, 26 Jan 2025 08:56:11 +0000 (UTC) [thread overview]
Message-ID: <1737881737.e535aaaaefe1e99e7235dc1ba2dc2fa8277f04a8.sam@gentoo> (raw)
commit: e535aaaaefe1e99e7235dc1ba2dc2fa8277f04a8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 08:54:40 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 08:55:37 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e535aaaa
games-simulation/corsix-th: add live ebuild
Signed-off-by: Sam James <sam <AT> gentoo.org>
games-simulation/corsix-th/corsix-th-0.68.0.ebuild | 16 +++++++++++-----
.../{corsix-th-0.68.0.ebuild => corsix-th-9999.ebuild} | 16 +++++++++++-----
2 files changed, 22 insertions(+), 10 deletions(-)
diff --git a/games-simulation/corsix-th/corsix-th-0.68.0.ebuild b/games-simulation/corsix-th/corsix-th-0.68.0.ebuild
index 257dadab1230..75849743f032 100644
--- a/games-simulation/corsix-th/corsix-th-0.68.0.ebuild
+++ b/games-simulation/corsix-th/corsix-th-0.68.0.ebuild
@@ -13,14 +13,20 @@ MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Open source clone of Theme Hospital"
HOMEPAGE="https://corsixth.com"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+
+ if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+ fi
+fi
LICENSE="MIT"
SLOT="0"
-if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
IUSE="doc +midi +sound test tools +truetype +videos"
RESTRICT="!test? ( test )"
REQUIRED_USE="${LUA_REQUIRED_USE}"
diff --git a/games-simulation/corsix-th/corsix-th-0.68.0.ebuild b/games-simulation/corsix-th/corsix-th-9999.ebuild
similarity index 86%
copy from games-simulation/corsix-th/corsix-th-0.68.0.ebuild
copy to games-simulation/corsix-th/corsix-th-9999.ebuild
index 257dadab1230..75849743f032 100644
--- a/games-simulation/corsix-th/corsix-th-0.68.0.ebuild
+++ b/games-simulation/corsix-th/corsix-th-9999.ebuild
@@ -13,14 +13,20 @@ MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="Open source clone of Theme Hospital"
HOMEPAGE="https://corsixth.com"
-SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/${MY_PN}/${MY_PN}"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${MY_P}"
+
+ if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+ fi
+fi
LICENSE="MIT"
SLOT="0"
-if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
- KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
-fi
IUSE="doc +midi +sound test tools +truetype +videos"
RESTRICT="!test? ( test )"
REQUIRED_USE="${LUA_REQUIRED_USE}"
next reply other threads:[~2025-01-26 8:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-26 8:56 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-28 6:23 [gentoo-commits] repo/gentoo:master commit in: games-simulation/corsix-th/ Sam James
2025-01-26 8:56 Sam James
2024-12-27 7:02 Sam James
2024-12-27 7:02 Sam James
2023-10-16 22:51 James Le Cuirot
2023-08-20 15:35 James Le Cuirot
2023-08-01 7:09 Sam James
2022-11-22 13:47 Arthur Zamarin
2022-08-11 7:37 Ionen Wolkens
2021-12-28 17:10 Ionen Wolkens
2021-10-19 0:17 Sam James
2021-08-06 12:58 Sam James
2021-03-26 0:41 Conrad Kostecki
2020-08-23 20:53 Sam James
2020-05-24 8:24 Sergei Trofimovich
2020-04-25 20:18 Mikle Kolyada
2020-03-27 21:48 James Le Cuirot
2020-03-27 21:48 James Le Cuirot
2018-09-01 14:25 James Le Cuirot
2016-07-07 19:48 Austin English
2016-05-22 12:01 Patrick Lauer
2016-05-21 15:35 Pacho Ramos
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=1737881737.e535aaaaefe1e99e7235dc1ba2dc2fa8277f04a8.sam@gentoo \
--to=sam@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