summaryrefslogtreecommitdiff
path: root/games-arcade/balloonchase
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-arcade/balloonchase
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-arcade/balloonchase')
-rw-r--r--games-arcade/balloonchase/Manifest4
-rw-r--r--games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild34
-rw-r--r--games-arcade/balloonchase/files/0.9.6-gentoo.patch183
-rw-r--r--games-arcade/balloonchase/metadata.xml8
4 files changed, 0 insertions, 229 deletions
diff --git a/games-arcade/balloonchase/Manifest b/games-arcade/balloonchase/Manifest
deleted file mode 100644
index c85d80474641..000000000000
--- a/games-arcade/balloonchase/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX 0.9.6-gentoo.patch 6154 BLAKE2B a8729b678e4d8ece1ad327e0d35b63fddef5b28f9878efc89802ee8c4263dd9a758f1d13f66ce7125d069dc1874de680ff96888461516f142716b668a46ec687 SHA512 a16b70a3c1ba071b8e058e252843827e8a5b63d5b87e2332a93cb8d43e00ccbfd6b7aa13406275980c7a7cffd32b1b1453bf5d1f9c9c0b585cc969f5b9c6ae81
-DIST balloonchase-0.9.6.tar.bz2 523085 BLAKE2B 50e453327d51da3fe40f52850cb2fbb7a10e897f59bac5d6f4a676d3211d3dcdae00359304ad119252ebf98e9f46482ad801078762f16ddc609bc94b68c3fc18 SHA512 ab5617713c96187564926fd5ecbdbf5186f78c23cfb43b26b28b9d18e71330efd77700cf7cd02e04be7fd8e33f2d30bf59f64954135ac82802d1d839dc2e7767
-EBUILD balloonchase-0.9.6-r1.ebuild 823 BLAKE2B 8fe0e1701765087731667d8a6fbbf97c4151fcbbca003f21c6ffbdf4306b35dd26f52b4313ebc862609d981793113957094fad8e2017208b4bf013c6a8f98178 SHA512 86eea2e2b37420a01a4bc9993c0b7e81590a2331fb702dbf57a8bbdad0d14cf5c8aaaa43267301987862552f5d8b584c18697f6f040ba5427532e8097f7efd90
-MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild
deleted file mode 100644
index 36976cc63a40..000000000000
--- a/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit desktop toolchain-funcs
-
-DESCRIPTION="Fly a hot air balloon and try to blow the other player out of the screen"
-HOMEPAGE="http://makegho.mbnet.fi/c/bchase/"
-SRC_URI="http://makegho.mbnet.fi/c/bchase/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-libs/libsdl[video]"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- default
- eapply "${FILESDIR}"/${PV}-gentoo.patch
- sed -i "s:g++:$(tc-getCXX):" Makefile || die
- sed -i \
- -e "s:GENTOODIR:/usr/share/${PN}:" src/main.c || die
-}
-
-src_install() {
- dobin ${PN}
- insinto /usr/share/${PN}
- doins -r images
- newicon images/kp2b.bmp ${PN}.bmp
- make_desktop_entry ${PN} "Balloon Chase" /usr/share/pixmaps/${PN}.bmp
- einstalldocs
-}
diff --git a/games-arcade/balloonchase/files/0.9.6-gentoo.patch b/games-arcade/balloonchase/files/0.9.6-gentoo.patch
deleted file mode 100644
index ff232693422b..000000000000
--- a/games-arcade/balloonchase/files/0.9.6-gentoo.patch
+++ /dev/null
@@ -1,183 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -1,4 +1,3 @@
--LDFLAGS= -lSDL -lpthread -s
- CFLAGS= -Wall # -DDEBUG
- PKG_BCDIR=balloonchase-`cat src/ver`
- PKG_BCVER=`cat src/ver`
-@@ -9,8 +8,8 @@
- clean:
- rm balloonchase src/*.o
- main: src/main.c
-- g++ -c -o src/main.o `sdl-config --cflags` src/main.c
-- g++ -o balloonchase src/main.o `sdl-config --libs`
-+ g++ $(CXXFLAGS) -c -o src/main.o `sdl-config --cflags` src/main.c
-+ g++ $(LDFLAGS) -o balloonchase src/main.o `sdl-config --libs`
- pkg:
- @echo $(PKG_BCVERSION) >VERSION
- rm balloonchase src/*.o
---- a/src/main.c
-+++ b/src/main.c
-@@ -333,47 +333,47 @@
-
- int InitImages()
- {
-- back = SDL_LoadBMP("images/back.bmp");
-+ back = SDL_LoadBMP("GENTOODIR/images/back.bmp");
-
-- num3 = SDL_LoadBMP("images/num3.bmp");
-+ num3 = SDL_LoadBMP("GENTOODIR/images/num3.bmp");
- SDL_SetColorKey(num3, SDL_SRCCOLORKEY, SDL_MapRGB(num3->format, 0xFF, 0xFF, 0xFF));
-- num2 = SDL_LoadBMP("images/num2.bmp");
-+ num2 = SDL_LoadBMP("GENTOODIR/images/num2.bmp");
- SDL_SetColorKey(num2, SDL_SRCCOLORKEY, SDL_MapRGB(num2->format, 0xFF, 0xFF, 0xFF));
-- num1 = SDL_LoadBMP("images/num1.bmp");
-+ num1 = SDL_LoadBMP("GENTOODIR/images/num1.bmp");
- SDL_SetColorKey(num1, SDL_SRCCOLORKEY, SDL_MapRGB(num1->format, 0xFF, 0xFF, 0xFF));
-- num0 = SDL_LoadBMP("images/num0.bmp");
-+ num0 = SDL_LoadBMP("GENTOODIR/images/num0.bmp");
- SDL_SetColorKey(num0, SDL_SRCCOLORKEY, SDL_MapRGB(num0->format, 0xFF, 0xFF, 0xFF));
-- numv = SDL_LoadBMP("images/num-.bmp");
-+ numv = SDL_LoadBMP("GENTOODIR/images/num-.bmp");
- SDL_SetColorKey(numv, SDL_SRCCOLORKEY, SDL_MapRGB(numv->format, 0xFF, 0xFF, 0xFF));
-
-- menu = SDL_LoadBMP("images/menu.bmp");
-- menu_onoff = SDL_LoadBMP("images/menu_onoff.bmp");
-+ menu = SDL_LoadBMP("GENTOODIR/images/menu.bmp");
-+ menu_onoff = SDL_LoadBMP("GENTOODIR/images/menu_onoff.bmp");
-
-
--// arrow[0] = SDL_LoadBMP("images/down.bmp");
-+// arrow[0] = SDL_LoadBMP("GENTOODIR/images/down.bmp");
- // SDL_SetColorKey(arrow[0], SDL_SRCCOLORKEY, SDL_MapRGB(arrow[0]->format, 0x00, 0x00, 0x00));
--// arrow[1] = SDL_LoadBMP("images/down.bmp");
-+// arrow[1] = SDL_LoadBMP("GENTOODIR/images/down.bmp");
- // SDL_SetColorKey(arrow[1], SDL_SRCCOLORKEY, SDL_MapRGB(arrow[1]->format, 0x00, 0x00, 0x00));
-
-- kp1 = SDL_LoadBMP("images/kp1.bmp");
-+ kp1 = SDL_LoadBMP("GENTOODIR/images/kp1.bmp");
- SDL_SetColorKey(kp1, SDL_SRCCOLORKEY, SDL_MapRGB(kp1->format, 0xFF, 0xFF, 0xFF));
-- kp1b = SDL_LoadBMP("images/kp1b.bmp");
-+ kp1b = SDL_LoadBMP("GENTOODIR/images/kp1b.bmp");
- SDL_SetColorKey(kp1b, SDL_SRCCOLORKEY, SDL_MapRGB(kp1b->format, 0xFF, 0xFF, 0xFF));
-
-- kp2 = SDL_LoadBMP("images/kp2.bmp");
-+ kp2 = SDL_LoadBMP("GENTOODIR/images/kp2.bmp");
- SDL_SetColorKey(kp2, SDL_SRCCOLORKEY, SDL_MapRGB(kp2->format, 0xFF, 0xFF, 0xFF));
-- kp2b = SDL_LoadBMP("images/kp2b.bmp");
-+ kp2b = SDL_LoadBMP("GENTOODIR/images/kp2b.bmp");
- SDL_SetColorKey(kp2b, SDL_SRCCOLORKEY, SDL_MapRGB(kp2b->format, 0xFF, 0xFF, 0xFF));
-
-- font2 = SDL_LoadBMP("images/font.bmp");
-+ font2 = SDL_LoadBMP("GENTOODIR/images/font.bmp");
- font = SDL_CreateRGBSurface(SDL_SWSURFACE, 1288, 100, 32, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF);
- SDL_SetColorKey(font, SDL_SRCCOLORKEY, SDL_MapRGB(font->format, 0x00, 0x00, 0x00));
- DrawIMG (font, font2, 0, 0);
-
-- blobtrox = SDL_LoadBMP("images/blobtrox.bmp");
-+ blobtrox = SDL_LoadBMP("GENTOODIR/images/blobtrox.bmp");
- //SDL_SetColorKey(blobtrox, SDL_SRCCOLORKEY, SDL_MapRGB(blobtrox->format, 0x01, 0x01, 0x01));
-
-- balloonchase = SDL_LoadBMP("images/balloonchase.bmp");
-+ balloonchase = SDL_LoadBMP("GENTOODIR/images/balloonchase.bmp");
-
- TMP = SDL_CreateRGBSurface(SDL_SWSURFACE, 259, 200, 32, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF);
- blursurface = SDL_CreateRGBSurface(SDL_SWSURFACE, 640, 480, 32, 0x00000000, 0x00000000, 0x00000000, 0x00000000);
-@@ -578,7 +578,7 @@
-
- void createdat(int winsneed, int option_wave_effect)
- {
-- FILE *OPTFILE=fopen ("balloonchase.dat", "w+");
-+ FILE *OPTFILE=fopen (".balloonchaserc", "w+");
- char datmsg[60];
- sprintf (datmsg, "Balloon Chase settings file -- Do not edit manually!");
- char tmp2;
-@@ -588,52 +588,32 @@
- }
- fputc (winsneed, OPTFILE);
- fputc (option_wave_effect+2, OPTFILE);
-- fprintf (stderr, "Saved configuration to balloonchase.dat\n");
-+ fprintf (stderr, "Saved configuration to .balloonchaserc\n");
- fclose (OPTFILE);
- }
-
- void checkfiles()
- {
-- char found=0;
-- #ifdef WIN32
-- WIN32_FIND_DATA fileinfo;
-- BOOL rc = 0;
-- HANDLE hFile;
-- hFile = FindFirstFile("*", &fileinfo);
-- while(rc)
-- {
-- rc = FindNextFile(hFile, &fileinfo);
-- if (strcmp (fileinfo.cFileName, "balloonchase.dat")==0)
-- {
-- fprintf(stderr, "Found balloonchase.dat\n");
-- found = 1;
-- _findclose(hFile);
-- #endif
-- #ifndef WIN32
-- struct dirent *filelist[255];
-- int i=0;
-- int j=0;
- DIR *dp;
-- dp=opendir("./");
-- int filenum=0;
-- while( filelist[filenum]=readdir(dp) )
-- filenum++;
-- closedir(dp);
-- if (filenum>=2)
-- for (i=0;i<filenum;i++)
-- {
-- if (strcmp(filelist[i]->d_name,"balloonchase.dat")==0)
-- {
-- fprintf (stderr, "Found balloonchase.dat\n");
-- found=1;
-- }
-+
-+ if (getenv("HOME")) {
-+ chdir(getenv("HOME"));
-+ }
-+ if ((dp = opendir("./"))) {
-+ struct dirent *f;
-+
-+ while(f=readdir(dp)) {
-+ if (strcmp(f->d_name, ".balloonchaserc") == 0) {
-+ fprintf (stderr, "Found .balloonchaserc\n");
-+ closedir(dp);
-+ return;
- }
-- #endif
-- if (found==0)
-- {
-- fprintf (stderr, "Balloonchase.dat not found!\nCreating new...\n");
-- if (found==0) createdat(2, 1);
- }
-+ closedir(dp);
-+ fprintf (stderr,
-+ "Balloonchase.dat not found!\nCreating new...\n");
-+ createdat(2, 1);
-+ }
- }
-
- Uint32 rgb(Uint8 r, Uint8 g, Uint8 b)
-@@ -1257,7 +1237,7 @@
- SDL_WM_SetCaption ("Balloon Chase", 0);
- checkfiles();
-
-- FILE *OPTFILE=fopen ("balloonchase.dat", "r");
-+ FILE *OPTFILE=fopen (".balloonchaserc", "r");
- char datmsg[60];
- char varmistus[60];
-
-@@ -1275,7 +1255,7 @@
- {
- winsneeded=fgetc(OPTFILE);
- option_wave_effect=fgetc(OPTFILE)-2;
-- fprintf (stderr, "Successfully loaded balloonchase.dat\n");
-+ fprintf (stderr, "Successfully loaded .balloonchaserc\n");
- }
- else
- {
diff --git a/games-arcade/balloonchase/metadata.xml b/games-arcade/balloonchase/metadata.xml
deleted file mode 100644
index 78274e0fa550..000000000000
--- a/games-arcade/balloonchase/metadata.xml
+++ /dev/null
@@ -1,8 +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>
-</pkgmetadata>