From 809f866cbd2f9f0d62ae7a3820435a55729b8154 Mon Sep 17 00:00:00 2001 From: Mikle Kolyada Date: Sun, 29 Mar 2020 10:54:57 +0300 Subject: games-strategy/boswars: remove last-rited pkg Closes: https://bugs.gentoo.org/703906 Closes: https://bugs.gentoo.org/710342 Signed-off-by: Mikle Kolyada --- games-strategy/boswars/Manifest | 3 - games-strategy/boswars/boswars-2.7-r2.ebuild | 70 ---------------------- .../boswars/files/boswars-2.7-gentoo.patch | 12 ---- .../boswars/files/boswars-2.7-scons-blows.patch | 27 --------- games-strategy/boswars/metadata.xml | 13 ---- 5 files changed, 125 deletions(-) delete mode 100644 games-strategy/boswars/Manifest delete mode 100644 games-strategy/boswars/boswars-2.7-r2.ebuild delete mode 100644 games-strategy/boswars/files/boswars-2.7-gentoo.patch delete mode 100644 games-strategy/boswars/files/boswars-2.7-scons-blows.patch delete mode 100644 games-strategy/boswars/metadata.xml diff --git a/games-strategy/boswars/Manifest b/games-strategy/boswars/Manifest deleted file mode 100644 index 6d7f93e47e20..000000000000 --- a/games-strategy/boswars/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST bos.png 620 BLAKE2B c1759f8be923d8d1e0465a3a51affdab71276c78ec6f771fbb856bf46551e798ddf018d03b49f3a40fef65ea3b379aa63ee64d25f2e99a392507e4ca13934af1 SHA512 6a15a5c82f9cff3462d498620a1dd1c7a2a460119689078157e61b27e7e5243a8ac2da7f01c1848d614167a3a748ca1f3e03c1f218479ede3a1c2c0ae85b3cc3 -DIST boswars-2.7-fixed-images-for-libpng-1.6.tar.xz 552956 BLAKE2B a719fbd72a5f170281efc98441051b8e8740e0cbdd2b4ed147220cacb934794786cb34dd183863f53ddf5b80bf101857f51bda086408b435ca349475c7c1a2c5 SHA512 794addf06cfd5c5bb0ad0988a90337a3a6332789de7bc942807602c84c4fafe4c4b12da63ae210ca220a1be6dcd9677fa9ddb1ae62a7d26a7748af35b07303dc -DIST boswars-2.7-src.tar.gz 77280735 BLAKE2B 641632faa07251f66cb2fd05efe79c398ba04a51dcbeecc97b3340346889fc6643da285e3976df2ed0ca50557f96a342ad9cc2d00de8cb65a02db65c2ac6c9e3 SHA512 2573c61684e83f356a80292adcf780cc001a4be2a31abba20e6f93ed6deaa38b8eca87f29935a4fe0edc9b4e0fdc3f78ddd709b8132aaaa048ffbcd6c498ec80 diff --git a/games-strategy/boswars/boswars-2.7-r2.ebuild b/games-strategy/boswars/boswars-2.7-r2.ebuild deleted file mode 100644 index 679d91a6ab3b..000000000000 --- a/games-strategy/boswars/boswars-2.7-r2.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit eutils scons-utils - -DESCRIPTION="Futuristic real-time strategy game" -HOMEPAGE="https://www.boswars.org" -SRC_URI="https://www.boswars.org/dist/releases/${P}-src.tar.gz - https://dev.gentoo.org/~hasufell/distfiles/${P}-fixed-images-for-libpng-1.6.tar.xz - mirror://gentoo/bos.png" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="dev-lang/lua:0 - media-libs/libogg - media-libs/libpng:0 - media-libs/libsdl[opengl,sound,video] - media-libs/libtheora - media-libs/libvorbis - virtual/opengl - x11-libs/libX11" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${P}-src - -PATCHES=( - "${FILESDIR}"/${P}-gentoo.patch - "${FILESDIR}"/${P}-scons-blows.patch -) - -src_unpack() { - default - # bug 475764 - cp -dRp ${P}-fixed-images-for-libpng-1.6/* ${P}-src/ \ - || die "copying fixed images failed!" -} - -src_prepare() { - default - - rm -f doc/{README-SDL.txt,guichan-copyright.txt} || die - - sed -i \ - -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ - engine/include/stratagus.h \ - || die - sed -i \ - -e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \ - SConstruct \ - || die -} - -src_compile() { - escons || die -} - -src_install() { - newbin build/${PN}-release ${PN} - insinto /usr/share/${PN} - doins -r campaigns graphics intro languages maps patches scripts sounds units - newicon "${DISTDIR}"/bos.png ${PN}.png - make_desktop_entry ${PN} "Bos Wars" - # COPYRIGHT.txt is referenced by the html - dodoc CHANGELOG COPYRIGHT.txt README.txt - dodoc -r doc/* -} diff --git a/games-strategy/boswars/files/boswars-2.7-gentoo.patch b/games-strategy/boswars/files/boswars-2.7-gentoo.patch deleted file mode 100644 index a005f6f93ad0..000000000000 --- a/games-strategy/boswars/files/boswars-2.7-gentoo.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru boswars-2.6.1-src/engine/include/stratagus.h boswars-2.6.1-src/engine/include/stratagus.h ---- boswars-2.6.1-src/engine/include/stratagus.h 2010-04-11 08:12:18.000000000 -0400 -+++ boswars-2.6.1-src/engine/include/stratagus.h 2010-05-22 02:33:50.021377764 -0400 -@@ -133,7 +133,7 @@ - -- General - ----------------------------------------------------------------------------*/ - #ifndef STRATAGUS_LIB_PATH --#define STRATAGUS_LIB_PATH "." /// Where to find the data files -+#define STRATAGUS_LIB_PATH "@GENTOO_DATADIR@" /// Where to find the data files - #endif - - #ifndef STRATAGUS_HOME_PATH diff --git a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch b/games-strategy/boswars/files/boswars-2.7-scons-blows.patch deleted file mode 100644 index 1d2c04cc4f1b..000000000000 --- a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/SConstruct 2010-11-19 21:09:45.724976603 -0500 -+++ b/SConstruct 2010-11-19 21:11:05.723197985 -0500 -@@ -22,6 +22,7 @@ - ## - - import os -+import SCons.Util - import sys - import glob - from stat import * -@@ -50,6 +51,16 @@ - - opts = DefineOptions("build_options.py", ARGUMENTS) - env = Environment(ENV = {'PATH':os.environ['PATH']}) # for an unknown reason Environment(options=opts) doesnt work well -+if os.environ.has_key('CC'): -+ env['CC'] = os.environ['CC'] -+if os.environ.has_key('CFLAGS'): -+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS']) -+if os.environ.has_key('CXX'): -+ env['CXX'] = os.environ['CXX'] -+if os.environ.has_key('CXXFLAGS'): -+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) -+if os.environ.has_key('LDFLAGS'): -+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) - opts.Update(env) # Needed as Environment(options=opts) doesnt seem to work - Help(opts.GenerateHelpText(env)) - mingw = env.Clone() diff --git a/games-strategy/boswars/metadata.xml b/games-strategy/boswars/metadata.xml deleted file mode 100644 index 242aa2331bb7..000000000000 --- a/games-strategy/boswars/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - -Bos Wars is a futuristic real-time strategy game. It is possible to play against -human opponents over LAN, internet, or against the computer. -Bos Wars aims to create a completely original and fun open source RTS game. - - -- cgit v1.2.3-65-gdbad