diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /games-puzzle/biniax2 |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle/biniax2')
-rw-r--r-- | games-puzzle/biniax2/Manifest | 8 | ||||
-rw-r--r-- | games-puzzle/biniax2/biniax2-1.30.ebuild | 40 | ||||
-rw-r--r-- | games-puzzle/biniax2/files/biniax2-1.30-build.patch | 18 | ||||
-rw-r--r-- | games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch | 60 | ||||
-rw-r--r-- | games-puzzle/biniax2/files/biniax2.xpm | 41 | ||||
-rw-r--r-- | games-puzzle/biniax2/metadata.xml | 8 |
6 files changed, 175 insertions, 0 deletions
diff --git a/games-puzzle/biniax2/Manifest b/games-puzzle/biniax2/Manifest new file mode 100644 index 000000000000..5a0108b61a0c --- /dev/null +++ b/games-puzzle/biniax2/Manifest @@ -0,0 +1,8 @@ +AUX biniax2-1.30-build.patch 525 SHA256 1a83cc66417f5c0f1b80da6a747ea700469170b9176f7fe21da692d649afbac7 SHA512 ca1ac942308228a6a7a6ec1a09366ba43da88fb6d438edfab2177cd192741f7d2cd98a1f66064c0f42fdf8138de3b4cd70adf30709a4807d7f62cdd2b1ef1fb9 WHIRLPOOL d6dc48ddab976954c05be564d291e881b1e4e2daad0755059a316ba6aad76a2e2698842194966f98eb49fe9c30c85f7cbadf7e69c2861031fe811f09eeed7355 +AUX biniax2-1.30-dotfiles.patch 1356 SHA256 b613328a03a54b32c1a00401e94f6f17ecc7a3a332ec370f404a25157671f57a SHA512 9d5b53be3b267897aa1a49bc45bced24e7a0e998adf9a48934da5223cd763a3c1b3a7fc7d68771ff0ef0648f6cca17adc915f33d9f15309356db8f31d4be1f15 WHIRLPOOL c262c28b398c1ea5a6623a1a3038445a28aaffee922eda9b7fb89092c288685a3d48568e502e6cec1ac300d427583c7e3604f58cfd5024296e5894bed78ebc2a +AUX biniax2.xpm 1292 SHA256 0851b1dbd8e0dbcbaa9bb248b7f6e9490391f491f590686382e27500648ba7ec SHA512 5a53233b27f5e8dd792cd697d8233c8d34adaf00dda51944caad186deb50311e55bd76916f4aa6e352973fe14855d34a27bcf9a91a8f6a56238f5fe18f5d3b58 WHIRLPOOL f8f60e8531290e05fb04204dcaaac54a757201240434f686ef73d2aa5272a2fd1045f88e765712bb7124b3d001111956f612dc27eeb1ae12811078e4d5d31114 +DIST biniax2-1.30-fullsrc.tar.gz 3072220 SHA256 2c09f6f0a5fe453a409d990d72a964636ee91ca91daac99f0db861b8f42531bf SHA512 180564b24051b629c29bc6245664a36b7ff9881ac5003b03b91eeebff86c89b9507c028c1155387c42debaa51482d8f1e2b08e9e9236b77da1c3f286b78be8b5 WHIRLPOOL 7016364f493791f11a28b30a870bf3b60e6271018564e057ef41b8706e3a60ffb1396f48b337c7ccb0fa3777cf3702ad4a400fffca466c7dc590ca9ab5f180bf +EBUILD biniax2-1.30.ebuild 827 SHA256 0bf331e1104d392a0238a2c7920518a920db98b92d633f25141d489cd24c4937 SHA512 b9079dade54191d745a44c4d61b81e1295375b672af14efec25f0106a498f911df781e86689331944020714c5e2dc2900f80f55506487ae322c30c9932c7554a WHIRLPOOL d108af71f1f295a7f0124372a094d13c22a3d29ce542bf7900aefd1148ccda5f27ecb265d0b8a4a797960eba7d2f2b4f1f0063cbb0e9c2c467cbcb31b487e51a +MISC ChangeLog 2520 SHA256 8642d19601a904122e295a97aec6a729aa7ca2bc299366eb6f4db9691985f210 SHA512 638c21400db57d6eed86298686f1aeb1ec8f257590563711f55510235cf68441f38848ae21e3addcf8eaffa9e352de86184c897ee87ef181679efbc2e9a844e7 WHIRLPOOL c0a34fd66fa6789fa641128d2ad20cfba93ddf09354625fe541f64496b0f3c72c17a0ac8f37b39d6ab4a18e9cbe8b897f85fe94c025bdc498615e4c86d9b4206 +MISC ChangeLog-2015 818 SHA256 9cbcb38502b4980cba507b7ee18d514a047f9de873b95b8356713bbddaf869d3 SHA512 4a083dc457a5d88ceee5bc53e00b31360edb81c24323ddddbc13238b92f1e43951e2f39d763db96df5fd53921e1e5ca9975a6accfe944deb9da083dd026ba1f4 WHIRLPOOL b5d476e50b36371a5b57ef7f950de178b762057246913e8fabcaddca08883e1634541b37b764587c03e1f5b47b02a3ecc0995f62925c4011cc56ebf43cd3ba3e +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/biniax2/biniax2-1.30.ebuild b/games-puzzle/biniax2/biniax2-1.30.ebuild new file mode 100644 index 000000000000..52ea37ca80a8 --- /dev/null +++ b/games-puzzle/biniax2/biniax2-1.30.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Logic game with arcade and tactics modes" +HOMEPAGE="http://biniax.com/" +SRC_URI="http://mordred.dir.bg/biniax/${P}-fullsrc.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" +S=${WORKDIR} + +src_prepare() { + rm -f data/Thumbs.db + sed -i \ + -e "s:data/:${GAMES_DATADIR}/${PN}/:" \ + desktop/{gfx,snd}.c \ + || die + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-dotfiles.patch +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} Biniax-2 + prepgamesdirs +} diff --git a/games-puzzle/biniax2/files/biniax2-1.30-build.patch b/games-puzzle/biniax2/files/biniax2-1.30-build.patch new file mode 100644 index 000000000000..26c053c2e98e --- /dev/null +++ b/games-puzzle/biniax2/files/biniax2-1.30-build.patch @@ -0,0 +1,18 @@ +--- makefile ++++ makefile +@@ -4,7 +4,7 @@ + # To execute the game you need the runtimes of SDL, SDL_mixer and SDL_image. + + FLAGS=-W -WALL +-CC=gcc ++CC?=gcc + FILES=biniax.c hof.c desktop/cfg.c desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c + INCLUDES=-I . -I desktop + LINKTO=-lSDL -lSDL_mixer -lSDL_image +@@ -12,4 +12,4 @@ + TARGET=biniax2 + + biniax: +- $(CC) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO) +\ No newline at end of file ++ $(CC) $(CFLAGS) $(LDFLAGS) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO) diff --git a/games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch b/games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch new file mode 100644 index 000000000000..2cd212d6857c --- /dev/null +++ b/games-puzzle/biniax2/files/biniax2-1.30-dotfiles.patch @@ -0,0 +1,60 @@ +--- biniax.c ++++ biniax.c +@@ -47,6 +47,8 @@ + INCLUDES
+ ******************************************************************************/
+
++#include <unistd.h>
++
+ #include "game.h"
+ #include "lev.h"
+ #include "inc.h"
+@@ -97,6 +99,8 @@ + UNREF( argc );
+ UNREF( argv );
+
++ chdir( getenv( "HOME" ) );
++
+ cfgInit();
+ hofInit();
+ if ( gfxInit() == BNX_FALSE )
+--- desktop/cfg.c ++++ desktop/cfg.c +@@ -36,7 +36,7 @@ + ******************************************************************************/
+
+ #define _Cfg_Buffer 255
+-#define csConfigName "config.bnx2"
++#define csConfigName ".config.bnx2"
+
+ struct BNX_SETUP
+ {
+--- game.h ++++ game.h +@@ -37,7 +37,7 @@ + DEFINITIONS
+ ******************************************************************************/
+
+-#define csSaveGameName "autosave.bnx2"
++#define csSaveGameName ".autosave.bnx2"
+
+ /******************************************************************************
+ CONSTANTS
+--- hof.c ++++ hof.c +@@ -34,7 +34,7 @@ + #define chCursor '_' /* Cursor ON */
+ #define chSpace ' ' /* Cursor OFF*/
+
+-#define csHOFName "hof.bnx2" /* File name */
++#define csHOFName ".hof.bnx2" /* File name */
+ #define cHOFFileSize 504 /* File size */
+
+ BNX_HALL Hof;
+@@ -292,4 +292,4 @@ + BNX_HALL *hofGet()
+ {
+ return (BNX_HALL *) &Hof;
+-} +\ No newline at end of file ++}
diff --git a/games-puzzle/biniax2/files/biniax2.xpm b/games-puzzle/biniax2/files/biniax2.xpm new file mode 100644 index 000000000000..da3c5ddd7d1d --- /dev/null +++ b/games-puzzle/biniax2/files/biniax2.xpm @@ -0,0 +1,41 @@ +/* XPM */ +static char * icon_xpm[] = { +"32 32 6 1", +" c None", +". c #800000", +"+ c #FF8204", +"@ c #FC4E04", +"# c #FCA204", +"$ c #FEC489", +" ", +" ", +" ", +" . ", +" ++++++++++ .@. ", +" +########$ .@@@$ ", +" +#$$$$$$$$ $@$ ", +" +#$ $ ", +" +#$ ", +" +#$ ", +" +#$ ++++ +++ +++ ", +" +#$ +#### +#$ +#$ ", +" +#$ +####+ +#$ +#$ ", +" +#$ +#$#### +#$ +#$ ", +" +#$ +#$ $##+ +#$ +#$ ", +" +#$ +#$ #### +#$ +#$ ", +" +#$ +#$ $##+ +#$ +#$ ", +" +#$ +#$ #### +#$ +#$ ", +" +#$ +#$ $##+ +#$ +#$ ", +" +#$ +#$ ######$ +#$ ", +" +#$ +#$ $####$ +#$ ", +" +#$ +#$ ####$ +#$ ", +" $$$ $$$ $$$$ +#$ ", +" +#$ ", +" +#$ ", +" . +#$ ", +" .@. ++++++++#$ ", +" .@@@$ +########$ ", +" $@$ $$$$$$$$$$ ", +" $ ", +" ", +" "}; diff --git a/games-puzzle/biniax2/metadata.xml b/games-puzzle/biniax2/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/biniax2/metadata.xml @@ -0,0 +1,8 @@ +<?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> |