diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-06-29 16:12:33 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-06-29 16:53:14 -0400 |
commit | 66e089a33ac28de08328aa2601d949f1cf7ccdec (patch) | |
tree | e97d25ab148e01bde696fb1d90e505be57df7087 /games-action | |
parent | games-board/camato: fix crash on keyboard events (diff) | |
download | gentoo-66e089a33ac28de08328aa2601d949f1cf7ccdec.tar.gz gentoo-66e089a33ac28de08328aa2601d949f1cf7ccdec.tar.bz2 gentoo-66e089a33ac28de08328aa2601d949f1cf7ccdec.zip |
games-action/chromium-bsu: drop 0.9.15.1-r1
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/chromium-bsu/Manifest | 1 | ||||
-rw-r--r-- | games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.ebuild | 70 | ||||
-rw-r--r-- | games-action/chromium-bsu/files/chromium-bsu-0.9.15.1-gcc6.patch | 100 | ||||
-rw-r--r-- | games-action/chromium-bsu/metadata.xml | 6 |
4 files changed, 0 insertions, 177 deletions
diff --git a/games-action/chromium-bsu/Manifest b/games-action/chromium-bsu/Manifest index 7cef0d1e2023..39dcb685beee 100644 --- a/games-action/chromium-bsu/Manifest +++ b/games-action/chromium-bsu/Manifest @@ -1,2 +1 @@ -DIST chromium-bsu-0.9.15.1.tar.gz 1689634 BLAKE2B c834cb5b962031a1b8d187df9a58104896a53188907e5c3e7776aa129be3ff9287c6750af3f3df2a447b86f9f67f7dc5db21dca7d6f6cdaf2a8faad619723c75 SHA512 1e62161a10a5eb4246c0e04a13e7d8b521218aa709cced5bed1440055bb91bbcff45a85e544bdc6854f1ed727ea15257d34a3c988c65818bfbfe8004ac76c104 DIST chromium-bsu-0.9.16.1.tar.gz 1709898 BLAKE2B b89ba20756fcb5903ed45c5174a0353618fb1bb1577ddb3f525d3f2a4242744e76297ca35fe186d36687d4d7f6bbe8de2a5dca8049697d5b82059e056fd16995 SHA512 1d202c0704e16b31d93c552ae6cfc17caf1182a9ec80730a981cd99c8ca8cb64d4e6e838691aa86e17ea23b7c2c0b1e7b1f4dab91bbc6129f9bf86801f2b27c8 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 e1ca44d220fd..000000000000 --- a/games-action/chromium-bsu/chromium-bsu-0.9.15.1-r1.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 desktop 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 index a8145e90454d..2fe30fb0235b 100644 --- a/games-action/chromium-bsu/metadata.xml +++ b/games-action/chromium-bsu/metadata.xml @@ -5,12 +5,6 @@ <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> |