[gentoo-commits] repo/gentoo:master commit in: games-strategy/boswars/, games-strategy/boswars/files/

2020-03-29 Thread Mikle Kolyada
commit: 809f866cbd2f9f0d62ae7a3820435a55729b8154
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar 29 07:54:57 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar 29 07:54:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=809f866c

games-strategy/boswars: remove last-rited pkg

Closes: https://bugs.gentoo.org/703906
Closes: https://bugs.gentoo.org/710342

Signed-off-by: Mikle Kolyada  gentoo.org>

 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(-)

diff --git a/games-strategy/boswars/Manifest b/games-strategy/boswars/Manifest
deleted file mode 100644
index 6d7f93e47e2..000
--- 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 
2573c61684e83f356a80292adcf780cc001a4be2a31abba20e6f93ed6deaa38b8eca87f29935a4fe0edc9b4e0fdc3f78ddd709b8132048ffbcd6c498ec80

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 679d91a6ab3..000
--- 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 a005f6f93ad..000
--- 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.0 -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 

[gentoo-commits] repo/gentoo:master commit in: games-strategy/boswars/, games-strategy/boswars/files/

2017-09-07 Thread Austin English
commit: 8e526a4c11387c99eab0ddf17d8e103f15038b3e
Author: Austin English  gentoo  org>
AuthorDate: Thu Sep  7 17:47:14 2017 +
Commit: Austin English  gentoo  org>
CommitDate: Thu Sep  7 21:04:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e526a4c

games-strategy/boswars: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 games-strategy/boswars/boswars-2.7-r2.ebuild   | 70 ++
 .../boswars/files/boswars-2.7-gentoo.patch |  4 +-
 .../boswars/files/boswars-2.7-scons-blows.patch|  4 +-
 3 files changed, 74 insertions(+), 4 deletions(-)

diff --git a/games-strategy/boswars/boswars-2.7-r2.ebuild 
b/games-strategy/boswars/boswars-2.7-r2.ebuild
new file mode 100644
index 000..e47f414ef94
--- /dev/null
+++ b/games-strategy/boswars/boswars-2.7-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 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="http://www.boswars.org/;
+SRC_URI="http://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
index 9459c77d89b..a005f6f93ad 100644
--- a/games-strategy/boswars/files/boswars-2.7-gentoo.patch
+++ b/games-strategy/boswars/files/boswars-2.7-gentoo.patch
@@ -1,5 +1,5 @@
-diff -ru boswars-2.6.1-src.orig/engine/include/stratagus.h 
boswars-2.6.1-src/engine/include/stratagus.h
 boswars-2.6.1-src.orig/engine/include/stratagus.h  2010-04-11 
08:12:18.0 -0400
+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.0 -0400
 +++ boswars-2.6.1-src/engine/include/stratagus.h   2010-05-22 
02:33:50.021377764 -0400
 @@ -133,7 +133,7 @@
  --  General

diff --git a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch 
b/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
index 0a7029df497..1d2c04cc4f1 100644
--- a/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
+++ b/games-strategy/boswars/files/boswars-2.7-scons-blows.patch
@@ -1,5 +1,5 @@
 SConstruct.orig2010-11-19 21:09:45.724976603 -0500
-+++ SConstruct 2010-11-19 21:11:05.723197985 -0500
+--- a/SConstruct   2010-11-19 21:09:45.724976603 -0500
 b/SConstruct   2010-11-19 21:11:05.723197985 -0500
 @@ -22,6 +22,7 @@
  ##