Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/boswars/, games-strategy/boswars/files/
Date: Sun, 29 Mar 2020 07:56:25
Message-Id: 1585468497.809f866cbd2f9f0d62ae7a3820435a55729b8154.zlogene@gentoo
1 commit: 809f866cbd2f9f0d62ae7a3820435a55729b8154
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 07:54:57 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 07:54:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809f866c
7
8 games-strategy/boswars: remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/703906
11 Closes: https://bugs.gentoo.org/710342
12
13 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
14
15 games-strategy/boswars/Manifest | 3 -
16 games-strategy/boswars/boswars-2.7-r2.ebuild | 70 ----------------------
17 .../boswars/files/boswars-2.7-gentoo.patch | 12 ----
18 .../boswars/files/boswars-2.7-scons-blows.patch | 27 ---------
19 games-strategy/boswars/metadata.xml | 13 ----
20 5 files changed, 125 deletions(-)
21
22 diff --git a/games-strategy/boswars/Manifest b/games-strategy/boswars/Manifest
23 deleted file mode 100644
24 index 6d7f93e47e2..00000000000
25 --- a/games-strategy/boswars/Manifest
26 +++ /dev/null
27 @@ -1,3 +0,0 @@
28 -DIST bos.png 620 BLAKE2B c1759f8be923d8d1e0465a3a51affdab71276c78ec6f771fbb856bf46551e798ddf018d03b49f3a40fef65ea3b379aa63ee64d25f2e99a392507e4ca13934af1 SHA512 6a15a5c82f9cff3462d498620a1dd1c7a2a460119689078157e61b27e7e5243a8ac2da7f01c1848d614167a3a748ca1f3e03c1f218479ede3a1c2c0ae85b3cc3
29 -DIST boswars-2.7-fixed-images-for-libpng-1.6.tar.xz 552956 BLAKE2B a719fbd72a5f170281efc98441051b8e8740e0cbdd2b4ed147220cacb934794786cb34dd183863f53ddf5b80bf101857f51bda086408b435ca349475c7c1a2c5 SHA512 794addf06cfd5c5bb0ad0988a90337a3a6332789de7bc942807602c84c4fafe4c4b12da63ae210ca220a1be6dcd9677fa9ddb1ae62a7d26a7748af35b07303dc
30 -DIST boswars-2.7-src.tar.gz 77280735 BLAKE2B 641632faa07251f66cb2fd05efe79c398ba04a51dcbeecc97b3340346889fc6643da285e3976df2ed0ca50557f96a342ad9cc2d00de8cb65a02db65c2ac6c9e3 SHA512 2573c61684e83f356a80292adcf780cc001a4be2a31abba20e6f93ed6deaa38b8eca87f29935a4fe0edc9b4e0fdc3f78ddd709b8132aaaa048ffbcd6c498ec80
31
32 diff --git a/games-strategy/boswars/boswars-2.7-r2.ebuild b/games-strategy/boswars/boswars-2.7-r2.ebuild
33 deleted file mode 100644
34 index 679d91a6ab3..00000000000
35 --- a/games-strategy/boswars/boswars-2.7-r2.ebuild
36 +++ /dev/null
37 @@ -1,70 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -inherit eutils scons-utils
43 -
44 -DESCRIPTION="Futuristic real-time strategy game"
45 -HOMEPAGE="https://www.boswars.org"
46 -SRC_URI="https://www.boswars.org/dist/releases/${P}-src.tar.gz
47 - https://dev.gentoo.org/~hasufell/distfiles/${P}-fixed-images-for-libpng-1.6.tar.xz
48 - mirror://gentoo/bos.png"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~x86"
53 -IUSE=""
54 -
55 -RDEPEND="dev-lang/lua:0
56 - media-libs/libogg
57 - media-libs/libpng:0
58 - media-libs/libsdl[opengl,sound,video]
59 - media-libs/libtheora
60 - media-libs/libvorbis
61 - virtual/opengl
62 - x11-libs/libX11"
63 -DEPEND="${RDEPEND}"
64 -
65 -S=${WORKDIR}/${P}-src
66 -
67 -PATCHES=(
68 - "${FILESDIR}"/${P}-gentoo.patch
69 - "${FILESDIR}"/${P}-scons-blows.patch
70 -)
71 -
72 -src_unpack() {
73 - default
74 - # bug 475764
75 - cp -dRp ${P}-fixed-images-for-libpng-1.6/* ${P}-src/ \
76 - || die "copying fixed images failed!"
77 -}
78 -
79 -src_prepare() {
80 - default
81 -
82 - rm -f doc/{README-SDL.txt,guichan-copyright.txt} || die
83 -
84 - sed -i \
85 - -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
86 - engine/include/stratagus.h \
87 - || die
88 - sed -i \
89 - -e "/-O2/s:-O2.*math:${CXXFLAGS} -Wall:" \
90 - SConstruct \
91 - || die
92 -}
93 -
94 -src_compile() {
95 - escons || die
96 -}
97 -
98 -src_install() {
99 - newbin build/${PN}-release ${PN}
100 - insinto /usr/share/${PN}
101 - doins -r campaigns graphics intro languages maps patches scripts sounds units
102 - newicon "${DISTDIR}"/bos.png ${PN}.png
103 - make_desktop_entry ${PN} "Bos Wars"
104 - # COPYRIGHT.txt is referenced by the html
105 - dodoc CHANGELOG COPYRIGHT.txt README.txt
106 - dodoc -r doc/*
107 -}
108
109 diff --git a/games-strategy/boswars/files/boswars-2.7-gentoo.patch b/games-strategy/boswars/files/boswars-2.7-gentoo.patch
110 deleted file mode 100644
111 index a005f6f93ad..00000000000
112 --- a/games-strategy/boswars/files/boswars-2.7-gentoo.patch
113 +++ /dev/null
114 @@ -1,12 +0,0 @@
115 -diff -ru boswars-2.6.1-src/engine/include/stratagus.h boswars-2.6.1-src/engine/include/stratagus.h
116 ---- boswars-2.6.1-src/engine/include/stratagus.h 2010-04-11 08:12:18.000000000 -0400
117 -+++ boswars-2.6.1-src/engine/include/stratagus.h 2010-05-22 02:33:50.021377764 -0400
118 -@@ -133,7 +133,7 @@
119 - -- General
120 - ----------------------------------------------------------------------------*/
121 - #ifndef STRATAGUS_LIB_PATH
122 --#define STRATAGUS_LIB_PATH "." /// Where to find the data files
123 -+#define STRATAGUS_LIB_PATH "@GENTOO_DATADIR@" /// Where to find the data files
124 - #endif
125 -
126 - #ifndef STRATAGUS_HOME_PATH
127
128 diff --git a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch b/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
129 deleted file mode 100644
130 index 1d2c04cc4f1..00000000000
131 --- a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
132 +++ /dev/null
133 @@ -1,27 +0,0 @@
134 ---- a/SConstruct 2010-11-19 21:09:45.724976603 -0500
135 -+++ b/SConstruct 2010-11-19 21:11:05.723197985 -0500
136 -@@ -22,6 +22,7 @@
137 - ##
138 -
139 - import os
140 -+import SCons.Util
141 - import sys
142 - import glob
143 - from stat import *
144 -@@ -50,6 +51,16 @@
145 -
146 - opts = DefineOptions("build_options.py", ARGUMENTS)
147 - env = Environment(ENV = {'PATH':os.environ['PATH']}) # for an unknown reason Environment(options=opts) doesnt work well
148 -+if os.environ.has_key('CC'):
149 -+ env['CC'] = os.environ['CC']
150 -+if os.environ.has_key('CFLAGS'):
151 -+ env['CCFLAGS'] += SCons.Util.CLVar(os.environ['CFLAGS'])
152 -+if os.environ.has_key('CXX'):
153 -+ env['CXX'] = os.environ['CXX']
154 -+if os.environ.has_key('CXXFLAGS'):
155 -+ env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
156 -+if os.environ.has_key('LDFLAGS'):
157 -+ env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
158 - opts.Update(env) # Needed as Environment(options=opts) doesnt seem to work
159 - Help(opts.GenerateHelpText(env))
160 - mingw = env.Clone()
161
162 diff --git a/games-strategy/boswars/metadata.xml b/games-strategy/boswars/metadata.xml
163 deleted file mode 100644
164 index 242aa2331bb..00000000000
165 --- a/games-strategy/boswars/metadata.xml
166 +++ /dev/null
167 @@ -1,13 +0,0 @@
168 -<?xml version="1.0" encoding="UTF-8"?>
169 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
170 -<pkgmetadata>
171 -<maintainer type="project">
172 - <email>games@g.o</email>
173 - <name>Gentoo Games Project</name>
174 -</maintainer>
175 -<longdescription lang="en">
176 -Bos Wars is a futuristic real-time strategy game. It is possible to play against
177 -human opponents over LAN, internet, or against the computer.
178 -Bos Wars aims to create a completely original and fun open source RTS game.
179 -</longdescription>
180 -</pkgmetadata>