mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
games-action/clanbomber: cleanup old
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST clanbomber-2.1.1.tar.lzma 2070392 BLAKE2B ba6e183a5469a30949a4441f9f40df8f87271c741110ddcc17f584f0f59564a041e5b74214b53ccddbae7df46ffc573a866e1089db0a782e7c73dda1c2d4ac6f SHA512 b2d634c20d60cd7c080263a8ebea931bd623342c32380494c0076441021719135ca7861e0467e0c71cd46bb4ed85d3ce364dbfa2c8399eaf058f62f294a21c32
|
||||
DIST clanbomber-2.2.0.tar.xz 2118672 BLAKE2B fd384d01552231fb3d823b07a1248c6ca0d1c5bb5f7f8d7dae3a71387d457d789c2dfabb69817233fac95699b9bd96e52846e736de8c55735bb67be7edb5b158 SHA512 307921d118286dcfd29ce96e0a35dfdc389dae6bd71a7dfd088311f611a75b167c1018542b5dc59c26bfb808a985011f6691c297cc8dd472da0fe5e005a401d5
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="Bomberman-like multiplayer game"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/clanbomber/"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.lzma"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost
|
||||
media-fonts/dejavu
|
||||
media-libs/libsdl[sound,joystick,video]
|
||||
media-libs/sdl-gfx
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer
|
||||
media-libs/sdl-ttf"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog ChangeLog.hg IDEAS NEWS QUOTES README TODO )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-automake112.patch
|
||||
"${FILESDIR}"/${P}-boost150.patch
|
||||
"${FILESDIR}"/${P}-gcc6.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/menuentry//' src/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newicon src/pics/cup2.png ${PN}.png
|
||||
make_desktop_entry ${PN}2 ClanBomber2
|
||||
rm -f "${D}/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf" || die
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
|
||||
/usr/share/${PN}/fonts/DejaVuSans-Bold.ttf
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
--- a/configure.ac 2012-11-15 09:35:24.682199511 +0100
|
||||
+++ b/configure.ac 2012-11-15 09:36:02.367839076 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
AC_PREREQ([2.63])
|
||||
AC_INIT([ClanBomber], [2.1.1], [rsl@members.fsf.org])
|
||||
#AM_INIT_AUTOMAKE([-Wall -Werror foreign])#foreign is for NEWS COPYING ETC
|
||||
-AM_INIT_AUTOMAKE([dist-lzma -Wall -Werror])
|
||||
+AM_INIT_AUTOMAKE([-Wall])
|
||||
|
||||
|
||||
#CXXFLAGS="-O6 -g3"
|
||||
@@ -1,31 +0,0 @@
|
||||
--- a/src/MapEntry.cpp 2012-11-15 10:55:40.123259605 +0100
|
||||
+++ b/src/MapEntry.cpp 2012-11-15 10:57:35.217379211 +0100
|
||||
@@ -50,7 +50,7 @@
|
||||
enabled = true;
|
||||
|
||||
// extract map name
|
||||
- map_name = filename.stem();
|
||||
+ map_name = filename.stem().string();
|
||||
|
||||
// is the file writable?
|
||||
if (access(path / filename, W_OK) == 0) {
|
||||
--- a/src/Map.cpp 2012-11-15 10:52:56.884424228 +0100
|
||||
+++ b/src/Map.cpp 2012-11-15 10:54:16.334992079 +0100
|
||||
@@ -116,7 +116,7 @@
|
||||
for (boost::filesystem::directory_iterator dir_iter(path);
|
||||
dir_iter != end_iter; dir_iter++) {
|
||||
if (dir_iter->path().extension() == ".map") {
|
||||
- map_list.push_back(new MapEntry(path, dir_iter->filename()));
|
||||
+ map_list.push_back(new MapEntry(path, dir_iter->path().filename()));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -126,7 +126,7 @@
|
||||
for (boost::filesystem::directory_iterator dir_iter(path);
|
||||
dir_iter != end_iter; dir_iter++) {
|
||||
if (dir_iter->path().extension() == ".map") {
|
||||
- map_list.push_back(new MapEntry(path, dir_iter->filename()));
|
||||
+ map_list.push_back(new MapEntry(path, dir_iter->path().filename()));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
--- a/src/Credits.h
|
||||
+++ b/src/Credits.h
|
||||
@@ -47,7 +47,7 @@
|
||||
int speed;
|
||||
bool stopped;
|
||||
private:
|
||||
- static const float yoffset_start = 50;
|
||||
+ static const float yoffset_start;
|
||||
static const int normal_speed = 40;
|
||||
static const int text_height = 40;
|
||||
|
||||
--- a/src/Credits.cpp
|
||||
+++ b/src/Credits.cpp
|
||||
@@ -273,3 +273,5 @@
|
||||
(*draw_list_iter)->show();
|
||||
}
|
||||
}
|
||||
+
|
||||
+const float Credits::yoffset_start = 50;
|
||||
Reference in New Issue
Block a user