diff options
Diffstat (limited to 'games-puzzle/amoebax')
-rw-r--r-- | games-puzzle/amoebax/Manifest | 7 | ||||
-rw-r--r-- | games-puzzle/amoebax/amoebax-0.2.1.ebuild | 43 | ||||
-rw-r--r-- | games-puzzle/amoebax/files/amoebax-0.2.1-aclocal.patch | 41 | ||||
-rw-r--r-- | games-puzzle/amoebax/files/amoebax-0.2.1-compile.patch | 12 | ||||
-rw-r--r-- | games-puzzle/amoebax/metadata.xml | 8 |
5 files changed, 111 insertions, 0 deletions
diff --git a/games-puzzle/amoebax/Manifest b/games-puzzle/amoebax/Manifest new file mode 100644 index 000000000000..f4fa5a1e9bdc --- /dev/null +++ b/games-puzzle/amoebax/Manifest @@ -0,0 +1,7 @@ +AUX amoebax-0.2.1-aclocal.patch 1532 SHA256 b5051ab9986c4abbcb7ae2b2072bb87651f7380670837a4f7cc7f646a34bc1f1 SHA512 d2bf1de8c773074eb7b69c188b3a8e242bc03bd6d80d770a1db8cd4fd5ac2cdd5bc96e807713211b19efd839df0344c8318f259cc2f95be3abd55a1523bb54f5 WHIRLPOOL ace2532f47ef8df73879187f501276cae7a6fde44adfc08bc969dd67c370d6e6949ff81485e81231e9a40594968bf2e29c3fe4e241b34de30de5a24c79490f17 +AUX amoebax-0.2.1-compile.patch 223 SHA256 4b5e2efb22f27a2b3aecf9b22f007690f0c654d1195b7d3b7e6c06190f34c79e SHA512 90fccf04bf3567c5f5773870c447e331b15a0d275a95eddca3c911fffbd7fe580aa1441a009bf0667fb2279e56e9d2c425c3070c24692dc4acc7f719ab052c72 WHIRLPOOL 90e93e9407e54a6cee9437dd74071326cc8e16d43fca24aa5a5c26f9823b4b9704e86bb3149eb55be3e89aaecf001504df6b1bf89c36ec4c8fc6df6991c0abfa +DIST amoebax-0.2.1.tar.bz2 10645579 SHA256 709c7e657b328a6f7d331298c6264f172528489d28cab107c40c483c392340b2 SHA512 f8cd20cb35e2456487f55ebc89411ebd47b25cf549d35c36041a27e1d96ef30702151f303dbb457afbf8583f67c53143c30becdea00a26fddad20555e0c7d181 WHIRLPOOL eafcdf27b852b226db86f162b14665d5d6f5bc5e539b1c5cefe698380fbf6fe378cdf86de2e023f51cda5e3846a134b21b509180ac257d85b446bfb33d4f6104 +EBUILD amoebax-0.2.1.ebuild 981 SHA256 b0eaa32389a907f162c2a4a39de865c5f1d95fd887e435d2c2dcc2706e91c472 SHA512 6158b11f96f047c93c01733c4288362006db835c185aca261baba9b0a3fe736dc162052c3daa102345c917872901ed8bef7c0cdaa89dc1166793919d64414fe0 WHIRLPOOL 113bdc83be1cfbd7a0bc9ad3226403b0fa3225283aad42e1fc716e0787ab8775911619c40587a77fb61ae09f489f34cbdaaede1dff143cf20ad42245aed0a415 +MISC ChangeLog 2505 SHA256 4bf7a5349b20913a57a5761aea5d252d00d4fd8bb7cb7166aa79f212fc6fd015 SHA512 325d023aedc8edda66006908e2d5d8d6586db8eda36318057d001e1f95a16b1f59b5a44711101a0b90d564506fff38a158f847f60eacb26cf9110c87020f47f0 WHIRLPOOL f3d49e12d2f45e474f7a9d0e8026c755d156831ed3e7a9380354afb36d987545fafe196f14084d6094a6ba8ab36c6ddc6f7cd7dc0b4ee154f5d1831588893681 +MISC ChangeLog-2015 2132 SHA256 97931be59e0bd42815932dd9be8a5114f199e1cd805977d84df2704271c5da29 SHA512 147604123575fc7751368f5308ca3a0aeaa9a29036d9c1be43b6f14da3d8d2b829342f9b9f74440d8febffb0bf1994d9bd22ffc171462a0fc8139f77503945c8 WHIRLPOOL 032ea3f582e1c2f4306b168e8bd450c3be5ad02b3b2fd3265e99845c3a62401f7204ca77ecba6ceb5f89e356eda6d5440eb58ed64a9430a32fb0a9e50a30a464 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/amoebax/amoebax-0.2.1.ebuild b/games-puzzle/amoebax/amoebax-0.2.1.ebuild new file mode 100644 index 000000000000..2d9537adeacb --- /dev/null +++ b/games-puzzle/amoebax/amoebax-0.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +DESCRIPTION="a cute and addictive action-puzzle game, similar to tetris" +HOMEPAGE="http://www.emma-soft.com/games/amoebax/" +SRC_URI="http://www.emma-soft.com/games/amoebax/download/${P}.tar.bz2" + +LICENSE="FreeArt GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis]" +RDEPEND=${DEPEND} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-aclocal.patch \ + "${FILESDIR}"/${P}-compile.patch + + sed -i \ + -e "/^SUBDIRS/s:doc ::" \ + Makefile.am || die + sed -i \ + -e "/^iconsdir/s:=.*:=/usr/share/pixmaps:" \ + -e "/^desktopdir/s:=.*:=/usr/share/applications:" \ + data/Makefile.am || die + sed -i \ + -e '/Encoding/d' \ + -e '/Icon/s/.svg//' \ + data/amoebax.desktop || die + AT_M4DIR=m4 eautoreconf +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/amoebax/files/amoebax-0.2.1-aclocal.patch b/games-puzzle/amoebax/files/amoebax-0.2.1-aclocal.patch new file mode 100644 index 000000000000..4cafc8d44de8 --- /dev/null +++ b/games-puzzle/amoebax/files/amoebax-0.2.1-aclocal.patch @@ -0,0 +1,41 @@ +--- m4/objc.m4.old ++++ m4/objc.m4 +@@ -448,32 +448,32 @@ + + # AC_LANG_SOURCE(Objective C)(BODY) + # --------------------------------- +-m4_copy([AC_LANG_SOURCE(C)], [AC_LANG_SOURCE(Objective C)]) ++m4_copy_force([AC_LANG_SOURCE(C)], [AC_LANG_SOURCE(Objective C)]) + + + # AC_LANG_PROGRAM(Objective C)([PROLOGUE], [BODY]) + # ------------------------------------------------ +-m4_copy([AC_LANG_PROGRAM(C)], [AC_LANG_PROGRAM(Objective C)]) ++m4_copy_force([AC_LANG_PROGRAM(C)], [AC_LANG_PROGRAM(Objective C)]) + + + # AC_LANG_CALL(Objective C)(PROLOGUE, FUNCTION) + # --------------------------------------------- +-m4_copy([AC_LANG_CALL(C)], [AC_LANG_CALL(Objective C)]) ++m4_copy_force([AC_LANG_CALL(C)], [AC_LANG_CALL(Objective C)]) + + + # AC_LANG_FUNC_LINK_TRY(Objective C)(FUNCTION) + # -------------------------------------------- +-m4_copy([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_FUNC_LINK_TRY(Objective C)]) ++m4_copy_force([AC_LANG_FUNC_LINK_TRY(C)], [AC_LANG_FUNC_LINK_TRY(Objective C)]) + + + # AC_LANG_BOOL_COMPILE_TRY(Objective C)(PROLOGUE, EXPRESSION) + # ----------------------------------------------------------- +-m4_copy([AC_LANG_BOOL_COMPILE_TRY(C)], [AC_LANG_BOOL_COMPILE_TRY(Objective C)]) ++m4_copy_force([AC_LANG_BOOL_COMPILE_TRY(C)], [AC_LANG_BOOL_COMPILE_TRY(Objective C)]) + + + # AC_LANG_INT_SAVE(Objective C)(PROLOGUE, EXPRESSION) + # --------------------------------------------------- +-m4_copy([AC_LANG_INT_SAVE(C)], [AC_LANG_INT_SAVE(Objective C)]) ++m4_copy_force([AC_LANG_INT_SAVE(C)], [AC_LANG_INT_SAVE(Objective C)]) + + + diff --git a/games-puzzle/amoebax/files/amoebax-0.2.1-compile.patch b/games-puzzle/amoebax/files/amoebax-0.2.1-compile.patch new file mode 100644 index 000000000000..79c66a8c95b8 --- /dev/null +++ b/games-puzzle/amoebax/files/amoebax-0.2.1-compile.patch @@ -0,0 +1,12 @@ +--- src/binreloc.cxx ++++ src/binreloc.cxx +@@ -739,7 +739,8 @@ + char * + br_dirname (const char *path) + { +- char *end, *result; ++ const char *end; ++ char *result; + + if (path == (const char *) NULL) + return (char *) NULL; diff --git a/games-puzzle/amoebax/metadata.xml b/games-puzzle/amoebax/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/amoebax/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> |