commit: 241d1f7a6a78c3d7882ebb57d11cc4a84992abc9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 8 04:44:50 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Aug 8 04:59:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=241d1f7a
games-strategy/colobot: Bump to 0.2.1_alpha
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
games-strategy/colobot/Manifest | 1 +
...obot-9999.ebuild => colobot-0.2.1_alpha.ebuild} | 34 +++++++++++++++-------
games-strategy/colobot/colobot-9999.ebuild | 25 +++++++++++-----
3 files changed, 42 insertions(+), 18 deletions(-)
diff --git a/games-strategy/colobot/Manifest b/games-strategy/colobot/Manifest
index 980ba6938fa5..64d8a8246f51 100644
--- a/games-strategy/colobot/Manifest
+++ b/games-strategy/colobot/Manifest
@@ -1,2 +1,3 @@
DIST colobot-gold-0.1.12-alpha.tar.gz 1468594 BLAKE2B
2b470e8b074e4a973b751062dca2358396066d8816c2b1b5b44649b798610dccd73ab5fed4086f2aa8d4495f3de69dd8b72b45f97f23f66b18a50fc976bf25ef
SHA512
63647a16b376db6544830f96e7d323c0f58003645bf636abd1cab0ffd47b39b0bef47191d584f5156b75324d75dfdfdcabe8b89be565087c37c367ca366f3cbe
DIST colobot-gold-0.2.0-alpha.tar.gz 1514455 BLAKE2B
9cc1480d342cfa14b12e437c41ce8e65b173cd30ca5f62e574ac17f452e6cd0622b5c2706fcfd427222cf78fce1700cb07b82fac75dd9b4a3ace4389ea3381bc
SHA512
9c35ce6da319ef20ff68a9722f0b683adaa2fcada2b89bb322ba5772dfd9371adacd045ae160550780083902c024400c29e1d1f11dcb8b6547ba7d48e401c4c3
+DIST colobot-gold-0.2.1-alpha.tar.gz 1331366 BLAKE2B
a4ff7eb10514b829a066654d6800cdf4ddf7c3331c60e8a552b78feb9e153bf666d1a16395be58e3093c98fc2caad8145fd436f66f5afc6b9f9c5d91e9094700
SHA512
cdfe410b30a89bd98513347ba64bbd0569d9f9f9227b063bf99c86101a099de0893b24c2d2e85e718ec0e64e0e428fb6dbdbf88d35f814d99ed31a7f3632f9cd
diff --git a/games-strategy/colobot/colobot-9999.ebuild
b/games-strategy/colobot/colobot-0.2.1_alpha.ebuild
similarity index 70%
copy from games-strategy/colobot/colobot-9999.ebuild
copy to games-strategy/colobot/colobot-0.2.1_alpha.ebuild
index c70b50c9fba1..731b33cd8a2d 100644
--- a/games-strategy/colobot/colobot-9999.ebuild
+++ b/games-strategy/colobot/colobot-0.2.1_alpha.ebuild
@@ -1,26 +1,32 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit cmake git-r3 xdg-utils
+inherit cmake xdg-utils
+MY_P=colobot-gold-${PV/_/-}
DESCRIPTION="A real-time strategy game, where you can program your bots"
-HOMEPAGE="https://colobot.info/"
-EGIT_REPO_URI="https://github.com/colobot/colobot"
-EGIT_SUBMODULES=()
+HOMEPAGE="
+ https://colobot.info/
+ https://github.com/colobot/colobot/
+"
+SRC_URI="https://github.com/colobot/colobot/archive/${MY_P}.tar.gz"
+S=${WORKDIR}/${PN}-${MY_P}
LICENSE="GPL-3+"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64"
IUSE="devbuild doc +openal test tools"
RESTRICT="!test? ( test )"
# perl for pod2man
BDEPEND="
app-text/po4a
+ app-text/xmlstarlet
dev-lang/perl
- sys-devel/gettext"
+ sys-devel/gettext
+"
DEPEND="
dev-games/physfs
dev-libs/boost:=
@@ -33,9 +39,15 @@ DEPEND="
media-libs/sdl2-image
media-libs/sdl2-ttf
media-sound/vorbis-tools
- openal? ( media-libs/openal )"
-RDEPEND="${DEPEND}
- games-strategy/colobot-data"
+ openal? ( media-libs/openal )
+"
+RDEPEND="
+ ${DEPEND}
+ ~games-strategy/colobot-data-${PV}
+"
+DEPEND+="
+ test? ( dev-cpp/gtest )
+"
src_prepare() {
cmake_src_prepare
diff --git a/games-strategy/colobot/colobot-9999.ebuild
b/games-strategy/colobot/colobot-9999.ebuild
index c70b50c9fba1..8b82af05c62b 100644
--- a/games-strategy/colobot/colobot-9999.ebuild
+++ b/games-strategy/colobot/colobot-9999.ebuild
@@ -1,12 +1,15 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake git-r3 xdg-utils
DESCRIPTION="A real-time strategy game, where you can program your bots"
-HOMEPAGE="https://colobot.info/"
+HOMEPAGE="
+ https://colobot.info/
+ https://github.com/colobot/colobot/
+"
EGIT_REPO_URI="https://github.com/colobot/colobot"
EGIT_SUBMODULES=()
@@ -19,8 +22,10 @@ RESTRICT="!test? ( test )"
# perl for pod2man
BDEPEND="
app-text/po4a
+ app-text/xmlstarlet
dev-lang/perl
- sys-devel/gettext"
+ sys-devel/gettext
+"
DEPEND="
dev-games/physfs
dev-libs/boost:=
@@ -33,9 +38,15 @@ DEPEND="
media-libs/sdl2-image
media-libs/sdl2-ttf
media-sound/vorbis-tools
- openal? ( media-libs/openal )"
-RDEPEND="${DEPEND}
- games-strategy/colobot-data"
+ openal? ( media-libs/openal )
+"
+RDEPEND="
+ ${DEPEND}
+ games-strategy/colobot-data
+"
+DEPEND+="
+ test? ( dev-cpp/gtest )
+"
src_prepare() {
cmake_src_prepare