From fe9c8bf4085e3d78dd6589d4884a57b1714fe0b3 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Fri, 24 Feb 2023 04:08:39 -0500 Subject: games-strategy/endless-sky: drop 0.9.14 Signed-off-by: Ionen Wolkens --- games-strategy/endless-sky/Manifest | 1 - .../endless-sky/endless-sky-0.9.14.ebuild | 64 ---------------------- .../files/endless-sky-0.9.14-respect-cflags.patch | 20 ------- .../endless-sky-0.9.14-use-system-catch2.patch | 14 ----- 4 files changed, 99 deletions(-) delete mode 100644 games-strategy/endless-sky/endless-sky-0.9.14.ebuild delete mode 100644 games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch delete mode 100644 games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch (limited to 'games-strategy') diff --git a/games-strategy/endless-sky/Manifest b/games-strategy/endless-sky/Manifest index 3c3a337e0421..c978ae4a65e1 100644 --- a/games-strategy/endless-sky/Manifest +++ b/games-strategy/endless-sky/Manifest @@ -1,2 +1 @@ -DIST endless-sky-0.9.14.tar.gz 124358153 BLAKE2B 5845c3b595f0feba7fc5f6ce1ead88b34e9426c3db53cf013fc67f9197d2cabad8fae39056fa6f4d6da76fceb43a9709397b95daba855d1b1ebf3c25a04ba007 SHA512 861fddc8e2f167d335247f3ce1efb59bb4a5951cb0aa5e4a10517fded096db7e69ac17cf0e813f2a1ec040bef57c5d6b6e8e90d952debc9b2caa38d1fb91abe5 DIST endless-sky-0.9.16.1.tar.gz 184582283 BLAKE2B 3c35df96b54546811713b123bf43993df6ba5271988decd7408722263c2edd904c84888db61c2d22554b3f60edebd25db7913e7784f309ff936d37c815bc6650 SHA512 83e0a47160506b1e3608f67534e2dbcf51515d809016efc379448d14331229ffe26360f82cc60c565c84b10c605aec846efc19bcd4af10ee116e5ef8fc804d56 diff --git a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild b/games-strategy/endless-sky/endless-sky-0.9.14.ebuild deleted file mode 100644 index 8a815e3b53e5..000000000000 --- a/games-strategy/endless-sky/endless-sky-0.9.14.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{9,10} ) -inherit python-any-r1 scons-utils toolchain-funcs xdg - -DESCRIPTION="Space exploration, trading & combat in the tradition of Terminal Velocity" -HOMEPAGE="https://endless-sky.github.io" -SRC_URI="https://github.com/endless-sky/endless-sky/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="CC-BY-SA-4.0 CC-BY-SA-3.0 GPL-3+ public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -# Needs work; doesn't link against SDL 2 -RESTRICT="test" - -RDEPEND="media-libs/glew:0= - media-libs/libsdl2 - media-libs/libjpeg-turbo:= - media-libs/libmad - media-libs/libpng:= - media-libs/openal - virtual/opengl" -DEPEND="${RDEPEND} - test? ( dev-cpp/catch:0 )" - -PATCHES=( - "${FILESDIR}"/${PN}-0.9.14-respect-cflags.patch - "${FILESDIR}"/${PN}-0.9.14-no-games-path.patch - "${FILESDIR}"/${PN}-0.9.14-dont-compress-man-page.patch - "${FILESDIR}"/${PN}-0.9.14-use-system-catch2.patch -) - -src_compile() { - tc-export AR CXX - - escons -} - -src_test() { - escons test -} - -src_install() { - escons PREFIX="${ED}"/usr/ install -} - -pkg_postinst() { - xdg_pkg_postinst - - einfo "Endless Sky provides high-res sprites for high-dpi screens." - einfo "If you want to use them, download" - einfo - einfo " https://github.com/endless-sky/endless-sky-high-dpi/releases" - einfo - einfo "and extract it to ~/.local/share/endless-sky/plugins/." - einfo - einfo "Enjoy." -} diff --git a/games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch b/games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch deleted file mode 100644 index 8bea82409af0..000000000000 --- a/games-strategy/endless-sky/files/endless-sky-0.9.14-respect-cflags.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://src.fedoraproject.org/rpms/endless-sky/raw/rawhide/f/endless-sky-0.9.14-remove-additional-ccflags.patch ---- a/SConstruct -+++ b/SConstruct -@@ -46,15 +46,7 @@ - # $ CXXFLAGS=-msse3 scons - # $ CXXFLAGS=-march=native scons - # or modify the `flags` variable: --flags = ["-std=c++11", "-Wall", "-Werror", "-Wold-style-cast"] --if env["mode"] != "debug": -- flags += ["-O3", "-flto"] -- env.Append(LINKFLAGS = ["-O3", "-flto"]) --if env["mode"] == "debug": -- flags += ["-g"] --elif env["mode"] == "profile": -- flags += ["-pg"] -- env.Append(LINKFLAGS = ["-pg"]) -+flags = ["-std=c++11"] - env.Append(CCFLAGS = flags) - - # Always use `ar` to create the symbol table, and don't use ranlib at all, since it fails to preserve diff --git a/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch b/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch deleted file mode 100644 index 9b38e28a60fe..000000000000 --- a/games-strategy/endless-sky/files/endless-sky-0.9.14-use-system-catch2.patch +++ /dev/null @@ -1,14 +0,0 @@ -From e8119dcdcb42479896a35cec5dc85c17c1901b2e Mon Sep 17 00:00:00 2001 -From: Sam James -Date: Thu, 6 Jan 2022 23:56:59 +0000 -Subject: [PATCH 1/2] Use system copy of catch2 - -In particular, we get glibc-2.34 fixes for free then. ---- a/tests/include/es-test.hpp -+++ b/tests/include/es-test.hpp -@@ -23,4 +23,4 @@ PARTICULAR PURPOSE. See the GNU General Public License for more details. - // #define CATCH_CONFIG_WINDOWS_CRTDBG - #endif - --#include "catch.hpp" -+#include -- cgit v1.2.3-65-gdbad