summaryrefslogtreecommitdiff
path: root/games-arcade/blobby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-arcade/blobby
reinit the tree, so we can have metadata
Diffstat (limited to 'games-arcade/blobby')
-rw-r--r--games-arcade/blobby/Manifest11
-rw-r--r--games-arcade/blobby/blobby-0.9c.ebuild48
-rw-r--r--games-arcade/blobby/blobby-1.0.ebuild37
-rw-r--r--games-arcade/blobby/files/blobby-0.9c-gcc47.patch66
-rw-r--r--games-arcade/blobby/files/blobby-1.0-compile.patch29
-rw-r--r--games-arcade/blobby/files/blobby-1.0-install.patch29
-rw-r--r--games-arcade/blobby/files/blobby-1.0-paths.patch37
-rw-r--r--games-arcade/blobby/metadata.xml11
8 files changed, 268 insertions, 0 deletions
diff --git a/games-arcade/blobby/Manifest b/games-arcade/blobby/Manifest
new file mode 100644
index 000000000000..616c45472760
--- /dev/null
+++ b/games-arcade/blobby/Manifest
@@ -0,0 +1,11 @@
+AUX blobby-0.9c-gcc47.patch 1615 SHA256 d88255a63d6dbe97f2561dfdcf43909524c05b8ef09acf6255177d7efff3ab5f SHA512 bda92520c66bcba774dd40738f33842b60a33166affc20b9de83e7025270b9aab8a6aac9e854263e08826e11c585af91571ac354efdb1f2a0b9a6458180ec69d WHIRLPOOL f5d51bf788cd2e699741d9dd47331fbde709d258912d9e0a1f7c5f689942d3e7a56d1bac01e24e0547252c1aa139023db0894b6df9ac8d42b7757f731b4c3bb6
+AUX blobby-1.0-compile.patch 953 SHA256 6a1f9e4f42b4852084c9d1c6b366300abff1893077b2edabd98bdc21af13de02 SHA512 da389d12f388cfd48a4259be72e076bfff65258e6ff27c9d8ea815e9c04ce99520fc321b17cfcc95241e1ec7b5f70dee7d6a5dd05c36e351648c67ee5226d078 WHIRLPOOL 2c5162e627e03197f6e37077c957622e173bf49fcdafe675396d04a4fc40b3b5fa7f1d280a5898e2a0a440a578f4d1837758674b3abda915cfa2ad7ba91ee348
+AUX blobby-1.0-install.patch 669 SHA256 c7cca117bd562f22f567d8eb324ede5b0dd2931a15d40ea178ece31793c0c647 SHA512 ed31fd4a8f6e5c0f30bfbaf331c5b4dc51250c72481d38b556bceed673de5ee8c1fe89c5002e15125202551023e3d836937eeb1de1121e78f60c15132b5850c9 WHIRLPOOL ab369eb83e2bc82c18459917419b2d757f6d12371f1e7978deda31f6eee705b5254d46731170e00af6045ea6cbf806e3ff2c92cf055a321e7ef2b9fc99c7a168
+AUX blobby-1.0-paths.patch 1237 SHA256 6dc49ca608a7aeae59a2eb7ca518aba2026a7198f8db5439737e40be34cb9ea7 SHA512 63c0ea107197ec2bed46b34d6cebbd0df1cc09477d6253ee8f325a554608456b0a34b301201e4d774c985df0512ba330105a5ec2be29ba34250a3a7311437793 WHIRLPOOL f5dfe1490ab5d33f066d54ebcf5cb069743e17cea1871a01bca7d4e03ed1b3b0d23b98780a1949de2fedae729e4d82b656763933231704d8240441b1e292436b
+DIST blobby2-linux-0.9c.tar.gz 2290384 SHA256 e3ed8f92c70e16d24f109b6f0f4dccc25656a88780eb1a348d1223edcb7fc937 SHA512 741eed708f6688af179e19cecc17cb1e0cdbd6a9e2680fbfd8093ca171c0593474ec1bd11c1704e6e275ae8693c72c8f2f93fdc9ec7863dcda5999a76b0002e2 WHIRLPOOL 04e5b7786290cd43abcfd25099c9dd338a4405e5fd8c796c366b6a8e456bbcc2930a906a8a4c6cb796aacf9f4716f3913b70f7ccdc35b025c0e924a30ccc4f63
+DIST blobby2-linux-1.0.tar.gz 1772918 SHA256 ba7a049e298aaa2014c1e1ac1faf3b0256b4c66266cd4db06e7939e8695bf5e2 SHA512 b9e36de4a44e482c9d0742b95034c2979d7a51512ac5e3fd8f4933655132028dfc9642c3580e5523b5b95d38acc169932d24808cee236710731c2571321337fa WHIRLPOOL 6442450293d3999cd085cc4681786573d082220cd3025d76a479e652ca51807ea7cc70faa4df97bae621c183ae46a14a23d1c714cd64972fbbee3c6b784ac6dc
+EBUILD blobby-0.9c.ebuild 1164 SHA256 687bf9896a38f69d9953402db927c34447ccea1166660149f4f40ade7b4c860e SHA512 c0809159a8a90a7629fb313904233adb5102010724908ab89b6f3cc26784b6807ccde281679d03526a1cbad58545da7737501c786f3e204f8222d063d7373a78 WHIRLPOOL e383d6f3169481cd83c64608c624e45e87dd7cdf971468d1b692994ee2f36a7907285c7d0cf8bf69ec495c9da0ba97bfd9fc83a1728a0ddb28e924e0e7a3dbae
+EBUILD blobby-1.0.ebuild 847 SHA256 25294e6c08f5d0905b47fa12dc39a83e2d24830f2f5f13432f386f49cdd7ff09 SHA512 d01c51e93f777cae4a058ad80352dfb0b68b57e13fa9223ed16c601e0380fc17f35c9e82b02281bd7bb51e4aad944a108547372d865c3fc0695309e607c79ff3 WHIRLPOOL 217922938e8e15417742bdb913afad3779df3d61130e70e158beb7ee88aa8df62c34a76363f71464a02451e4a87a8ed3c1f946ec749e90833c65f30903c76f08
+MISC ChangeLog 2688 SHA256 ffe6fad3f9f0b5d44940a51542344dc3ee946f7071bf2c4f92a6af9f26c10dd5 SHA512 533ff505974475055e36fb2d7a77390429fd48bbda50e8921248490e085fef32152caf70d244a15aedf473e75668e6252f79649e05064600b85b977ca9b0f333 WHIRLPOOL db183031dd76fbdaf6c10b0398bc45930ff035edcde4b99a94e2ffd3fa7f95a30b044bf2d1cdc7991a00b18864f1a5644534cc69f71789fd68e0276cdad00a05
+MISC ChangeLog-2015 1258 SHA256 5e95e64d3449dfe682ad15398ba5fc164a57d8ad163c4b8c39c6a26e20bc5789 SHA512 6f9748c7fcac773c5cc1f59581ab0c33700a7fb72f0b402765515dd1a02c68a6a6ab54f32278375bee7d8c306c51104f7e4afc8effc02c0fbb49b433528e6221 WHIRLPOOL 0ad9e6d301f9a639e2359baa96255be06297223977e57269b35968d29b04d58a652b45b5c8e163fd4a3c7b41d5ba7b647570eb1e4ad7b26c038f229f7c8c1387
+MISC metadata.xml 329 SHA256 0b0c66b15540726621cd7b4dbf077bc31f94eb9b6d9f3b7d92354c260006137e SHA512 a46248ffada14ff8459d5a6949e8d437d7fc72036c04f0c8f28b3cca614ccdb3116875f741d0dd248e172431d292761c6c1d230f1a07499b2d6cc63208ccc740 WHIRLPOOL 8cfd94cc6adf946a6e9b0f5fff0c644774515915d37152a7cb492cc5a630a38ff460b027d80873d56463f89e58aafb30e8328968f9ef42c1cb5b644a19c06cea
diff --git a/games-arcade/blobby/blobby-0.9c.ebuild b/games-arcade/blobby/blobby-0.9c.ebuild
new file mode 100644
index 000000000000..0c7fcb70144f
--- /dev/null
+++ b/games-arcade/blobby/blobby-0.9c.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils eutils games
+
+DESCRIPTION="A beach ball game with blobs of goo"
+HOMEPAGE="https://sourceforge.net/projects/blobby/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}2-linux-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND=">=dev-games/physfs-2[zip]
+ media-libs/libsdl[sound,joystick,opengl,video,X]
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig
+ app-arch/zip" #406667
+
+S=${WORKDIR}/${PN}-beta-${PV}
+
+src_prepare() {
+ sed -i -e "s:share/${PN}:${GAMES_DATADIR}/${PN}:" data/CMakeLists.txt || die
+ sed -i -e "s:share/${PN}:${GAMES_DATADIR/\/usr\/}/${PN}:" src/main.cpp || die
+ sed -i -e "/DESTINATION/s:bin:${GAMES_BINDIR}:" src/CMakeLists.txt || die
+ epatch "${FILESDIR}"/${P}-gcc47.patch
+}
+
+src_configure() {
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ DOCS="AUTHORS ChangeLog README TODO" cmake-utils_src_install
+
+ newicon data/Icon.bmp ${PN}.bmp
+ make_desktop_entry ${PN} "Blobby Volley" /usr/share/pixmaps/${PN}.bmp
+
+ prepgamesdirs
+}
diff --git a/games-arcade/blobby/blobby-1.0.ebuild b/games-arcade/blobby/blobby-1.0.ebuild
new file mode 100644
index 000000000000..1165f2625704
--- /dev/null
+++ b/games-arcade/blobby/blobby-1.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils cmake-utils
+
+DESCRIPTION="A beach ball game with blobs of goo"
+HOMEPAGE="https://sourceforge.net/projects/blobby/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}2-linux-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-games/physfs-2[zip]
+ media-libs/libsdl[sound,joystick,opengl,video,X]
+ virtual/opengl"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ virtual/pkgconfig
+ app-arch/zip" #406667
+
+DOCS=( AUTHORS ChangeLog README TODO )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-compile.patch
+ "${FILESDIR}"/${P}-paths.patch
+ "${FILESDIR}"/${P}-install.patch
+)
+
+src_install() {
+ cmake-utils_src_install
+
+ newicon data/Icon.bmp ${PN}.bmp
+ make_desktop_entry ${PN} "Blobby Volley" /usr/share/pixmaps/${PN}.bmp
+}
diff --git a/games-arcade/blobby/files/blobby-0.9c-gcc47.patch b/games-arcade/blobby/files/blobby-0.9c-gcc47.patch
new file mode 100644
index 000000000000..be873b7af0d1
--- /dev/null
+++ b/games-arcade/blobby/files/blobby-0.9c-gcc47.patch
@@ -0,0 +1,66 @@
+--- src/raknet/BinarySearchTree.h.old 2012-06-21 09:09:08.389412319 +0200
++++ src/raknet/BinarySearchTree.h 2012-06-21 09:10:39.830991876 +0200
+@@ -338,12 +338,12 @@
+ if ( current->left == 0 )
+ left_height = 0;
+ else
+- left_height = height( current->left );
++ left_height = this->height( current->left );
+
+ if ( current->right == 0 )
+ right_height = 0;
+ else
+- right_height = height( current->right );
++ right_height = this->height( current->right );
+
+ if ( right_height - left_height == 2 )
+ {
+@@ -371,7 +371,7 @@
+ if ( current == this->root )
+ break;
+
+- current = find_parent( *( current->item ) );
++ current = this->find_parent( *( current->item ) );
+
+ }
+ }
+@@ -400,7 +400,7 @@
+ if ( A == 0 )
+ return false;
+
+- return height( A->right ) > height( A->left );
++ return this->height( A->right ) > this->height( A->left );
+ }
+
+ template <class BinarySearchTreeType>
+@@ -409,7 +409,7 @@
+ if ( A == 0 )
+ return false;
+
+- return height( A->left ) > height( A->right );
++ return this->height( A->left ) > this->height( A->right );
+ }
+
+ template <class BinarySearchTreeType>
+@@ -446,8 +446,8 @@
+
+ */
+
+- B = find_parent( *( C->item ) );
+- A = find_parent( *( B->item ) );
++ B = this->find_parent( *( C->item ) );
++ A = this->find_parent( *( B->item ) );
+ D = C->right;
+
+ if ( A )
+@@ -510,8 +510,8 @@
+
+ */
+
+- B = find_parent( *( C->item ) );
+- A = find_parent( *( B->item ) );
++ B = this->find_parent( *( C->item ) );
++ A = this->find_parent( *( B->item ) );
+ D = C->left;
+
+ if ( A )
diff --git a/games-arcade/blobby/files/blobby-1.0-compile.patch b/games-arcade/blobby/files/blobby-1.0-compile.patch
new file mode 100644
index 000000000000..f41601d56375
--- /dev/null
+++ b/games-arcade/blobby/files/blobby-1.0-compile.patch
@@ -0,0 +1,29 @@
+From eaa17d2ad90de2024fc3a7a59575597d1dc0b171 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sat, 21 Jan 2017 18:01:14 +0100
+Subject: [PATCH] Fix compilation
+
+---
+ src/NetworkMessage.cpp | 7 ++++++-
+ 1 file changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/src/NetworkMessage.cpp b/src/NetworkMessage.cpp
+index 9178e74..0c3163b 100644
+--- a/src/NetworkMessage.cpp
++++ b/src/NetworkMessage.cpp
+@@ -109,6 +109,11 @@ bool operator == (const ServerInfo& lval, const ServerInfo& rval)
+
+ std::ostream& operator<<(std::ostream& stream, const ServerInfo& val)
+ {
+- return stream << val.name << " (" << val.hostname << ":" << val.port << ")";
++ return stream
++ << std::string(val.name)
++ << std::string(" (")
++ << std::string(val.hostname)
++ << std::string(":") << std::to_string(val.port)
++ << std::string(")");
+ }
+
+--
+2.11.0
+
diff --git a/games-arcade/blobby/files/blobby-1.0-install.patch b/games-arcade/blobby/files/blobby-1.0-install.patch
new file mode 100644
index 000000000000..5bd95c121ed9
--- /dev/null
+++ b/games-arcade/blobby/files/blobby-1.0-install.patch
@@ -0,0 +1,29 @@
+From 0a3ebb368242ed379f4ff7d5eca24be79841d968 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sat, 21 Jan 2017 18:55:47 +0100
+Subject: [PATCH] Install missing files
+
+---
+ data/CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
+index a2454cd..5a2a661 100644
+--- a/data/CMakeLists.txt
++++ b/data/CMakeLists.txt
+@@ -25,10 +25,12 @@ set(install_files
+ ${CMAKE_CURRENT_BINARY_DIR}/backgrounds.zip
+ ${CMAKE_CURRENT_BINARY_DIR}/rules.zip
+ config.xml
++ Icon.bmp
+ inputconfig.xml
+ server/server.xml
+ lang_de.xml
+ lang_en.xml
++ lang_it.xml
+ lang_fr.xml)
+
+ if (WIN32)
+--
+2.11.0
+
diff --git a/games-arcade/blobby/files/blobby-1.0-paths.patch b/games-arcade/blobby/files/blobby-1.0-paths.patch
new file mode 100644
index 000000000000..6ddc76877e7d
--- /dev/null
+++ b/games-arcade/blobby/files/blobby-1.0-paths.patch
@@ -0,0 +1,37 @@
+From 3dbc91fcfe5412598201e33de80db7b1b01e4ffb Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Sat, 21 Jan 2017 18:49:04 +0100
+Subject: [PATCH] Use system installation path
+
+---
+ data/CMakeLists.txt | 2 +-
+ src/main.cpp | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
+index d9029b3..a2454cd 100644
+--- a/data/CMakeLists.txt
++++ b/data/CMakeLists.txt
+@@ -34,5 +34,5 @@ set(install_files
+ if (WIN32)
+ install(FILES ${install_files} DESTINATION data)
+ elseif (UNIX)
+- install(FILES ${install_files} DESTINATION share/blobby)
++ install(FILES ${install_files} DESTINATION /usr/share/blobby)
+ endif (WIN32)
+diff --git a/src/main.cpp b/src/main.cpp
+index 2628990..15bddf2 100644
+--- a/src/main.cpp
++++ b/src/main.cpp
+@@ -78,7 +78,7 @@ void setupPHYSFS()
+ std::string separator = fs.getDirSeparator();
+ // Game should be playable out of the source package on all
+ // relevant platforms.
+- std::string baseSearchPath("data" + separator);
++ std::string baseSearchPath("/usr/share/blobby/");
+ // Android and iOS are needing a special path
+ #ifdef __ANDROID__
+ baseSearchPath = SDL_AndroidGetExternalStoragePath() + separator;
+--
+2.11.0
+
diff --git a/games-arcade/blobby/metadata.xml b/games-arcade/blobby/metadata.xml
new file mode 100644
index 000000000000..503a13f4e202
--- /dev/null
+++ b/games-arcade/blobby/metadata.xml
@@ -0,0 +1,11 @@
+<?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="sourceforge">blobby</remote-id>
+ </upstream>
+</pkgmetadata>