From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 559041580E0 for ; Sun, 26 Jan 2025 08:56:14 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3B9023433E8 for ; Sun, 26 Jan 2025 08:56:14 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3DEA7110470; Sun, 26 Jan 2025 08:56:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3140411046F for ; Sun, 26 Jan 2025 08:56:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDCCD343401 for ; Sun, 26 Jan 2025 08:56:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 37B2617F2 for ; Sun, 26 Jan 2025 08:56:11 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1737881737.e535aaaaefe1e99e7235dc1ba2dc2fa8277f04a8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-simulation/corsix-th/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-simulation/corsix-th/corsix-th-0.68.0.ebuild games-simulation/corsix-th/corsix-th-9999.ebuild X-VCS-Directories: games-simulation/corsix-th/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e535aaaaefe1e99e7235dc1ba2dc2fa8277f04a8 X-VCS-Branch: master Date: Sun, 26 Jan 2025 08:56:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de75dc65-eb3b-4b05-8a09-53873a3fb094 X-Archives-Hash: d8e781308413885403f73559e391515e commit: e535aaaaefe1e99e7235dc1ba2dc2fa8277f04a8 Author: Sam James gentoo org> AuthorDate: Sun Jan 26 08:54:40 2025 +0000 Commit: Sam James gentoo 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 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}"