games-strategy/colobot: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-05-04 20:53:20 +02:00
parent 9d2a44d8f4
commit 1dd66265ff
2 changed files with 0 additions and 86 deletions

View File

@@ -1,2 +1 @@
DIST colobot-gold-0.2.1-alpha.tar.gz 1331366 BLAKE2B a4ff7eb10514b829a066654d6800cdf4ddf7c3331c60e8a552b78feb9e153bf666d1a16395be58e3093c98fc2caad8145fd436f66f5afc6b9f9c5d91e9094700 SHA512 cdfe410b30a89bd98513347ba64bbd0569d9f9f9227b063bf99c86101a099de0893b24c2d2e85e718ec0e64e0e428fb6dbdbf88d35f814d99ed31a7f3632f9cd
DIST colobot-gold-0.2.2-alpha.tar.gz 1331553 BLAKE2B b5ecd612100175f0b61685d81e49d9cdaeb2f0bd1f3aaf5e3af0e9918f7ad392388e2aca293bf9117f68dbb6c22bbde1005efdfcf73fe58b1b93f10dbb08fb3a SHA512 55ce83e42ae8847bbb32bf2bb2d86818218277d4ae114753f9087852b9f8152eae666d9ae14b97ee542e860753b99821b0975150ab6c36280c588e3a5439cb17

View File

@@ -1,85 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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/
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="~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
"
DEPEND="
dev-games/physfs
dev-libs/boost:=
media-libs/glew:0
media-libs/libogg
media-libs/libpng:0=
media-libs/libsdl2:=
media-libs/libsndfile:=
media-libs/libvorbis:=
media-libs/sdl2-image
media-libs/sdl2-ttf
media-sound/vorbis-tools
openal? ( media-libs/openal )
"
RDEPEND="
${DEPEND}
~games-strategy/colobot-data-${PV}
"
DEPEND+="
test? ( dev-cpp/gtest )
"
src_prepare() {
local PATCHES=(
# fixed upstream as part of:
# https://github.com/colobot/colobot/commit/1b69589302c2ac92c6befd2880a03b4b07c7f820
"${FILESDIR}/${P}-gcc14.patch"
)
cmake_src_prepare
# we need to call it explicitly to help Ninja figure out the deps
cd desktop || die
po4a po4a.cfg || die
}
src_configure() {
local mycmakeargs=(
-DDEV_BUILD=$(usex devbuild)
-DTESTS=$(usex test)
-DTOOLS=$(usex tools)
-DINSTALL_DOCS=$(usex doc)
-DOPENAL_SOUND=$(usex openal)
-DCOLOBOT_INSTALL_BIN_DIR="${EPREFIX}"/usr/bin
-DCOLOBOT_INSTALL_LIB_DIR="${EPREFIX}"/usr/$(get_libdir)
)
cmake_src_configure
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}