summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/colobot/Manifest1
-rw-r--r--games-strategy/colobot/colobot-0.1.12.ebuild74
-rw-r--r--games-strategy/colobot/files/colobot-0.1.12-includes.patch45
3 files changed, 0 insertions, 120 deletions
diff --git a/games-strategy/colobot/Manifest b/games-strategy/colobot/Manifest
index 64d8a8246f51..206d428dd6b8 100644
--- a/games-strategy/colobot/Manifest
+++ b/games-strategy/colobot/Manifest
@@ -1,3 +1,2 @@
-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-0.1.12.ebuild b/games-strategy/colobot/colobot-0.1.12.ebuild
deleted file mode 100644
index 152ba200e160..000000000000
--- a/games-strategy/colobot/colobot-0.1.12.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake xdg-utils
-
-DESCRIPTION="A real-time strategy game, where you can program your bots"
-HOMEPAGE="https://colobot.info/"
-SRC_URI="https://github.com/colobot/colobot/archive/${PN}-gold-${PV}-alpha.tar.gz"
-S="${WORKDIR}/${PN}-${PN}-gold-${PV}-alpha"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="devbuild doc +openal test tools"
-RESTRICT="!test? ( test )"
-
-# perl for pod2man
-BDEPEND="
- app-text/po4a
- 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"
-
-PATCHES=(
- # https://github.com/colobot/colobot/pull/1300
- "${FILESDIR}"/${P}-includes.patch
- # https://github.com/colobot/colobot/pull/1453
- "${FILESDIR}"/${P}-sndfile-link.patch
-)
-
-src_prepare() {
- 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
-}
diff --git a/games-strategy/colobot/files/colobot-0.1.12-includes.patch b/games-strategy/colobot/files/colobot-0.1.12-includes.patch
deleted file mode 100644
index 3bd118a1ef1d..000000000000
--- a/games-strategy/colobot/files/colobot-0.1.12-includes.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-From 2cfab017938e1cf44f633647eec2ccc2ed1da38b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
-Date: Thu, 14 May 2020 10:35:01 +0200
-Subject: [PATCH] Fix missing <limits> include
-
-Add missing <limits> include for std::numeric_limits. This fixes
-build failure after boost stopped implicitly including it for us.
----
- src/script/script.h | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/script/script.h b/src/script/script.h
-index bc64dc232..dd4e02ff4 100644
---- a/src/script/script.h
-+++ b/src/script/script.h
-@@ -27,6 +27,7 @@
- #include "CBot/CBot.h"
-
- #include <memory>
-+#include <limits>
- #include <string>
- #include <boost/optional.hpp>
-
-From fc2bd68876ac6302dbc8e91e8ffa33592db14b21 Mon Sep 17 00:00:00 2001
-From: suve <veg@svgames.pl>
-Date: Sun, 9 Feb 2020 00:36:05 +0100
-Subject: [PATCH] Fix missing std includes
-
----
- src/CBot/CBotInstr/CBotExprLitString.cpp | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/CBot/CBotInstr/CBotExprLitString.cpp b/src/CBot/CBotInstr/CBotExprLitString.cpp
-index fc2541624..69e42d607 100644
---- a/src/CBot/CBotInstr/CBotExprLitString.cpp
-+++ b/src/CBot/CBotInstr/CBotExprLitString.cpp
-@@ -24,6 +24,8 @@
-
- #include "CBot/CBotVar/CBotVar.h"
-
-+#include <stdexcept>
-+
- namespace CBot
- {
-