summaryrefslogtreecommitdiff
path: root/games-puzzle/brainparty
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-puzzle/brainparty
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-puzzle/brainparty')
-rw-r--r--games-puzzle/brainparty/Manifest6
-rw-r--r--games-puzzle/brainparty/brainparty-0.61-r1.ebuild55
-rw-r--r--games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch20
-rw-r--r--games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch11
-rw-r--r--games-puzzle/brainparty/files/brainparty-0.61-savegame.patch27
-rw-r--r--games-puzzle/brainparty/metadata.xml11
6 files changed, 0 insertions, 130 deletions
diff --git a/games-puzzle/brainparty/Manifest b/games-puzzle/brainparty/Manifest
deleted file mode 100644
index 84e8324bb1d8..000000000000
--- a/games-puzzle/brainparty/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX brainparty-0.61-gcc49.patch 489 BLAKE2B f4f317679669fca33429e19a967945691e8baa24ec7ccea2d7a943e1ea4eed0108ea13c30208ac75b80d253b7166540556b20a7b47443e644bf8af8eeee78a82 SHA512 9859614d97c9fe8efd8cefedd8ef935cbdf4344154f2e272e0624268e48533b620a55654c9d0097e3726579ce1a7028ad44eb705c2e86bbc983cb490faec6295
-AUX brainparty-0.61-gnu_cxx-hash.patch 219 BLAKE2B 8a0570732bc55c2a0fe5b703e947650fe92200582581bc39857eb5a4898bdd9925ebd5e8568efc0e0c1765db26b4c9d5c15afab7fba49aa2a2016573e56be539 SHA512 d42cb49d0c320d91fc9c31706e2fb3e8cffcd0b08803b1a016ff30e283f35f86bbbdaae98a1f0ee3cece82d027dd767ce0a30ca8565887a2d2d619789ce51e30
-AUX brainparty-0.61-savegame.patch 674 BLAKE2B 051698e4fde8dab50ff591657705c32e5926d74ca83833ed0e901c6cc11bf82c66a6b7b5ef201d3e0ec2e27be0e8e0991c41216cfe34ece92ad21933606aaf0e SHA512 9e158b97ff15cfb4b6b8e4f6eb8006335841c48ff94b5da8bbb0cba03868b8ead92d2520bc8adae887d4baabac93c8104e44b46d87b6c4258792ab64376ce34a
-DIST brainparty0.61.tar.gz 40676905 BLAKE2B cfa1a408a66438491e6053be0e76ca64d1d78724be86379cb06e750fc842e9835b624af7b98163c232ee6e205a4c2f9478f9d42fe0eaa28d18b45e218db75971 SHA512 bc8578a551ce4b7f40e212d9ab9910b2435b88d8b7b7e90a1c088e37d5f26b5c6126fcb9ffee7e39981eff34c13144c8f3204e020532b5abf1c4815cc8074eb9
-EBUILD brainparty-0.61-r1.ebuild 1223 BLAKE2B eab12dfb377265408a9192c02ff20a0308d780acd7beee685dddfbec805aa4635e22f1cb09777f4b092cfdd4ecb58cd0f3f8f12993d4d25fa401add2a76dee11 SHA512 2dd1e3071749fe87480d37c3d4e8eebf0c24479cdbb624c28e0960b9dfd08eb830c5fe5dc25f3d987a02adbc141c2b3cc75fdc785ee40c734ca4bdb56dc99e4b
-MISC metadata.xml 331 BLAKE2B e2ed6c3f26c4637f2ca40dd55ecda347ffd596dc9c55db194668bd546f362bf37e41e52ba94a6777da6bcfa4d53513b865a6acb615b60b2a6ce8f6e6634087ac SHA512 bcea1853cf01102eb88c58723e585f81c55b4208be24b46bc421b62afa84405539116b33289e94c7b1da5c259ca91d0fc6553e6441e59ec5d41326525742a404
diff --git a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
deleted file mode 100644
index 97d4b35c28aa..000000000000
--- a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils
-
-DESCRIPTION="A puzzle-solving, brain-stretching game for all ages"
-HOMEPAGE="http://www.tuxradar.com/brainparty"
-SRC_URI="https://launchpad.net/brainparty/trunk/${PV}/+download/${PN}${PV}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="
- media-libs/libsdl[sound,opengl,video]
- media-libs/sdl-gfx
- media-libs/sdl-image[png]
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-ttf"
-DEPEND="${RDEPEND}"
-
-S=${WORKDIR}/${PN}
-
-PATCHES=(
- "${FILESDIR}"/${P}-savegame.patch
- "${FILESDIR}"/${P}-gcc49.patch
- "${FILESDIR}"/${P}-gnu_cxx-hash.patch
-)
-
-src_prepare() {
- default
-
- sed -i \
- -e 's/$(LIBS) $(OSXCOMPAT) $(OBJFILES)/$(OSXCOMPAT) $(OBJFILES) $(LIBS)/' \
- -e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \
- -e '/^CXX =/d' \
- -e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \
- Makefile || die
- sed -i \
- "/^int main(/ a\\\\tchdir(\"/usr/share/${PN}\");\n" \
- main.cpp || die
-}
-
-src_install() {
- dobin brainparty
-
- insinto /usr/share/${PN}/Content
- doins -r Content/.
-
- newicon Content/icon.bmp ${PN}.bmp
- make_desktop_entry brainparty "Brain Party" /usr/share/pixmaps/${PN}.bmp
-}
diff --git a/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch b/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch
deleted file mode 100644
index 7147cd460be6..000000000000
--- a/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/BPList.h
-+++ a/BPList.h
-@@ -138,7 +138,7 @@
- ~BPPList();
- void Add(T item);
- bool Contains(T item);
-- void Clear(bool safe_delete);
-+ void Clear(bool safe_delete = true);
- int IndexOf(T item);
- void Insert(int pos, T item);
- void Remove(T item);
-@@ -171,7 +171,7 @@
- }
-
- template <class T>
--void BPPList<T>::Clear(bool safe_delete = true) {
-+void BPPList<T>::Clear(bool safe_delete) {
- if (safe_delete) {
- for (int i = data.size() - 1; i >= 0; --i) {
- T item = data[i];
diff --git a/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch b/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch
deleted file mode 100644
index 8d933462673b..000000000000
--- a/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/WordList.h
-+++ b/WordList.h
-@@ -35,7 +35,7 @@
- };
- }
-
--typedef hash_set<string, hash<string> > string_hash_set;
-+typedef hash_set<string, __gnu_cxx::hash<string> > string_hash_set;
-
- class WordList {
- private:
diff --git a/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch b/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch
deleted file mode 100644
index 08526d345100..000000000000
--- a/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/BPGame.cpp
-+++ b/BPGame.cpp
-@@ -1294,8 +1294,10 @@ void BPGame::LoadSettings() {
- Secret1 = Secret2 = Secret3 = Secret4 = false;
- NumUnlockedGames = 0;
-
-+ string file = string("/.brainparty");
-+ file.insert(0, getenv("HOME"));
- ifstream ifs;
-- ifs.open(".brainparty");
-+ ifs.open(file.c_str());
-
- FirstRun = false;
-
-@@ -1425,8 +1428,11 @@ void BPGame::LoadSettings() {
- }
-
- void BPGame::SaveSettings() {
-+ string file = string("/.brainparty");
-+ file.insert(0, getenv("HOME"));
-+
- ofstream savefile;
-- savefile.open(".brainparty");
-+ savefile.open(file.c_str());
- savefile << EnableSound << endl;
- savefile << EnableMusic << endl;
- savefile << endl;
diff --git a/games-puzzle/brainparty/metadata.xml b/games-puzzle/brainparty/metadata.xml
deleted file mode 100644
index 441580ff56b3..000000000000
--- a/games-puzzle/brainparty/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <remote-id type="launchpad">brainparty</remote-id>
- </upstream>
-</pkgmetadata>