summaryrefslogtreecommitdiff
path: root/games-action/chromium-bsu
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-action/chromium-bsu
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-action/chromium-bsu')
-rw-r--r--games-action/chromium-bsu/Manifest4
-rw-r--r--games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild70
-rw-r--r--games-action/chromium-bsu/files/chromium-bsu-0.9.15.1-gcc6.patch100
-rw-r--r--games-action/chromium-bsu/metadata.xml17
4 files changed, 0 insertions, 191 deletions
diff --git a/games-action/chromium-bsu/Manifest b/games-action/chromium-bsu/Manifest
deleted file mode 100644
index 86afce6bde06..000000000000
--- a/games-action/chromium-bsu/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX chromium-bsu-0.9.15.1-gcc6.patch 4183 BLAKE2B 33c6bbb1f3a21c62b6f693714ad215c7561637bbb9bc45172a89e8254a04b3346452ac2b7fa4e0b6c2460a05ad68d78c5011910f71bdf28ba4483d66465780c1 SHA512 dd6c35feba99ae8654840cbe433961f054412bc40b0221aa0bc0709723dd4f0ed91b35f82ed74f652ce2f9848093c861f79cefecae147a84be1705a16e1cdc2e
-DIST chromium-bsu-0.9.15.1.tar.gz 1689634 BLAKE2B c834cb5b962031a1b8d187df9a58104896a53188907e5c3e7776aa129be3ff9287c6750af3f3df2a447b86f9f67f7dc5db21dca7d6f6cdaf2a8faad619723c75 SHA512 1e62161a10a5eb4246c0e04a13e7d8b521218aa709cced5bed1440055bb91bbcff45a85e544bdc6854f1ed727ea15257d34a3c988c65818bfbfe8004ac76c104
-EBUILD chromium-bsu-0.9.15.1-r1.ebuild 1284 BLAKE2B 2f309bb8591a46e5dc25baa840116cd1c3630f3bef3b4f4652b619847ac9744a087e345aa6daf5d6ce3f478ee24bcb5d80d4f6b381a31fee31feb9ad92f13196 SHA512 4e348982b7778d2b0e0aba25f1747fd820c66432850d4fc134dc98ce2d114b094ee0508d2e4bfce72970712961201dacf7cf8217ab9ad4ef23eaa9c4c0174d4b
-MISC metadata.xml 484 BLAKE2B ad101206b1434b2030e28ad1c2c756c81b37613b9231f1354bb9ab329d7ecde001db56042963280333df042b8ef8c19e433737269169fe27a337cdcfc59d218c SHA512 7695d9d521352e0147da5357117ddf30ca854c2bd78948f79a6dbf5151ca482302f56a9ecc7e0384ca11d54b95623309011392bfa61753f0a17966f7bedda86f
diff --git a/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild b/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild
deleted file mode 100644
index 578f593bf3df..000000000000
--- a/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils
-
-DESCRIPTION="Chromium B.S.U. - an arcade game"
-HOMEPAGE="http://chromium-bsu.sourceforge.net/"
-SRC_URI="mirror://sourceforge/chromium-bsu/${P}.tar.gz"
-
-LICENSE="Clarified-Artistic"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="mixer nls +sdl"
-
-RDEPEND="
- media-fonts/dejavu
- media-libs/quesoglc
- media-libs/glpng
- virtual/opengl
- virtual/glu
- x11-libs/libXmu
- mixer? ( media-libs/sdl-mixer )
- !mixer? (
- media-libs/freealut
- media-libs/openal
- )
- nls? ( virtual/libintl )
- sdl? (
- media-libs/libsdl[X]
- media-libs/sdl-image[png]
- )
- !sdl? ( media-libs/freeglut )"
-DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
-
-PATCHES=( "${FILESDIR}"/${P}-gcc6.patch )
-
-src_configure() {
- econf \
- --disable-ftgl \
- --enable-glc \
- $(use_enable mixer sdlmixer) \
- $(use_enable !mixer openal) \
- $(use_enable nls) \
- $(use_enable sdl) \
- $(use_enable sdl sdlimage) \
- $(use_enable !sdl glut)
-}
-
-src_install() {
- default
- dodoc data/doc/*.htm
-
- newicon -s 64 misc/${PN}.png ${PN}.png
- domenu misc/chromium-bsu.desktop
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-action/chromium-bsu/files/chromium-bsu-0.9.15.1-gcc6.patch b/games-action/chromium-bsu/files/chromium-bsu-0.9.15.1-gcc6.patch
deleted file mode 100644
index 5d3b919adf3f..000000000000
--- a/games-action/chromium-bsu/files/chromium-bsu-0.9.15.1-gcc6.patch
+++ /dev/null
@@ -1,100 +0,0 @@
---- a/src/AudioOpenAL.cpp
-+++ b/src/AudioOpenAL.cpp
-@@ -711,7 +711,7 @@
- if(!file)
- {
- char configOldFilename[256];
-- sprintf(configOldFilename, "%s/.chromium-music"CONFIG_EXT, homeDir);
-+ sprintf(configOldFilename, "%s/.chromium-music" CONFIG_EXT, homeDir);
- alterPathForPlatform(configOldFilename);
- rename(configOldFilename,configFilename);
- file = fopen(configFilename, "r");
---- a/src/Config.cpp
-+++ b/src/Config.cpp
-@@ -161,7 +161,7 @@
- if(!homeDir)
- homeDir = "./";
-
-- sprintf(configFilename, "%s/.chromium"CONFIG_EXT, homeDir);
-+ sprintf(configFilename, "%s/.chromium" CONFIG_EXT, homeDir);
- alterPathForPlatform(configFilename);
- return configFilename;
- }
---- a/src/define.h
-+++ b/src/define.h
-@@ -34,14 +34,14 @@
-
- #ifdef macintosh
- #define CONFIG_EXT ".cfg"
--#define CONFIG_FILE PACKAGE".cfg"
--#define CONFIG_SCORE_FILE PACKAGE"-score.cfg"
--#define CONFIG_MUSIC_FILE PACKAGE"-music.cfg"
-+#define CONFIG_FILE PACKAGE ".cfg"
-+#define CONFIG_SCORE_FILE PACKAGE "-score.cfg"
-+#define CONFIG_MUSIC_FILE PACKAGE "-music.cfg"
- #else
- #define CONFIG_EXT
--#define CONFIG_FILE "."PACKAGE
--#define CONFIG_SCORE_FILE "."PACKAGE"-score"
--#define CONFIG_MUSIC_FILE "."PACKAGE"-music"
-+#define CONFIG_FILE "." PACKAGE
-+#define CONFIG_SCORE_FILE "." PACKAGE "-score"
-+#define CONFIG_MUSIC_FILE "." PACKAGE "-music"
- #endif //macintosh
-
- #define HI_SCORE_HIST 5
---- a/src/HiScore.cpp
-+++ b/src/HiScore.cpp
-@@ -187,7 +187,7 @@
- const char *homeDir = getenv("HOME");
- if(!homeDir)
- homeDir = "./";
-- sprintf(configFilename, "%s/.chromium-score"CONFIG_EXT, homeDir);
-+ sprintf(configFilename, "%s/.chromium-score" CONFIG_EXT, homeDir);
- alterPathForPlatform(configFilename);
- return configFilename;
- }
---- a/src/main.cpp
-+++ b/src/main.cpp
-@@ -198,7 +198,7 @@
-
- if(getenv("HOME") != NULL && ((strlen(getenv("HOME"))+strlen(filename)) < 239) )
- {
-- sprintf(buffer, "%s/."PACKAGE"-data/%s", getenv("HOME"), filename);
-+ sprintf(buffer, "%s/." PACKAGE "-data/%s", getenv("HOME"), filename);
- if(stat(buffer, &sbuf) == 0) return buffer;
- }
-
---- a/src/MainSDL_Event.cpp
-+++ b/src/MainSDL_Event.cpp
-@@ -19,6 +19,7 @@
- #include <cstdlib>
- #include <cstdio>
- #include <cstring>
-+#include <cmath>
-
- #include "Config.h"
-
-@@ -417,14 +418,14 @@
- #else
- Uint8 *keystate = SDL_GetKeyState(NULL);
- #endif
-- if( keystate[SDLK_LEFT] || keystate[SDLK_KP4] ) key_speed_x -= 2.0 + abs(key_speed_x)*0.4;
-- if( keystate[SDLK_RIGHT] || keystate[SDLK_KP6] ) key_speed_x += 2.0 + abs(key_speed_x)*0.4;
-- if( keystate[SDLK_UP] || keystate[SDLK_KP8] ) key_speed_y -= 2.0 + abs(key_speed_y)*0.4;
-- if( keystate[SDLK_DOWN] || keystate[SDLK_KP2] ) key_speed_y += 2.0 + abs(key_speed_y)*0.4;
-- if( keystate[SDLK_KP7] ){ key_speed_x -= 2.0 + abs(key_speed_x)*0.4; key_speed_y -= 2.0 + abs(key_speed_y)*0.4; }
-- if( keystate[SDLK_KP9] ){ key_speed_x += 2.0 + abs(key_speed_x)*0.4; key_speed_y -= 2.0 + abs(key_speed_y)*0.4; }
-- if( keystate[SDLK_KP3] ){ key_speed_x += 2.0 + abs(key_speed_x)*0.4; key_speed_y += 2.0 + abs(key_speed_y)*0.4; }
-- if( keystate[SDLK_KP1] ){ key_speed_x -= 2.0 + abs(key_speed_x)*0.4; key_speed_y += 2.0 + abs(key_speed_y)*0.4; }
-+ if( keystate[SDLK_LEFT] || keystate[SDLK_KP4] ) key_speed_x -= 2.0 + abs((int)key_speed_x)*0.4;
-+ if( keystate[SDLK_RIGHT] || keystate[SDLK_KP6] ) key_speed_x += 2.0 + abs((int)key_speed_x)*0.4;
-+ if( keystate[SDLK_UP] || keystate[SDLK_KP8] ) key_speed_y -= 2.0 + abs((int)key_speed_y)*0.4;
-+ if( keystate[SDLK_DOWN] || keystate[SDLK_KP2] ) key_speed_y += 2.0 + abs((int)key_speed_y)*0.4;
-+ if( keystate[SDLK_KP7] ){ key_speed_x -= 2.0 + abs((int)key_speed_x)*0.4; key_speed_y -= 2.0 + abs((int)key_speed_y)*0.4; }
-+ if( keystate[SDLK_KP9] ){ key_speed_x += 2.0 + abs((int)key_speed_x)*0.4; key_speed_y -= 2.0 + abs((int)key_speed_y)*0.4; }
-+ if( keystate[SDLK_KP3] ){ key_speed_x += 2.0 + abs((int)key_speed_x)*0.4; key_speed_y += 2.0 + abs((int)key_speed_y)*0.4; }
-+ if( keystate[SDLK_KP1] ){ key_speed_x -= 2.0 + abs((int)key_speed_x)*0.4; key_speed_y += 2.0 + abs((int)key_speed_y)*0.4; }
- //float s = (1.0-game->speedAdj)+(game->speedAdj*0.7);
- float s = 0.7;
- key_speed_x *= s;
diff --git a/games-action/chromium-bsu/metadata.xml b/games-action/chromium-bsu/metadata.xml
deleted file mode 100644
index a8145e90454d..000000000000
--- a/games-action/chromium-bsu/metadata.xml
+++ /dev/null
@@ -1,17 +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>
- <use>
- <flag name="mixer">
- Enables <pkg>media-libs/sdl-mixer</pkg> sound backend instead of
- <pkg>media-libs/openal</pkg> one.
- </flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">chromium-bsu</remote-id>
- </upstream>
-</pkgmetadata>