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 |
reinit the tree, so we can have metadata
Diffstat (limited to 'games-puzzle')
453 files changed, 12067 insertions, 0 deletions
diff --git a/games-puzzle/4stattack/4stattack-2.1.4.ebuild b/games-puzzle/4stattack/4stattack-2.1.4.ebuild new file mode 100644 index 000000000000..1d178a21445b --- /dev/null +++ b/games-puzzle/4stattack/4stattack-2.1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Connect-4 game, single or network multiplayer" +HOMEPAGE="http://forcedattack.sourceforge.net/" +SRC_URI="mirror://sourceforge/forcedattack/4stAttack-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-python/pygame" + +S=${WORKDIR}/4stAttack-${PV} + +src_prepare() { + # move the doc files aside so it's easier to install the game files + mv README.txt credits.txt changelog.txt .. + rm -f GPL version~ + + # This patch makes the game save settings in $HOME + epatch "${FILESDIR}"/${P}-gentoo.diff +} + +src_install() { + games_make_wrapper ${PN} "python ${PN}.py" "${GAMES_DATADIR}"/${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r * + newicon kde/icons/48x48/forcedattack2.png ${PN}.png + make_desktop_entry ${PN} "4st Attack 2" + dodoc ../{README.txt,credits.txt,changelog.txt} + prepgamesdirs +} diff --git a/games-puzzle/4stattack/Manifest b/games-puzzle/4stattack/Manifest new file mode 100644 index 000000000000..bfaab763a2a3 --- /dev/null +++ b/games-puzzle/4stattack/Manifest @@ -0,0 +1,6 @@ +AUX 4stattack-2.1.4-gentoo.diff 509 SHA256 bcb638ed992288e844db9f4e5fadb9196f20c8e8ae2c1695defc8fdc8fb4cb13 SHA512 f370ae8ce74ffe54f028c8646ea8dce87ae4fc5f4eb7ca8343f5441d3dbc80a487c2dd63ba75d363778b450ab47f432aeddcb93e0b6fc895f54a5fa12380f8c9 WHIRLPOOL 843e8528c2ace6fd6d8b1e13ba12978ec25e4b8d37cc9bd861af7dd8ad4e911c7ead8968384af983291d2e8d3b888b90f274521a6747f1cbaeadf5ac3f391d66 +DIST 4stAttack-2.1.4.tar.gz 1828247 SHA256 196c553fd3dbda8b2c2a07a9b0cbacf4f067712498f909d2823161e7d0b289e6 SHA512 4819c0915bfe47bb965ea39d49fa007fb18cfa965b15e5e72a4b0ac3be8a03c616d9438c8dedd960ee257e44b48f98f75ced6bed5bfc77f3366328c797b30f3c WHIRLPOOL 439d05b5208821d18b6976f055de32521283ee737832bf80c4eeea1f62bb334cc72b43b360b09f9cb0da42e8310e54e078ff097432e24ebd3c5ae74ddad1ac99 +EBUILD 4stattack-2.1.4.ebuild 977 SHA256 5bd909d5d2a7eef79b7c8a91cd2cd39ff550a7f0c76ae4f3b97323912bb0238d SHA512 bfadd95adbcc5df82a9be407a67270ef5e1c96b422600bf1cc0dbb7e588702b58999f042f101f2f00412f4f3048e1b27da3f2ec7792b3ca9a4997a855566e9bb WHIRLPOOL edbce27a065fd47747d3e73a58a8fd3eaa3f722798a2f04fe82975fa7bae796a513b915d9403b7e861fbffa793cc8f9091f1467b8b49d5994a168d94d221ba0c +MISC ChangeLog 2473 SHA256 5f601186dbff149c0796c741abf62650cdc0d587f5a3585f07fd1412b1df40fc SHA512 93557c8c415308991b16bced627edcc9fe3bec560e1954d53a69660fae075c13e89fa595d26c64b4e62b11ab2f884f460931ebd6dc90374a532648161937609f WHIRLPOOL c688a33dc1bb7e5e70ebba35b14349eaadd39937cdd8a349d549ea247c53c7bdd694d10e19923589d43a5379304acd56303a8132a84ade4381f8f897da02563a +MISC ChangeLog-2015 1136 SHA256 138d03dc1effbc0097d346b4e0ab1184e74eb4d6ea973e27b1948ba569536dac SHA512 f4d7aee0f5809b9bdf0703218931d1a1fb2e4293f7037bcd8d81ce5707620a13278c676f3c6f3f657b58adfe74984000f8af23b471974497378b3e12e2b27161 WHIRLPOOL e5efbc07f5f612b984faa54a0fa426afd326e47f099626e620bd59809723a6d98b7bb4194fd1c7c338f317d4ad9aa39d460951ac14c1e7c068acaaa70cd6483b +MISC metadata.xml 335 SHA256 6b27e995020286e65b53e3e658a177319795cb722a728b803851d3ec906dc90f SHA512 eff7c6df19ba9adc535fcc0e33216dcbdad8a04a8a09544263c120ee6185842709c0d08065b64d89be09c37afa270f6736216e78ef779e3a13ac8b82ca0fa299 WHIRLPOOL 5a552342baf34092cabac72f382b3eab3e9da0266d983212da1cf5918c9a585b688004cb0735e68568e150780091af642aab72dfa2ad39a03eacff980337574d diff --git a/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff b/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff new file mode 100644 index 000000000000..be7d32ed3ff2 --- /dev/null +++ b/games-puzzle/4stattack/files/4stattack-2.1.4-gentoo.diff @@ -0,0 +1,21 @@ +--- 4stattack.py ++++ 4stattack.py +@@ -28,6 +28,9 @@ + images = None + screen = None + ++f = os.path.expanduser('~/.4stattackrc') ++if not os.path.exists(f): ++ os.system('cp settings.ini %s' % f) + + def playMusic(datadir): + if pygame.mixer.get_init(): +@@ -78,7 +81,7 @@ + if options.has_key('-ini'): + ini_settings = IniSettings(options['-ini']) + else: +- ini_settings = IniSettings('settings.ini') ++ ini_settings = IniSettings(os.path.expanduser('~/.4stattackrc')) + + settings = ini_settings.settings + diff --git a/games-puzzle/4stattack/metadata.xml b/games-puzzle/4stattack/metadata.xml new file mode 100644 index 000000000000..ddef1505ee47 --- /dev/null +++ b/games-puzzle/4stattack/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">forcedattack</remote-id> + </upstream> +</pkgmetadata> 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> diff --git a/games-puzzle/anagramarama/Manifest b/games-puzzle/anagramarama/Manifest new file mode 100644 index 000000000000..e54d6dfe275b --- /dev/null +++ b/games-puzzle/anagramarama/Manifest @@ -0,0 +1,6 @@ +AUX anagramarama-0.2-gentoo.patch 914 SHA256 f3c885f5925f6a949f5716aac6485933a82a8480f672d9e0349f9f21f415a3fe SHA512 8047ae5593d242d4755ade02ed792dcebdde7f36df30edf56155fcc14c65cec6d8a55ebe1ef7e7d012f58faf692515bf3d8fb609b07501dd77d2db28e0b317f7 WHIRLPOOL a9495674ea44ed0875bcb31d388c3e54229fbc0504c02a84f25eb1bf9e56aad4dc0ef06f912d0b355d5c78911831a4a94bb9a40b25e8fbbde31af7e493516802 +DIST anagramarama-0.2.tar.gz 861484 SHA256 3ebb57468025e38c205d6f34f1f1647b593b371beda8032e69ba94aca516bccf SHA512 7cdafaf489100c184a71859f50b64fe8534210d953c4144d822727815ae2f7dd12302447b159039d95c9b3097711ab14931538789ac81c01233cc2c767291603 WHIRLPOOL 8e1f44ca5ff854c90dd5aec0341b11ef3395be87bfaef39b6a0e7fde1462c508056bdb3d47cd647445a5678a0755f4dc22514e79ab6dd6cd27b8671ab1cf6535 +EBUILD anagramarama-0.2.ebuild 983 SHA256 917985e8f9875bded6b4eec4846f247317e888b681f57a38e599304eb3df86d2 SHA512 c6f10416aab933ffedf3a0b047ce5d9f84867dcce1715b7456837004217ef576a49211422dde5dfaff4bad9296b3835ad658c0ddcab273a75a91399081986b3f WHIRLPOOL d12bd609f44c199e2c9159d6e4b9c29c843e0b2478f9c365842540ab8b73c3a7de3ddb276ab066ad9f85b9e594abf1aa3fb85fda827970233e573efc1fe501f7 +MISC ChangeLog 2480 SHA256 9000939fc3ccb54e5b69d29a64b97f83b1e963651c0435498a6ce90a132cb9aa SHA512 c44d804024e72f2b3710caebcde74835223200feaaf4bbe7a6e3299aadcc79673d7b15e81eabbcf38382128512331bcf366f517e50b4e2a503e3e2c6937da2bb WHIRLPOOL 689540bd52c03f2498af512e70c4817c6a2e54b29ef2e663b756c05ac20e1e448f381892c50219d24442603bf783d1d3447b5b6a51e1e62e525d7cb082bcc920 +MISC ChangeLog-2015 1372 SHA256 7b7188bd51ca5dea6ea78da8a9d4cfc841e59b9d809056663da8d6e5531baed8 SHA512 af470f02adca8cfd3912014a0002d7245d8d9d90f8c5692f2740f14476c8cd2db2619f76f519d4bdea38c26d0e9b88bc0e5f0b11f1ab3a6fc4849aafd86cf849 WHIRLPOOL b6ce3c1cef86607ae72e2154e31cf041e08a02cfa3a5b1f3f8af96b4892e91c549c8e39c3197a23749df692c988848c105af56a6048f8757d0b407b8e47a39f9 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/anagramarama/anagramarama-0.2.ebuild b/games-puzzle/anagramarama/anagramarama-0.2.ebuild new file mode 100644 index 000000000000..06434cfe81a2 --- /dev/null +++ b/games-puzzle/anagramarama/anagramarama-0.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Create as many words as you can before the time runs out" +HOMEPAGE="http://www.coralquest.com/anagramarama/" +SRC_URI="http://www.omega.clara.net/anagramarama/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2 + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-image-1.2" +RDEPEND="${DEPEND} + sys-apps/miscfiles" + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i \ + -e "s:wordlist.txt:${GAMES_DATADIR}\/${PN}\/wordlist.txt:" \ + -e "s:\"audio\/:\"${GAMES_DATADIR}\/${PN}\/audio\/:" \ + -e "s:\"images\/:\"${GAMES_DATADIR}\/${PN}\/images\/:" \ + src/{ag.c,dlb.c} \ + || die "sed failed" + ecvs_clean + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + newgamesbin ag ${PN} + insinto "${GAMES_DATADIR}/${PN}" + doins wordlist.txt + doins -r images/ audio/ + dodoc readme + prepgamesdirs +} diff --git a/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch b/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch new file mode 100644 index 000000000000..85b194ea7928 --- /dev/null +++ b/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch @@ -0,0 +1,34 @@ +--- makefile.old 2009-02-08 18:24:33.000000000 +0100 ++++ makefile 2009-02-08 18:29:12.000000000 +0100 +@@ -1,5 +1,4 @@ +-LFLAGS=-Wall -funroll-loops -fomit-frame-pointer -pipe -O9 +-CFLAGS=-Wall `sdl-config --cflags --libs` -funroll-loops -fomit-frame-pointer -pipe -O9 -lSDL_mixer ++LDLIBS=`sdl-config --cflags --libs` -lSDL_mixer + CC=gcc + + C_FILES=src/dlb.c src/linked.c src/sprite.c src/ag.c +@@ -9,19 +8,19 @@ + all:ag + + ag: $(OBJ_FILES) +- $(CC) $(CFLAGS) -o $(OUT_FILE) $(OBJ_FILES) ++ $(CC) $(LDFLAGS) -o $(OUT_FILE) $(OBJ_FILES) $(LDLIBS) + + src/dlb.o: src/dlb.c +- $(CC) $(LFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + src/linked.o: src/linked.c +- $(CC) $(LFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + src/sprite.o: src/sprite.c +- $(CC) $(LFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + src/ag.o: src/ag.c +- $(CC) $(LFLAGS) -c -o $@ $^ ++ $(CC) $(CFLAGS) -c -o $@ $^ + + clean: + rm -f src/*.o diff --git a/games-puzzle/anagramarama/metadata.xml b/games-puzzle/anagramarama/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/anagramarama/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> diff --git a/games-puzzle/angrydd/Manifest b/games-puzzle/angrydd/Manifest new file mode 100644 index 000000000000..391ae057f4ac --- /dev/null +++ b/games-puzzle/angrydd/Manifest @@ -0,0 +1,5 @@ +DIST angrydd-1.0.1.tar.gz 5331883 SHA256 e4950cf9c059302632f88340aad23f389e335b21e266672b8ac5ae0f9fab30ee SHA512 e0901833febcabb6622bb85405189bfaf3c917c3254ce282045d58e8e5b5c6c6565ca0e7c56fe2819e0d3f344df3bb285cca54c360b467d284739673d1aa74f0 WHIRLPOOL 50014010a387098feb2a077e981313fc89d7742aad9bf17d11f07ddfef0b14cf749c1e1bdb30214a8d71f045513742251d54478dd18544e2ed70b1216d033cf1 +EBUILD angrydd-1.0.1-r1.ebuild 1109 SHA256 b6705f5048793a2148d742127d61df6d1d633adeb5ee460bd2f4924c4621dc67 SHA512 edec757668361b4d60f1c7f34792beee93ba4337b57aee296dc0fe2c69671f79a4de9fa36d4867a74bab25d0cb7b44f078c474e2debd248ec7ccb381f6c30a12 WHIRLPOOL 469029affafe71ed42e795a5876ac4dad440dad7740d344f9956401341636ebb1cde9b8aefd40181ce0823c2ed30bc05128883dc971be7aa731b8e7628ba327a +MISC ChangeLog 2437 SHA256 d44c703bd13b1c4fc1d23e1d95952739010c851cb92adef96556b0cf1640a33e SHA512 7c00471f853cc219221923335127f78a3eef7e28a7017626baca91a1ee0ddbd12420aff91fc22cb268ac2779b65ad3a9d37821455ca59d34fb5d8450a287d77c WHIRLPOOL 12f55403d201511f6536ca27f610b52d147db10c7a9fc0c4007975abfae49b828018137ca66a18fd40d72e30a55d2d8ada56adf3223eb2c88513236bd1c06d7f +MISC ChangeLog-2015 1610 SHA256 6057b767ec23bde3d6ee893dd1d3a2e503edfcc3dc8ce9f3f57f46cc5e8d609a SHA512 142536b05d6804b4b68c4f73ad9f1fa9bafde313c75823b160e1d5398fd71c118802ee1ee197034fd1de1c1031eca976b832fe4996b5e84a64f43ed429f89fa7 WHIRLPOOL d96093df8e2ac713292bab5f191471da4c82de527b91650755cabb36f70bdce05b04b5a713060af05a02167b44ea6270cd11f3f039a548e7debf49d3f0979441 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/angrydd/angrydd-1.0.1-r1.ebuild b/games-puzzle/angrydd/angrydd-1.0.1-r1.ebuild new file mode 100644 index 000000000000..7438662e6bfb --- /dev/null +++ b/games-puzzle/angrydd/angrydd-1.0.1-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 games + +DESCRIPTION="Angry, Drunken Dwarves, a falling blocks game similar to Puzzle Fighter" +HOMEPAGE="https://www.sacredchao.net/~piman/angrydd/" +SRC_URI="https://www.sacredchao.net/~piman/angrydd/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-python/pygame[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +RDEPEND=${DEPEND} +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + python_fix_shebang . +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${GAMES_DATADIR}" \ + TO="${PN}" \ + install + rm -rf "${D}${GAMES_DATADIR}/games" "${D}${GAMES_DATADIR}/share" || die + + python_optimize "${D}${GAMES_DATADIR}/${PN}" + + dodir "${GAMES_BINDIR}" + dosym "${GAMES_DATADIR}/${PN}/angrydd.py" "${GAMES_BINDIR}/${PN}" + doman angrydd.6 + dodoc README TODO HACKING + + doicon angrydd.png + make_desktop_entry angrydd "Angry, Drunken Dwarves" + + prepgamesdirs +} diff --git a/games-puzzle/angrydd/metadata.xml b/games-puzzle/angrydd/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/angrydd/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> diff --git a/games-puzzle/arrows/Manifest b/games-puzzle/arrows/Manifest new file mode 100644 index 000000000000..aee25e1a48e5 --- /dev/null +++ b/games-puzzle/arrows/Manifest @@ -0,0 +1,5 @@ +DIST arrows-0.6.tar.gz 53374 SHA256 a8d18e1798d23c26e4d0330db745356d01cc4a3231b669643e08e426eb842d3f SHA512 f6c55d616283ad25d9d830440deaa11de81bccfc2d8eabe627104626ea111d986e522f73d61e5aed58476cc34a3e2b3fe2a20ab1538b7ecef04ecb941f34d83e WHIRLPOOL 0b4ed8bff7d64c4001e6a1f122ddb3ffeed47c4595fb7bd8604c0648b23fd687653862009b2f8439ec667aeeb7232f9f1de2211a7da3edc1de6ed34b059bf03f +EBUILD arrows-0.6.ebuild 928 SHA256 8073b16db80ca6ddce69f833c0178f760c9bae9b68dcb0d51fead7e6a2e3ed61 SHA512 e21f14e9f1530e48f9c5117b8771813ee2eaff6885ee23da20b95e2bcccc253580d4d0121e557430b9d9838159a4c18a79ad1408b1c6f66b334a2f62e97c4bc3 WHIRLPOOL 8e40628f6bee892694916153ab7bd75cee5aa3ca4a3d42da51de0059577572f6717e00ef93ea6fa6b0c5826a3a3cf3676c824cb25a097de47d6cd30bb3beda0c +MISC ChangeLog 2424 SHA256 cb49dd2a097fe5e43eea245e75104a452ef0163d4099c11601c51d4ccff833f2 SHA512 42e7c81fce360a646aa71edf85ffb46d5ce6178fdd1693634a783d320a896d813f541833081ea21672f219e55b5421c285475626789aa5e06f299cdc1775e51d WHIRLPOOL 03806217bba14449e7103e624fde5abef1e305ad4aa518fb7bebf55c169b8b05ac3586616889fdbf2b38751edfe1e42f1d145c400de0b4f8580a66c43ea5750e +MISC ChangeLog-2015 1342 SHA256 000438deb2d84777045c99f712429e8231a4c0dbdc94d6564ab5432023613a80 SHA512 2a4f7582e868f99cb6e1e8b5cd5ec676c9f870a469929eb0dc1f20fb030f576bf6d008bbb3a0dabac2aaf65bbbc1e53f5b1bc9f12e2caf3a958fd1e078188bc8 WHIRLPOOL 72de62e2e3bb36079c12d361d9c23ae625f5ce638a65d142694d611f6a7e4e8c6a50d8b401e47c6a08cae9cc997e8e185adfd26e5385874904f8f425eeca751d +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/arrows/arrows-0.6.ebuild b/games-puzzle/arrows/arrows-0.6.ebuild new file mode 100644 index 000000000000..1ca985a2b41c --- /dev/null +++ b/games-puzzle/arrows/arrows-0.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="simple maze-like game where you navigate around and destroy arrows" +HOMEPAGE="http://noreason.ca/?file=software" +SRC_URI="http://noreason.ca/data/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.4:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # Modify path to data + sed -i \ + -e "s:arrfl:${GAMES_DATADIR}/${PN}/arrfl:" \ + -e 's:nm\[9:nm[35:' \ + -e 's:nm\[6:nm[30:' \ + -e 's:nm\[7:nm[31:' \ + game.c \ + || die 'sed failed' + sed -i \ + -e '/^CC /d' \ + -e '/CCLIBS/s:$: $(LDFLAGS):' \ + Makefile \ + || die 'sed failed' +} + +src_compile() { + make clean || die "make clean failed" + emake CCOPTS="${CFLAGS}" +} + +src_install() { + dogamesbin arrows + insinto "${GAMES_DATADIR}/${PN}" + doins arrfl* + dodoc README + prepgamesdirs +} diff --git a/games-puzzle/arrows/metadata.xml b/games-puzzle/arrows/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/arrows/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> diff --git a/games-puzzle/atomix/Manifest b/games-puzzle/atomix/Manifest new file mode 100644 index 000000000000..752a9c223c6c --- /dev/null +++ b/games-puzzle/atomix/Manifest @@ -0,0 +1,10 @@ +DIST atomix-3.18.0.tar.xz 262624 SHA256 3751cb2810bb993fd71d2a8441c4e08dccd36042ff02b7175c7c828b62db1de6 SHA512 a5d6614d9d4a0a37ce2740bf0e1fce5632fb45ea1d878868f13fde5ec2d8ed13d9ea12e7af5bdfc91f64cba623fb4bdf4c48a2a67331443101ebc0dc40d4dd95 WHIRLPOOL 5d4198912a3a4456d0de2dd01dcfb6b433310297a2011841937b0d7c7d3bca061da6c8eab9f7bd1f7998c0ef086362a904b0b27a24fc64e9cc8d4db872d7a5c5 +DIST atomix-3.20.0.tar.xz 573180 SHA256 d7ffb2ddc8efd4af11986296b051be0af5bfe2226dac2b890290d3b285dd707f SHA512 883622952916e339710f31b89266afa14fee2b305bb4e68539bbce0cbf518490c60178d71fc1192ca07e35222ff6669afac8b824af8fb80d5f6b63f0b4fb5076 WHIRLPOOL 710b03090d356f2c19083d727812b5e66a49c02e1ae9f6f606c12afd99ca69f51381815654f13e7b2a9da504267263270b1329477b70c2dc9f59b1cebdc6be5c +DIST atomix-3.22.0.tar.xz 551424 SHA256 95caf79181381ecc1725fc76b937a2440640739bb4cfbaff91db79e714e7427f SHA512 111c1d1cbd4e07ef7fdfa6d6431b2b7f460dfcceabd1460675640c3965e7f40fb145c921d27e0f3c06605e943190fd36af6d6d462533dca207b8d29487470212 WHIRLPOOL 50fbf803b878c720fe5d975b88b1c1d853a2e24028f6c373259fe7f69b1db59e99580f3f42b0af81a477bb3e2cc46e0bed558f9a08efaa9d0870f57bc37cd062 +EBUILD atomix-3.18.0-r1.ebuild 580 SHA256 87a40ba27849aa675b0a42d224d96bc8f137389dd72c32b46a28feac505a003c SHA512 dd906bc9373f8d2b01dff383866772b5715457556a35cebc7ac10817b6a99695978fc5dd2892b7294a1104d91a7d16ddc94d9cfd3b80523d79e48c99ad53a6e6 WHIRLPOOL 06dd7234ec11aafe925dff9a9a87175c63a3a3aecb783afd1b31e97ee8f3fae480bb5a6fcc2aaa4fbe4e596349df36f9743f880977ea4c40c11069b187945edc +EBUILD atomix-3.18.0.ebuild 583 SHA256 2030c2c7826a4dd3be49dfd4d754038bfcc9ce141b3c2e82eeba5ba89c2ed442 SHA512 cf6ea801f6c751dbfe575f887e26433cfee37a2214f51ca41716a520c0a4a42151a8b040e0e405aaaeac3e3654c562cfb22ca1710c82ef0e2af811cff667d8c3 WHIRLPOOL bcf126aa7a181a683e4752dab36d3b3e7f868fa2fb383251e87e5949da6daa9b80c9c92d13c2738dc241710ac71f3a95eccd67ca93abb06950d52f0009e81d55 +EBUILD atomix-3.20.0.ebuild 558 SHA256 2534911a3e5a1b8a53a2016c427c9592687bb690b3912704d68f629c101f193e SHA512 69749bfd47b87b0ec9a3ecc73e0d47f2e1b0464bbf9dd7d59c173b96285df62080ae4acb257f2c513fbb2a0704214d08f8e7a326754025a60980f9fb852dcfdd WHIRLPOOL 489f2aed198f8244e9519a6b5e3977f074cfc71a965f231d2ecde6126c57d247b248029277d242ca9bc2b36500c162cfd6ffafead3b1553dbba6d1c15030a95b +EBUILD atomix-3.22.0.ebuild 535 SHA256 17d8f099b921bec128100dcfd3efc1e0174bd5ffe3fb1e91e5f22ba4e2397c37 SHA512 7551095fc1489cfdef0b86d4bb8e29e36bfe2f8439ec27bcb75acf5ed2245d9bc44bc913d817a861f43db5b215bcaaafb7f1e1659384ed1e213af07f52373acb WHIRLPOOL 3cb7702798112d5b58982860e311fc9dbed22a94c0bb71e4940e5d9b76018d3557a1ef72477d9bcdf312e734ecf8042730a7677cacc0dabf7a9a01001969546b +MISC ChangeLog 4764 SHA256 338f33230517b1f89d8d748fb18183cbc141537d5da7499939bc4cdfc3ced941 SHA512 de65aed759b150e7b7d74fa82829b47859db0b1be6d620e8d78371651cdff6fd63d801306ac999c9ab8398a951dca9dec6bda2558c1f18ebf4db0f26388451c6 WHIRLPOOL 2523b8716f5c3a2e005ff58b05939d070a05f4383d1d061f21a36db96ad3166afa60e65bbcfe37c0a94636cc7b4d6925e4de94cf4aac88af0df6bc0220024349 +MISC ChangeLog-2015 2089 SHA256 dc11748b4c6ed34ec066eba37de10dfb447619c5dc4ab295376b9aae61a809a2 SHA512 d39f5ce018afde7007de738273a6f8c0932bedf6bd0e293ef8b9329cbaaa7503492c800b7d169b3e3430fb14d87ef43a2a6f43100453db313a3cb437aad9e09a WHIRLPOOL 73eb575c4611badafd0214f2df154eec08e9a808217fa7021b77e6f13d0f877004ac1a0192999d9cffc2be871fc193f7bea12ede412657d494c7de117be02087 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-puzzle/atomix/atomix-3.18.0-r1.ebuild b/games-puzzle/atomix/atomix-3.18.0-r1.ebuild new file mode 100644 index 000000000000..a36896f331f9 --- /dev/null +++ b/games-puzzle/atomix/atomix-3.18.0-r1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="A game where you build full molecules, from simple inorganic to extremely complex organic ones" +HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/atomix/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=x11-libs/gdk-pixbuf-2.0.5:2 + >=x11-libs/gtk+-3.10:3" +DEPEND="${RDEPEND} + dev-libs/appstream-glib + >=dev-util/intltool-0.40 + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig" diff --git a/games-puzzle/atomix/atomix-3.18.0.ebuild b/games-puzzle/atomix/atomix-3.18.0.ebuild new file mode 100644 index 000000000000..acdfbc769ddf --- /dev/null +++ b/games-puzzle/atomix/atomix-3.18.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit gnome-games + +DESCRIPTION="a game where you build full molecules, from simple inorganic to extremely complex organic ones" +HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/atomix/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=x11-libs/gdk-pixbuf-2.0.5:2 + >=x11-libs/gtk+-3.10:3" +DEPEND="${RDEPEND} + dev-libs/appstream-glib + gnome-base/gnome-common + >=dev-util/intltool-0.40 + sys-devel/gettext + virtual/pkgconfig" diff --git a/games-puzzle/atomix/atomix-3.20.0.ebuild b/games-puzzle/atomix/atomix-3.20.0.ebuild new file mode 100644 index 000000000000..42762674c192 --- /dev/null +++ b/games-puzzle/atomix/atomix-3.20.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="Build molecules, from simple inorganic to extremely complex organic ones" +HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/atomix/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=x11-libs/gdk-pixbuf-2.0.5:2 + >=x11-libs/gtk+-3.10:3" +DEPEND="${RDEPEND} + dev-libs/appstream-glib + >=dev-util/intltool-0.40 + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig" diff --git a/games-puzzle/atomix/atomix-3.22.0.ebuild b/games-puzzle/atomix/atomix-3.22.0.ebuild new file mode 100644 index 000000000000..a5b20639ca59 --- /dev/null +++ b/games-puzzle/atomix/atomix-3.22.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="Build molecules, from simple inorganic to extremely complex organic ones" +HOMEPAGE="http://ftp.gnome.org/pub/GNOME/sources/atomix/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=x11-libs/gdk-pixbuf-2.0.5:2 + >=x11-libs/gtk+-3.10:3 +" +DEPEND="${RDEPEND} + dev-libs/appstream-glib + >=dev-util/intltool-0.40 + sys-devel/gettext + virtual/pkgconfig +" diff --git a/games-puzzle/atomix/metadata.xml b/games-puzzle/atomix/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-puzzle/atomix/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> diff --git a/games-puzzle/bastet/Manifest b/games-puzzle/bastet/Manifest new file mode 100644 index 000000000000..a6c8ffafabe9 --- /dev/null +++ b/games-puzzle/bastet/Manifest @@ -0,0 +1,6 @@ +AUX bastet-0.43-gentoo.patch 474 SHA256 a9bac74bfabf05c186676a7ef4520fc4cf80a9814ef806b82464bea5642cbe65 SHA512 8d381ecb59f141cfc16f64ec21eac18d91ece99e01e2ae327117545c8ea354e6e50a17cf966e43dc7bb5fe7ec6b1b3008fcf385098a222791cb15ec67bab400b WHIRLPOOL dd6f5f40e51bdca007c81fb52534cc8883f85d1ce0b63fb6157e5e79d3ae25f060f264d9b916493dbc1b6984d41a4a0d42c40d34fde248138320a811df5c053d +DIST bastet-0.43.tgz 29115 SHA256 e208c68684cc9b818a08b0d3f5f1e7ef381b1e4d8bc801a90b5ff6a8f00d8168 SHA512 a3683c2cea4df592d9cef2be1b0006acc2b6eddbe6b64aba1c21e81ba39df9bcff6494e0949b67a84f3d1a0fa6837f0d1b7cebb2eb8a551b54392e4a45f2e172 WHIRLPOOL 80e2039599598da1b97af9502f6230e043b5a13c8daad1d48adad69b0ce81c8a8283ea678b0ebffd134cea0d4821dcaf3735a36b0d251d955452855928020147 +EBUILD bastet-0.43.ebuild 730 SHA256 e4389f4acead2cff8aed3ef22c20a2b769f59605cdfcdcf6cc41fcf8f78dae30 SHA512 2d9b15f90356ea4706f966a7f4617c87c9dfc2b87ed23fc62d78446f320880baf9291ca5183b3a9550ea4d1b4e622e5cfb961ee6a8d5403efc08d73a051a339c WHIRLPOOL 058fcb4a1032837e5e7de582cc72d6b90ed8f9a11f16e9ea1d7fca816451292f9fdefd29a5f7eca5b5f39771ef61ac25ff778c40be6ffe7fd1adfc5d9aa84377 +MISC ChangeLog 2600 SHA256 c874abd610c2d03c33ee63dbb9663fc26eb67daaabbc6694c3d43133d34c2c56 SHA512 89ec685afe75fba90db52c976158f7b9dd1c79f0ae4aecbfb8abded1f084e3a845a8c265271391ca41820411760d4b368eed51dce30d850d9447e8b6d055e967 WHIRLPOOL 73576ad9095f190d4f4b8e483523431cd99b46c115503ed9af2ca808358a9216412b1c0400e6977e0a3aadc1709205cc0b97d09b738c2b84f320d473c837356f +MISC ChangeLog-2015 1617 SHA256 d40d000e41c3a751cb62dafc4ce2f642d2ba48f2d172a27f6d7942e2dc59be81 SHA512 e68f5a635bdf71cfdc3a1fe435e0322cf957f1cc99da1800907c76861135d8aba3b90f7a07c6ba659706154b3181ecc013ef7300469525ebee2d3792f2e75cf3 WHIRLPOOL db069a62177ace4c46fac316e1e76a05e5326c2c808b9575affbed48a0385cb3fe168eafb9cfa1074ec8e99c6627835829608557b11543e358013b56187b6479 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/bastet/bastet-0.43.ebuild b/games-puzzle/bastet/bastet-0.43.ebuild new file mode 100644 index 000000000000..653e57aecb6a --- /dev/null +++ b/games-puzzle/bastet/bastet-0.43.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="a simple, evil, ncurses-based Tetris(R) clone" +HOMEPAGE="http://fph.altervista.org/prog/bastet.shtml" +SRC_URI="http://fph.altervista.org/prog/files/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86" +IUSE="" + +DEPEND="sys-libs/ncurses:0 + dev-libs/boost:0" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + dogamesbin bastet + doman bastet.6 + dodoc AUTHORS NEWS README + dodir "${GAMES_STATEDIR}" + touch "${D}${GAMES_STATEDIR}/bastet.scores" || die "touch failed" + fperms 664 "${GAMES_STATEDIR}/bastet.scores" + prepgamesdirs +} diff --git a/games-puzzle/bastet/files/bastet-0.43-gentoo.patch b/games-puzzle/bastet/files/bastet-0.43-gentoo.patch new file mode 100644 index 000000000000..db7671592224 --- /dev/null +++ b/games-puzzle/bastet/files/bastet-0.43-gentoo.patch @@ -0,0 +1,15 @@ +--- Makefile.old 2010-12-02 15:43:29.000000000 +0100 ++++ Makefile 2010-12-02 15:47:18.000000000 +0100 +@@ -11,10 +11,10 @@ + depend: *.hpp $(SOURCES) + $(CXX) -MM $(SOURCES) > depend + +-include depend ++-include depend + + $(PROGNAME): $(SOURCES:.cpp=.o) +- $(CXX) -ggdb -o $(PROGNAME) $(SOURCES:.cpp=.o) $(LDFLAGS) -lboost_program_options ++ $(CXX) ${CXXFLAGS} -o $(PROGNAME) $(SOURCES:.cpp=.o) $(LDFLAGS) -lboost_program_options + + clean: + rm -f $(SOURCES:.cpp=.o) $(PROGNAME) diff --git a/games-puzzle/bastet/metadata.xml b/games-puzzle/bastet/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/bastet/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> 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> diff --git a/games-puzzle/braincurses/Manifest b/games-puzzle/braincurses/Manifest new file mode 100644 index 000000000000..cb3e94060885 --- /dev/null +++ b/games-puzzle/braincurses/Manifest @@ -0,0 +1,7 @@ +AUX braincurses-0.5b-as-needed.patch 692 SHA256 4d6009661e02f2826fe6f408a82063ac3193f3841e3c1d19de5d72ef78e35323 SHA512 d4067011081e587ccc07baf6dd6597bfbdd8d118e14b0a1b8c83d8384332132edd21d079a2f60ea1003f588a88191662f6445e047bb9121141b2b83856051855 WHIRLPOOL 032254ac7f9295ffe6d5d55c955cb15a87e3853129332688cf242577f19f5864ab131876ddc06bfe2336fc90e92719f5c75ad053b0f1690aed1f766e2f454957 +AUX braincurses-0.5b-gcc43.patch 188 SHA256 eeadca86a1cc9512f1fef8af180ea30cde7e08b36e925beefee9904457091932 SHA512 212165591b422cde8c9aebbe7fb14b34903e7fff0a6fee4310c953b11154ae1900d8444fbbc6f37c2accff4023f5fca87a50121d9abe51b7d634001d1301758f WHIRLPOOL 5faa0290c3edb98ae04801bdf77d7f146fb9710d6d1425ec79c6a0f7bc72707124628fe61ee5972189b6be6f3a71d4ca9cec3ede9d16ca0c974e3876bc5c6e48 +DIST braincurses-0.5b.tar.gz 18487 SHA256 c9adc662a30fdc51b36467e536ff5222b769ec73b35c7bddbd0ed4772c05f332 SHA512 7f90da3a5c480e0bf736dd4a53efc08abeb85969e727882e3d06f888b2a4b6002f9fd9bc1554ac2256c9821dea5fabf2638eba4a672046a09c1adb8690803a0e WHIRLPOOL 97829b1602e353714ec085a9ea635557c01911c935e0b6a13728d633026958ee9dd2e3903ca801cb2e24297c4702a325ace1d32908873cec985882a61edcb332 +EBUILD braincurses-0.5b.ebuild 693 SHA256 6a5d5bf2de1c4d20a211393626cd35b7f4f5501d6f22f7d652c4f23bae954406 SHA512 d27d4c60cc1e235ecc5455406550693c18d86c7a759fb84b3a85dac3ad44e7d3dfd263298dd11cdacaf7e1e21ab3832211fac21c961422d60815ffc760cd384f WHIRLPOOL d3873168843392e27fefd1859b5ff13f36addec8ad69e7ec9e3a487bd7f892213012abaf3ab15cedea8cfd0a627b764c10817caeccdfbf1be785fe64110b4788 +MISC ChangeLog 2521 SHA256 5885b9b01fb6df0d388e094e3c26f6fb25d517a4c0ed11ac9892f95123909974 SHA512 b255c68933ddd1a42ebb35652c3308360a817979010f838b1626807d78a02a834929ce0124a21426d03ba6dd81fb0a775e51b595827e506ea34784e1a1053159 WHIRLPOOL 046aed39ec6c64df15550a2a9d5c655330172195f873d8c2940754c3a688bacabe35f5e3e77b745dd6f5a71d39dde15fc8aa9d584e3386b9ed9cd77d807067a9 +MISC ChangeLog-2015 1559 SHA256 5847788f0446ada25e8780b8ac9ad6aaa6aa900c25e2c1719848f185596fd632 SHA512 a369e0ba4159c1e77bc98c9455b84c9e37c4c1b3d2acce0a60cbeece32443c2fcd8a2bf8f11669a4791a5d90bfd9887bab0509f843b262ca98c5131389e488a6 WHIRLPOOL 6d76642f975241aeb5ddc6f61bdd065ada4fb068e346ad92bb1f8d825b17638039fb712fcb9d87369d291deacf436d6aec779f731a1249e27a3534c44eeda74c +MISC metadata.xml 388 SHA256 10c4634c4dec94df7cd2f22ecbfbb20307f5e47bde4de1325e7db4f4674f5c5f SHA512 22fb2671d0f2029bea4e513d469b2d9940fef9a5ed6a6d9b47dfc80aae50b41bae3d89a620ff4be028ab46ab2dcca801a4653e95feca142c3b2921d436e2e6c0 WHIRLPOOL a7482848f1fc69f8b9dc331d778099b1a183341bd5a5dc9a526f51598690beed92cf9942e0bcbeb1a1803b73ece7df59de33246a074d1647e474b2b68f73e887 diff --git a/games-puzzle/braincurses/braincurses-0.5b.ebuild b/games-puzzle/braincurses/braincurses-0.5b.ebuild new file mode 100644 index 000000000000..cc858a722222 --- /dev/null +++ b/games-puzzle/braincurses/braincurses-0.5b.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="An ncurses-based mastermind clone" +HOMEPAGE="http://freshmeat.net/projects/braincurses/" +SRC_URI="mirror://sourceforge/braincurses/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +DEPEND="" +RDEPEND="" +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-as-needed.patch + # fix buffer overflow (bug #301033) + sed -i \ + -e 's/guessLabel\[2/guessLabel[3/' \ + curses/windows.cpp \ + || die 'sed failed' +} + +src_install() { + dogamesbin braincurses + dodoc README THANKS Changelog + prepgamesdirs +} diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch b/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch new file mode 100644 index 000000000000..d1f36152403f --- /dev/null +++ b/games-puzzle/braincurses/files/braincurses-0.5b-as-needed.patch @@ -0,0 +1,27 @@ +--- Makefile.old 2009-02-09 16:04:47.000000000 +0100 ++++ Makefile 2009-02-09 16:14:41.000000000 +0100 +@@ -1,22 +1,9 @@ + # Makefile for braincurses game + # written by Brian Derr + +-CC=g++ +-CFLAGS=-Wall +-CURSES_LIBS=-lncurses ++LDLIBS=-lncurses + +-ncurses: curses/windows.o braincurses.o +- ${CC} ${CURSES_LIBS} ${CFLAGS} -o braincurses curses/windows.o \ +- braincurses.o +- +-windows.o: windows.cpp +- ${CC} ${CFLAGS} -c curses/windows.cpp +- +-braincurses.o: braincurses.cpp +- ${CC} ${CFLAGS} -c braincurses.cpp +- +-#top_scores.o: top_scores.cpp +-# ${CC} ${CFLAGS} -c top_scores.cpp ++braincurses: curses/windows.cpp braincurses.cpp + + install: + install -o root -g root braincurses /usr/local/bin/ diff --git a/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch b/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch new file mode 100644 index 000000000000..eafa39e4b9b8 --- /dev/null +++ b/games-puzzle/braincurses/files/braincurses-0.5b-gcc43.patch @@ -0,0 +1,10 @@ +--- braincurses.h ++++ braincurses.h +@@ -12,6 +12,7 @@ + #include <cstddef> + #include <cstdlib> + #include <ctime> ++#include <cstring> + #include <iostream> + #include <map> + #include <string> diff --git a/games-puzzle/braincurses/metadata.xml b/games-puzzle/braincurses/metadata.xml new file mode 100644 index 000000000000..8444fd297f54 --- /dev/null +++ b/games-puzzle/braincurses/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <upstream> + <remote-id type="sourceforge">braincurses</remote-id> + <remote-id type="freshmeat">braincurses</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/brainparty/Manifest b/games-puzzle/brainparty/Manifest new file mode 100644 index 000000000000..d7c1e1bd80ce --- /dev/null +++ b/games-puzzle/brainparty/Manifest @@ -0,0 +1,9 @@ +AUX brainparty-0.61-gcc49.patch 489 SHA256 4c3422cfc4fdfb5f223f60e701d40afeba2700ce593becedab41c16e86dbd525 SHA512 9859614d97c9fe8efd8cefedd8ef935cbdf4344154f2e272e0624268e48533b620a55654c9d0097e3726579ce1a7028ad44eb705c2e86bbc983cb490faec6295 WHIRLPOOL 9a6a5494c8425d01d8599420b4d4f55025e9c082b1dd2108fe483909caf1fd607690c8cb949a42f75814dd1cc3becbfa228e236f34d9a61f5cdafe21f0563686 +AUX brainparty-0.61-gnu_cxx-hash.patch 219 SHA256 20a8a1eaa0e1ceec7f930e311a47f0d901b57d528a8e2d63716261736017d745 SHA512 d42cb49d0c320d91fc9c31706e2fb3e8cffcd0b08803b1a016ff30e283f35f86bbbdaae98a1f0ee3cece82d027dd767ce0a30ca8565887a2d2d619789ce51e30 WHIRLPOOL 11378a43df37404be56e0cbad1ee7d6ec509a31bc849d33fa650920f51ea1d97f3e878294f1368e81585ac53037853b19cfe0516a5b86e24ee5bf3abb3bc9081 +AUX brainparty-0.61-savegame.patch 674 SHA256 2089b4008aa43715d2c80f6edc1c444b71a4ebd8d92563f7566f8735197cc9c2 SHA512 9e158b97ff15cfb4b6b8e4f6eb8006335841c48ff94b5da8bbb0cba03868b8ead92d2520bc8adae887d4baabac93c8104e44b46d87b6c4258792ab64376ce34a WHIRLPOOL 77ca0f82e5c31a6ab89a8acdd596e6799f1df9ccdd47d23d9f85315f549cc50c22a23355feb6323cb95cf01a680dcb75ab564bcb4a17a3800f72d906492ab285 +DIST brainparty0.61.tar.gz 40676905 SHA256 6930b563b45f935451b28fa3ed5d33619e766885f82656a3eb48c6d30671a625 SHA512 bc8578a551ce4b7f40e212d9ab9910b2435b88d8b7b7e90a1c088e37d5f26b5c6126fcb9ffee7e39981eff34c13144c8f3204e020532b5abf1c4815cc8074eb9 WHIRLPOOL b8c9065af334a7f404faab934922841adf860fbc36734ae44ba582e7c30f218236c2f266347f1de596e0036f5139e16c5e4702899b83025e5f60fcc1fc36d258 +EBUILD brainparty-0.61-r1.ebuild 1223 SHA256 12f262e877de02783577ef8b439e3576be8766d33ddd1c2c4a1d20b58b6da5a8 SHA512 2dd1e3071749fe87480d37c3d4e8eebf0c24479cdbb624c28e0960b9dfd08eb830c5fe5dc25f3d987a02adbc141c2b3cc75fdc785ee40c734ca4bdb56dc99e4b WHIRLPOOL 8b9ece5c6a7f2abe385e3b793d964af526c80f205cd3a1f80abcb55f31990971f21ee173ee6cc1ea29110301c05fef2308cc534a411b36b6d0da3c851b5abac8 +EBUILD brainparty-0.61.ebuild 1245 SHA256 eef571a8a9d075e91bbe454d992991681c46a5748ee74a3cb1d2c17b4472043c SHA512 c4f408a03597aca4f101d267371c8f52f0800c9775c69cd6d7ffbd46982dbc8d74630176154ce6a3bef165cbde491cbdc6eec581cddeb11adad41c01ef517d4b WHIRLPOOL a42106f576805cb840e8a6265b9ebe0d9b3e459b46e2ced312af415da9a70cf1bc04843eb732c40b1bc9a78cc39bb8f3b75812da6fcc916c34e7fb549dda2553 +MISC ChangeLog 2693 SHA256 0a2441a78488de08a152d4758e62cd20d83e812fb1c818d4806c370eb1d9839c SHA512 8709bf36507fda49fcdffaa7064792ff87e996968300dfe6f6b246213e5074779380a3c35e85c0b5e7f95c2badf113e86f31e7e0e3ee5db4d0e8addc8c2fee3c WHIRLPOOL 957de024837ee9e3f0f7eb7ccbfa07d6dac8820bd1770a494866a199099689c317089aed7b4a7a2b331d3405def7e1aa54a3ad6c00cf1cfccddd4d89cf2e9d88 +MISC ChangeLog-2015 1762 SHA256 d2f0d2a4d4f7d4c6c0c548b91cdccd045237e6bda2aa430bc6247a47299fc1fa SHA512 335b136afc6ce2050dabf5d6b5acefbb7c2ce5445d74b25302bf5bcc75e3689fc5abbfa8569c34b200bd034d944e92ff64b36abffcb0ce1e463d39669b36423e WHIRLPOOL 73bdccd8339697968a9b926179f8c753fb88b443bcd9ff0232120ea5b799f49c997798ea3e2033e63b967c2e7eba91c43a1aef85dc3f498ed96efe4509102d98 +MISC metadata.xml 331 SHA256 54bd97abffd0c0bf57efcd700c020b48bfc26e5d0488d7cf57e99aa002ec6e6e SHA512 bcea1853cf01102eb88c58723e585f81c55b4208be24b46bc421b62afa84405539116b33289e94c7b1da5c259ca91d0fc6553e6441e59ec5d41326525742a404 WHIRLPOOL d8f36508134f6376b6dbf4b6de2ce9b972b6d4781231f99c1c73a09f3a616d5535ad91e554bb45732262da57ed812017c75557f486807b618c33b955270b1ccb diff --git a/games-puzzle/brainparty/brainparty-0.61-r1.ebuild b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild new file mode 100644 index 000000000000..97d4b35c28aa --- /dev/null +++ b/games-puzzle/brainparty/brainparty-0.61-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="A puzzle-solving, brain-stretching game for all ages" +HOMEPAGE="http://www.tuxradar.com/brainparty" +SRC_URI="https://launchpad.net/brainparty/trunk/${PV}/+download/${PN}${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl[sound,opengl,video] + media-libs/sdl-gfx + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +PATCHES=( + "${FILESDIR}"/${P}-savegame.patch + "${FILESDIR}"/${P}-gcc49.patch + "${FILESDIR}"/${P}-gnu_cxx-hash.patch +) + +src_prepare() { + default + + sed -i \ + -e 's/$(LIBS) $(OSXCOMPAT) $(OBJFILES)/$(OSXCOMPAT) $(OBJFILES) $(LIBS)/' \ + -e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \ + -e '/^CXX =/d' \ + -e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \ + Makefile || die + sed -i \ + "/^int main(/ a\\\\tchdir(\"/usr/share/${PN}\");\n" \ + main.cpp || die +} + +src_install() { + dobin brainparty + + insinto /usr/share/${PN}/Content + doins -r Content/. + + newicon Content/icon.bmp ${PN}.bmp + make_desktop_entry brainparty "Brain Party" /usr/share/pixmaps/${PN}.bmp +} diff --git a/games-puzzle/brainparty/brainparty-0.61.ebuild b/games-puzzle/brainparty/brainparty-0.61.ebuild new file mode 100644 index 000000000000..9cc441ad80e8 --- /dev/null +++ b/games-puzzle/brainparty/brainparty-0.61.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A puzzle-solving, brain-stretching game for all ages" +HOMEPAGE="http://www.tuxradar.com/brainparty" +SRC_URI="https://launchpad.net/brainparty/trunk/${PV}/+download/${PN}${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,opengl,video] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf + media-libs/sdl-image[png] + media-libs/sdl-gfx" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${PN} + +src_prepare() { + sed -i \ + -e 's/$(LIBS) $(OSXCOMPAT) $(OBJFILES)/$(OSXCOMPAT) $(OBJFILES) $(LIBS)/' \ + -e 's/CXXFLAGS = .*/CXXFLAGS+=-c/' \ + -e '/^CXX =/d' \ + -e '/-o brainparty/s/INCLUDES) /&$(LDFLAGS) /' \ + Makefile || die + sed -i \ + "/^int main(/ a\\\\tchdir(\"${GAMES_DATADIR}/${PN}\");\n" \ + main.cpp || die + epatch \ + "${FILESDIR}"/${P}-savegame.patch \ + "${FILESDIR}"/${P}-gcc49.patch \ + "${FILESDIR}"/${P}-gnu_cxx-hash.patch + +} + +src_install() { + dogamesbin brainparty + insinto "${GAMES_DATADIR}/${PN}/Content" + doins Content/* + newicon Content/icon.bmp ${PN}.bmp + make_desktop_entry brainparty "Brain Party" /usr/share/pixmaps/${PN}.bmp + prepgamesdirs +} diff --git a/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch b/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch new file mode 100644 index 000000000000..7147cd460be6 --- /dev/null +++ b/games-puzzle/brainparty/files/brainparty-0.61-gcc49.patch @@ -0,0 +1,20 @@ +--- a/BPList.h ++++ a/BPList.h +@@ -138,7 +138,7 @@ + ~BPPList(); + void Add(T item); + bool Contains(T item); +- void Clear(bool safe_delete); ++ void Clear(bool safe_delete = true); + int IndexOf(T item); + void Insert(int pos, T item); + void Remove(T item); +@@ -171,7 +171,7 @@ + } + + template <class T> +-void BPPList<T>::Clear(bool safe_delete = true) { ++void BPPList<T>::Clear(bool safe_delete) { + if (safe_delete) { + for (int i = data.size() - 1; i >= 0; --i) { + T item = data[i]; diff --git a/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch b/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch new file mode 100644 index 000000000000..8d933462673b --- /dev/null +++ b/games-puzzle/brainparty/files/brainparty-0.61-gnu_cxx-hash.patch @@ -0,0 +1,11 @@ +--- a/WordList.h ++++ b/WordList.h +@@ -35,7 +35,7 @@ + }; + } + +-typedef hash_set<string, hash<string> > string_hash_set; ++typedef hash_set<string, __gnu_cxx::hash<string> > string_hash_set; + + class WordList { + private: diff --git a/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch b/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch new file mode 100644 index 000000000000..08526d345100 --- /dev/null +++ b/games-puzzle/brainparty/files/brainparty-0.61-savegame.patch @@ -0,0 +1,27 @@ +--- a/BPGame.cpp ++++ b/BPGame.cpp +@@ -1294,8 +1294,10 @@ void BPGame::LoadSettings() { + Secret1 = Secret2 = Secret3 = Secret4 = false; + NumUnlockedGames = 0; + ++ string file = string("/.brainparty"); ++ file.insert(0, getenv("HOME")); + ifstream ifs; +- ifs.open(".brainparty"); ++ ifs.open(file.c_str()); + + FirstRun = false; + +@@ -1425,8 +1428,11 @@ void BPGame::LoadSettings() { + } + + void BPGame::SaveSettings() { ++ string file = string("/.brainparty"); ++ file.insert(0, getenv("HOME")); ++ + ofstream savefile; +- savefile.open(".brainparty"); ++ savefile.open(file.c_str()); + savefile << EnableSound << endl; + savefile << EnableMusic << endl; + savefile << endl; diff --git a/games-puzzle/brainparty/metadata.xml b/games-puzzle/brainparty/metadata.xml new file mode 100644 index 000000000000..441580ff56b3 --- /dev/null +++ b/games-puzzle/brainparty/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="launchpad">brainparty</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/brainworkshop/Manifest b/games-puzzle/brainworkshop/Manifest new file mode 100644 index 000000000000..eb6098a2e310 --- /dev/null +++ b/games-puzzle/brainworkshop/Manifest @@ -0,0 +1,6 @@ +AUX brainworkshop-4.8.4-fix-paths.patch 473 SHA256 a3ce16df2aad55cf1f1aa1137e7e921a2edf2f99da65929feea158f1f544ea0d SHA512 858e837e001db04efd9a3c420860821e02ca9b7ef7197a8fe69221d0135f11a05cb6f2f9b4c19cd9eeec84c84ec5842c7e8126f08dc94f9ff79569f580f9d515 WHIRLPOOL cd2bb0e53bb65a6fc5b525413ee980df61095a009cfcbab8f8232e963bd900f89988049e39f893e75384ce0760c64ef85777ed5abcf7aa6647ede5df0bd839cf +DIST brainworkshop-4.8.4.zip 9373980 SHA256 bb1f259eda90e945a803524eedbc0087283e3fb9ae2ab4c16ded88c8c4e95b15 SHA512 d3819036fef98fab9a89637ba01b2d844146babc7cb34b6ec6f4a589c18a7532fd23cf083c867ea1c917df9d7a6507ab51a5942e745d3ab9d01d938812486936 WHIRLPOOL 4faf02832dc3af0f7c5fd0103996a884921433d2f3ff37d77d6c2510d7f6f3ab274dbe08c89f26e360725cb0ea3c52312cd23a813b680d330274579135fee2ef +EBUILD brainworkshop-4.8.4.ebuild 1236 SHA256 c8d616d12e12403f7b4d96a7555ae7a0faaca65dad359df7ddc2920af5cba904 SHA512 83664a08873f28a7734ef7ff3b44894a1e67e825a5ebb2e0f7b757f6cb276946fb8fb076af97005550b31d4c9449f04a4e11a8ec054689653bdf0acddf12a35e WHIRLPOOL 6b59387f17f62a50572aca3c1ae191938361ef3805dd464fc14fabe5a8a800345811327e840b28174d44bb50f60ab670b6498dedee3a49279002d5882923ef07 +MISC ChangeLog 2495 SHA256 76a99e27fcb2be37ca88790070a44cb19dff9a72a3a82ac874c12cea852444a3 SHA512 6b82ca74ae8fa4dd223618aca23efc865e7d3ceb1a06406306e91b758cab38696d5a0cb0bf03e871ac60cf4200c3c5d28b953247b58335b6db299120c5e1ef5e WHIRLPOOL 9a6eceb9e15418f1c1e7247751f4703a21077f6b70a65f5053af4e0127bc4f11fcdc0779e4416ea5567132e74b8a590c214e9789c3f2429d37e436be9a77e3b9 +MISC ChangeLog-2015 1497 SHA256 cf420a81bd19aafdd4c995d87eb0c72bdb18b9e1aa518c19e0813ee143983a90 SHA512 8c68d50b2b3b6b7256e25dd8562a076c29f39b01bb471955dd6e853b6bddde56774da68cde0efcacd7bfca97c640d5bac65dc5e45a004e594ef5f5647d3c4d79 WHIRLPOOL b3a2995f93369714bfc108e73842cd0a9d6d3f8a54a81b2de99c9a429814fb081da0bfd888f7b703eb4fd75407094e56c4dccbbb9e627886b79e562bcc5b3d51 +MISC metadata.xml 336 SHA256 b4af94107008cd60e2e9eecb63dd72921f5b13cf12dc4f9f1724ba4db79d173f SHA512 75e98aaef9436c2e488b304a19cfcaa1659748c97209ad217708046516aa4a76d9ac18c3c4762db08c496efe21a7ed5006bd4b2100989adb2b7fa0b9a8372b12 WHIRLPOOL 1ef539604e64cf0ec6bdfc2740a74805c0d503eae1b05883bcb29629d2ec9bd85282ab2d68a70cc9054c107c3cfcbf4efc5ea84271998046329d429fc08b25f6 diff --git a/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild b/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild new file mode 100644 index 000000000000..89dc8c4dc3fe --- /dev/null +++ b/games-puzzle/brainworkshop/brainworkshop-4.8.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit eutils gnome2-utils python-r1 games + +DESCRIPTION="Short-term-memory training N-Back game" +HOMEPAGE="http://brainworkshop.sourceforge.net/" +SRC_URI="mirror://sourceforge/brainworkshop/${P}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pyopenal + || ( >=dev-python/pyglet-1.1.4[openal] + >=dev-python/pyglet-1.1.4[alsa] )" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/${P}-fix-paths.patch + edos2unix ${PN}.pyw + + sed -i \ + -e 's#@GENTOO_DATADIR@#'${GAMES_DATADIR}'#' \ + ${PN}.pyw || die +} + +src_install() { + newgamesbin ${PN}.pyw ${PN} + python_replicate_script "${D}${GAMES_BINDIR}"/${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r res/* + dodoc Readme.txt data/Readme-stats.txt + newicon -s 48 res/misc/brain/brain.png ${PN}.png + make_desktop_entry ${PN} "Brain Workshop" + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch b/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch new file mode 100644 index 000000000000..061187b7cfe0 --- /dev/null +++ b/games-puzzle/brainworkshop/files/brainworkshop-4.8.4-fix-paths.patch @@ -0,0 +1,15 @@ +--- a/brainworkshop.pyw 2010-10-15 19:06:16.529006906 +0200 ++++ b/brainworkshop.pyw 2010-10-15 19:08:17.095632136 +0200 +@@ -35,8 +35,10 @@ + NOVBO = True
+ VSYNC = False
+ DEBUG = False
+-FOLDER_RES = 'res'
+-FOLDER_DATA = 'data'
++FOLDER_RES = '@GENTOO_DATADIR@/brainworkshop'
++FOLDER_DATA = os.path.expanduser('~/.brainworkshop')
++if not os.path.isdir(FOLDER_DATA):
++ os.mkdir(FOLDER_DATA)
+ CONFIGFILE = 'config.ini'
+ STATS_BINARY = 'logfile.dat'
+ USER = 'default'
diff --git a/games-puzzle/brainworkshop/metadata.xml b/games-puzzle/brainworkshop/metadata.xml new file mode 100644 index 000000000000..c0fd59a21391 --- /dev/null +++ b/games-puzzle/brainworkshop/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">brainworkshop</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/bubble-chains/Manifest b/games-puzzle/bubble-chains/Manifest new file mode 100644 index 000000000000..226650e158c1 --- /dev/null +++ b/games-puzzle/bubble-chains/Manifest @@ -0,0 +1,5 @@ +DIST chains-0.1.1-src.7z 3282431 SHA256 c1c487c51e8cba1640a49497debe5962f692e17df1272994c5dfaee9d6eb304f SHA512 2557974ccfa474329924684d859abae8555bdf7fc8e3264883ed0802255bd29ae486b8150b5ffd2d1b4176d0b8d98aec35f7717da4a6606a6c21026a41f1297c WHIRLPOOL bed7a7d1a64447715d47da432ee495fa5ae4d17ed99376182188398f6c846fa38c5666eac722fd60e7003d77660708809763f5f3466abefccee0b739e74bd69d +EBUILD bubble-chains-0.1.1.ebuild 1014 SHA256 ae0b5381b9e4f48d4708df818513bae7242c70d5ad12d68242490fed66eee77b SHA512 54e92d2fcfb901c4d6493b986a0d0c7e594e7bf88535d1e3ed0767484db399b9342862902e243e07db5ccf87c5249c78ef2e630c589a0aa265c2f340c36358b2 WHIRLPOOL 985173e0e73c759edadabf4611997662f3f43523b2b762f675adc107a43c32dcb51de4226c14d46088cefd82a0d29aefda1ae98f4036f5a8796292dad3b43bce +MISC ChangeLog 2449 SHA256 2ab3d342d8730370e23f682a66b7860b1132dd9887a5efa63c75da3fea629bf0 SHA512 a6aa90d73dac5660038ee731a349a0a860d27d5f8f843de563f510cdd9f2185ca08717fac2941c61e1480a00753c663450addcb5301bbf8595c789eb340494ec WHIRLPOOL 7e6ee23d3cc7a984a59f0d0d1530ed2781e26eff73ace73993445f25e63340e38f57f4b1d9dabfbe897e6a7b43bd1a7eb589407ba5effc649ea74ca2dea2bcce +MISC ChangeLog-2015 1555 SHA256 5eace605900735e4d01d983c981e22a62c7f4aa70f69fdc2cc439529cf1aafda SHA512 83e43efc032676962b0f7c976d42dab496f9779b8695f7d3291cdcea617999b3992b4d633b78ecff8afd3919fa9a672fce5bf70701d001bb259e2f8a057b76a4 WHIRLPOOL 95ce8e4cde5c66c6e96f50b3bea961f37c74c0257cb05333bb8b6ee08b6420f62e775181a2c8b5e320995a482058674de804ca84769f0e9cdcef7d4a87fecd07 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/bubble-chains/bubble-chains-0.1.1.ebuild b/games-puzzle/bubble-chains/bubble-chains-0.1.1.ebuild new file mode 100644 index 000000000000..5b992e8b9f2f --- /dev/null +++ b/games-puzzle/bubble-chains/bubble-chains-0.1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic qt4-r2 games + +MY_P=${P/bubble-}-src + +DESCRIPTION="Arcade-puzzle game" +HOMEPAGE="http://bubble-chains.sintegrial.com/" +SRC_URI="http://${PN}.sintegrial.com/files/${MY_P}.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libXrandr + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + virtual/pkgconfig + app-arch/p7zip" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + append-cxxflags $(pkg-config sdl --cflags) + sed -i \ + -e "s:/usr/local/bin:${GAMES_BINDIR}:g" \ + -e "s:/usr/local/games:${GAMES_DATADIR}:g" \ + -e "s:LIBS += -lSDLmain:LIBS += -lSDL -lX11:" \ + Game.pro main.cpp || die +} + +src_configure() { + eqmake4 Game.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc README + newicon images/img64_base.png ${PN}.png + make_desktop_entry chains "Bubble Chains" + prepgamesdirs +} diff --git a/games-puzzle/bubble-chains/metadata.xml b/games-puzzle/bubble-chains/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/bubble-chains/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> diff --git a/games-puzzle/color-lines/Manifest b/games-puzzle/color-lines/Manifest new file mode 100644 index 000000000000..1f63aac1ed0b --- /dev/null +++ b/games-puzzle/color-lines/Manifest @@ -0,0 +1,6 @@ +AUX color-lines-0.6-Makefile.patch 995 SHA256 0503b70b64005751ef95195018f75ddfae828440b59c754f4b3013f5b8bf2bac SHA512 7c130c83d0a31a8e865812defdf70ac5113783cdbcf0ca88df72920d4c634b6705b2f686a27a3ae0e35cf2c9e3d2fdeadc7bfeb9123e9b5f1f65bb916e4d5db2 WHIRLPOOL 93b6d4d0f401a15ade1a1adb52c19e9e2cee6282b1f2509c9a13ab45ae816e8c4e4ec7fd30f27f16941b6a32e40cdb14b518252938603981a4bf513c6ed57441 +DIST lines_0.6.tar.gz 862137 SHA256 e20c87dfcc8f940c8af7784dad12e66fa1cd10d0d97766979fef00eb17c0b0b3 SHA512 fe9e96b598fb6cf0980d0970facbc070715b33491a8f0ad979c57332a22e97ab801e85dd17b5d0b2a1b8aba69b48b6c42dc115b01a36654ad05a5e9a06c5405a WHIRLPOOL aa4e0663433a8a967f7595fcbdac5d11d2ff89c25dd0beeca9541f46a94a005ab1b108240fb5fa511f27c407cdd3511d8cdbc57d287d033221a655fa807e2387 +EBUILD color-lines-0.6.ebuild 1046 SHA256 149a53130ff71c119565fc7ba7d4e288cf5d30a930257900f6b62f45ea8515a1 SHA512 a65e15e2697273644198492be2fcd18987a836fc3509fcd7e5f03b4fc37e1e45ed9a7dacdeb043d5107960af98cd2c537e4f02e46ab969e77490570bbdead70c WHIRLPOOL aca5b5dfb10d7535eb7581bb66fa114d745b5910736979e766017efbb97c226e1383f5edc42bc1780c550a396d7c7da03ac837565d56d84ed1b9eb98a8f69b87 +MISC ChangeLog 2392 SHA256 916fb734ce62a13a5cf7a8da11499ce24aa8b5bab2e77b50555499e3a770a03b SHA512 478ea4087e8783510f3458b1065cb7a9d5655f14e60f8db2e1ea5fe6682110a570f5277f7d91980ccfba342e0a51fc6e0f3bfef6d6b65e35f81890bb05ae3184 WHIRLPOOL 820ce799b91ad8d5d0619e7faf9db79a1c89102579ac8dc2eaf7dcaefb800d75394686c811df49d10e18ba69fbf674af9da90854309ebad6efea9fe4f019cf9e +MISC ChangeLog-2015 866 SHA256 c189613e6b7b5363b2e8e7194edd504cedcdfe0e8cd25e056048362533d945f8 SHA512 0ebbac8a903a9287df7bb5d28275f0f66c3617929df1a4bc92c86122fec310ad52ce314c8067e7251032d3268d9251ee343b2c652ad0e72864dc75b53847de64 WHIRLPOOL 818592037c3ba2a24ff7b500699ac694f2bd9a95f8728fc9792604de7362ec83da68bef0188b8acc9a106b62cfc93961e982337f41a1e52e3783cb3a5b8e3c8a +MISC metadata.xml 333 SHA256 d3110a55ec289050239d90bf5ba0119f5f7d157ba6a1273c084ec04fa9eb8c09 SHA512 f0ff7b81095a841ea93ad665fb91e9504b5cbf97b5e3f020e61173f92fa1e2750a77732f49a2f3636b33f3d80505c4cfe0edfc9267f05e5279c38ef04e791d2a WHIRLPOOL 2ed205a55adb8ee40bbb179157c10d4c401c86a599974db6f5d2fa92853bc329faa969497ff80a935dea688373b1100229c6c505631785dfaf48aafbabbee74d diff --git a/games-puzzle/color-lines/color-lines-0.6.ebuild b/games-puzzle/color-lines/color-lines-0.6.ebuild new file mode 100644 index 000000000000..a9937b1a62ad --- /dev/null +++ b/games-puzzle/color-lines/color-lines-0.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils games + +DESCRIPTION="Color lines game written with SDL with bonus features" +HOMEPAGE="https://github.com/OpenA/color-lines-sdl" +SRC_URI="https://color-lines.googlecode.com/files/lines_${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +RDEPEND="media-libs/libsdl[X,sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[wav,mod]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/lines-${PV}" + +src_prepare() { + epatch "${FILESDIR}/${P}-Makefile.patch" + + sed -i \ + -e '/^Encoding/d' \ + -e '/^Version/d' \ + -e '/^Icon/s/.png//' \ + color-lines.desktop.in || die 'sed on color-lines.desktop.in failed' + + epatch_user +} + +src_compile() { + emake BINDIR="${EPREFIX}${GAMES_BINDIR}/" GAMEDATADIR="${EPREFIX}${GAMES_DATADIR}/${PN}/" +} + +src_install() { + insinto "${GAMES_DATADIR}/${PN}" + doins -r gfx sounds + + domenu ${PN}.desktop + doicon icon/${PN}.png + dodoc ChangeLog + dogamesbin ${PN} + + prepgamesdirs +} diff --git a/games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch b/games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch new file mode 100644 index 000000000000..9f552d712713 --- /dev/null +++ b/games-puzzle/color-lines/files/color-lines-0.6-Makefile.patch @@ -0,0 +1,35 @@ +--- Makefile.unix.orig 2013-04-12 13:56:42.131113000 +0400 ++++ Makefile.unix 2013-04-12 13:57:26.595946027 +0400 +@@ -2,18 +2,18 @@ + VERTITLE := lines-$(VERSION) + ARCHIVE := lines_$(VERSION).tar.gz + +-CFLAGS:=-Wall -O2 $(shell sdl-config --cflags) ++CFLAGS += $(shell sdl-config --cflags) + #-DMAEMO + +-LDFLAGS:=$(shell sdl-config --libs) -lSDL_image -lSDL_mixer ++LIBS := -lm $(shell sdl-config --libs) -lSDL_image -lSDL_mixer + + SRC := board.c graphics.c main.c sound.c + OBJ := $(patsubst %.c, %.o, $(SRC)) + + all: color-lines +-PREFIX:=/usr/local ++PREFIX:=/usr + +-BINDIR:=$(DESTDIR)/$(PREFIX)/games/ ++BINDIR:=$(DESTDIR)$(PREFIX)/games/bin + GAMEDATADIR:=$(DESTDIR)/$(PREFIX)/share/games/color-lines/ + + svnclean: +@@ -29,8 +29,7 @@ + + color-lines: $(OBJ) + cat color-lines.desktop.in | sed -e "s|@BINDIR|$(BINDIR)|g" > color-lines.desktop +- $(CC) $(CFLAGS) $(LDFLAGS) $(^) -o $(@) +- strip color-lines ++ $(CC) $(CFLAGS) $(LDFLAGS) $(^) -o $(@) $(LIBS) + + clean: + rm -f *.o color-lines diff --git a/games-puzzle/color-lines/metadata.xml b/games-puzzle/color-lines/metadata.xml new file mode 100644 index 000000000000..cb511abfbaf8 --- /dev/null +++ b/games-puzzle/color-lines/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> + <upstream> + <remote-id type="github">OpenA/color-lines-sdl</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/colorcode/Manifest b/games-puzzle/colorcode/Manifest new file mode 100644 index 000000000000..1ad19db1e058 --- /dev/null +++ b/games-puzzle/colorcode/Manifest @@ -0,0 +1,5 @@ +DIST ColorCode-0.8.5.tar.gz 233676 SHA256 7c128db12af6ab11439eb710091b4a448100553a4d11d3a7c8dafdfbc57c1a85 SHA512 55f935944a91441ae09b1636fe85c8174de53ba10e04df0d9cef6c4f2441879735230ac0fe313b91cf9870777df24bc95d975767f27940156b5698716b78b507 WHIRLPOOL 6186208821b412c648218254e0b32801e564cb7ba0de1feafa50a9e95c74d8d8ed09531543a6d6cf55807163b676a69650f246522d09097eb962d052ba960ff1 +EBUILD colorcode-0.8.5.ebuild 681 SHA256 b8f47ddbde4cf8cedee83f9d1142f6dfb04bee2b42f6ee56087a8fa332e3e2a5 SHA512 ab637d8268c9692e1b01f47665dab06e7e903adb860d6afa9e30e6f7328f7019b6aad55b7917163a3a3b548e5c5220fa25492f74fa2e0916113bf1fa1a25da76 WHIRLPOOL 00c7a9b39294e2fb08a94963c59fa8de999031285fc1cac162d2d60d95d8670d96fb8daeb7f371e1f2cbdf21538bf5104673405ea1ab23fb602c647f58ea8407 +MISC ChangeLog 2602 SHA256 68dd91f493f3ae113bd243a60651d26a11287f90fa45b51a85d46c581e0e9869 SHA512 f0f98023fa26bea87eb235f21fce831e38ea4a4dd3d8652699f84672f2ab974d8d65253ece038e0e4abdebc511fe6f5a73239de63ae66c7d5eb6d0f7f9c5d306 WHIRLPOOL 5b649a07db16bcc039e49c6712ed00a3f04112eaee4185ac625e56161123640a45db9dd8758eb1995627a0d63ac0fd4ff706887e30f1448f556c6de6c90e4ebd +MISC ChangeLog-2015 1663 SHA256 eebd354eca09922b3432b6e7723ba10e1154c44e60b9fe7cc415eb7d8b730c31 SHA512 379f5c36199de6b90fdfa9abd0315b5fb47dc2d579eb0c5a58aeba26df3745cdb98c01bdb18950ef06cb5800e8f1c3da4e8753f9c1d1d6ccd6083d05ce84f403 WHIRLPOOL 3969869463d0e01ceeb99f7c6d4dbeb2ed7681925a48fdbbd40e8145d0bfe0ce44ac46d45dda5c2f1b0f3b24882197c6219ed73997d9b0959ef0a27e761eb880 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/colorcode/colorcode-0.8.5.ebuild b/games-puzzle/colorcode/colorcode-0.8.5.ebuild new file mode 100644 index 000000000000..bbe2bfc80290 --- /dev/null +++ b/games-puzzle/colorcode/colorcode-0.8.5.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils qmake-utils + +MY_PN=ColorCode +DESCRIPTION="A free advanced MasterMind clone" +HOMEPAGE="http://colorcode.laebisch.com/" +SRC_URI="http://${PN}.laebisch.com/download/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_prepare() { + default + sed -i -e '/FLAGS/d' ${PN}.pro || die +} + +src_configure() { + eqmake5 +} + +src_install() { + dobin ${PN} + newicon img/cc64.png ${PN}.png + make_desktop_entry ${PN} ${MY_PN} +} diff --git a/games-puzzle/colorcode/metadata.xml b/games-puzzle/colorcode/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/colorcode/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> diff --git a/games-puzzle/concentration/Manifest b/games-puzzle/concentration/Manifest new file mode 100644 index 000000000000..fefe7b7ed475 --- /dev/null +++ b/games-puzzle/concentration/Manifest @@ -0,0 +1,6 @@ +AUX concentration-1.2-gentoo.patch 4615 SHA256 98cd9a33692785945515630738d4b3aa15bc1a3a9b0218778b32cddbcdbbe343 SHA512 a513b43e96e6d401ea705fc9ebcfb868c4680af117551b166c20900417e977a588ab12d19ee6d7e4f58cfea1dc3799845581fb122470093b6fdba187d73689c4 WHIRLPOOL be2ec66d8f76ebe2aaa2f5a0088873d2068b2c08b8f8ba949b5ba6bfbe4707a10737915868ce697670650e870d38c12c4ad635480a272b34f116d84c0cbee02e +DIST concentration-1.2.tar.gz 1044563 SHA256 f247fa694c03bc0a2be91bf85fed8c0f44447d0e7216b2d22259713453596ce8 SHA512 afa9007cfaaa9a1cedcbfc490cb63d93d8ed1e91230ee714cece481ed3a39b73c82ec4cda65b29a27e9e71a7d2215be7f476e3217b487af54716eb4d692ca005 WHIRLPOOL 469e38d5b485ddd2938acc66f57a4b259828d2e5baf13827b45b1c11dbfaaa36cc4a2f1b5e8e7d17088246469cfffa461296b650730e6e3b71d55195b808e1bf +EBUILD concentration-1.2-r1.ebuild 680 SHA256 489150388fd98ed571faf30c058cf499f756e55cf8a95a0c3cc63683b0b2aeb4 SHA512 05ccef7ddbdbadca1aca8727f517258409473ffd734155bfbb56fe25026f98cc01dc848c0de754f55b276334d46f6ce19fe5fff9ea5fc0da17fbe90240efc5ef WHIRLPOOL f6f9922e5c9d6fa6606ac4411dd90205e7fba5ca8adf16bc8921c3ae95ffab92d7427c8f472f8b5a11d5afb15a7cdf19b66f93dce83f8faff97fc4e366a09938 +MISC ChangeLog 2492 SHA256 b12902e8b80291a9a6897729cae3b1c2f692c82617501644d8219c153a767473 SHA512 25bbd8923a3e6b07efd80789c45fa3d134b719092ae772415093e4eac8cc98938b4ae481ab23bcf7729d0de7eadecc1cc31462b283738844861b1013eb53a642 WHIRLPOOL 1075cfd035edc98c8651199da1199ae2b169dcc5c6e65528e92d25ab014f06b40049ec21757862003434cdbd6dbc84875a56c70c8b17718f873836a5048a92ca +MISC ChangeLog-2015 2118 SHA256 1ebc37f26976be4eff930a7f8e79734f911b24911b131f891ac3e63bb96bbf01 SHA512 e25363d8f3b2d8c9876b8b0310fb9383b2d58a50486059f51da62a657fd87211e506793ae8d815f0542acf2ea00e662d2c427899ee851925627af37ee24240dc WHIRLPOOL 275861f6fd9e2fe84256678ff30d53d0cba9ae821d7e55b3bbc3521123dbd163d3a8c25ce3734fa7874e0bf16d926a2ab6ca96464b7fa4621b48e3573fc41888 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/concentration/concentration-1.2-r1.ebuild b/games-puzzle/concentration/concentration-1.2-r1.ebuild new file mode 100644 index 000000000000..533a80a7169e --- /dev/null +++ b/games-puzzle/concentration/concentration-1.2-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="The classic memory game with some new life" +HOMEPAGE="https://packages.gentoo.org/package/games-puzzle/concentration" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-image[jpeg,png] + media-libs/sdl-ttf" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + default + newicon pics/set1/19.png ${PN}.png + make_desktop_entry ${PN} Concentration + prepgamesdirs +} diff --git a/games-puzzle/concentration/files/concentration-1.2-gentoo.patch b/games-puzzle/concentration/files/concentration-1.2-gentoo.patch new file mode 100644 index 000000000000..759d068b5bae --- /dev/null +++ b/games-puzzle/concentration/files/concentration-1.2-gentoo.patch @@ -0,0 +1,155 @@ +diff -ru concentration-1.2.orig/src/ShiftyEngine.c concentration-1.2/src/ShiftyEngine.c +--- concentration-1.2.orig/src/ShiftyEngine.c 2004-09-20 21:08:59.000000000 -0400 ++++ concentration-1.2/src/ShiftyEngine.c 2010-05-18 13:39:22.717713130 -0400 +@@ -61,13 +61,13 @@ + int len = strlen(name); + assert(name); + +- gameName = (char *)malloc((sizeof(char) * len) + 1); ++ gameName = malloc(len + 1); + if(!gameName) { + fprintf(stderr, "Out Of Memory."); + exit(1); + } + +- strncpy(gameName, name, len); ++ snprintf(gameName, len + 1, "%s", name); + } + + /***************************************************** +@@ -87,13 +87,13 @@ + int len = strlen(name); + assert(name); + +- backgroundName = (char *)malloc((sizeof(char) * len) + 1); ++ backgroundName = malloc(len + 1); + if(!backgroundName) { + fprintf(stderr, "Out Of Memory."); + exit(1); + } + +- strncpy(backgroundName, name, len); ++ snprintf(backgroundName, len + 1, "%s", name); + } + + /***************************************************** +@@ -175,7 +175,7 @@ + exit(1); + } + +- strncpy(t->name, name, 16); ++ snprintf(t->name, 16, "%s", name); + t->x = x; + t->y = y; + t->w = w; +diff -ru concentration-1.2.orig/src/concentration.c concentration-1.2/src/concentration.c +--- concentration-1.2.orig/src/concentration.c 2005-11-09 11:05:02.000000000 -0500 ++++ concentration-1.2/src/concentration.c 2010-05-18 13:42:19.688474410 -0400 +@@ -202,7 +202,7 @@ + + /***************************************************** + ****************************************************/ +-inline void drawText(char * str, SDL_Color color, int x, int y, TTF_Font * font) ++void drawText(char * str, SDL_Color color, int x, int y, TTF_Font * font) + { + static SDL_Rect dest; + +@@ -814,7 +814,7 @@ + SE_Error("A blit failed."); + SDL_FreeSurface(text); + +- sprintf(str, "%d seconds", myclock); ++ snprintf(str, sizeof(str), "%d seconds", myclock); + text = TTF_RenderText_Blended(smallFont, str, black); + if(!text) + SE_Error("A render failed."); +@@ -831,7 +831,7 @@ + SE_Error("A blit failed."); + SDL_FreeSurface(text); + +- sprintf(str, "%d trys", hits + misses); ++ snprintf(str, sizeof(str), "%d trys", hits + misses); + text = TTF_RenderText_Blended(smallFont, str, black); + if(!text) + SE_Error("A render failed."); +@@ -840,7 +840,7 @@ + SE_Error("A blit failed."); + SDL_FreeSurface(text); + +- sprintf(str, "Total pairs: %d", (size == 2) ? 2 : (size == 4) ? 8 : 36); ++ snprintf(str, sizeof(str), "Total pairs: %d", (size == 2) ? 2 : (size == 4) ? 8 : 36); + text = TTF_RenderText_Blended(smallFont, str, black); + if(!text) + SE_Error("A render failed."); +@@ -1327,7 +1327,7 @@ + { + int x, makeFullScreen = 0; + +- char name[16]; ++ char name[64]; + + SE_SetName("Concentration 1.2"); + SE_SetBackground("pics/background.png"); +@@ -1395,13 +1395,13 @@ + + /* load icon set 1 */ + for(x = 1; x <= 30; x++) { +- sprintf(name, "pics/set1/%d.png", x); ++ snprintf(name, sizeof(name), "pics/set1/%d.png", x); + icons[x] = loadPNG(name); + +- sprintf(name, "pics/set2/%d.png", x); ++ snprintf(name, sizeof(name), "pics/set2/%d.png", x); + icons2[x] = loadPNG(name); + +- sprintf(name, "pics/set3/%d.png", x); ++ snprintf(name, sizeof(name), "pics/set3/%d.png", x); + icons3[x] = loadPNG(name); + } + +diff -ru concentration-1.2.orig/src/gfx.c concentration-1.2/src/gfx.c +--- concentration-1.2.orig/src/gfx.c 2004-09-20 21:08:59.000000000 -0400 ++++ concentration-1.2/src/gfx.c 2010-05-18 13:39:22.718722669 -0400 +@@ -39,8 +39,7 @@ + exit(1); + } + +- strcpy(newname, sg_data_path); +- strcat(newname, name); ++ snprintf(newname, len1 + len2 + 1, "%s%s", sg_data_path, name); + + temp = IMG_Load(newname); + if (temp == NULL) { +@@ -67,8 +66,7 @@ + exit(1); + } + +- strcpy(newname, sg_data_path); +- strcat(newname, name); ++ snprintf(newname, len1 + len2 + 1, "%s%s", sg_data_path, name); + + temp = IMG_Load(newname); + if (temp == NULL) { +@@ -99,8 +97,7 @@ + exit(1); + } + +- strcpy(newname, sg_data_path); +- strcat(newname, name); ++ snprintf(newname, len1 + len2 + 1, "%s%s", sg_data_path, name); + + temp = TTF_OpenFont(newname, size); + if (temp == NULL) { +diff -ru concentration-1.2.orig/src/sound.c concentration-1.2/src/sound.c +--- concentration-1.2.orig/src/sound.c 2004-09-20 21:08:59.000000000 -0400 ++++ concentration-1.2/src/sound.c 2010-05-18 13:39:22.718722669 -0400 +@@ -57,8 +57,7 @@ + fprintf(stderr, "Out of memory!\n"); + exit(1); + } +- strcpy(newname, sg_data_path); +- strcat(newname, name); ++ snprintf(newname, len1 + len2 + 1, "%s%s", sg_data_path, name); + + temp = Mix_LoadWAV(newname); + if(!temp) diff --git a/games-puzzle/concentration/metadata.xml b/games-puzzle/concentration/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/concentration/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> diff --git a/games-puzzle/connectagram/Manifest b/games-puzzle/connectagram/Manifest new file mode 100644 index 000000000000..7dd79199bd48 --- /dev/null +++ b/games-puzzle/connectagram/Manifest @@ -0,0 +1,6 @@ +AUX connectagram-1.2.1-gentoo.patch 2551 SHA256 7f3a31432ff51b7a02a2308bb4405a1d7de2030999a9a7e173c3837556920c73 SHA512 a95856c1f76670d1ea1e86a34f8d05ed7621479d6268068df46c7b3882dff633e7a8236f01c9ad3215d0f6e89a5702d2ece106be3db971431b129752be272804 WHIRLPOOL 9a65158ad0a1105158b140257bc863e180ae68ae50c80c473ff83904da28a03ba988cd6bcd6d65c07994a2399ee7314a90b9d427670f55ff96ee49b911bb19dc +DIST connectagram-1.2.1-src.tar.bz2 1632426 SHA256 0a559243a8d970bb79c6791214be879269fc073b5eaec6aa55fb60be82f140bb SHA512 0266af5680e7f76d517f60934afc6115c1118832fef237803b1b3d8c0fb785e5c312d585b099f24f4c476f124ca9722868a159dc4d1a9a8a695e9cdfa4f9c1c6 WHIRLPOOL 3862fee2f4a87c6d7a78bbbaa64713b640df2c0020dfb542eb5655b77c687ca105380ac96c29dc18a324ad90f8942d503044b25971d64c7862925290eccafdca +EBUILD connectagram-1.2.1.ebuild 1019 SHA256 02b8b8894b18e49b237117c096c0daa0a35b7973430d27ce3a002b8703141811 SHA512 9233dbc7536af7402f76dbdf76913b0c85eb9cbcccf32be0e3087f43dcfeee25258bcd0dc653f38880677f1161abc3c75f5caf5ad61a48c54c9ea9a5c6a4d7e3 WHIRLPOOL 4fd640c19252c3fd3b31c3b751b3f7c9a71213423602e9963f621616c62a871dc12abe1e31b30283fa29df76cb89707d22a46cdd1e5bcdfc41a34bb030f349e2 +MISC ChangeLog 3037 SHA256 cd37c1b84359cba541a4d5322e73d1c8d060d14d6ee64d71713b9d112ee25271 SHA512 858f88f719555dfd7e0a6e6e9f9ec3a924106d0a9a91f31b025eeb438efec71bfcf2f65101291162082889e69c5114219d47bc5968b10f798a2061a43454f52b WHIRLPOOL 01790bf7193de2c7af2bd94f7b07c7f2595a1152508db3db125bf082f107c983d1902aed93fed580422d85b9b6d0d7ca0daa7fb290d04f03a01cc2b50d293a67 +MISC ChangeLog-2015 2416 SHA256 62f4fde034f3cbe7b3f2441f780ec2c6a20c380562e0dadc94466a2c23f7b9ed SHA512 9667cba5c5ce02959c8d269c2beb7a20d84069f38aeff2e0fd9379a9aa62940457ca35c1a15cb735b2798dd63049f259dfd229a9edcc92b92e3746170b2181cb WHIRLPOOL 2019a56e7338f579a123d8b8b522e28ddc078cdab69a6deb7e7715e563ce88198833c165d4474a359a9472ef5d6fe09c3d0d5c3bc5b4f97cb8cc83106a6e705e +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/connectagram/connectagram-1.2.1.ebuild b/games-puzzle/connectagram/connectagram-1.2.1.ebuild new file mode 100644 index 000000000000..839c66c5616c --- /dev/null +++ b/games-puzzle/connectagram/connectagram-1.2.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils qmake-utils games + +DESCRIPTION="A word unscrambling game" +HOMEPAGE="http://gottcode.org/connectagram/" +SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=dev-qt/qtcore-5.2:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + >=dev-qt/qtgui-5.2:5" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + + sed -i \ + -e "s#@GAMES_BINDIR@#${GAMES_BINDIR}#" \ + -e "s#@GAMES_DATADIR@#${GAMES_DATADIR}#" \ + ${PN}.pro src/{locale_dialog,new_game_dialog,wordlist}.cpp || die +} + +src_configure() { + eqmake5 connectagram.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + dodoc CREDITS ChangeLog NEWS README + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/connectagram/files/connectagram-1.2.1-gentoo.patch b/games-puzzle/connectagram/files/connectagram-1.2.1-gentoo.patch new file mode 100644 index 000000000000..b02dfef46792 --- /dev/null +++ b/games-puzzle/connectagram/files/connectagram-1.2.1-gentoo.patch @@ -0,0 +1,76 @@ +--- connectagram-1.2.1.orig/connectagram.pro ++++ connectagram-1.2.1/connectagram.pro +@@ -74,16 +74,16 @@ + RESOURCES += icons/icon.qrc + + isEmpty(PREFIX) { +- PREFIX = /usr/local ++ PREFIX = /usr + } + isEmpty(BINDIR) { +- BINDIR = bin ++ BINDIR = @GAMES_BINDIR@ + } + +- target.path = $$PREFIX/$$BINDIR/ ++ target.path = $$BINDIR/ + + data.files = data +- data.path = $$PREFIX/share/connectagram/ ++ data.path = @GAMES_DATADIR@/connectagram/ + + pixmap.files = icons/connectagram.xpm + pixmap.path = $$PREFIX/share/pixmaps/ +@@ -98,7 +98,7 @@ + appdata.path = $$PREFIX/share/appdata/ + + qm.files = translations/*.qm +- qm.path = $$PREFIX/share/connectagram/translations ++ qm.path = @GAMES_DATADIR@/connectagram/translations + + man.files = doc/connectagram.6 + man.path = $$PREFIX/share/man/man6 +--- connectagram-1.2.1.orig/src/locale_dialog.cpp ++++ connectagram-1.2.1/src/locale_dialog.cpp +@@ -88,6 +88,7 @@ + paths.append(appdir); + paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower()); + paths.append(appdir + "/../Resources"); ++ paths.append("@GAMES_DATADIR@/connectagram"); + } + for (const QString& path : paths) { + if (QFile::exists(path + "/translations/")) { +--- connectagram-1.2.1.orig/src/new_game_dialog.cpp ++++ connectagram-1.2.1/src/new_game_dialog.cpp +@@ -48,7 +48,7 @@ + m_wordlist = new WordList(this); + m_wordlist->setLanguage(WordList::defaultLanguage()); + m_languages_box = new QComboBox(this); +- QStringList languages = QDir("connectagram:").entryList(QDir::Dirs | QDir::NoDotAndDotDot); ++ QStringList languages = QDir("@GAMES_DATADIR@/connectagram/data").entryList(QDir::Dirs | QDir::NoDotAndDotDot); + for (const QString& language : languages) { + m_languages_box->addItem(LocaleDialog::languageName(language), language); + } +--- connectagram-1.2.1.orig/src/wordlist.cpp ++++ connectagram-1.2.1/src/wordlist.cpp +@@ -91,9 +91,9 @@ + + QString WordList::defaultLanguage() { + QString language = QLocale().name(); +- if (!QFile::exists("connectagram:" + language)) { ++ if (!QFile::exists("@GAMES_DATADIR@/connectagram/data/" + language)) { + language = language.left(2); +- if (!QFile::exists("connectagram:" + language)) { ++ if (!QFile::exists("@GAMES_DATADIR@/connectagram/data/" + language)) { + language = "en"; + } + } +@@ -112,7 +112,7 @@ + m_maximum_length(0) + { + // Read words from disk +- QFile file("connectagram:" + language + "/words"); ++ QFile file("@GAMES_DATADIR@/connectagram/data/" + language + "/words"); + if (!file.open(QFile::ReadOnly | QIODevice::Text)) { + return; + } diff --git a/games-puzzle/connectagram/metadata.xml b/games-puzzle/connectagram/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/connectagram/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> diff --git a/games-puzzle/construo/Manifest b/games-puzzle/construo/Manifest new file mode 100644 index 000000000000..9f3755e758bd --- /dev/null +++ b/games-puzzle/construo/Manifest @@ -0,0 +1,7 @@ +AUX construo-0.2.2-gcc43.patch 1785 SHA256 9c3c660ed4cbf2c5acaacd6d63f48aa08eeac025fc31b41118aef8fd1e9f1c65 SHA512 25b226897804de23fa45f89a2b94bc86f69766916180f61d6c59e7a47c69b6b574fe649a9d6e37d8488600747210e06adde7a5fed26b4fea4663e32e46d13d42 WHIRLPOOL d4dcaafce4adda37fce9952128af9e707b2caefbb72669c93a7242618edf79dfb8218e7a3a371120053218dc411b409f3021439db3bfbf7eacea0f4d9a3b7cb5 +AUX construo-0.2.2-lGLU.patch 425 SHA256 5ba7f84ed62f373b5c607b49c88f3e5a8ac36fe74997bb834d4069107a6bac9d SHA512 a450d5dee7f71d649b2d7d853875576701311de7c6dee2f21217d07dce59f19226dabe3be99d85f74454a690ce409cf7450c8f1cbe942f7388cfde2be5a05208 WHIRLPOOL 97c0892eaa786dea0d22652fac90bb4f0588f2269d325bb8bdfe5972db355f9379af19f86c078afddecdde808cdbad2e200671b8cffd1ec70ec9cecf8813fddc +DIST construo-0.2.2.tar.gz 442626 SHA256 93b1dc5c26aab42d886f102e501189982c28d390f8b573f8f4a42bad640ec630 SHA512 b73854a64aedcb9ddcd8f2c3e809f975ef3d2f63bdefd2e126c808a4154d7ff3d402457f9da5f866e6b9d74c6010ffc58d44b04277976fe1a9aeabc20ea786a9 WHIRLPOOL 1b2ac0f7fcdb186deff55d958786a854bf196547f37e46eb9fb0aeeda037096db022cd6e36b9378e661a965e06ce79546389e72edff0623ad8a497526d5bfc61 +EBUILD construo-0.2.2.ebuild 819 SHA256 1d104b2ddcab4971e66f3f64e4e6a0c2ed79a4961feb73a2d5b843e98cd79f6c SHA512 84c9242622d1ebf38614b36e454388b363acd7f050893b0a2803b0027a68e2ba01452f97e9eeab78e088d127677de67db4b44b3cffbb31a34884c93e9a53e9a3 WHIRLPOOL 26a46450e75db1bce3008cc589a89f612801846e80a2b6af8051a981d7214a890ca3d94c4dd52d50fab219aea2e0564f0e527ec0f45bb318d22271fe657ea70a +MISC ChangeLog 2641 SHA256 9cbce31ee5c89c9eaf8dfeb81a133a5fb9dc9b480cf490da96ddbcf6249a0e1d SHA512 ffeed6dcd18d6b8350e0aa34186b88937f1f4698145241516077d1a7c8d6c1615bbd1759ce39fd3e4d27159cc0d02fdc831971b1d530249d1de57d8b142e4811 WHIRLPOOL ca8e30d65228b754ed1c4b40ac5804682f4865bd7a9f9b6643be00fdd175d25ccab41b6b39162e231a8dd36ef6e664bb641f3f7d1140f4ff2acf6f33a9c528fe +MISC ChangeLog-2015 1982 SHA256 0fc29bd5ed538749830e12e39b0fa52aed197e350929fa70b6f205ed16d84b86 SHA512 bee84002dc55cbdc8857ce3889c8b80483833f2071d883e43861b5d2d89adeaf52dfaf70dcdffc6df78fdbf02317eedeeea47f7a0f5473d11dd11763ef01c618 WHIRLPOOL 4956b54b3b4ce5e1d0c61992fc170a8ef1ab4814de7f61b1bb4e532d38be79aa9b59d3124188a6e2d6b05712d838a05086ee5f1b89eb8add5d3859ad34adb3e3 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/construo/construo-0.2.2.ebuild b/games-puzzle/construo/construo-0.2.2.ebuild new file mode 100644 index 000000000000..f5c416209446 --- /dev/null +++ b/games-puzzle/construo/construo-0.2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="2d construction toy with objects that react on physical forces" +HOMEPAGE="http://www.nongnu.org/construo/" +SRC_URI="http://freesoftware.fsf.org/download/construo/construo.pkg/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/freeglut + x11-libs/libXxf86vm" +DEPEND="${RDEPEND} + x11-proto/xf86vidmodeproto" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-lGLU.patch + sed -i -e 's/^bindir=.*/bindir=@bindir@/' Makefile.am || die + eautoreconf +} + +src_configure() { + egamesconf --datadir="${GAMES_DATADIR_BASE}" +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/construo/files/construo-0.2.2-gcc43.patch b/games-puzzle/construo/files/construo-0.2.2-gcc43.patch new file mode 100644 index 000000000000..cc946b043bae --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.2-gcc43.patch @@ -0,0 +1,82 @@ +--- command_line.cxx ++++ command_line.cxx +@@ -19,7 +19,9 @@ + + #include <config.h> + #include <iostream> +-#include <stdio.h> ++#include <cstdio> ++#include <cstdlib> ++#include <cstring> + #include "settings.hxx" + #include "command_line.hxx" + +--- config.hxx ++++ config.hxx +@@ -21,6 +21,7 @@ + #define CONFIG_HH + + #include <string> ++#include <cstdlib> + + class Config + { +--- lisp_reader.cxx ++++ lisp_reader.cxx +@@ -17,6 +17,7 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + ++#include <cstring> + #include "construo_error.hxx" + #include "lisp_reader.hxx" + +--- unix_system.cxx ++++ unix_system.cxx +@@ -17,8 +17,9 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-#include <stdio.h> +-#include <assert.h> ++#include <cstdio> ++#include <cassert> ++#include <cstring> + #include <unistd.h> + #include <sys/time.h> + #include <time.h> +--- vector.cxx ++++ vector.cxx +@@ -16,8 +16,8 @@ + totally replaced old CL_Vector with this code + */ + +-#include <assert.h> +-#include <math.h> ++#include <cassert> ++#include <cmath> + #include "vector.hxx" + + CL_Vector::CL_Vector(float x, float y, float z, float w) +--- world.cxx ++++ world.cxx +@@ -17,7 +17,8 @@ + // along with this program; if not, write to the Free Software + // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +-#include <assert.h> ++#include <cassert> ++#include <cstring> + #include <algorithm> + #include "config.h" + +--- x11_display.cxx ++++ x11_display.cxx +@@ -19,6 +19,7 @@ + + #include <config.h> + #include <iostream> ++#include <cstring> + #include <X11/Xutil.h> + #include <X11/cursorfont.h> + #include <X11/keysym.h> diff --git a/games-puzzle/construo/files/construo-0.2.2-lGLU.patch b/games-puzzle/construo/files/construo-0.2.2-lGLU.patch new file mode 100644 index 000000000000..4c0b018cfdc1 --- /dev/null +++ b/games-puzzle/construo/files/construo-0.2.2-lGLU.patch @@ -0,0 +1,18 @@ +--- configure.ac.old 2009-11-24 18:27:48.000000000 +0100 ++++ configure.ac 2009-11-24 18:28:29.000000000 +0100 +@@ -114,7 +114,7 @@ + AC_CHECK_LIB(glut, glutMainLoop, + [ + ConstruoTargets="$ConstruoTargets construo.glut" +- AC_SUBST(glut_LIBS,"-lglut") ++ AC_SUBST(glut_LIBS,"-lglut -lGLU -lGL -lm") + ], + []) + +@@ -158,4 +158,4 @@ + echo " Ingo Ruhnke <grumbel@gmx.de>" + echo "" + +-# EOF # +\ No newline at end of file ++# EOF # diff --git a/games-puzzle/construo/metadata.xml b/games-puzzle/construo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/construo/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> diff --git a/games-puzzle/cutemaze/Manifest b/games-puzzle/cutemaze/Manifest new file mode 100644 index 000000000000..8e5fb55fda6b --- /dev/null +++ b/games-puzzle/cutemaze/Manifest @@ -0,0 +1,5 @@ +DIST cutemaze-1.2.0-src.tar.bz2 800890 SHA256 d23a0d11a237f53d6b8da9234b5b475bbca8d67abbdd124cfa7c0cb4da70349b SHA512 1628f0be74730260fc31898bcc42bd55515046e9ac6a22bb90cdfa1d728f829920bbe6e2360f3daa418ab789efe36891c1c95e399d636ecc4411969bb09f0a89 WHIRLPOOL 9ac56a136859e3852736ab8e467f1468514c91d1958661464f6cbd3fee904b2640387b3e77b999605a786917a454c8ecf5ae51a27057c6d7356be9e1d0978b11 +EBUILD cutemaze-1.2.0.ebuild 693 SHA256 2648b482d519c626957a35490b1b439deba56da8fd70e996bbfdef8756e47655 SHA512 1ce594ee9c63d7d6cb9b7e67c10d409a8c855dad80efd9884020c5f04d8c328a69ce1bedaa3675b6c00b88aa9654bc2305d78e67826e1b4305ed061e4f0de0a7 WHIRLPOOL fb668d852b65a25218f44956585ee1c1c646e820d4d8cf67910d238d528f38c28eeeeb12399a4ceb8d80491b5e44d74c64b526091d2fc52c60f3aa86c196d6d4 +MISC ChangeLog 2597 SHA256 342a238052a3471e9c5b9c1e819c612321f4e688787b137ee52e8d8d02bf671e SHA512 0d6fbd4906ec57461b20bf63f5cd8383cffda8fa865abc731bc29c477f65092c10f0bc564a40ec85673852ea4af9da1346b743a49afc123a1abba57c7ffafc62 WHIRLPOOL 9033c84b11f8f4fdadc0e7f96ebeaf6b059800044a8a84f01af8c3c35b5637f05b5230b02bf75c340b203e685a8aa60f19b7ea3a0e42c1c4f64ea0189d2be559 +MISC ChangeLog-2015 1180 SHA256 af99388d63d953db0aa98892e2894255f40d043f83844af9bfb7f40f2dff779c SHA512 aacd1f8511f6150ace8e8e8d2a35ded7c377082a061478b9531a0c1d135ed9dcf97f6e1623e61946fcf079017627f4845d96ee7f9ca8c02ac2f7a49a6c877ae7 WHIRLPOOL 43691d1c32a159d765948cc94be59fe93aec61fbe35e7ac25eb3955d6f9fd7ae82ec33b0b4dfbec3e74858be016093e3d9c1ee7b91e1baf7b5cfc1e2dc842ba6 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild b/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild new file mode 100644 index 000000000000..67b7329e92c7 --- /dev/null +++ b/games-puzzle/cutemaze/cutemaze-1.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils qmake-utils + +DESCRIPTION="A simple, top-down game in which mazes are randomly generated" +HOMEPAGE="https://gottcode.org/cutemaze/" +SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_configure() { + eqmake5 PREFIX="/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/cutemaze/metadata.xml b/games-puzzle/cutemaze/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/cutemaze/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> diff --git a/games-puzzle/cuyo/Manifest b/games-puzzle/cuyo/Manifest new file mode 100644 index 000000000000..d15c145a7cff --- /dev/null +++ b/games-puzzle/cuyo/Manifest @@ -0,0 +1,8 @@ +AUX cuyo-2.1.1-gcc44.patch 161 SHA256 3a21073002a39d615bf25cb6e3db942a8a20461c5cd7c2f7da1b511ed95fc53a SHA512 461bd27073288eb5327770d18ce5a10a38a4e6ceb3c6f5e39a50a47bc3f6f5c8a06f9ac13d80bfbbeae1a0f45dd62ee0fa084dd832eb2d1313096f3d8e5c3149 WHIRLPOOL 703e02ef5319ecffce0e0cb7286ab3662a6cb956cffdaab9d7894839d7d6c77b7cb8428de4dd74b5dc6a501693960e18eb1f6283b193f705ac9f7a99ebd5e681 +AUX cuyo-2.1.1-gcc6.patch 1024 SHA256 d82b5573c0f5a31fe7e3ed18a5272972ff99cec90e493a86aa5d3feb345af8cf SHA512 ae8733da8afceee4e54ac8cac5a11d20a1adce494d76cdfaa821ffeba64886d9b0c9680fdab013c67e641bac9c96ba3dc23d1ecb86d1b59ca3f354692d218d2c WHIRLPOOL ac51c83a9569edf63875c011a38c7d91c8e53590891119cf1e284028bf2cc5e637de10cbe3ffd886dd765f8920e72d895abe04c4dfab0b288cebe15544c45631 +AUX cuyo-2.1.1-gentoo.patch 851 SHA256 45d50bf95e8cdec4d18c91b359c3796f55c667acb4a7e32062721d1fbcd369d9 SHA512 c96c855c4650f50d6ed1c38d7105047f386c1828592389ce482cecefeb46bae224ee46f6f07dc63bbed67d81e4beadd5868962ad52dcca8fd9f99f3ea0899f8a WHIRLPOOL 9bdc53e27d453a62171dae2440614bca0068877e83c8ba6c852b4d546cae5871d25398be003193165ed9a16b278b37b7666fdc86146ff3a210f8cfa2c1d61bb1 +DIST cuyo-2.~-1.1.tar.gz 3005426 SHA256 7157aa70ae731c17e765fba11736866f2020826ad6187d8df6c55039d4481de6 SHA512 a29c6ffc7e63b74dd93e8aeeace78bdbc50398771922aaf06a43256c883f9eff23e10fa91e4964b716cd209551cef771cf00108fb7977ce13a463da542322787 WHIRLPOOL ef2817feecbe9c785e8d6438aca123247857c8f9845421a5aef89375b0f9c15a050d0e6f16791cab408f8e87a9640ef0cbc77c9cc89f03c5e788d3851b07af2d +EBUILD cuyo-2.1.1.ebuild 1020 SHA256 2cb82ef349f0fbe9f311cce488f50c57057b13b02bc7679b504dbdd66452f63c SHA512 7355f8a2d02fc623cf98ed6d9715d0d2cec8d0ec65cd4032025797a322bd47b4c5214d7dc60a8418724cff34d79cfefaf613e8e4ce9c9b299154d52246dee357 WHIRLPOOL 326eba4f308068704ac03950ea8410ea7bb3df29420bfd8aac0515e1c4f1cddd10dce6e2c0f2ddb7abbd24cf8375e4087e14f603ddaa9c4286cda26106f63b8a +MISC ChangeLog 2590 SHA256 21db33e2010da0f8a8bf7243f22ab755fe1d2c13777c9d50ec00a3ea2cc75097 SHA512 f0ae31c0d60d04489c57922a9e0bdbc403eefc6d65d03b898fc53077b8475db6be3abf1dd7650cfc250a4470f9fe6aad8b941ed7135756d599f3bc154e6455de WHIRLPOOL 40c55c2150ad40f2d32adc64865a27b86847bec0d5a25499d7ab19f7bd07dc5f2cc16e566f82a1e6f5747d5d7d358e5398fc833cfc307c2e5639eaa22dd832a4 +MISC ChangeLog-2015 4290 SHA256 99cd3692bc98f9e733b5ed98bb560934f39ac8bf62d43e33adfeb04172120512 SHA512 0ba86da5a8df6a3c76e8ff8308938d6bc51c5f9d5a484148e41532a06fd1987eb4700a0844d386cbcd7c532275de20cc110a84084409d81552d51b8315184abc WHIRLPOOL 7428314a4a47578d30ef2bd178d88823a3d7af8ad737093a1fc8dc0d0d818082fe6a6c8c45d1065ff9a045d8040d836ec5f76f2d2653b1efe58fd29a604a7b3a +MISC metadata.xml 324 SHA256 91faf30ccb6aa1bf17c8a7ea4e5a3da60ce16063decf75c4fe09ce1798414e3a SHA512 3392ab16d9e90d0dd6dba06994ba2096940075961de7e6fed43d70946e82916af7b40e95bd27e25d5eba9d9eb46afe61fe4200147385cc93211ab14c0e6b13ce WHIRLPOOL d2049847162d169be79625b96f16b0c5c194bb4b887c7978f0ff2db5ded8c06b1d3b75e3d313ae3e28ddc183c409325ff5e7632fa8be555eeda6a44db4c2a995 diff --git a/games-puzzle/cuyo/cuyo-2.1.1.ebuild b/games-puzzle/cuyo/cuyo-2.1.1.ebuild new file mode 100644 index 000000000000..8acab44bef37 --- /dev/null +++ b/games-puzzle/cuyo/cuyo-2.1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils gnome2-utils versionator games + +MY_P=${PN}-$(get_version_component_range 1).~-$(get_version_component_range 2-3) +DESCRIPTION="highly addictive and remotely related to tetris" +HOMEPAGE="http://www.karimmi.de/cuyo/" +SRC_URI="https://savannah.nongnu.org/download/cuyo/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="+music" + +DEPEND="sys-libs/zlib + media-libs/libsdl[sound,video] + media-libs/sdl-mixer + music? ( media-libs/sdl-mixer[mod] ) + media-libs/sdl-image" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-gcc6.patch + eautoreconf +} + +src_install() { + default + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch new file mode 100644 index 000000000000..9ad50b067fb5 --- /dev/null +++ b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc44.patch @@ -0,0 +1,11 @@ +--- cuyo-2.~-1.1.orig/src/stringzeug.h ++++ cuyo-2.~-1.1/src/stringzeug.h +@@ -20,7 +20,7 @@ + + #include <config.h> + #include <string> +- ++#include <stdio.h> + + + diff --git a/games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch new file mode 100644 index 000000000000..b1ba5b535de5 --- /dev/null +++ b/games-puzzle/cuyo/files/cuyo-2.1.1-gcc6.patch @@ -0,0 +1,45 @@ +--- a/src/pfaditerator.h ++++ b/src/pfaditerator.h +@@ -21,6 +21,11 @@ + #include "stringzeug.h" + + ++#if __cplusplus >= 201103L ++#define NOEXCEPT noexcept(false) ++#else ++#define NOEXCEPT ++#endif + + + /** Iteriert durch alle Pfade, an denen sich eine +@@ -43,7 +48,7 @@ + class PfadIterator { + public: + PfadIterator(Str dat, bool auch_gz = false, bool setzDefault = false); +- ~PfadIterator(); ++ ~PfadIterator() NOEXCEPT; + + /** N�chster Pfad */ + PfadIterator & operator++(); +--- a/src/pfaditerator.cpp ++++ b/src/pfaditerator.cpp +@@ -48,7 +48,7 @@ + -1 und f�hren dann gleich ein ++ aus. */ + ++(*this); + } +-PfadIterator::~PfadIterator() { ++PfadIterator::~PfadIterator() NOEXCEPT { + /** Soll der default-Pfad gesetzt werden? */ + if (mSetzDefault) { + +--- a/src/xpmladen.cpp ++++ b/src/xpmladen.cpp +@@ -314,7 +314,7 @@ + try { + + /* Datei laden. Dabei werden gDatAnfang und gDatEnde gesetzt. */ +- if (!ladeDatei(na)) return false; ++ if (!ladeDatei(na)) return NULL; + + + gDatBei = gDatAnfang; diff --git a/games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch b/games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch new file mode 100644 index 000000000000..78bafe2ded47 --- /dev/null +++ b/games-puzzle/cuyo/files/cuyo-2.1.1-gentoo.patch @@ -0,0 +1,30 @@ +--- cuyo-2.~-1.1.orig/icons/Makefile.am ++++ cuyo-2.~-1.1/icons/Makefile.am +@@ -1,4 +1,4 @@ +-desktopdir = $(datadir)/applications ++desktopdir = /usr/share/applications + desktop_DATA = cuyo.desktop + + +@@ -25,7 +25,7 @@ + # Das vorige war falsch: die png sollen alle cuyo.png heissen + # und nicht cuyo-xxxx.png. Deshalb nachfolgend neue Version: + +-iconsdir = $(datadir)/icons/hicolor ++iconsdir = /usr/share/icons/hicolor + icons_DATA = cuyo-32x32.png cuyo-64x64.png + + install-iconsDATA: +--- cuyo-2.~-1.1.orig/icons/cuyo.desktop ++++ cuyo-2.~-1.1/icons/cuyo.desktop +@@ -3,9 +3,8 @@ + Icon=cuyo + Type=Application + Terminal=false +-MimeType=application/x-executable ++MimeType=application/x-executable; + Categories=Game;BlocksGame; +-Encoding=UTF-8 + Comment=A tetris like game with many levels + Comment[de]=Ein Tetris-artiges Spiel mit vielen Leveln + Exec=cuyo diff --git a/games-puzzle/cuyo/metadata.xml b/games-puzzle/cuyo/metadata.xml new file mode 100644 index 000000000000..1329ada5712f --- /dev/null +++ b/games-puzzle/cuyo/metadata.xml @@ -0,0 +1,11 @@ +<?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="music">Enable playing of background music</flag> +</use> +</pkgmetadata> diff --git a/games-puzzle/einstein/Manifest b/games-puzzle/einstein/Manifest new file mode 100644 index 000000000000..ab56ff35582d --- /dev/null +++ b/games-puzzle/einstein/Manifest @@ -0,0 +1,9 @@ +AUX einstein-2.0-64bit.patch 990 SHA256 5bd76c8ee617e7fb27856ba0e0b45defcaa41ff2c7d4a6f8a999371527430d68 SHA512 36115b1519edfd1e666f14ca3c98b50ea963bec35a2b75a77c3923debf40f3aced1b8d5b2bccf079fd8cdbf45df7ec9619a5eb6f4caaafcad293e9b90aef270b WHIRLPOOL 5a6562c9f5d0f977a2a9b13ba9328cb7c266a726484076563fd0a1f257ffd7fde8fb8406dd3afaa1cd30b437952da855dc5a09482ffc198d6eafbb3723d0667f +AUX einstein-2.0-as-needed.patch 310 SHA256 fcaa3b3f47425fb7c4342043a1b572d914266971f1aebac3ca2192caa4855349 SHA512 b535f4dae3fd20728805b3ddbf45f7b9bd29ab82047455bdccc7a1714d75dafd7608a6488ff3a41d5effd9c92ca26a8c74c767b3cc2b835130d8a1e411a26f09 WHIRLPOOL 3496b76d919c43b884ade54da62453e7adc247970da2c16abe97b251dfc321c324c6c442476de4172ce674ceadc6dadf5a0a83981b3eb9eaa9fe1596cc607f22 +AUX einstein-2.0-gcc43.patch 391 SHA256 9c648dfd740cbdcf855cf4df978934a65feb192eb67ca4d6692999104f4d9c59 SHA512 40900fc551f794b58bd3458a5289c2adfbf439a6bfcb477ce777531545e69056747e856dbe24a181c7748e583fadab14ab622e5d044a0836115dd9ee15a40e98 WHIRLPOOL fdfc124b2ed6b09664a5ed26d3f24a6a374867009f2dc4beac8b4f7ece3db12ff82f4f665753cb0546a2ba9bf58101c070fc4dc3aca2a34dace2cec56569f666 +DIST einstein-2.0-src.tar.gz 722301 SHA256 0f2d1c7d46d36f27a856b98cd4bbb95813970c8e803444772be7bd9bec45a548 SHA512 45599546f2f7fce32f7441cfdae88b72297f4a506d9eb98a64c3b24ec2e2fd86a63d59961a21e017df6a7a676d864ad12598d735f9049adf43cddd91d661f619 WHIRLPOOL aa0327d50a87a3e73e5812585cc6fd505eebda91eedbe43b83210a9e574c20be90c026a1d660d634a8a617b650c43a61e7df91c606780e5e5d7a6b2a1765ece1 +DIST einstein.png 932 SHA256 87416ad30823294a55be626adf3bbf3d32f98cf7c8d7e9e65470d78ed37a66a5 SHA512 9e19d351e915509a11d7275ef0ea7e246d0d334933ec4b48ea0f56aa552ac69041a5c2a64075b02ec3601b1c2b8307cef314c9427ab7615b16e689faaa074283 WHIRLPOOL 6a83e7e0de616f843a67a828a2b9fdeb47bfb134f5759dc2b04605b4eb89bba18183a3be2f5e92075c88fedb875f80e948dcc906572ba8c3513ff0455501f098 +EBUILD einstein-2.0.ebuild 1033 SHA256 634a0c64c860d2e0baaacabfbf424223b72b745c632b9933ce319d762f64f14d SHA512 cb9bb2c0af7e2d8ce75c62f4621a3bddf4c441327216d05fd844ed4978c696476ae6933ba41b09aa5826e4e67cc096c0033096f23c6c9e10034f00aa7d8f4f1e WHIRLPOOL f6a01de0ecf3ba42935104431341b0fdf374011d554edbad1395ade8c97c845d5b65fff4a37912988b552f3cfef27fbf4e677430114e8a155253929f1267e0d2 +MISC ChangeLog 2535 SHA256 18ba83e9359f88afecc92d1733fdea4cd5667b3effa8a91d667b35550b229b64 SHA512 f24caef9a87012afafee1050b900b27822471518217246b0645bc2f3a5c7eaeeba4f3c4856ba96332affb1766c72850cf4186a50d7b261115a57f39e41b0cb88 WHIRLPOOL b85f1db603658a8a51032ea1ed7bee2ca5847a16f7236e18e8efd8089a7f86af7eb58d7edc3b221ec381e44e30830198b9073f6227a7f1bbf6b81245707cc0bb +MISC ChangeLog-2015 1978 SHA256 8778052c248527d1ec418011da678e05124f1969bd02a4176206f3115b0005b3 SHA512 ceef27c381c7d8e395698cae62c3f9c0f45aad45c9baa97f811b27c2ebc1f8cfbe8702aca6bc8cdb0b69cd85b6ee81941e936f87e969294206d2a54cdbb763e5 WHIRLPOOL 31b88b212c6c4604682b8ac784677391003ea399bce98437bf7c44b124d0c5e64924359fb19d3bcc2fa35b9adaf15a7a5023ff1c0bb7658a33a1ee2e0676595f +MISC metadata.xml 334 SHA256 8882951d9dcd15084ee03dcad1fdc2a2f713852b76d0c641c058895751b6a65f SHA512 defe221da415005e05b0b8d58edd84050a565b3249bfd0eae9875f92a67ee0faf320f86cd2b6f703add270f86edfc187e8597fb659b4499e092825b82cd91f64 WHIRLPOOL c4e31db62dae69b83a826a1ff14df949b64d41e7efcc9ddf0136bbde1fc7df3337282b9926e2effdae1a570240ee374274ad282031b9588499621be1faeb25a0 diff --git a/games-puzzle/einstein/einstein-2.0.ebuild b/games-puzzle/einstein/einstein-2.0.ebuild new file mode 100644 index 000000000000..62c0a767bab7 --- /dev/null +++ b/games-puzzle/einstein/einstein-2.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A puzzle game inspired by Albert Einstein" +HOMEPAGE="https://freecode.com/projects/einsteinpuzzle" +SRC_URI="mirror://gentoo/${P}-src.tar.gz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer + media-libs/sdl-ttf" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}*.patch + sed -i \ + -e "/PREFIX/s:/usr/local:${GAMES_PREFIX}:" \ + -e "s:\$(PREFIX)/share/einstein:${GAMES_DATADIR}/${PN}:" \ + -e "s:\$(PREFIX)/bin:${GAMES_BINDIR}:" \ + -e "s/\(OPTIMIZE=[^#]*\)/\0 ${CXXFLAGS}/" Makefile \ + || die + sed -i \ + -e "s:PREFIX L\"/share/einstein:L\"${GAMES_DATADIR}/${PN}:" main.cpp \ + || die +} + +src_install() { + dogamesbin "${PN}" + insinto "${GAMES_DATADIR}/${PN}/res" + doins einstein.res + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} "Einstein Puzzle" + prepgamesdirs +} diff --git a/games-puzzle/einstein/files/einstein-2.0-64bit.patch b/games-puzzle/einstein/files/einstein-2.0-64bit.patch new file mode 100644 index 000000000000..4d6656252898 --- /dev/null +++ b/games-puzzle/einstein/files/einstein-2.0-64bit.patch @@ -0,0 +1,31 @@ +--- einstein-2.0.orig/formatter.cpp ++++ einstein-2.0/formatter.cpp +@@ -58,7 +58,7 @@ + if ((c.type == INT_ARG) || (c.type == STRING_ARG) || + (c.type == FLOAT_ARG) || (c.type == DOUBLE_ARG)) + { +- int no = (int)c.data; ++ long int no = (long int)c.data; + args[no - 1] = c.type; + } + } +@@ -123,7 +123,7 @@ + std::wstring Formatter::format(std::vector<ArgValue*> &argValues) const + { + std::wstring s; +- int no; ++ long int no; + + for (int i = 0; i < commandsCnt; i++) { + Command *cmd = &commands[i]; +@@ -135,8 +135,8 @@ + + case STRING_ARG: + case INT_ARG: +- no = (int)cmd->data - 1; +- if (no < (int)argValues.size()) ++ no = (long int)cmd->data - 1; ++ if (no < (long int)argValues.size()) + s += argValues[no]->format(cmd); + break; + diff --git a/games-puzzle/einstein/files/einstein-2.0-as-needed.patch b/games-puzzle/einstein/files/einstein-2.0-as-needed.patch new file mode 100644 index 000000000000..fe870bf036e7 --- /dev/null +++ b/games-puzzle/einstein/files/einstein-2.0-as-needed.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2009-02-09 16:37:58.000000000 +0100 ++++ Makefile 2009-02-09 16:38:13.000000000 +0100 +@@ -49,7 +49,7 @@ + + + $(TARGET): $(OBJECTS) +- $(CXX) $(LNFLAGS) $(OBJECTS) -o $(TARGET) ++ $(CXX) $(LDFLAGS) $(OBJECTS) -o $(TARGET) $(LNFLAGS) + + clean: + rm -f $(OBJECTS) core* *core $(TARGET) *~ diff --git a/games-puzzle/einstein/files/einstein-2.0-gcc43.patch b/games-puzzle/einstein/files/einstein-2.0-gcc43.patch new file mode 100644 index 000000000000..25e1815e5e41 --- /dev/null +++ b/games-puzzle/einstein/files/einstein-2.0-gcc43.patch @@ -0,0 +1,20 @@ +--- einstein-2.0.orig/convert.h ++++ einstein-2.0/convert.h +@@ -5,6 +5,7 @@ + #include <iostream> + #include <sstream> + #include <string> ++#include <typeinfo> + + #include "exceptions.h" + #include "unicode.h" + +--- einstein-2.0.orig/unicode.cpp ++++ einstein-2.0/unicode.cpp +@@ -1,5 +1,6 @@ + #include <wchar.h> + #include <stdlib.h> ++#include <string.h> + #ifdef WIN32 + #include <windows.h> + #endif diff --git a/games-puzzle/einstein/metadata.xml b/games-puzzle/einstein/metadata.xml new file mode 100644 index 000000000000..c3f8c58cea81 --- /dev/null +++ b/games-puzzle/einstein/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="freecode">einsteinpuzzle</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/enigma/Manifest b/games-puzzle/enigma/Manifest new file mode 100644 index 000000000000..c4a37168601e --- /dev/null +++ b/games-puzzle/enigma/Manifest @@ -0,0 +1,7 @@ +AUX enigma-1.21-build.patch 3543 SHA256 adf8008b557e08d37cb5dc898284f1c2ea714fe87d0644bf9cbe43841cde7a79 SHA512 accfb31abaadbee476961f38cc2f76a1fceac4befbf4721d4e08061a3509d05f2e534b4f8f69f1765e082a4ed4f70ccbba0c73c4479a49ee1cfde4c1ae1cdcc4 WHIRLPOOL 787501c1e36ed53026dff7d4eafc4d805e3d649681f80e224c99cc8ed304b8caa6b8dc6896f0eb313f5b569ed35a35dde09fb63a98c5e58c9e608dfc95451032 +AUX enigma-1.21-gcc6.patch 927 SHA256 c2cd9035630ff3deab2880a4f4da0417acf5f7fba6190663658d7aad5c2834c7 SHA512 d0eb1f356370431e3b3b96c7fa3a56ca52ed15fa94286d1b5075ba8a4b4b349deb676479bd8e045a7463f65a3885c44aab90166549850e19c510d606aed2e746 WHIRLPOOL 47a27ed65bb67441b0a4cab48292611d904d64db4394fa7d4dbed823f5b4b0c6ea5f0681136e0da933a71fa7dceca855f3b9785bbc4ffebc40ec716462d54332 +DIST enigma-1.21.tar.gz 56409951 SHA256 d872cf067d8eb560d3bb1cb17245814bc56ac3953ae1f12e2229c8eb6f82ce01 SHA512 0cca56a193f0f416e0fde02caf2e30b61eef506b6c62e151ff575f5c130f1e2e778d77149007b114ebaeec3a3e793434328555cb5190954a0ae13ed6cee229f0 WHIRLPOOL 9583eaacd75c7a3cf5af172d1209771b599e6f8b0fed2b7ea6b0a76ccc2743615d47ac3199f56dd1e39203afc09a43d9aa5d8d879e38502b47d4b77274217b87 +EBUILD enigma-1.21-r2.ebuild 1574 SHA256 fb9fa956c80b2193a81646cbf3f74e1f175a7c4f0d93a2c1c54e8d03a782f01e SHA512 f9f3511bc0c5ba153cd7acb1f2c377593ae0ff226a51596cd1524ed7f929c79db7ecd0e10fae0284ef7d30276aa8d1ef4a5d369e253af89dc492a40d1d36bfbf WHIRLPOOL 201c149772ebc1c1ce96e2b227e7fe3854ad0e729c4b9e0e0ec7468da87d55b6f9e83b771d586e52ee702a2f01378782a27619102e71850efc6557b367605ed9 +MISC ChangeLog 3633 SHA256 4dcd978ecbac1f541a0f04b60ab92d6ee8aaac4aa998ecade0c46adbed6be914 SHA512 486e91fdff9771ce579059fe468373ebb718c1f1e55375bcee0a0d59ce7364804af6f9c4a59fcdb3f3c8e879fa3cee68948dfc6b434a669a0e1174063ecd5854 WHIRLPOOL 79bb0a69ef79ff9e6b356ed90979640ac1bb7bcd28c88cfdcf117727ddbbb64ed67696d8033a61148727fabbe955456dc544a6570fe16eb01f725a9ef2911bbe +MISC ChangeLog-2015 9534 SHA256 4c13145d776aed3c7e02154ac308b2ba2c60046bdea119d09712832223ba94a0 SHA512 b7004988b8d7078d41f5c73c06b4f05897c2fb95dd4554246b7055d2de55a1433ad6ba4ca7cfd049255b791392f7fb8ad55f68ba07f37db46eb7ea4d5471e33a WHIRLPOOL e82d7c5be79228310917c44e694fbf1abcc6a1c9ee3ea09386c19e304af4af70ade29ac29e0ce15ab77e563e0f4f187147635dc255fcb752e4e726c3f2fc3b92 +MISC metadata.xml 334 SHA256 05d32a23437f8d95de3119c2a6fb88c1f47f6cb4d3250894675a3546cc9c4e52 SHA512 885fc4263252767f8861f2d45dc11a319cb5b0a7a9eccdf073a0433ba4908d97f7a590a96ae542372e53f16780a41cee4ee80556c0cedffbf34f6e4bcadeacc6 WHIRLPOOL 633153ac122624f8251884971bd1b633a84331d49fc3e94138944fa493f8026068666a7843d1dc3bc58f894d3afc57ce0addc6181f64db4c65f7e64a5f4a5ec9 diff --git a/games-puzzle/enigma/enigma-1.21-r2.ebuild b/games-puzzle/enigma/enigma-1.21-r2.ebuild new file mode 100644 index 000000000000..af0c5543f041 --- /dev/null +++ b/games-puzzle/enigma/enigma-1.21-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils gnome2-utils games + +DESCRIPTION="puzzle game similar to Oxyd" +HOMEPAGE="http://www.nongnu.org/enigma/" +SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +COMMON_DEPS="media-libs/sdl-ttf + media-libs/libsdl[video] + media-libs/sdl-mixer + media-libs/sdl-image[jpeg,png] + media-libs/libpng:0= + sys-libs/zlib + net-misc/curl + || ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] ) + net-libs/enet:= + nls? ( virtual/libintl )" +DEPEND="${COMMON_DEPS} + sys-devel/gettext" +RDEPEND="${COMMON_DEPS} + media-fonts/dejavu + x11-misc/xdg-utils" + +src_prepare() { + cp /usr/share/gettext/config.rpath . + epatch "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-gcc6.patch + sed -i \ + -e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \ + src/main.cc || die + eautoreconf +} + +src_configure() { + egamesconf \ + --with-system-enet \ + $(use_enable nls) +} + +src_install() { + DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \ + default + dosym \ + /usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \ + "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf + dosym \ + /usr/share/fonts/dejavu/DejaVuSans.ttf \ + "${GAMES_DATADIR}"/${PN}/fonts/vera_sans.ttf + dohtml -r doc/* + doman doc/enigma.6 + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/enigma/files/enigma-1.21-build.patch b/games-puzzle/enigma/files/enigma-1.21-build.patch new file mode 100644 index 000000000000..6d5e91ca76e4 --- /dev/null +++ b/games-puzzle/enigma/files/enigma-1.21-build.patch @@ -0,0 +1,110 @@ +diff -ru enigma-1.21.orig/Makefile.am enigma-1.21/Makefile.am +--- enigma-1.21.orig/Makefile.am 2014-12-19 16:26:06.000000000 -0500 ++++ enigma-1.21/Makefile.am 2015-02-06 18:20:22.239518323 -0500 +@@ -3,12 +3,9 @@ + # tools -> lib-src/lua + # src -> tools, lib-src + # +-SUBDIRS = m4 lib-src tools intl src data doc po etc ++SUBDIRS = m4 lib-src tools intl src data po etc + EXTRA_DIST = enigma CHANGES ACKNOWLEDGEMENTS + +-docdir = @datadir@/doc/enigma +-doc_DATA = README CHANGES COPYING ACKNOWLEDGEMENTS +- + ACLOCAL_AMFLAGS = -I m4 + + .PHONY: tolua +diff -ru enigma-1.21.orig/configure.ac enigma-1.21/configure.ac +--- enigma-1.21.orig/configure.ac 2014-12-19 16:26:06.000000000 -0500 ++++ enigma-1.21/configure.ac 2015-02-06 18:20:22.282516643 -0500 +@@ -342,7 +342,6 @@ + CXXFLAGS="$CXXFLAGS -O2 -ffast-math -fomit-frame-pointer" + AC_MSG_RESULT(yes) + else +- CXXFLAGS="$CXXFLAGS -g" + AC_MSG_RESULT(no) + fi + +diff -ru enigma-1.21.orig/etc/Makefile.am enigma-1.21/etc/Makefile.am +--- enigma-1.21.orig/etc/Makefile.am 2014-12-19 16:26:05.000000000 -0500 ++++ enigma-1.21/etc/Makefile.am 2015-02-06 18:25:44.131945494 -0500 +@@ -1,18 +1,18 @@ + # if !MINGW32 + # Comply with xdg icon theme specification +-icondir = $(prefix)/share/icons/hicolor/48x48/apps ++icondir = /usr/share/icons/hicolor/48x48/apps + icon_DATA = enigma.png + + # Backwards-compatible global search location for images +-pixmapdir = $(prefix)/share/pixmaps ++pixmapdir = /usr/share/pixmaps + pixmap_DATA = enigma.png + + # Install .desktop file in xdg standard location +-desktopdir = $(prefix)/share/applications ++desktopdir = /usr/share/applications + desktop_DATA = enigma.desktop + + # Install AppData file +-appdatadir = $(prefix)/share/appdata ++appdatadir = /usr/share/appdata + dist_appdata_DATA = enigma.appdata.xml + # endif !MINGW32 + +diff -ru enigma-1.21.orig/etc/enigma.desktop enigma-1.21/etc/enigma.desktop +--- enigma-1.21.orig/etc/enigma.desktop 2014-12-19 16:26:05.000000000 -0500 ++++ enigma-1.21/etc/enigma.desktop 2015-02-06 18:20:22.282516643 -0500 +@@ -1,5 +1,5 @@ + [Desktop Entry] +-Version=1.21 ++Version=1.0 + Name=Enigma + Name[be]=Enigma + Name[cs]=Enigma +@@ -44,5 +44,5 @@ + StartupNotify=false + Icon=enigma + Type=Application +-Categories=Application;Game;PuzzleGame; ++Categories=Game;X-PuzzleGame; + +diff -ru enigma-1.21.orig/po/Makefile.in.in enigma-1.21/po/Makefile.in.in +--- enigma-1.21.orig/po/Makefile.in.in 2014-12-19 16:26:06.000000000 -0500 ++++ enigma-1.21/po/Makefile.in.in 2015-02-06 18:20:22.283516604 -0500 +@@ -25,12 +25,12 @@ + exec_prefix = @exec_prefix@ + datarootdir = @datarootdir@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ + INSTALL_DATA = @INSTALL_DATA@ +-MKINSTALLDIRS = @MKINSTALLDIRS@ ++MKINSTALLDIRS = $(top_srcdir)/mkinstalldirs + #install_sh@ -d + mkinstalldirs = $(SHELL) $(MKINSTALLDIRS) + +diff -ru enigma-1.21.orig/src/Makefile.am enigma-1.21/src/Makefile.am +--- enigma-1.21.orig/src/Makefile.am 2014-12-19 16:24:38.000000000 -0500 ++++ enigma-1.21/src/Makefile.am 2015-02-06 18:20:22.283516604 -0500 +@@ -12,7 +12,7 @@ + CXXFLAGS = @CXXFLAGS@\ + -DSYSTEM_DATA_DIR=\"$(datadir)/enigma\" \ + -DDOCDIR=\"$(docdir)\" \ +- -DLOCALEDIR=\"$(localedir_enigma)\" \ ++ -DLOCALEDIR=\"/usr/share/locale\" \ + -I$(top_srcdir)/lib-src/zipios++ \ + -I$(top_builddir)/lib-src/zipios++ \ + -I$(top_srcdir)/lib-src/lua \ +@@ -440,7 +440,7 @@ + + else # not MINGW32 + +- localedir_enigma := $(datadir)/locale ++ localedir_enigma := /usr/share/locale + mingw_ldadd = + + endif diff --git a/games-puzzle/enigma/files/enigma-1.21-gcc6.patch b/games-puzzle/enigma/files/enigma-1.21-gcc6.patch new file mode 100644 index 000000000000..fd72dbc89065 --- /dev/null +++ b/games-puzzle/enigma/files/enigma-1.21-gcc6.patch @@ -0,0 +1,25 @@ +Bug: https://bugs.gentoo.org/610778 + +From e0f31f63ba4252ced7128d3ceec2bc668e8681f4 Mon Sep 17 00:00:00 2001 +From: Legimet <legimet.calc@gmail.com> +Date: Sat, 13 Aug 2016 23:41:27 -0400 +Subject: [PATCH] Fix build error with GCC 6, caused by comparing + basic_ifstream to NULL + +--- + src/lev/Proxy.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lev/Proxy.cc b/src/lev/Proxy.cc +index 6d58c0ba..69f54a20 100644 +--- a/src/lev/Proxy.cc ++++ b/src/lev/Proxy.cc +@@ -933,7 +933,7 @@ namespace enigma { namespace lev { + } else if (haveLocalCopy) { + // plain file + basic_ifstream<char> ifs(absExtPath.c_str(), ios::binary | ios::in); +- if (ifs != NULL) ++ if (ifs) + Readfile(ifs, extCode); + else + haveLocalCopy = false; diff --git a/games-puzzle/enigma/metadata.xml b/games-puzzle/enigma/metadata.xml new file mode 100644 index 000000000000..31c04074be24 --- /dev/null +++ b/games-puzzle/enigma/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">enigma-game</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/ensemblist/Manifest b/games-puzzle/ensemblist/Manifest new file mode 100644 index 000000000000..2198646cd696 --- /dev/null +++ b/games-puzzle/ensemblist/Manifest @@ -0,0 +1,6 @@ +AUX ensemblist-040126-build.patch 1610 SHA256 47f29cc749d3240fdee845391bba58e4fecb6025499594cd1da08999cd3758ac SHA512 19e9e9625786d43053a72ba633aaa08d18b7a91fe5995cb583b6830605f0ec2b37b8c002d7853db520fc7ccfc4bbe8699184d2ac69f62be51d4801b438ea6ce5 WHIRLPOOL cc690f57cf4ca7ce69743867a46f0a732094d0db5aba6d573806e7210a354ff5641ab2955377cc8113be714d4d1b9cc778cedeefd58fc90aa7e9c3c17ae9cb31 +DIST ensemblist-040126.tar.gz 1312095 SHA256 6cfd48b3f62a0853a08609a85841bea400a9fe0eb9d3b8bdf0f62dd5a8aa36be SHA512 59202fe3c6168cfd60a7204f64dba5ab9fec2aa80e32be2f649862cf60dd27df0a51f4359161f8ca1ab3cf541fb1ea127f4f83b2213c4cb40bf6a574c14c8052 WHIRLPOOL 8d1d55658d87da267ee054a9aca1aa7520ecd882d89856347dfb6843d7130ba8ff31e0881567696fa425415e2020ae5f832789410f490e79a12dec78a5f06e27 +EBUILD ensemblist-040126.ebuild 858 SHA256 076ec31d846b6e9d672f414f93dcad0901d43f0e8f5235b217a1e8b662ddb03a SHA512 3b8812fec8510019b5ea0657ef4361ed64acf541284517e67d02fc50ef99fbadd3f7337c61c5ff923c29d4f36a040db25989bf89f62d7cc8125d6e0ea18251ba WHIRLPOOL a20a5886f8f55befa4146a0050132e045b7daa306e4dbd755bdf3a7ed907dd7ed5c72406510afa43d776fa2b2c8e23f9d5687f954da847a001553ecc17dc376e +MISC ChangeLog 2725 SHA256 52b85044f9a9d7df5f2b0429a296222d1e76a5248864f5ec95a2fd602e12988b SHA512 20acec4aae371f0e2d95a2d3cea9ab5cf87a517f8323c86e110740d0865b8f2c7821777506b3ac4a6f1ed2b1f70dd3c3ac8355f9f52be4aeab7f5becaf13b50c WHIRLPOOL bf946d4c9c5ae60cf6953d912b093f3e7636636ca9dc97594633b5f2e79fe1a8b4bac491ec2cbba1cb22ebda9c2da09a03d2ebe7d95ce47d54e1cd6f2bdcd960 +MISC ChangeLog-2015 1924 SHA256 b687a8636e53e89a272840d9304517288119083f8d681de4d9bffce56659e892 SHA512 b229413b0aaaa5af95752a55b46856c7984210a5e4f55ffdcd09f6ce9f71c073ce9eebe3a5479bda02d2e5343d9988ba94329f31e0ddfbd52ff59b2ba597cddd WHIRLPOOL d505fc127eef9b4e2889e7b2912649e67f5b468b9e4edc908b980a3862c20fb485d47b69e5538f19088b1e47b69a60feeb2cf1459f9ee861ba3433cab846abc7 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/ensemblist/ensemblist-040126.ebuild b/games-puzzle/ensemblist/ensemblist-040126.ebuild new file mode 100644 index 000000000000..02d3e0595c1f --- /dev/null +++ b/games-puzzle/ensemblist/ensemblist-040126.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Put together several primitives to build a given shape. (C.S.G. Game)" +HOMEPAGE="http://www.nongnu.org/ensemblist/index_en.html" +SRC_URI="https://savannah.nongnu.org/download/ensemblist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="media-libs/freeglut + media-libs/libmikmod:0 + media-libs/libpng:0 + virtual/glu + virtual/opengl + x11-libs/libXmu" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + emake DATADIR="\"${GAMES_DATADIR}\"/${PN}/datas" \ + CFLAGSLD="${LDFLAGS}" +} + +src_install() { + dogamesbin ensemblist + insinto "${GAMES_DATADIR}/${PN}" + doins -r datas + dodoc Changelog README + make_desktop_entry ${PN} Ensemblist + prepgamesdirs +} diff --git a/games-puzzle/ensemblist/files/ensemblist-040126-build.patch b/games-puzzle/ensemblist/files/ensemblist-040126-build.patch new file mode 100644 index 000000000000..42cc04070eef --- /dev/null +++ b/games-puzzle/ensemblist/files/ensemblist-040126-build.patch @@ -0,0 +1,41 @@ +diff -ru ensemblist-040126.orig/Makefile ensemblist-040126/Makefile +--- ensemblist-040126.orig/Makefile 2004-01-26 10:37:05.000000000 -0500 ++++ ensemblist-040126/Makefile 2009-01-23 03:24:05.000000000 -0500 +@@ -1,17 +1,8 @@ + NAME=ensemblist +-CC=gcc +-ifdef DEBUG +-DATADIR=/home/rixed/src/ensemblist/datas +-COMPILE_FLAGS=-Wall -fno-builtin -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wredundant-decls -O0 -g `libmikmod-config --cflags` -DDATADIR=$(DATADIR) +-LINK_FLAGS=-g -lm -L /usr/X11R6/lib -lXmu -lGL -lglut -lGLU -lpng `libmikmod-config --libs` -lefence -lpthread +-else + DATADIR=$(DESTDIR)/usr/share/$(NAME) +-COMPILE_FLAGS=-Wall -O3 -fomit-frame-pointer `libmikmod-config --cflags` -DNDEBUG -DDATADIR=$(DATADIR) +-LINK_FLAGS=-lm -L /usr/X11R6/lib -lXmu -lGL -lglut -lGLU -lpng `libmikmod-config --libs` -lpthread +-endif ++COMPILE_FLAGS=`libmikmod-config --cflags` -DDATADIR=$(DATADIR) ++LINK_FLAGS=-L/usr/X11R6/lib -lXmu -lGL -lglut -lGLU -lpng `libmikmod-config --libs` -lpthread -lm + APPLE_FRAMEWORKS=-framework GLUT -framework Cocoa -framework OpenGL +-#uncomment the following if you want to compile on MacOS/X +-#LINK_FLAGS=$(LINK_FLAGS) $(APPLE_FRAMEWORKS) + CFILES=$(wildcard *.c) + OFILES=$(patsubst %.c,%.o,$(CFILES)) + +@@ -22,15 +13,10 @@ + all: $(NAME) + + $(NAME): $(OFILES) +- @echo '$(COL)$@$(NORM)' +- $(CC) $(COMPILE_FLAGS) $(LINK_FLAGS) $^ -o $@ +-ifndef DEBUG +- strip $(NAME) +-endif ++ $(CC) $(CFLAGSLD) $(COMPILE_FLAGS) $^ -o $@ $(LINK_FLAGS) + + .c.o: +- @echo '$(COL)$@$(NORM)' +- $(CC) $(COMPILE_FLAGS) -c $< ++ $(CC) $(CFLAGS) $(COMPILE_FLAGS) -c $< + + clean: + @echo '$(COL)$@$(NORM)' diff --git a/games-puzzle/ensemblist/metadata.xml b/games-puzzle/ensemblist/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/ensemblist/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> diff --git a/games-puzzle/fbg/Manifest b/games-puzzle/fbg/Manifest new file mode 100644 index 000000000000..66c86b26489b --- /dev/null +++ b/games-puzzle/fbg/Manifest @@ -0,0 +1,5 @@ +DIST fbg-0.9.tar.gz 1127384 SHA256 189b86f00345fb6cbfdf0c8d55c495960d373b653972fad5fad2f47ba46274e5 SHA512 8aede56515da472509068037bd295d7a37f365dd54ea8332c02409e84bf685b76f1733b93b90fa49ca58e9094a4506137c6459d4761a929cfa2e60bb0907a353 WHIRLPOOL 4df0aa39485f5533407f8b2388cce42081acb5b75f00b6b4e5fc49a0e84ff35abcec705d566cf99ac5c083f6453f65d5dee2e1f1b05680cc00acc0b068628b99 +EBUILD fbg-0.9-r1.ebuild 820 SHA256 ebbe3f9869864b3a83aed6b5e2bd996f94034b24862ba44a289a3fa236c2529b SHA512 0a0a06fc6c70ab721d55aacd7273600362404a182122a4c6982795ce308aea14f9caa4dadc10c5aabda1169830d89ded32058d339d15618f1f81f3d76a59ddf5 WHIRLPOOL 4899e8b728d1e3034f1f08c0f0b3db0d9db74024940c9dbe5fb50e6ef159636451d398eb29888f147ee796115eeae65cf4985b73a3b3575b6ee878e35de217ce +MISC ChangeLog 2565 SHA256 da7bac4941182a470d366b0ca4c34ee76bd74e42b674753bca6ca011df36b629 SHA512 ba1e206cf25d2b678befb917ff97c5987012fef1fad2e6b3b3ba3328e1c6f3aabdf79947d699c7aadb099e596c64a5aefaf7d025149012178a0ad51f3d11d9ba WHIRLPOOL e4d9753e108c109294bd221973047217f814020b0799f601a7208cbb12b7850a8848c73ef9a30ea367084f48570ce9ed72de709e664e455820b4811cda5e0a74 +MISC ChangeLog-2015 1095 SHA256 aafa898d64786e0c18a21009cbd2dba621dbb2e88f0705f12ac520388a8dc50b SHA512 759a0ae267d7dfcc12ec5c14c1df4f60b90a23f458c1cbb61ab40c741a0f06f9bdbe1aa8ff536780b856097a5d22cfec0d7d54b8f3b68a3dacb7b488c37de690 WHIRLPOOL f87cfc2816e99859e26218621f3ceb224bd40feb54039322c82af8af8c8bad9e95bea594b3fc6bf59d0c17cfb35cda40ac1b0118ab19e473cd8c3a0589257542 +MISC metadata.xml 326 SHA256 d127f0b43fbdc0ed033458e669067fdbcbb21fcba523e10f97329117f62f128f SHA512 530accf52134a0d9947a35e2499225d8557410008a5df1b8bb2189eabe7c8cda7787a5ce05ec4efe5af67a9a2e1aae30008c18bf97f2c46a9608d3625bdc5ea2 WHIRLPOOL a9729ff7ce193610f3fdf76f2cd8f0c786a9fe11f89645f63db6443b8c2dc5650019d20852a0441ea3b6b5898d3254d15da87635050597b15053c01e7cf3d1ad diff --git a/games-puzzle/fbg/fbg-0.9-r1.ebuild b/games-puzzle/fbg/fbg-0.9-r1.ebuild new file mode 100644 index 000000000000..6e6611bb6d6a --- /dev/null +++ b/games-puzzle/fbg/fbg-0.9-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A Tetris clone written in OpenGL" +HOMEPAGE="http://fbg.sourceforge.net/" +SRC_URI="mirror://sourceforge/fbg/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="virtual/opengl + virtual/glu + dev-games/physfs + media-libs/libsdl[opengl,video] + media-libs/libmikmod + x11-libs/libXt" +RDEPEND=${DEPEND} + +src_prepare() { + sed -i \ + -e "/FBGDATADIR=/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" \ + -e '/^datadir=/d' \ + configure || die +} + +src_configure() { + egamesconf --disable-fbglaunch +} + +src_install() { + default + newicon startfbg/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Falling Block Game" ${PN} + rm -rf "${D}/${GAMES_PREFIX}"/doc + prepgamesdirs +} diff --git a/games-puzzle/fbg/metadata.xml b/games-puzzle/fbg/metadata.xml new file mode 100644 index 000000000000..3122d95d7524 --- /dev/null +++ b/games-puzzle/fbg/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">fbg</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/fish-fillets/Manifest b/games-puzzle/fish-fillets/Manifest new file mode 100644 index 000000000000..2526a4130c85 --- /dev/null +++ b/games-puzzle/fish-fillets/Manifest @@ -0,0 +1,6 @@ +DIST fillets-ng-1.0.1.tar.gz 380290 SHA256 329a4d9515d60bebdb657d070824933b993b85864b9d3e302e6361accab992da SHA512 fe4a5186f94e953cbc85fe8b0ce804c881c96feda385cfc36e1840e448cf094c3d815fdbe32976a6697a855038951f97a384c277a1c52a048520e8da71136718 WHIRLPOOL ca70ee8e420ebb85f87ba4033eaf0738d9c29f87b347def51f5b53898b05eabdff0593f181e0a6cb7fc5e95159d8d69d040272d2c66c0be2ee1b5cab470a32a1 +DIST fillets-ng-data-1.0.0.tar.gz 146418413 SHA256 ad475a60cc96e8f5f55a7b264c390264898f1891b6ff096cc617e24d75dffd45 SHA512 61c7fe3980510a7dbd85f4c246e7e42a0f79d8e2aacd96a0c7a14189c5dee92292efb030ac92299474162995039073288283fee0f352cf08be6975a2c86703e7 WHIRLPOOL d80bbb54a465f40fb045930d767ac61e4cc5100fcd15b2fa3a4bd358b181c587bdc740851064bbd95140a4dd4f222ab9f1b4964ef089a41a523d9da1de5b25fd +EBUILD fish-fillets-1.0.1.ebuild 1265 SHA256 e6d44611ebec18d1b50cdfb92130d517c72a6ba369d9b0f8e10f1378579dca1c SHA512 877ed543a7da2060b20bc1f1b6e1755d09d94754a62e12f73841dfb2eb09d68796c4c2d9247e87f016ff27046d542e222980b90010798a6978868d2147b70bca WHIRLPOOL a45b63b294092d600c9228b894308220d7ec19ff155014ab25e431ee59d155093caaeeaa414646844f397b01675623a20088a676fa488111b8275cee731aec96 +MISC ChangeLog 2598 SHA256 f6aeb138077c32fd353053bf61e6a916e35568b67b52b2212e99ff3d3d64d028 SHA512 18afdd11f17c60a939c9697b0426ed04d912f1657c4585bd698739a5726e9a8474323aac4d8f83ac06d64646b46c29f9ca90f325d8ee0862f8ea12bbd67748c3 WHIRLPOOL 9705064120807dcf36bf4d5783d959e245ce6fab26a12762417deb4c357ef97d3f5827d3e179bb8a26583e0d058abed3bc6650729a3354ad6659db4149cf54f8 +MISC ChangeLog-2015 8403 SHA256 f98c9527a6fe3014e91358ff741d6e7f64971764be46d4d78928f87fd1cfef5a SHA512 40f6ac310293a85ab229ba738844b4560b82833e53667f67a7e16dcd9acd6a8e1cf0ae44d4e5405717a30cdc2d0a8238d5691ce9a63e15012712fe4279cd18ce WHIRLPOOL f11b93f3b9ed2b1ddbf1ad46989d14c1d067df34ee42ecbe61284ccefc629aafa19421f30d939d4fbcb05ba99be5afe242d2724252b622d170b5dc9c36c8311e +MISC metadata.xml 330 SHA256 4978a38a4ec8b9e611557bdae7101012a8a0a04f831afdfe758e98c8008766de SHA512 dbe794bba7ca2d4414f5ea3b4ef5b8958268abf2f8bd45705300baddcca5cbb485ddc24b3328e25568b9aa741c50251417ee4100f3f118827fcc5c1a285dba66 WHIRLPOOL a26c96a58e20cdd84c605774adb3a9b22c4ff0830b96c926e37f45ccfad51b4d45f34793460e8b599e6abdf3a3cff2d264ad68e4bf6e43e7aa5ee4014e0dc037 diff --git a/games-puzzle/fish-fillets/fish-fillets-1.0.1.ebuild b/games-puzzle/fish-fillets/fish-fillets-1.0.1.ebuild new file mode 100644 index 000000000000..a196f095993c --- /dev/null +++ b/games-puzzle/fish-fillets/fish-fillets-1.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +DATA_PV="1.0.0" +DESCRIPTION="Underwater puzzle game - find a safe way out" +HOMEPAGE="http://fillets.sourceforge.net/" +SRC_URI="mirror://sourceforge/fillets/fillets-ng-${PV}.tar.gz + mirror://sourceforge/fillets/fillets-ng-data-${DATA_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=media-libs/libsdl-1.2[sound,video] + >=media-libs/sdl-mixer-1.2.5[vorbis] + >=media-libs/sdl-image-1.2.2[png] + media-libs/smpeg + x11-libs/libX11 + media-libs/sdl-ttf + dev-libs/fribidi + >=dev-lang/lua-5:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/fillets-ng-${PV} + +src_prepare() { + #.mod was renamed to .fmod in lua 5.1.3 - bug #223271 + sed -i \ + -e 's/\.mod(/.fmod(/' \ + $(grep -rl "\.mod\>" "${WORKDIR}"/fillets-ng-data-${DATA_PV}) \ + || die "sed failed" + rm -f missing + eautoreconf +} + +src_configure() { + egamesconf \ + --datadir="${GAMES_DATADIR}/${PN}" +} + +src_install() { + default + insinto "${GAMES_DATADIR}/${PN}" + cd "${WORKDIR}"/fillets-ng-data-${DATA_PV} || die + rm -f COPYING + doins -r * + newicon images/icon.png ${PN}.png + make_desktop_entry fillets "Fish Fillets NG" + prepgamesdirs +} diff --git a/games-puzzle/fish-fillets/metadata.xml b/games-puzzle/fish-fillets/metadata.xml new file mode 100644 index 000000000000..e70cd0e424d2 --- /dev/null +++ b/games-puzzle/fish-fillets/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">fillets</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/five-or-more/Manifest b/games-puzzle/five-or-more/Manifest new file mode 100644 index 000000000000..3a97c6e0cd86 --- /dev/null +++ b/games-puzzle/five-or-more/Manifest @@ -0,0 +1,5 @@ +DIST five-or-more-3.22.2.tar.xz 3297904 SHA256 bacf8e03ad9404623a152900b8545d745d38a2fe0f01208bc7dc882cbd5346ac SHA512 a809e227f7ec59912915f4808676c25777a0264268a06dcc7524d121b943e32fc95cfb815f2153aa0960aa0cdd0b3fed054c15d9d0c12d89ed155f0352fcb6f3 WHIRLPOOL de5713791c7e4693c89b740dbc783bd0e19607efdf479b8944636ef8696e0366f9eff24658f52518da9e83aab6522bd98a1cc750e754e2b78c82827d418b6caf +EBUILD five-or-more-3.22.2.ebuild 605 SHA256 03201c66d19d4f3f359b379cb422d085b8b059c69cbf1f92dc61221132286218 SHA512 7c470d8de623350a26af84eee5c0bdc755d361defbec0a5b18187871ff8e037cee18b08b64b39c1bd2867cc903f25b55815484e82d77ab504f5bf6c2a6ec29ff WHIRLPOOL 8ccb65c8a71d8aa7a5cf2ad50c965b08e196e588d2436c79503a07ba090684fcbe9cb5ff779fa8a10f3085e47c1c0a4c85b4a1eb6bc5b0d3876b90866f1ec8f7 +MISC ChangeLog 5240 SHA256 821c64db647e95ee7820ab6e9cfb6e68531fd7d373f042cfb39823022fb401dd SHA512 12b67ca8ce71c14449ae61def6f201a548581dd58754ed18aab042d8ac58b51d2fcfd090c2df4d66427a722ffc93e71148d802c416510b300e1cb3364584b68e WHIRLPOOL 945dae63f4de9aba1af79890484253c94bda32a02c12460c17dfd656ee1fbf6433c2c01a52cf2d8db4b0fe97c562be5d0b87cd233c3170b20bb92d0b00ecdcec +MISC ChangeLog-2015 2740 SHA256 21bed177f10f8e7833d6c9f3acb796f7f7a12507479629dad0df74ddf9db8bcd SHA512 ae0d41dc27e0154fea5d8658f6eb2f3b832d1da67e14530b057749fecd4383e06c4d5bb7eb35f79fd98763ea36fd7c958908ccb49562f8b3f2960c191589d9b3 WHIRLPOOL 3e16a2c64d5c65d8e253e8a9a6ab43fbd352ad2c403236d2fdd18cdf6e547bf9fdffa520906df475d61f6c2c3175770df29ae68ad7999c67c930578a4361aca2 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/five-or-more/five-or-more-3.22.2.ebuild b/games-puzzle/five-or-more/five-or-more-3.22.2.ebuild new file mode 100644 index 000000000000..074be2bc1d11 --- /dev/null +++ b/games-puzzle/five-or-more/five-or-more-3.22.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="Five or More Game for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Five%20or%20more" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +COMMON_DEPEND=" + >=dev-libs/glib-2.32:2 + >=gnome-base/librsvg-2.32:2 + >=x11-libs/gtk+-3.12:3 +" +RDEPEND="${COMMON_DEPEND} + !<x11-themes/gnome-themes-standard-3.14 +" +DEPEND="${COMMON_DEPEND} + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" diff --git a/games-puzzle/five-or-more/metadata.xml b/games-puzzle/five-or-more/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/five-or-more/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/flobopuyo/Manifest b/games-puzzle/flobopuyo/Manifest new file mode 100644 index 000000000000..0d87f30146ef --- /dev/null +++ b/games-puzzle/flobopuyo/Manifest @@ -0,0 +1,9 @@ +AUX flobopuyo-0.20-gcc4.patch 967 SHA256 fa0a34621cd7700109fb317ab394eaf4860646ef776d291318e759173d7e5f80 SHA512 f1bfdbf6ba4e4fc2be453aa7d2299f70a2a47a1906e2b7043ef8c14a7b4c8e5bc1de29565e1404ba9c6688c03f4439f123b3325f3223bd3771eee9fe458ecd62 WHIRLPOOL 99c6ad6b4f0ad9735a0a2b08f2a878fe58d9298ab2051977d33d77dee0c06b1df6ba0d036a340b17f1a49dd196c5ba59bed5bd8bd8f90895680e0f9e938ef2de +AUX flobopuyo-0.20-gcc41.patch 447 SHA256 a3cbc69a50dcdbe810353afbba1eaab3dc44341ddccff9f913ff1cb70d079da2 SHA512 05b888959fcc4e1bc0a1248c9efdbdc9768ee25382fb67dad1d49214c7180e97fa498853bca4483c7786f946d9b0527cfbd79065e5585cc26f72ade3900219ec WHIRLPOOL 5b3020ccd68bd21e3e9c6dcea1796ebd57ce1a0c217c6a3577a34177de7be934731e470ad2f219cd1b0e3f836e51dd6a35eea5979fe9143d24bca6ac77d1ca78 +AUX flobopuyo-0.20-libs.patch 4683 SHA256 f8d09ce0a31e801cd52454bc4d7f78efd14a2d9caa327d8d2d74e77c01090e44 SHA512 5d68b1be731762057435e0a2201aa68ea1050b9260b54d80a0e0e43abc2a3571e8fe39029f018bdec951feabcd96e53cd577628104f6b552d46635dfb5c8cc2b WHIRLPOOL c50f5f4be2302a605028c14549fae895f74064ae5f6e9dc370c1cb5009dd8f177f0b65145694af01beece8365a0862658ad38fb3ff532f1600cda661c9049e01 +DIST flobopuyo-0.20.tgz 2949750 SHA256 be4c32e7fbeaae44278a920b7482fd8805dc142abd4384ee0c080c11d12fad31 SHA512 8ec7e690e53cfc171959663ef07912f2b23ae1842b72faa0125de8d6d2ad93672b9b4d68593b1f49f97c53a13409aca7bc5a598858fc7cff4698a4064ec95276 WHIRLPOOL 073c2a72ad2a8ad91d1be75431d8cb0d374fc31cc22ecc2a310e63a71218244be74c39b9eb9d1a4f997062080757e79ab17cc0b59a087306d28245a83592edce +DIST flobopuyo.png 25038 SHA256 d0ed25d8396e58be484d68e00c4c3828aa26f01566089c8a3b53772dff00f2b3 SHA512 6eca6fd1559d8ecb62b19be9fcaef2af1edb727154dd4e10f9f0f9ef9863d99c9445689bd64724cb5da0b251384efc491acfa40bf5105fa9bdcecad3f809ceb6 WHIRLPOOL 8e81689a9890b1a44c106e1f137ae880c65c709e02f26e6503bf9dff8c2b87a1fca328b80842b9b6bbce1d08d7bc1ddf361e8523ed7265c93468bfede4982316 +EBUILD flobopuyo-0.20-r1.ebuild 1126 SHA256 5a89ff788fdde7ec7e656d859dbfdcf74a12e7080daa320ada718888013c47e1 SHA512 e0c364962a962b38bd3e8d042dcc605228398c0f4d73ba75af4c1ecb576614b0ad4c51b3ac26bdaa384301289215556f24bd3be64dadf240aba99765453175b6 WHIRLPOOL 32b2b44c7ce98b9b91fbf3b690f322e18e4c9129c6138c517e18e11f11d42671924f06fc57643b81d468c6dff92755ef230cab7ed267ab844400868add484906 +MISC ChangeLog 2546 SHA256 78fde3618676897b353f2e2c0301acca9ff6c5eedc2aacfc0c293c9c609a8385 SHA512 5eff75f4cc820dcbf94880d5f9c9aa965131931350dd101a2f8906068d1f78747794f5b712b9969cfcc1f60f766d888c7cbf127a0853c3ddcc91ee38accc541c WHIRLPOOL 56d98c24e875a2f26a959cc2b7837434311be7e393350721b93b3532ebf8048c767288f26f921f8ae41f2a7e2d018e28615e0f416bb6802e27163e857e5dab14 +MISC ChangeLog-2015 2820 SHA256 4542deaa03d5a4e4e32cb2ade09b2a8cc4471b7bfb7cc9d65deb52391a86177b SHA512 c3f65f059d65d36fcc4334cc30efa3a66d2551456c2009292998da1da26cd4b1282b82c26e6fc6e2c0fd29d06e7200f742aa625eb612895ade59fd4c66658f22 WHIRLPOOL f2bcb7432ce7c1be846111a597a477cc9068483275986d76a835129f875ad253e0cd2819d71bd58f81bf95aca3774d37da6cf2bb70878ee56d3722c5d2375f70 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch b/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch new file mode 100644 index 000000000000..6c5d39445a4c --- /dev/null +++ b/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc4.patch @@ -0,0 +1,25 @@ +Index: flobopuyo-0.20/IosVector.cpp +=================================================================== +--- flobopuyo-0.20.orig/IosVector.cpp ++++ flobopuyo-0.20/IosVector.cpp +@@ -102,6 +102,6 @@ void IosVector::increaseVectorSize()
+ void IosVector::dumpVector() const {
+ fprintf(stderr, "Size: %d\n", getSize());
+ for (int i = 0, j = getSize() ; i < j ; i++)
+- fprintf(stderr, "elt[%d]=%d ", i, (int)getElementAt(i));
++ fprintf(stderr, "elt[%d]=%p ", i, getElementAt(i));
+ fprintf(stderr, "\n");
+ }
+Index: flobopuyo-0.20/PuyoGame.cpp +=================================================================== +--- flobopuyo-0.20.orig/PuyoGame.cpp ++++ flobopuyo-0.20/PuyoGame.cpp +@@ -45,7 +45,7 @@ PuyoState PuyoRandomSystem::getPuyoForSe + return (PuyoState)newItem;
+ }
+ else
+- return (PuyoState)(int)(sequenceItems.getElementAt(sequence));
++ return (PuyoState)(long)(sequenceItems.getElementAt(sequence));
+ }
+
+ PuyoPuyo::PuyoPuyo(PuyoState state)
diff --git a/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc41.patch b/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc41.patch new file mode 100644 index 000000000000..6b3f54ef5630 --- /dev/null +++ b/games-puzzle/flobopuyo/files/flobopuyo-0.20-gcc41.patch @@ -0,0 +1,13 @@ +Index: flobopuyo-0.20/PuyoGame.h +=================================================================== +--- flobopuyo-0.20.orig/PuyoGame.h ++++ flobopuyo-0.20/PuyoGame.h +@@ -46,7 +46,7 @@ public:
+ virtual ~PuyoPuyo() {};
+ PuyoState getPuyoState();
+ void setPuyoState(PuyoState state);
+- bool PuyoPuyo::isFalling();
++ bool isFalling();
+ int getPuyoX() const;
+ int getPuyoY() const;
+ void setPuyoXY(int X, int Y);
diff --git a/games-puzzle/flobopuyo/files/flobopuyo-0.20-libs.patch b/games-puzzle/flobopuyo/files/flobopuyo-0.20-libs.patch new file mode 100644 index 000000000000..64cd0335ce9c --- /dev/null +++ b/games-puzzle/flobopuyo/files/flobopuyo-0.20-libs.patch @@ -0,0 +1,136 @@ +--- Makefile.orig 2004-10-08 18:41:12.000000000 -0400 ++++ Makefile 2008-08-06 19:48:47.000000000 -0400 +@@ -41,15 +41,13 @@ + ############## + + SDL_CONFIG=sdl-config +-CC=g++ +-CXX=g++ + +-CFLAGS= -DDATADIR=\"${DATADIR}\" +-LDFLAGS= ++CXXFLAGS+= -DDATADIR=\"${DATADIR}\" + + ifneq ($(PLATFORM), $(CYGWIN_VERSION)) +-CFLAGS:=$(CFLAGS) `$(SDL_CONFIG) --cflags` -I/sw/include +-LDFLAGS:=$(LDFLAGS) `$(SDL_CONFIG) --cflags --libs` ++CXXFLAGS:=$(CXXFLAGS) `$(SDL_CONFIG) --cflags` -I/sw/include ++LDFLAGS:=$(LDFLAGS) ++LIBS:=$(LIBS) `$(SDL_CONFIG) --cflags --libs` + endif + + HFILES= HiScores.h IosException.h IosImgProcess.h IosVector.h PuyoCommander.h\ +@@ -71,46 +69,46 @@ + ################ + # Mac OS X + ifeq ($(PLATFORM), Darwin) +-CFLAGS:=$(CFLAGS) -DMACOSX -UDATADIR ++CXXFLAGS:=$(CXXFLAGS) -DMACOSX -UDATADIR + endif + + ################ + # Win32 + ifeq ($(PLATFORM), $(CYGWIN_VERSION)) +-CFLAGS:=$(CFLAGS) -mno-cygwin -mwindows -DWIN32 -DYY_NEVER_INTERACTIVE=1 -I$(WINSDLINCLUDE) +-LDFLAGS:=$(LDFLAGS) -L$(WINSDLDEVLIBS) -lmingw32 -ljpeg -lzlib -lpng1 -lSDL_image -lSDL_mixer -lSDL -lSDLmain ++CXXFLAGS:=$(CXXFLAGS) -mno-cygwin -mwindows -DWIN32 -DYY_NEVER_INTERACTIVE=1 -I$(WINSDLINCLUDE) ++LDFLAGS:=$(LDFLAGS) -L$(WINSDLDEVLIBS) ++LIBS:=$(LIBS) -lmingw32 -ljpeg -lzlib -lpng1 -lSDL_image -lSDL_mixer -lSDL -lSDLmain + endif + + ifeq ($(ENABLE_AUDIO), true) +-CFLAGS:=$(CFLAGS) -DUSE_AUDIO=1 ++CXXFLAGS:=$(CXXFLAGS) -DUSE_AUDIO=1 + OBJFILES:=$(OBJFILES) + endif + + ifeq ($(ENABLE_OPENGL), true) +-CFLAGS:=$(CFLAGS) -DHAVE_OPENGL=1 ++CXXFLAGS:=$(CXXFLAGS) -DHAVE_OPENGL=1 + OBJFILES:=$(OBJFILES) glSDL.o + ifeq ($(PLATFORM), Linux) +-LDFLAGS:=$(LDFLAGS) -lGL ++LDFLAGS:=$(LDFLAGS) ++LIBS:=$(LIBS) -lGL + endif + endif + + ifeq ($(ENABLE_DGA), true) + ifeq ($(PLATFORM), Linux) +-CFLAGS:=$(CFLAGS) -DUSE_DGA=1 ++CXXFLAGS:=$(CXXFLAGS) -DUSE_DGA=1 + endif + endif + + ifeq ($(DEBUG), true) +-CFLAGS:=$(CFLAGS) -DDEBUG=1 -g ++CXXFLAGS:=$(CXXFLAGS) -DDEBUG=1 -g + LDFLAGS:=$(LDFLAGS) -g + endif + +-CXXFLAGS=${CFLAGS} +- + all: prelude flobopuyo + + flobopuyo: ${OBJFILES} +- @echo "[flobopuyo]" && g++ $(CFLAGS) $(LDFLAGS) -o flobopuyo -lSDL_mixer -lSDL_image ${OBJFILES} ++ @echo "[flobopuyo]" && $(CXX) $(LDFLAGS) $(OBJFILES) -o flobopuyo $(LIBS) -lSDL_mixer -lSDL_image + @echo "--------------------------------------" + @echo " Compilation finished" + @[ "x`cat WARNINGS | wc -l`" != "x0" ] && echo -e "--------------------------------------\n There have been some warnings:\n" && cat WARNINGS && rm -f WARNINGS && echo "--------------------------------------" || true +@@ -121,14 +119,14 @@ + prelude: + @rm -f WARNINGS + @touch WARNINGS +- @echo "Compiling with CFLAGS=$(CFLAGS)" ++ @echo "Compiling with CXXFLAGS=$(CXXFLAGS)" + @echo "Compiling with LDFLAGS=$(LDFLAGS)" + + %.o:%.c +- @echo "[$@]" && $(CC) $(CFLAGS) -c $< 2>> WARNINGS || (cat WARNINGS && false) ++ @echo "[$@]" && $(CXX) $(CXXFLAGS) -c $< + + %.o:%.cpp +- @echo "[$@]" && $(CXX) $(CFLAGS) -c $< 2>> WARNINGS || (cat WARNINGS && false) ++ @echo "[$@]" && $(CXX) $(CXXFLAGS) -c $< + + PuyoDoomMelt.o:PuyoDoomMelt.c ${HFILES} + HiScores.o:HiScores.cpp HiScores.h preferences.h +@@ -155,10 +153,10 @@ + IosException.o:IosException.cpp + IosVector.o:IosVector.cpp + glSDL.o:glSDL.c +- @echo "[$@]" && $(CC) $(CFLAGS) -c $< 2>> EXT_WARNINGS ++ @echo "[$@]" && $(CXX) $(CXXFLAGS) -c $< + @rm -f EXT_WARNINGS + SDL_prim.o:SDL_prim.c +- @echo "[$@]" && $(CC) $(CFLAGS) -c $< 2>> EXT_WARNINGS ++ @echo "[$@]" && $(CXX) $(CXXFLAGS) -c $< + @rm -f EXT_WARNINGS + corona.o:corona.cpp + corona32.o:corona32.cpp +@@ -178,7 +176,6 @@ + rm -f .DS_Store */.DS_Store */*/.DS_Store .gdb_history + + install: flobopuyo +- strip flobopuyo + mkdir -p ${INSTALL_BINDIR} + mkdir -p ${INSTALL_DATADIR} + cp -r data/* ${INSTALL_DATADIR} +@@ -191,7 +188,7 @@ + chmod a+rx ${INSTALL_BINDIR}/flobopuyo + + flobopuyo-static: prelude ${OBJFILES} +- @echo "[flobopuyo-static]" && g++ $(CFLAGS) -o flobopuyo-static ${OBJFILES}\ ++ @echo "[flobopuyo-static]" && g++ $(CXXFLAGS) -o flobopuyo-static ${OBJFILES}\ + /sw/lib/libSDL_mixer.a /sw/lib/libvorbisfile.a /sw/lib/libvorbis.a /sw/lib/libogg.a /sw/lib/libsmpeg.a /sw/lib/libSDL_image.a /sw/lib/libjpeg.a /sw/lib/libpng.a -lz `$(SDL_CONFIG) --static-libs` + @echo "--------------------------------------" + @echo " Compilation finished" +@@ -207,7 +204,6 @@ + rm -rf $(bundle_name)/Contents/Resources/data/CVS $(bundle_name)/Contents/Resources/data/*/CVS + rm -rf $(bundle_name)/Contents/Resources/data/.xvpics $(bundle_name)/Contents/Resources/data/*/.xvpics + rm -f $(bundle_name)/Contents/Resources/data/.DS_Store $(bundle_name)/Contents/Resources/data/*/.DS_Store +- strip $(bundle_name)/Contents/MacOS/flobopuyo + + mac-package: bundle + mkdir -p $(macimage_name) diff --git a/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild b/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild new file mode 100644 index 000000000000..cfaf261a7bec --- /dev/null +++ b/games-puzzle/flobopuyo/flobopuyo-0.20-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs eutils games + +DESCRIPTION="Clone of the famous PuyoPuyo game" +HOMEPAGE="http://www.ios-software.com/?page=projet&quoi=29" +SRC_URI="http://www.ios-software.com/flobopuyo/${P}.tgz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~x86-fbsd" +IUSE="opengl" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[mod] + opengl? ( virtual/opengl )" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc4.patch \ + "${FILESDIR}"/${P}-gcc41.patch \ + "${FILESDIR}"/${P}-libs.patch + + find . -type f -name ".*" -exec rm -f \{\} \; + sed -i \ + -e "s:^DATADIR=.*:DATADIR=\"${GAMES_DATADIR}/${PN}\":" \ + -e "/^INSTALL_BINDIR/s:/\$(PREFIX)/games:${GAMES_BINDIR}:" \ + Makefile \ + || die +} + +src_compile() { + emake CXX="$(tc-getCXX)" \ + ENABLE_OPENGL="$(use opengl && echo true || echo false)" +} + +src_install() { + default + doman man/flobopuyo.6 + doicon "${DISTDIR}/${PN}.png" + make_desktop_entry flobopuyo FloboPuyo + prepgamesdirs +} diff --git a/games-puzzle/flobopuyo/metadata.xml b/games-puzzle/flobopuyo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/flobopuyo/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> diff --git a/games-puzzle/freesweep/Manifest b/games-puzzle/freesweep/Manifest new file mode 100644 index 000000000000..c1742a7e7410 --- /dev/null +++ b/games-puzzle/freesweep/Manifest @@ -0,0 +1,5 @@ +DIST freesweep-0.92.tar.gz 87353 SHA256 519c7405c131bd62db7534855fbb92b9cfcf511ded2bf4d2b94f1abaf86aa698 SHA512 9f7f33ba5fab62d1ea3a6a57b9a60323281c91255218afb51251c4e20500c123769f003ae1a3622205be34fa7cfe11b691e58ad8787782da4d0a7045d4f41122 WHIRLPOOL 7056a37755cb94b168e2e879925bcf436ea9431bed8580f4d0ed54a909329ff88c824fdcb01e5799f1a5d253b4ae42cc9e537adb8355a38e668ad1b72e8160fb +EBUILD freesweep-0.92.ebuild 584 SHA256 6c6a07b4bbe57de64b0b60a661f8c83f4cb0eedf915c8ee31caf2465958664f9 SHA512 0e837a3225d03e95e3c8745b03746aca29544eca0a832753c5d9463a0ea03413ecbeea12b3771cc0d5a7fc540ce65930e19ac2d7a1de7fa9e5602218dfed68f0 WHIRLPOOL 0f143dbe007d64098369d87c32165b35c47d3ace9ce62b79857a7acbee7441eb35109781bd623f51e9829de4527d0dded06126d38cc4b3356f04b1efff36a480 +MISC ChangeLog 2585 SHA256 2aad6e3a340d8a722b68461d43bb3597be5c124eb80cf82bea782d9eebb9ca91 SHA512 a664f911beaf46050880adb9ef6cd7bcd36e396933c20e8df7601ee9c7936311dc3c56535c253d6695f5a0ef8f3187e178f3aa52f0b806f8c10b5ab63fc8ebf6 WHIRLPOOL 7c097d5361e3b2964cc050ec89bcb19299bd3b056ee3a460213d60f3b978ab3fc0bb6a1227255c02e86679c4672c5a3352d23c3b58c7d66ebc5ec66bc605b803 +MISC ChangeLog-2015 1050 SHA256 697c764381ca0720f586a861c482244c12e25dbb350faff14738c73c171262cb SHA512 08d91189292735fef19dee81c6bf5bd774a444455f5e25c3c80f26524e6ce9bb051e593edd3f27adbb6212e977a6e2d9e79f34b1edc9a9e03bd09bb1c1a80b36 WHIRLPOOL 41af33846b57c08f6b917c5dec49ebc02a5467eb81e1efb6e3df37d03a50987ffc04e3fe2af435f40c3e4767edb7deaf98db14d8d3274a8e46dbafa1b385710a +MISC metadata.xml 330 SHA256 133e10680fb3de375e58f36efcd0c445200a7568a0c9ee0e02c28071e4e9ce35 SHA512 4df540d39a83e0bfc22135a1463f8bce474615410c58d5fab2e323c82c5e9b3d732428417da18a76c09bd4ca41e1f04b8d141e29743690eb38b4142ce3920a37 WHIRLPOOL e3768f80f0089695dc69c052f153435ae9b1de16c55705851760019b7d2822e2376ee29c724aa37b2598318952db79ae5948394e41c0d9f6b76bde4aa561db8f diff --git a/games-puzzle/freesweep/freesweep-0.92.ebuild b/games-puzzle/freesweep/freesweep-0.92.ebuild new file mode 100644 index 000000000000..b9a78ed5c061 --- /dev/null +++ b/games-puzzle/freesweep/freesweep-0.92.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs games + +DESCRIPTION="Console Minesweeper" +HOMEPAGE="http://freshmeat.net/projects/freesweep" +SRC_URI="http://www.upl.cs.wisc.edu/~hartmann/sweep/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~ppc-macos" + +RDEPEND="sys-libs/ncurses:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_compile() { + emake LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses)" +} + +src_install() { + dogamesbin freesweep + dodoc README + doman freesweep.6 + prepgamesdirs +} diff --git a/games-puzzle/freesweep/metadata.xml b/games-puzzle/freesweep/metadata.xml new file mode 100644 index 000000000000..7b6242aeadc0 --- /dev/null +++ b/games-puzzle/freesweep/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="freshmeat">freesweep</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/galaxis/Manifest b/games-puzzle/galaxis/Manifest new file mode 100644 index 000000000000..1da35991012d --- /dev/null +++ b/games-puzzle/galaxis/Manifest @@ -0,0 +1,6 @@ +AUX galaxis-1.8-gentoo.patch 1412 SHA256 714f17088cc59720236652f94114ca05068dc0cd01664e91f7ab4b0238ab6904 SHA512 110c500bdd46e7ea5fdd90bf93468e7560f9de7735b2f7b89f74ddd273d5d9afc1983891106103632429b73f3af16c667d7133987218ca7c5a7f5cceb1106301 WHIRLPOOL 7a03b9ec91a5c8f9ae424cdb89e3f81ddb5e64fd1e0f521607ca18e3c7d94991a13d59133e8f38a84810e0d594d5e90c0117cb20cf93f888c223cb36dd981c9f +DIST galaxis-1.8.tar.gz 8962 SHA256 bc36c7e5b1e1d96e5a8c6cdb117b3891833a99e99df709c5531c7d44009a8adc SHA512 9d4c7447827fea333ddec8a289d5d6415777379c7aab53fc2088418051f3a38c8abeceff2e8ba0472f792fac457345f2307b3f51c8366aa0b9affa37c3eee05f WHIRLPOOL 719323349e747473501fb4bd737cb7db8b719dd22e5dfc3d0f7acb9402618064206311101a466fa37037381781094b8c90348171e6b8d2f04b04539e96af72b0 +EBUILD galaxis-1.8.ebuild 596 SHA256 6ac2ef05e62c43c706d2dfdfef75e2d3bc6d57f14fb0a7d48cbffb607154769a SHA512 f987b1cfc754267eebebc4bfa366734219108f0aa112eed58ef6689c835eb018a0dd9105e0d548f7b612f6b1239ed1a9f649732522b78f99a9d744c8a56a41f0 WHIRLPOOL ff321a8456b20932dc9081f432414efa784272201b000d795c4b279cd0b32818598821795fbf7e524e87f23bb66aca353c918981a67587bbf18432c83c98ae34 +MISC ChangeLog 2798 SHA256 a1ad0904bce4a6822efa0157aa0a85f03c2ec93167ee8538ac952065520fc66e SHA512 f4e58eb273b981048863961e0a0360f9546a056718a436bdef08069561691e0258265424f5b7bbc52b02bd60b977258cbefb22a55448b199488f5d57895aadf1 WHIRLPOOL 7cd0a48442e575c5891e4e418bfcc630c4a3effd46c864fa5b5091825ab040af68269e10182cda2d63865317b8662874aaffd2c0a006d8ef86a8f66a3cae4b1a +MISC ChangeLog-2015 1775 SHA256 e97bc01a1cf2478a981da61a1d71898fbda82f76e1dd66a3f90c1f30f076144a SHA512 eb28f6c8a5046299d2e7a6a37bc2ff14c5ed5a112301d99178d27caa9be61c8374425125e794720fda6a697d13f02ba2cad6656699e9321ad90e94d30111d267 WHIRLPOOL 5fa8404982c60d436e8ca37addcf86651a709ce143744735060ad3c2798eb77eab5afadc7f6cb47d6137de31b65b914ffea88ab220b1e9412294357bf66f101e +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/galaxis/files/galaxis-1.8-gentoo.patch b/games-puzzle/galaxis/files/galaxis-1.8-gentoo.patch new file mode 100644 index 000000000000..abee05096288 --- /dev/null +++ b/games-puzzle/galaxis/files/galaxis-1.8-gentoo.patch @@ -0,0 +1,60 @@ +diff -ru galaxis-1.8.orig/Makefile galaxis-1.8/Makefile +--- galaxis-1.8.orig/Makefile 2010-10-19 09:48:58.000000000 -0400 ++++ galaxis-1.8/Makefile 2010-10-20 04:04:49.246650551 -0400 +@@ -3,9 +3,8 @@ + VERS=$(shell sed <galaxis.spec -n -e '/Version: \(.*\)/s//\1/p') + + # Flags for use with the Linux ncurses package (recommended) +-CFLAGS = -g -DNDEBUG # -I/usr/local/include -L/usr/local/lib ++CFLAGS += -DNDEBUG # -I/usr/local/include -L/usr/local/lib + TERMLIB = -lncurses +-CC = gcc + + # Flags for use with stock curses + #CFLAGS = -DNDEBUG +@@ -13,7 +12,7 @@ + #CC = gcc + + galaxis: galaxis.c +- $(CC) $(CFLAGS) -o galaxis galaxis.c $(TERMLIB) ++ $(CC) $(LDFLAGS) $(CFLAGS) -o galaxis galaxis.c $(TERMLIB) + + galaxis.6: galaxis.xml + xmlto man galaxis.xml +diff -ru galaxis-1.8.orig/galaxis.c galaxis-1.8/galaxis.c +--- galaxis-1.8.orig/galaxis.c 2010-10-13 06:13:31.000000000 -0400 ++++ galaxis-1.8/galaxis.c 2010-10-20 04:05:30.036888771 -0400 +@@ -8,6 +8,8 @@ + #define _POSIX_SOURCE + + #include <stdio.h> ++#include <unistd.h> ++#include <time.h> + #include <termios.h> + #include <curses.h> + #include <signal.h> +@@ -176,6 +177,7 @@ + (void) refresh(); + } + ++#if 0 + static void error(char *s) + { + (void) move(PROMPTLINE + 2, 0); +@@ -186,6 +188,7 @@ + (void) beep(); + } + } ++#endif + + static int rnd(int n) + { +@@ -644,7 +647,7 @@ + } + } + +-main(argc, argv) ++int main(argc, argv) + int argc; + char *argv[]; + { diff --git a/games-puzzle/galaxis/galaxis-1.8.ebuild b/games-puzzle/galaxis/galaxis-1.8.ebuild new file mode 100644 index 000000000000..5496729a8f13 --- /dev/null +++ b/games-puzzle/galaxis/galaxis-1.8.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A UNIX-hosted, curses-based clone of the nifty little Macintosh freeware game Galaxis" +HOMEPAGE="http://www.catb.org/~esr/galaxis/" +SRC_URI="http://www.catb.org/~esr/galaxis/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.3:0" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_install() { + dogamesbin galaxis + doman galaxis.6 + dodoc README + prepgamesdirs +} diff --git a/games-puzzle/galaxis/metadata.xml b/games-puzzle/galaxis/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/galaxis/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> diff --git a/games-puzzle/gemdropx/Manifest b/games-puzzle/gemdropx/Manifest new file mode 100644 index 000000000000..459ae29c2292 --- /dev/null +++ b/games-puzzle/gemdropx/Manifest @@ -0,0 +1,5 @@ +DIST gemdropx-0.9.tar.gz 903036 SHA256 e50495d292a1d456c28044efbf07c16d8865f8d95e1caba86f4c5b2e3fb1d28f SHA512 f99292f44575cb86c50e29f220d5fd358b3e6dd379148dcd764eac5bca5edcc49f88e119f9bebddb14017403985378f1bc07633c987556a9264f36ce20cc6fb2 WHIRLPOOL 05d0ce2cecbcbdac76dd4f60637ef875f647ec6387f0cac19ad4c099d396e019dda269ce344185ed1963f69eb08a3555050a287c01abe180d8b9b5386a0e86c7 +EBUILD gemdropx-0.9-r1.ebuild 972 SHA256 6c33cd0378ab26816174e245d41d8fc2fce93c3df64225b433e045c5bbc6aa1a SHA512 5679d97a383359d499f85b13ed424272a61771b93dc2938fc278402c0f863f57a85b483dbe5622b1bcc7c30d58cb97d7a31828858595f3c2172348ee084843b2 WHIRLPOOL 704b00c8411bc068ab73db39aa8f88d1268b3d67b5e43eb23fb2d4b7f34ed66623f1455a37bc70580c2ecc551bb6212dea2b2fb679ebd6116520cf29a7ef48c3 +MISC ChangeLog 2436 SHA256 c142c767f49f9b7c2af22b79e5938ead828e499385ad8c60502013b071ed1c07 SHA512 85fe4b87b433011fccb22c904f38c51dbeb08ac61a7bc970696ec86059845c48ee19bba0c676d8329e5af47f7628b28c54771c841b2081a43e26d46ffcd31afa WHIRLPOOL d44d02c6f1c0d8a9fed0819e72705a49fe154dc53c14e6a84044339d0916914c6ef42cb2a705f2ded19858f730f5f07e6a533d7b2f773c7195cf9cb4c3ae31db +MISC ChangeLog-2015 1381 SHA256 3c15dfe4882855bdae3872f6066c5e1002270f93189f74074ebce606e21c2a0e SHA512 3aea71b4022fa36d61b91ce996372537cf865a0fe0c1a1e4122d34b45b975542d79a5538203f1114206cb468248c9b563365f9d8b6f8acb01b5c84d6fd6153cc WHIRLPOOL 8af76167435afe32064aa51f90dd80306373cf7f70e54c69b488d9961cd54a5b0b3a8b3ef3fa7c6d2bea252c409e70f460bfccacd2f38f5eed46bd5de4b9a035 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild b/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild new file mode 100644 index 000000000000..d25caa2d89f9 --- /dev/null +++ b/games-puzzle/gemdropx/gemdropx-0.9-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="A puzzle game where it's your job to clear the screen of gems" +HOMEPAGE="http://www.newbreedsoftware.com/gemdropx/" +SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/gemdropx/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.3-r1[joystick,video] + >=media-libs/sdl-mixer-1.2.1[mod]" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/^CC/d' \ + -e '/^CXX/d' \ + -e 's/CXX/CC/' \ + -e 's/-o/$(LDFLAGS) -o/' \ + Makefile || die + + find data/ -type d -name .xvpics -exec rm -rf \{\} + +} + +src_compile() { + emake \ + DATA_PREFIX="${GAMES_DATADIR}/${PN}" \ + XTRA_FLAGS="${CFLAGS}" +} + +src_install() { + dogamesbin gemdropx + dodir "${GAMES_DATADIR}/${PN}" + cp -r data/* "${D}/${GAMES_DATADIR}/${PN}/" || die + dodoc AUTHORS.txt CHANGES.txt ICON.txt README.txt TODO.txt + prepgamesdirs +} diff --git a/games-puzzle/gemdropx/metadata.xml b/games-puzzle/gemdropx/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/gemdropx/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> diff --git a/games-puzzle/gfifteen/Manifest b/games-puzzle/gfifteen/Manifest new file mode 100644 index 000000000000..bb20beaea61e --- /dev/null +++ b/games-puzzle/gfifteen/Manifest @@ -0,0 +1,5 @@ +DIST gfifteen-1.0.3.tar.gz 525454 SHA256 049eec9eec2f857823f185a72c831d9bd8a1368a9965bd04796e1fe0553f5e6f SHA512 a3699a2484ec3334ec9489c6ae6d8b332e41a769c72ea2971684197f8eb9e6c30431232f3423aaa85ded0fa57410929d432b2efe4370409bdcc63f2fb0b31ae4 WHIRLPOOL 9dadd31972efd3bbf474c582aea4129dfe7105d10f5df2f93614df1b5e552a6754aea2cedfb3f8c2e05e2c0c97c75a78ce24b262f800da884d4bcdce0cc3eeb2 +EBUILD gfifteen-1.0.3.ebuild 918 SHA256 d491cd1c2bf302c00698103e8224e161263e2ae036a7d163a7e853c15074000a SHA512 f8041ca4d7ef322ea88de3e0480c77cfab09f1ff1ad7f108d812447b97a94882f9937bcfb9c2a030ee5287f907dd4460981eef8d00802e545dc27703a4de6dcc WHIRLPOOL 3e435f37a54f94d222695d1a4be8115bb4f51f1234d09eb6bd7506e7eaaf516c64a2e4a95062bc4d3ab4e86f6bd2ab064ff8b60914d9e8dc57ba3987bbf56fb9 +MISC ChangeLog 2434 SHA256 ee1de3d29f195a91643c4b93d8e3fc65f1b7945d6b184fe5a41fe45c4f7beff1 SHA512 3de1b37d61d48cc56073328186c1ccf220832b2afec539c45005cd73ec3b3bb58deac69d345ec32d4383b5f5d6b96e676d9e3873cf7448aadd4778879aacbdbe WHIRLPOOL 7f893513891dd2f2e9b66668966e8172ef77cab49e1c0494a912ff020a8629d29e055b63ad446dc356f181b603a2a7640b6cb4d240052b4265d3c14c7922344e +MISC ChangeLog-2015 1719 SHA256 b2d2a09996a0ca3c83d18fe48156803d87e1cb38ddae9acac9dc2fe58426edbb SHA512 670e2483d7a86e0448359bd3a555c1ae4606c621c3c61253a21f962918b03bad56df63f0ac072bb31aa69d4fcddf4c480bdb0356691159d1c23ac021c6a901cf WHIRLPOOL 517efdb098fb23c3fd8c3db9259a899affd7f20c288aa9f8f4560fc0965ee3399cfdabdcc01ccf0d3d1b1bea6705f64c9164423cc70aa970204acd5beac8a566 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild b/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild new file mode 100644 index 000000000000..69d83dc728f1 --- /dev/null +++ b/games-puzzle/gfifteen/gfifteen-1.0.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="graphical implementation of the sliding puzzle game fifteen" +HOMEPAGE="https://frigidcode.com/code/gfifteen/" +SRC_URI="https://frigidcode.com/code/gfifteen/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:3" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # make it compile against newer gtk+:3 (bug #536994) + sed -i \ + -e 's/-DGTK_DISABLE_DEPRECATED=1 //' \ + Makefile.in || die +} + +src_configure() { + egamesconf --disable-assembly +} + +src_install() { + default + doicon -s scalable ${PN}.svg + domenu gfifteen.desktop + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/gfifteen/metadata.xml b/games-puzzle/gfifteen/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/gfifteen/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> diff --git a/games-puzzle/glightoff/Manifest b/games-puzzle/glightoff/Manifest new file mode 100644 index 000000000000..dd73eed72408 --- /dev/null +++ b/games-puzzle/glightoff/Manifest @@ -0,0 +1,6 @@ +AUX glightoff-1.0.0-desktop.patch 402 SHA256 3be9bfabb64ecbecc52bbe7f1a3fb93b2844882451fd176916fa9e9c5492ea7f SHA512 4571865a471d210b5218775a09076bdc4003880e6683a245efeeba47a7e128822c11c6b1198fdfae21460900dce5fd747166c30f75c75d0322b1e8a68f7daa27 WHIRLPOOL e1bc378fdd69cd9b78c67fe82f598956488e7f202e7ba39f57d532cf8b6eeeecb440eb611a3ca2405f60b301ff0ad824e2d590a8d64deb8259a03824e6e5d2da +DIST glightoff-1.0.0.tar.gz 349274 SHA256 14dd3174e75c175b437cd5a6c8a9eddc29865b62c588463892031cd0a355938a SHA512 b3be7f65bfbb6b3affbddd20a12321ee401defb2bc0b64e58b5aed05d319e6ac51100cfa8dfb4beddb3c919deb9ee6931235dbc4183c12d3e501da5eb748ae94 WHIRLPOOL ce5506248de6f0174eb3b9bc3549a762ab48a6973a4068752d59056c1ff48329551a81fd8460a8eb263401b3e8fd6b3986d8ba2a4d1f12ffb167aa4a0152f1b8 +EBUILD glightoff-1.0.0-r1.ebuild 701 SHA256 bee3072bf087135751e2a38772dff3ad951d22f6e296a1a5d2a7705d05da8b46 SHA512 f7c13782892c531450cea695d331c0560efa579e7f9ce92f18c4ad3af1cc46c01b19d1030be394392de98c8f7dffbb85bd6523aa0c2f0f60c065883895052717 WHIRLPOOL 1782346357f16645d8cdee3cccf976e9bef39366aa1318da6b5505095983a1a30610993f7c527f54624a68397b612b6293828ad9f76be0ab56e4958ec9248a07 +MISC ChangeLog 2483 SHA256 ad929ed1007d81f706042ff705107eaf9b63b7d07bf733105259d33c51d69ac9 SHA512 2a99bc80d6d2ef37fae6a7f70882dd833a4a442d759ca58a75492bab6ff506a2cb0feb0994a6af0cc96b07451a47e2ea28ec21bb4f31633acf682c779f91bbae WHIRLPOOL 7fe75d7a4dbdc46f2b59d4cf0ab56f1a2a85d8b50b53d3256bb06e0291084be864fc88cece18ad210422b8f555c6e3b7c4f9f764aa46dea8223db170938b5384 +MISC ChangeLog-2015 1374 SHA256 d625dd54dc7581fda235786094428f6c48a0cfd004e2d9a44135db3d9f5cbb3c SHA512 c26ab3d4ab48260a013ca0e5ccb4479fe888225e9daad40770d6591d0e22a824f82108f4a85e397d8663a60f6b3f1fa845676cf6a2dc25b74351eccfdfd15f43 WHIRLPOOL 93b96df0dea7dbb2cd7aa170c723fb247db10c5068b12ed861056362831609aa6a517023bcf5b7c9e8a3066ca3b06136376ddf04ed0bc948433632ea951cd980 +MISC metadata.xml 332 SHA256 12440935be6018ab806e3abd3b55539f3035fd0231322682aefd618663731b05 SHA512 83debe37911969e2b45ad0ca5ff90684a7d7e3dc3fd4bb504aa537c3c7823b68131f8e919075c9e5806d6b29a8874086f3c69fbfbb1335898d241d8b46f70e70 WHIRLPOOL a534e85705b2498a360d8ff26ac3176fa6a7937b97551ba6a4c3e0e78680050eca83d1dccfb6271c6f5f8e979b4f4ef8a5ccf0af7aae4df3153c0f0d49de78bb diff --git a/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch b/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch new file mode 100644 index 000000000000..0d087d78df9f --- /dev/null +++ b/games-puzzle/glightoff/files/glightoff-1.0.0-desktop.patch @@ -0,0 +1,15 @@ +--- glightoff.desktop.in.old 2014-11-22 17:57:47.019838007 +0100 ++++ glightoff.desktop.in 2014-11-22 17:58:15.484321664 +0100 +@@ -1,10 +1,9 @@ + [Desktop Entry] +-Encoding=UTF-8 + _Name=GLightOff + _Comment=Simple Light Off game + Exec=glightoff + Terminal=false + Type=Application +-Icon=glightoff.png +-Categories=GNOME;Application;Game;PuzzleGame; ++Icon=glightoff ++Categories=GNOME;Game; + StartupNotify=true diff --git a/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild new file mode 100644 index 000000000000..6eaba0d97d5f --- /dev/null +++ b/games-puzzle/glightoff/glightoff-1.0.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="yes" + +inherit eutils gnome2 + +DESCRIPTION="A simple (but not so easy to solve!) puzzle game" +HOMEPAGE="http://glightoff.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + gnome-base/librsvg + media-libs/libpng:0= + >=x11-libs/gtk+-2.6:2 +" +DEPEND="${RDEPEND} + >=dev-util/intltool-0.29 + virtual/pkgconfig +" + +src_prepare() { + # Fix broken png files + pngfix -q --out=out.png glightoff.png + mv -f out.png glightoff.png || die + + epatch "${FILESDIR}/${PN}-1.0.0-desktop.patch" + + gnome2_src_prepare +} diff --git a/games-puzzle/glightoff/metadata.xml b/games-puzzle/glightoff/metadata.xml new file mode 100644 index 000000000000..a6bc0cedd676 --- /dev/null +++ b/games-puzzle/glightoff/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">glightoff</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/gnome-klotski/Manifest b/games-puzzle/gnome-klotski/Manifest new file mode 100644 index 000000000000..ab5988e3ca42 --- /dev/null +++ b/games-puzzle/gnome-klotski/Manifest @@ -0,0 +1,7 @@ +DIST gnome-klotski-3.22.1.tar.xz 1420512 SHA256 7860ab0aa1089a4e4573cd66498685638d58a312f30737456c5e27f1f37e2a13 SHA512 18ff2d4f728a0328cb4d640f21b469879960a5a8b0ecdecb76ad021aaa1abc0f179f7d68d8f48c5af4dc57f59e9028fb2b795db05cb1875ea406d86959cf349a WHIRLPOOL b1ea23a25689abac43c62656e0cb9535fa83015c4370ddfdd3d4cfaaff0fff9d3162ffb7a0018297d71b92308ae3d448ba7ec1f05737cbd78591ec166e654bca +DIST gnome-klotski-3.22.2.tar.xz 1423652 SHA256 90a85057a99f588003d2553f715a206e7a2e8ef52e808ae4250be600a6370d9a SHA512 2899f5ec1da545b5c42f30148c5a3a8b1043744df938aae0b69099144cad55a5dba93168138812e723414006dc86663379299ab4971d7b4da4da8fa2c04fef42 WHIRLPOOL 328bf8e1550237dae06213fe3742b0569ee7cde69001fec16d50516bd098e27d44ad8d7f2dc093bc5a50443bb4095f95c392ccd0f324702efcef95a8045f5280 +EBUILD gnome-klotski-3.22.1.ebuild 679 SHA256 d6fb19560c4e5dfaf8f4c09aa721793d9d2f892fb991340da95a168d894bf053 SHA512 c7a3f662954f9a8898ef590e154d67dfb38ff6eed2642c39e60009e236b913bba79a48cad5a9e3741c1165f10956f2d1ab98835b8177a338c7df3f2373dc34b2 WHIRLPOOL e71b527173cf71a839c4d19199d20ca9a873a1e44799dcfd888ab781624e7713959aba0a37cf2a0821e9d87b2c66ac7a217115efd65b2f0c19c9d9125842bafb +EBUILD gnome-klotski-3.22.2.ebuild 681 SHA256 77a96d33efa797f8af753f1dfabec1190bb676ab4f0918aa50439bea2fd2c665 SHA512 192ebba1e3c2a72ffeb55f7432cb1e4ecf61c2329d79534f1df8e21161b47d71a20a5faf3407fd87f0539261d11d8ac49fb29b02aff8f5196d1491c9da8c0944 WHIRLPOOL 4bfab95a78332749bb360e3a10f87bb209f2e844485377d8b44ed4f6ded2554bcf39b24df0fe607a0febc4c7f625612f7114daf23e58b38b1e3f434e99be942c +MISC ChangeLog 5452 SHA256 0258e536b0f66a90cef9a3351b83e92d78bc202011c1c3fa0d30c9d5a30f7503 SHA512 d22687b21c11d33a061241aafba3861c77dc1dec2fd718a87c0d01fbdd26b4293765a69fb7c01756e7358e111746dffdbd2017b5fa33858cddc3c0b4bcb69348 WHIRLPOOL 678f68ae972d2580ec8e2a0169e5271cccdbea99ffa6d696fedc619e5aadd5d4f3829921c8b012b9eb01635a467347b8fa932b229c5e5f225842a2eff27b31f3 +MISC ChangeLog-2015 2627 SHA256 d1148ae343eaa87ee9e5ffefeadf3373ecb79fe0d670b624f75de1699969942c SHA512 c20286513b81d6cd4d0de4326c9b45dc2926f9d68ef33a98977cf3e8e3864681d019e1185810cd01a9fa7503712b092cff05b5f0f740e0b9616174395b155b66 WHIRLPOOL 851098e4564025f71a60fdb083c63a310fc36f1797534f612c031e38f990c686f3f6b13361155572ac090672053f244230d8bb5790a6cd9bdecb5b3737473e74 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/gnome-klotski/gnome-klotski-3.22.1.ebuild b/games-puzzle/gnome-klotski/gnome-klotski-3.22.1.ebuild new file mode 100644 index 000000000000..dd197140a48b --- /dev/null +++ b/games-puzzle/gnome-klotski/gnome-klotski-3.22.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.28" + +inherit gnome2 vala + +DESCRIPTION="Slide blocks to solve the puzzle" +HOMEPAGE="https://wiki.gnome.org/Apps/Klotski" + +LICENSE="GPL-3+ FDL-1.1+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + dev-libs/libgee:0.8= + dev-libs/libgnome-games-support:1 + >=gnome-base/librsvg-2.32.0:2 + >=x11-libs/gtk+-3.19.0:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/gnome-klotski/gnome-klotski-3.22.2.ebuild b/games-puzzle/gnome-klotski/gnome-klotski-3.22.2.ebuild new file mode 100644 index 000000000000..3073fdaf7187 --- /dev/null +++ b/games-puzzle/gnome-klotski/gnome-klotski-3.22.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.28" + +inherit gnome2 vala + +DESCRIPTION="Slide blocks to solve the puzzle" +HOMEPAGE="https://wiki.gnome.org/Apps/Klotski" + +LICENSE="GPL-3+ FDL-1.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + dev-libs/libgee:0.8= + dev-libs/libgnome-games-support:1 + >=gnome-base/librsvg-2.32.0:2 + >=x11-libs/gtk+-3.19.0:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/gnome-klotski/metadata.xml b/games-puzzle/gnome-klotski/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/gnome-klotski/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/gnome-sudoku/Manifest b/games-puzzle/gnome-sudoku/Manifest new file mode 100644 index 000000000000..a41b9b2d4c24 --- /dev/null +++ b/games-puzzle/gnome-sudoku/Manifest @@ -0,0 +1,7 @@ +DIST gnome-sudoku-3.22.2.tar.xz 2884852 SHA256 08c48ba0ce3497727e5e19b086d28258e4bab61834c2f7e23fce256685a5e2eb SHA512 4f25848490d3ca1c9a777f7eaf183797c2cff9159851145520ea68d280e46743f5a0f24d5e7290c45d5d5b272ed7cd4d4748116bc573bd117638b620981f6069 WHIRLPOOL d2b14560e3c887243cefea276710df97d4bba3c12a6efe368dfc208bf8d078d0ca993f1f4fd98d6a3eaf8983b1a02332e01511a76e00377e042e5783e65bdfd8 +DIST gnome-sudoku-3.24.0.tar.xz 2890256 SHA256 04a29447889448ee5d5840cb5b2fd05ce6031c38a24809ce4919647ee6f485d7 SHA512 3e00726be6ceebe6107f0e7c1100e1072f815dcaf0f4d5f2ce5cf75ae0393457aead001fe8b43420d20ef6e09bc8a7d6fd79d8aaa72a87c21e7c9f8d18ee0809 WHIRLPOOL bb1b4dcd27c0741fdf9e1a8a01a5d3a50c0581291eb3310565c0c7f3f2061f49c8f2eeadeb76cff0d9323c56c3356017052ed66ad1a5180dd8bff03dd4ab0a4c +EBUILD gnome-sudoku-3.22.2.ebuild 772 SHA256 83834ad4655f708e983a3ce68f4da522c21e42481d62063882c407e1c5cd0b33 SHA512 d9ccd40508c807d91a5b77c9bb3e7699d36cd06b299889d0d546a4e7175e2062a730e15712ac31de96d0c5837887398ad33ef44cc06e36ea0a30615ecdd5ff4e WHIRLPOOL c6f855141c3e4918dc28d2d46c9433c6dfc5f2bff4b92dd45c1982f1bd2d62eddbe5f90c96c887fe6ab8a8111875602118d6b3c00777918d8cc0fb124f0653e8 +EBUILD gnome-sudoku-3.24.0.ebuild 774 SHA256 bee95d744aff801046164550a5f23b78f6a1d395a0e3a1b4c5e49003da1b7be0 SHA512 ae2effb18439edefd5af6b934baee301e46f0a75bc72e5583faaf82dd05cd4ed0b34aa5f2d1467504c83f2f9530eba315c303c120fe22ac2d043265f8f218e03 WHIRLPOOL 67814ac3580168f2a778a62174391c39350518ffdb054973d10cb5ba80cf789ecbca8dffd74286cdceda0d1e270a696c0a22800c683d8a887bef9c81ed060133 +MISC ChangeLog 5566 SHA256 9bff95ec1c59ba26d7153c4f084a502ea0174af8072e7514a4f172f4f6ae3cef SHA512 416c3e701e41980a5972d588def910909e3510535bc80fef35898dc62b489989891bbb2ed7bd0f992c9b447aedbd392b968643d9f91a006931702ba8d40156b9 WHIRLPOOL e14362fec846c0481deeb91be478d9186f79cb0bd951e858438aab3d56de4b9d05a197fd39d61b30d6b72b256cf1af3f3def8ba61c26a003787c42b00b8f32b7 +MISC ChangeLog-2015 3778 SHA256 9971f7a0b314b9097881ba2cdb98039b4a2c1f49629d3fb9dc31391908ae4d6b SHA512 49745861d72b91bced186992263bcc63c13d021676809ae71833865d3dd4ebe025187be0a39941af41091b6ca4642423cf48d3d42b652cf9b29ec8bd03da06bf WHIRLPOOL 6ea326062742eceb2d52b0924315bc504c0546767bf6b9f54eac7810eaf20fbf7f12ca09784e7272b8bfe5b163a2c2d54a87b61039ab97c5244fd3a9dc33076c +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/gnome-sudoku/gnome-sudoku-3.22.2.ebuild b/games-puzzle/gnome-sudoku/gnome-sudoku-3.22.2.ebuild new file mode 100644 index 000000000000..a6275aec895e --- /dev/null +++ b/games-puzzle/gnome-sudoku/gnome-sudoku-3.22.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.28" + +inherit gnome2 vala + +DESCRIPTION="Test your logic skills in this number grid puzzle" +HOMEPAGE="https://wiki.gnome.org/Apps/Sudoku" + +LICENSE="GPL-3+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40:2 + dev-libs/libgee:0.8=[introspection] + dev-libs/json-glib + >=dev-libs/qqwing-1.3.4 + x11-libs/gdk-pixbuf:2[introspection] + >=x11-libs/gtk+-3.19.0:3[introspection] + x11-libs/pango[introspection] +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/gnome-sudoku/gnome-sudoku-3.24.0.ebuild b/games-puzzle/gnome-sudoku/gnome-sudoku-3.24.0.ebuild new file mode 100644 index 000000000000..be06e7d13d8d --- /dev/null +++ b/games-puzzle/gnome-sudoku/gnome-sudoku-3.24.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.36" + +inherit gnome2 vala + +DESCRIPTION="Test your logic skills in this number grid puzzle" +HOMEPAGE="https://wiki.gnome.org/Apps/Sudoku" + +LICENSE="GPL-3+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40:2 + dev-libs/libgee:0.8=[introspection] + dev-libs/json-glib + >=dev-libs/qqwing-1.3.4 + x11-libs/gdk-pixbuf:2[introspection] + >=x11-libs/gtk+-3.19.0:3[introspection] + x11-libs/pango[introspection] +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/gnome-sudoku/metadata.xml b/games-puzzle/gnome-sudoku/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/gnome-sudoku/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/gnome-taquin/Manifest b/games-puzzle/gnome-taquin/Manifest new file mode 100644 index 000000000000..a3c7c773682a --- /dev/null +++ b/games-puzzle/gnome-taquin/Manifest @@ -0,0 +1,5 @@ +DIST gnome-taquin-3.22.0.tar.xz 5030156 SHA256 780af247856b91095a9a2e1a6b425e4e3a78520659e2157eddb421377e8ce982 SHA512 9fbfa651b2546af16ca215ce0edb4466dd3663c90bf1c130c983422a0c5860f6146db97f7d9095b727d99ee98496e3bdb02afe46c9ced66672435638ba49788a WHIRLPOOL b8250fc566a2028162692a0d564a274b1c34d6f4e54401836d7551b9b10315e044ab0032e1973b54302c8eb1191121c8f4dab26fef632c8a3e89c022bf2df383 +EBUILD gnome-taquin-3.22.0.ebuild 681 SHA256 256e56e99968452749245e0f4c288ad17d11d213dd03042548e22561e26e3338 SHA512 0ae6e60c94c1973c9cbe4fb842349925e15e279ddddb17f6d8fb1d9eff6da09ef501d7ed5d2e997ecd9760af0a368f25ae21738bd9b072ef59bd976dec9eb18e WHIRLPOOL 8b54645f6a7eeb54dfa81dbad29369dd4b40aa3e3699d2b7c551eba0541507e5dd5086cfb4cbdf64c3839669a741e266179937840eb2687c4d4ca38c2bea1676 +MISC ChangeLog 4337 SHA256 f6149182bd3a0a84bf8c52cc8b4e1046d794eda320eba7709b84845d1a5a9205 SHA512 980f35ab91739ece83894b60e8be91a98d9837b0dff591006d84ed5c131d1cdb19366e179052c7d3c842b3b1bca7e730f3f106f1b494f5d5a5a0550393085796 WHIRLPOOL 705d6a80376586955cca2eb2f8f529da8156479bd2e82b3eb5171dd46630a67bcab416ad30c92bb2eb897a5cb957255a1cb402461b637895da72e31758a4b8dc +MISC ChangeLog-2015 522 SHA256 5bcd14c6cf73dbeb460564d652d3a1af47dd872941396bef021f8c8cc92d97e1 SHA512 659f87e8dc6dc16b471051b084b868a6964e915f467bcfc4b2ef2e092f14d62dc6ef41768eb6b61e963008aeb7905d548e42b78b86ef494446ebc906b5f130ef WHIRLPOOL efc4386270032c81b829b074f3f8fafc82eafaf8df35591167bf1db1251d48d2335c7f94a57eea2e674375f5ef34e5156fdd710c675c446793c49187261346b1 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/gnome-taquin/gnome-taquin-3.22.0.ebuild b/games-puzzle/gnome-taquin/gnome-taquin-3.22.0.ebuild new file mode 100644 index 000000000000..6cba03479009 --- /dev/null +++ b/games-puzzle/gnome-taquin/gnome-taquin-3.22.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.28" + +inherit gnome2 vala + +DESCRIPTION="Move tiles so that they reach their places" +HOMEPAGE="https://wiki.gnome.org/Apps/Taquin" + +LICENSE="GPL-3+ CC-BY-SA-3.0 CC-BY-SA-4.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40:2 + >=gnome-base/librsvg-2.32:2 + >=media-libs/libcanberra-0.26[gtk3] + >=x11-libs/gtk+-3.15:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/gnome-taquin/metadata.xml b/games-puzzle/gnome-taquin/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/gnome-taquin/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/gnome-tetravex/Manifest b/games-puzzle/gnome-tetravex/Manifest new file mode 100644 index 000000000000..c47614b3a614 --- /dev/null +++ b/games-puzzle/gnome-tetravex/Manifest @@ -0,0 +1,5 @@ +DIST gnome-tetravex-3.22.0.tar.xz 2170464 SHA256 0a6d7ff5ffcd6c05454a919d46a2e389d6b5f87bc80e82c52c2f20d9d914e18d SHA512 d4497fae7e2c95f6d6e26b72690c86ec12250ccc6136f02436a53fa285215415a471d91f2ded10690faced6f6f856218750eb76313d368863a7a31afd02a9d2d WHIRLPOOL 28368709f9b326476a55e38702b4348b643f604dff8a98b0fc1a20ad5eb2b61748ff9b57f8c751e3edfa59f5f418d8f572be9ffe0c741fdf8292fa4b620b73ff +EBUILD gnome-tetravex-3.22.0.ebuild 615 SHA256 b28884ed67b96fbf22927fbb61d2b553f28335937d816721a7f8486cb92704f6 SHA512 d8bb6588b321314a3895252aa0847901c18e1a132cd2e6bc07b1f63476182ab969750d8491409192bf9895c5a25c9e33d0b626c66d089d3bc9015d0bbee2266f WHIRLPOOL fa572b47eddb79d3530291cf75e66e1342fbf538e9346b26d716554bec4fe0d3b55101ff38c66b8a69225da6efb5c3c56ce607db4b8cc7558425f42640a3aa73 +MISC ChangeLog 4627 SHA256 c901ad6ad323156402f18e4b9e79f1e0e748a705ef2e5910040db2d56788c49b SHA512 ee58852b1cd46f1226f8bc0e59436e22ebccdb326d0f00f2d97c695e336d6632790660d5498e9e947a0ec6cd2e8b83f779e4d750920f8803c713598debcb6621 WHIRLPOOL 3738fdc48fe0e94a601b2d647709db290f51c1e77ca24abac46cddc81133db2e0f4d7fe81ea6e6f6facc7f2d52408900eb0432e388458cf0a425b2bf89a3df31 +MISC ChangeLog-2015 2657 SHA256 21afad1a07d00cfedf2fdebe78f52b76e291c7e74ecf7258311b3dc7e1f58491 SHA512 fedb7148b16f56fb91f5e11819c09731d35d509348c468fc7c5e8ca89c975ba5cf1ff1f78ee2fca6a2cf94c4405253c95856fc4e79f154ef9a14262fc667077c WHIRLPOOL 8a6834f8cef750e0ec59d77a56d8f55e21deaa9a48af7a773e70b5f50147fcef9ef5d222d3cbf4d12b28f964d9d12908783f57b0b8f4ac9f286089e7e2c372f5 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/gnome-tetravex/gnome-tetravex-3.22.0.ebuild b/games-puzzle/gnome-tetravex/gnome-tetravex-3.22.0.ebuild new file mode 100644 index 000000000000..73045c053f32 --- /dev/null +++ b/games-puzzle/gnome-tetravex/gnome-tetravex-3.22.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.24" + +inherit gnome2 vala + +DESCRIPTION="Complete the puzzle by matching numbered tiles" +HOMEPAGE="https://wiki.gnome.org/Apps/Tetravex" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40:2 + >=x11-libs/gtk+-3.13.4:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/gnome-tetravex/metadata.xml b/games-puzzle/gnome-tetravex/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/gnome-tetravex/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/gnudoku/Manifest b/games-puzzle/gnudoku/Manifest new file mode 100644 index 000000000000..62b357db204d --- /dev/null +++ b/games-puzzle/gnudoku/Manifest @@ -0,0 +1,6 @@ +AUX gnudoku-0.93-gcc43.patch 321 SHA256 bc2b171a50e22f913c78c9c5e957bd66eafa93d756c759b371189a8abc22276e SHA512 2d4286187e8f5314a19263073cc3b9bd1e5eb68b243d4d7695ef37fee7004a95111ec3420c434d4791b8d6d0a8facb36f02c2dd6ea2f6d012ffbb17816572e04 WHIRLPOOL 56fa981e1bc5a27bf563f57f692d9270cc2bb7ac05092bd0446498df7f5b9f805275a508e9bb1f436ec62b0c314b44a2d4299dacf477717b60cf8f65579de7f2 +DIST GNUDoku-0.93.tar.gz 26212 SHA256 409b18d525c37660a117d786fe537672c7f58b7f01e2c37dbc1cdf339661075d SHA512 124bde796149136320758de5088f7d177ec8a4ffe03190f22bd8b228c00d1adb790450c760110e14d1cc9bf70f7dd54477405582c313c91e8da97d39c8fc55a6 WHIRLPOOL 828632a90600ed64bed9fc8972b0826f3effda4975758c16023907b3cb47ccc4e55b848643675bd3528808b753e5442385bcd6421c21579bcc32ca254055e55f +EBUILD gnudoku-0.93.ebuild 878 SHA256 c58b8ddfc20285ae2b95b9599aed9a8486e429246d4e953bb2a5e09bc315edbd SHA512 378fd74930ac8e399e479a1d30dfb205adab6b5ebd7b2ba94e9ab1ac4b21df2c3bd19c7d2994390115975dfe39183b188aad376b87e28e7af16a00668862ad92 WHIRLPOOL e11e7389a727452693b9f4b89fe7191671f7c6b1ab52de8399a93e8a98cea9495d62a61e814dade1a47e283dfe4b660fb7e50031ca4171571d6d84ef1fa953e0 +MISC ChangeLog 2609 SHA256 2963c3c824f1e732eb6798981a0d3f11bdd3cb03dc7eede1aa7c08e3395ae894 SHA512 0b66fab564f99544380c8123981535a4b2221457072fcf7b186adacbefe439f8823d27042b22547454fb3714c623fe9eda9c08aa4161819a007d8f13bbf90c25 WHIRLPOOL 6133ee55146d0c8fabda4e74f167280b65d2ebdc575e60cb4082c1202e7dbfe7ee55ea756ed0d05ca5f737db97978f87cbc6c6a087232d4d1397e4726f430f64 +MISC ChangeLog-2015 1826 SHA256 7ec726a2a86b8ce92f194e002512669299931a72542ab7a4adae3961aac9e886 SHA512 c6c034310047e58a2d12d00de76f3de32f4666b8a4b579d24151e1992a5d2168cfd3f15a676a84a4aab4db8cf91d57b4d50d835166982cd0f94d2370f1c6ce43 WHIRLPOOL d38e881bde3a838a44bfeae89dab600cbe55808c865aaa6135091c845f9946d94aea032ed61b2873baecfb3d924c47c51e274fc59bab2114d4eb313651af2092 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch b/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch new file mode 100644 index 000000000000..69dd08c3e8b0 --- /dev/null +++ b/games-puzzle/gnudoku/files/gnudoku-0.93-gcc43.patch @@ -0,0 +1,20 @@ +--- GNUDoku.C ++++ GNUDoku.C +@@ -25,6 +25,7 @@ + #include <cstdlib> + #include <cstdio> + #include <ctime> ++#include <cstring> + + #include <vector> + #include <cassert> +--- sudoku.C ++++ sudoku.C +@@ -10,6 +10,7 @@ + #include <cstdio> + #include <cstdlib> + #include <ctime> ++#include <cstring> + + #include <map> + namespace sudoku diff --git a/games-puzzle/gnudoku/gnudoku-0.93.ebuild b/games-puzzle/gnudoku/gnudoku-0.93.ebuild new file mode 100644 index 000000000000..6e17e6575db7 --- /dev/null +++ b/games-puzzle/gnudoku/gnudoku-0.93.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 flag-o-matic games + +MY_PN="GNUDoku" +MY_P=${MY_PN}-${PV} +DESCRIPTION="A program for creating and solving Su Doku puzzles" +HOMEPAGE="http://www.icculus.org/~jcspray/GNUDoku" +SRC_URI="http://www.icculus.org/~jcspray/GNUDoku/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="test" + +RDEPEND=">=dev-cpp/gtkmm-2.6:2.4" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch + append-cxxflags -std=c++11 + sed -i \ + -e "s:\$(CXX):\$(CXX) ${CXXFLAGS} ${LDFLAGS}:" \ + Makefile \ + || die "sed failed" +} + +src_install() { + dogamesbin GNUDoku + newicon GNUDoku.png ${PN}.png + make_desktop_entry ${MY_PN} ${MY_PN} + dodoc ALGORITHM Changelog README TODO + prepgamesdirs +} diff --git a/games-puzzle/gnudoku/metadata.xml b/games-puzzle/gnudoku/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/gnudoku/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> diff --git a/games-puzzle/gnurobbo/Manifest b/games-puzzle/gnurobbo/Manifest new file mode 100644 index 000000000000..b9257c6f7660 --- /dev/null +++ b/games-puzzle/gnurobbo/Manifest @@ -0,0 +1,6 @@ +AUX gnurobbo-0.66-underlink.patch 854 SHA256 7cafac863a650c0f76aff1912ad4011f99b81ac9a1178db7fe5eac5a4d76862f SHA512 ceb1b173aec2302de8639cd150cae038e14454bf82cdd2389c2c6a183c17e74090c1e1af9023a54d8d53e233ddb996b1ecb73403caba2962508e2f791012b355 WHIRLPOOL 8f6db34683019f938448256368a4ff9c3c706393749979bea38d99717e2a509315920d528c30f3947cf8882de116ea30c206a630a42017c573259f16f91019f2 +DIST gnurobbo-0.66-source.tar.gz 1765034 SHA256 54d2418f49e52b8f49631eb93af7789074b628d308a6d26b00cc795ad0b04d89 SHA512 5f217ba87e8d1c56d9630cca44bde8d405c93929ebb1722c80955fceedec93a5e02ab3dbafd557c3cbedd63a97a73abe6e8aeff115931844a11f6cc1dd00533c WHIRLPOOL f51fd6d27b73dea701d7f3e1b520012f7dafbb40003550c67e34e6c6c46ecf7e910bfb1648b86c9d471d908168a97dded4b042f76f046484eb0d685a651c4e28 +EBUILD gnurobbo-0.66.ebuild 960 SHA256 508b47ff0211ad303cd8c76e1307dcea59268fb5f0b5ad09325da3553e6667d3 SHA512 aabf823f9d9621a4143c5da601f5d7a997a624f0a142f26f6eba0a6e2a167a3b4e0857f4474b03a1f45963d8170e9cadfd265ad352e4ca0ea23ba32cc89803e2 WHIRLPOOL a0ab75dd33c06d8b4d4572a383415242eed82fc808ab2b39dbd4f3059b9240e348bedb06c2ec106b68e3ac6900e1d6e42e148fa65d97210e1d34d761e2a6e666 +MISC ChangeLog 2613 SHA256 4bd50143fe9a0c22061470ed465c436ba18b03d8a5ce58a74e84a9d20cba7112 SHA512 188cf857718f6d4c566b1c9839863c8e26deb81dbd48575d20992867b426c3852c0f1594b751294792eb83e2c726fd7c89468936dc3ae375a8fafdbff2934628 WHIRLPOOL 7ea1a85df22275f5090ffcb93622b07cbbbb628574fca3e3fe0496568ae20f52b630aa60b82aad7586c5ade1911d41f0f00ad0d487ef2de492c8c6eb7f960a30 +MISC ChangeLog-2015 3134 SHA256 e3e34a73730fcec3ec4053cc0c0128e3f2726e7590e334538eff87b40a2e5f69 SHA512 1f8bbd1937f369b1af9d9d8522813cc8df37d45101a4ffa702c8cc63bc1b13c9a9c8b342c7d56955bba688e34cf65ea288f424c7868b2234bb10815d28218785 WHIRLPOOL 717646db750a452c78c2afb33bd51d47592ea1257609eb0be12499fd60cf1172ad4fae38919aed269ce25b99f04c747b3409cacfc041cbc780e8295c8454c93d +MISC metadata.xml 331 SHA256 be132af6d6e2a7649e1dfeb0f13db56252471044a91634957d3889bae2119ead SHA512 56663c15b5d9135317f5cfdef851959613abd44ced462fc3429540a76be55970f831bfc284d2fe06ace79ea98586109bc64489ba9d12fab9a0909186f40365da WHIRLPOOL ea9df6d2cff93ac79b85296bb31a71c966f0760a36d41f208d32b7ee9bf78b9973d9aa1f24131ab8fd42b7eaa58277d0654cc66d75cc5e6cebbe45b8c4b31f10 diff --git a/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch b/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch new file mode 100644 index 000000000000..9034a6fac0e2 --- /dev/null +++ b/games-puzzle/gnurobbo/files/gnurobbo-0.66-underlink.patch @@ -0,0 +1,18 @@ +--- Makefile.old 2011-06-20 21:19:49.578922392 +0200 ++++ Makefile 2011-06-20 21:20:28.535421648 +0200 +@@ -39,14 +39,13 @@ + CFLAGS?=-O3 -pipe + CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \ + -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER) +-LDFLAGS= + # Use these instead for debugging and/or profiling (mainly intended for GNU Robbo developers) + #CFLAGS?=-O0 -pipe -g -pg + #CFLAGS+=-Wall `$(SDL_CONFIG) --cflags` -DPLATFORM_PC -DVERSION=\"$(VERSION)\" \ + # -DPACKAGE_DATA_DIR=\"$(PACKAGE_DATA_DIR)\" $(FONT_USE_PIXMAP) $(MUSIC) $(DESIGNER) + #LDFLAGS=-pg + LINK=$(CC) +-LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF) ++LIBS=`$(SDL_CONFIG) --libs` -lSDL_image -lSDL_mixer $(FONT_USE_SDL_TTF) -lm + + # You won't need to alter anything below + all: $(SOURCES) $(TARGET) diff --git a/games-puzzle/gnurobbo/gnurobbo-0.66.ebuild b/games-puzzle/gnurobbo/gnurobbo-0.66.ebuild new file mode 100644 index 000000000000..5f2da4041d8c --- /dev/null +++ b/games-puzzle/gnurobbo/gnurobbo-0.66.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Robbo, a popular Atari XE/XL game ported to Linux" +HOMEPAGE="http://gnurobbo.sourceforge.net/" +SRC_URI="mirror://sourceforge/gnurobbo/${P}-source.tar.gz" + +LICENSE="GPL-2 BitstreamVera" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video,joystick] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-underlink.patch +} + +src_compile() { + emake \ + PACKAGE_DATA_DIR="${GAMES_DATADIR}/${PN}" \ + BINDIR="${GAMES_BINDIR}" \ + DOCDIR="/usr/share/doc/${PF}" +} + +src_install() { + dogamesbin gnurobbo + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/{levels,skins,locales,rob,sounds} + dodoc AUTHORS Bugs ChangeLog README TODO + newicon icon32.png ${PN}.png + make_desktop_entry ${PN} Gnurobbo + prepgamesdirs +} diff --git a/games-puzzle/gnurobbo/metadata.xml b/games-puzzle/gnurobbo/metadata.xml new file mode 100644 index 000000000000..446252dcc733 --- /dev/null +++ b/games-puzzle/gnurobbo/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">gnurobbo</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/gottet/Manifest b/games-puzzle/gottet/Manifest new file mode 100644 index 000000000000..12a4821f2aef --- /dev/null +++ b/games-puzzle/gottet/Manifest @@ -0,0 +1,5 @@ +DIST gottet-1.1.3-src.tar.bz2 395302 SHA256 ff8111c9760091980d12bc116ff75599d231437fea6a9313e7ab1bd0b2a15e1b SHA512 9fc468ca16a37eee29d2c172e8e98501c85dc20bee4e9daac2704a0eedb691d8df24905f2696a9331628bf9c91692da0fbbf86e3f80b6d65d4100aed2e4007a6 WHIRLPOOL 5ff45e2ee1a5017c71cb33af2b52bbf267a04a861735a286ee6b92082fb9a6739fc22ecb405e944dfebd74348dff890f5cf652fe3ae37037499d8dacc5858057 +EBUILD gottet-1.1.3.ebuild 642 SHA256 0ef363a5ec71315d03cedbabbfe2b71894c8f3003a9ffbb41ce29e6f3b4ecc13 SHA512 184b85a1f6a1c083008db196567b2a7ea1ea7f726291733c12ebf077ce110a938cf88c61bf1b3127d4964bf175bab1e608b04728527a1f3348dcbf8b719727e3 WHIRLPOOL 5566e4fed9eb19fc85685292bad95f4922d5a2ac58e69f3575ad3db3bcbdcbde19f1183ceac3850ae60b73ea3ab435a5244542f279c7a23c02b864566aefbd0b +MISC ChangeLog 2619 SHA256 ce8b32f17eee09bfb498c0e1ee0791d9862450b7a4ee04418bff141bd97c939e SHA512 8a3c96bb76680492b72aaf09a382b917e7ec06a3e75fa78897172d7443c2b7d92392ad58044960bce3d4cd4af6ff21d7e4e386d3616cd35d2bb3ad3f17730839 WHIRLPOOL eb93ce510cba1322db60aa860dcea7917bb7458b1d2d784f776ae5f64fdcab9dafa8c4c301b8710c6ead2b0de64d52dbfeac7e597205c4fed0f71adbdd663beb +MISC ChangeLog-2015 1897 SHA256 6ba51b4d0d7ff24588eef9342e26a59d08079a28794374b64c9574ba7c8ec8cf SHA512 2eb5e416539a126a3046018e47b6600ab6923910c4d07508d7e3cc33c98d3425c3bbe77794804375810a15d6ad2ebd4d03386b67d14eebbd83236822d778be21 WHIRLPOOL 61787bb9240a5b86bc89bace92eb040512393720203402e00bd8a839124016b18836cb01f81fc9eaa2e07ceba3ef74f5e20cdc5b3faddfe0e48ba7b62bf59bb1 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/gottet/gottet-1.1.3.ebuild b/games-puzzle/gottet/gottet-1.1.3.ebuild new file mode 100644 index 000000000000..3a021646c64c --- /dev/null +++ b/games-puzzle/gottet/gottet-1.1.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils qmake-utils + +DESCRIPTION="A tetris clone based on Qt5" +HOMEPAGE="https://gottcode.org/gottet/" +SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_configure() { + eqmake5 PREFIX="/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/gottet/metadata.xml b/games-puzzle/gottet/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/gottet/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> diff --git a/games-puzzle/greedy/Manifest b/games-puzzle/greedy/Manifest new file mode 100644 index 000000000000..e77ee1c4a2dc --- /dev/null +++ b/games-puzzle/greedy/Manifest @@ -0,0 +1,5 @@ +DIST greedy-0.2.0.tar.gz 13152 SHA256 31929c41e6871698fbe2d259419fe2f31e8d4530568ccbc45a03783de970f321 SHA512 07376d003193244d336909f6336d68c4ce0f1e15388f28cc8e50121856b1f341f46f2aeba6e09118063b27d572916b4f596b75354543df3a72930a44b6b6f8ac WHIRLPOOL 68cf565dd509f37ba3a8f07c00e03813a8f3fa575a88f70a6e6d97777acfcae8cd4f7cdc6d965bfc35d9871e3d8893d519afdc0203f8914518552c467362ef3f +EBUILD greedy-0.2.0-r1.ebuild 894 SHA256 b47ac4c418b8fdc382d4065af1eb18a6fa8bff734e89d467e44c00eeec7b6f40 SHA512 0862163bf20fb7b72f9900ee16da1f1b6bbd9c0e32f2fc78a82b3e3bdf9c0afa98d1e52d6b0753db42188b6896a462c10a7850c3f7bdf3c8af16b887d3d4fcb1 WHIRLPOOL 6bd112c4f248762902e035d87dac7cd6949bf00099638e62c8802a12ecbbb5b7dff2e855bc51ef65edbb6c19756bb9d571907411af3f9a3ddaafe0001ec4ab72 +MISC ChangeLog 2585 SHA256 8ca005d8c81f61cb808f22d0da36c34ae740fea827fe57201a56c95ffc7b6bf9 SHA512 390087b9574ea8f7be52e6721e32566f4b17bc37a221c8e42dd0e789970ad8f7a262b9f96722d4731844243e4ecea713ed3513fc4f5770002ee76aad057564b7 WHIRLPOOL f070e0cd276d477ffa3e509505c57ba15b6caca90cf953c0ed36a685c800c2dddaeb05848cb90b00f2da2386285c9a2ff7a02e4d6cba06d33fa48877f4924f33 +MISC ChangeLog-2015 1731 SHA256 2ca09ecde81f35e78c0d28d0f3ac01fb28014e89f180cd0e66fef5d1e182336c SHA512 d75fb338cef31143283856154b7107dc26daa63ca5100987c3aa0060cad1e805bd367cfa1f4585c269045efc3b5661ed6a451cc961832cb4c8c68c6c49e8e942 WHIRLPOOL 51bffbc1752b6e5c9691ebcd00734cdf2f6a3bcb84b67c09f90ab52df2c76a3b8df1c42c2767b440e9f70259cf66254d3e9b8a11c4ad902e1a24f0e819249a94 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/greedy/greedy-0.2.0-r1.ebuild b/games-puzzle/greedy/greedy-0.2.0-r1.ebuild new file mode 100644 index 000000000000..c3d6eaec2d2f --- /dev/null +++ b/games-puzzle/greedy/greedy-0.2.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit toolchain-funcs games + +DESCRIPTION="fun little ncurses puzzle game" +HOMEPAGE="http://www.kotinet.com/juhamattin/linux/index.html" +SRC_URI="http://www.kotinet.com/juhamattin/linux/download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc64 x86" +IUSE="" + +RDEPEND="sys-libs/ncurses:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + rm -f Makefile + # It wants a scores file. We need to touch one and install it. + touch greedy.scores +} + +src_compile() { + emake CC="$(tc-getCC)" LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs)" ${PN} +} + +src_install() { + insinto "${GAMES_STATEDIR}" + doins greedy.scores + + dogamesbin greedy + dodoc CHANGES README TODO + + prepgamesdirs + # We need to set the permissions correctly + fperms 664 "${GAMES_STATEDIR}/greedy.scores" +} diff --git a/games-puzzle/greedy/metadata.xml b/games-puzzle/greedy/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/greedy/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> diff --git a/games-puzzle/groundhog/Manifest b/games-puzzle/groundhog/Manifest new file mode 100644 index 000000000000..23d6063cd4f5 --- /dev/null +++ b/games-puzzle/groundhog/Manifest @@ -0,0 +1,7 @@ +AUX groundhog-1.4-flags.patch 604 SHA256 e7776b4e875d3ab6c6bd501462b3f02756ef6a7bb291978517900bab1105cd34 SHA512 d81fbb87f1732673e0c2b3053c6a8d6f47c27a12a0f0b8349da20d43cf78ceeed2f4aa1a87803216dfcd0c71f77f615c3f9bba7516a69a43f3ec6f11be53c071 WHIRLPOOL c0b8f1b0677e0f59d724895f11482dc24de60f9e71ff90226a49d14a6500abdf6c326d069abdd483edf94977cd370e7b1b5d9fdcf05026c3a3b6c73c7e579037 +DIST groundhog-1.4.tar.gz 221871 SHA256 75567245a041a70f1ecb29503a424889136fcde81123234aedf5fb3ef9fad549 SHA512 9d1cf9073658cd325c4dceb6009825f50d8d4c55d0cca1b762cfdd066663257958d92e0e67ad49593add5821ce202e19c1106793ae8c77e4776c3b2e1fdc093c WHIRLPOOL 819caecd374d8e813e513f6d51e1cb170c480fee2f28203b0b239e2c0ba76c213cdb583fef1bd431cc28d8e3693a4ec79f748ab860f6e131383f8319b05c177f +DIST groundhog_1.4-9.diff.gz 8613 SHA256 0303ee125dac6118a7bc76d9eba9eb18ac9996549bd8f427ab634f594aa88154 SHA512 ddbb7c8b51fe63a1d318e080133737a851276ab55324875e5d68650d2399ac141667c62ab79ee41ababd2b5426e7bee5f158e7aa4edfe8ee82c6c3b6fb8179b8 WHIRLPOOL 01b46cc9a98725e76c59cbec46c8a451cacd5bf0facaaceb85c09ae5ab33414c2db810646a3c73a62aac28bf319a5304eb8e9c9ceca2f823d07f7bce04e6cf91 +EBUILD groundhog-1.4.ebuild 1127 SHA256 09112af340fb862b394da606d2a575fd12b783ba0887b85f100e890ca497a230 SHA512 e9da68e34ba2e44a1b9c23d872bb2ea5d89796d3203c1a23a43f2c958e9da70550f63a7d07235f947f2551bab2e599c072556945784a157de43a69399feb8bb2 WHIRLPOOL c6f8445fd58fb77e8b690dbdb532e2913a838530e0ade6a9225a180a7e58f301a287e2ebe917d0429e52035f8d7450eee9bb02913587d4fa159814d6ceac97dd +MISC ChangeLog 2467 SHA256 9122de78ebd1242bc18ebf6f3cad756bd36632e61d360aeefa3853b84994cbb0 SHA512 a44f26cb284cd78d9244fe083b269b0a3c9e211c82740b060a735821f3ab360179ee872ec582842dc7c616cab50991053a34e801bc3278eebbe77c9078770e39 WHIRLPOOL 99aaac86ecf5910752a4435e1a35260a19826ad788db86f9c96750021ba0d7781be4291c484f627103e137cc49bbba89a221b461c4132694d83c05956f9ca934 +MISC ChangeLog-2015 2098 SHA256 11e159bc481b3a0a6fb9df27674e4ac5db14366150c7ecda205fc4a80a06269e SHA512 6c7d42e060a2b90038406081b5652f6a4778ad6aff077c0038d055bcfcb19572c5b14de5ddb47bf854f1717921f2c980c06975946c72da21169877aca28833b2 WHIRLPOOL 94c069129d96aa388a032cdc61584948759697ba128b87be5776a100b27902ddab529aa2e17b7e2a95955b75ecabf6a13b1461f305bd930af39fae7c7c39fb74 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/groundhog/files/groundhog-1.4-flags.patch b/games-puzzle/groundhog/files/groundhog-1.4-flags.patch new file mode 100644 index 000000000000..48275a8c39b1 --- /dev/null +++ b/games-puzzle/groundhog/files/groundhog-1.4-flags.patch @@ -0,0 +1,32 @@ +respect flags + +applied on top of debian patches + +--- configure.in ++++ configure.in +@@ -46,8 +46,6 @@ + dnl Checks for libraries. + dnl AM_PATH_GTK_2_0(2.0.0,,AC_MSG_ERROR(Groundhog needs GTK 2.0)) + +-CXXFLAGS="-O2 -Wall" +- + dnl Checks for header files. + AC_CHECK_HEADERS(unistd.h) + +@@ -57,16 +55,6 @@ + + dnl Checks for library functions. + +-dnl Use -Wall if we have gcc. +-changequote(,)dnl +-if test "x$GCC" = "xyes"; then +- case " $CFLAGS " in +- *[\ \ ]-Wall[\ \ ]*) ;; +- *) CFLAGS="$CFLAGS -Wall" ;; +- esac +-fi +-changequote([,])dnl +- + AC_OUTPUT([ m4/Makefile intl/Makefile + Makefile + src/Makefile diff --git a/games-puzzle/groundhog/groundhog-1.4.ebuild b/games-puzzle/groundhog/groundhog-1.4.ebuild new file mode 100644 index 000000000000..80751062f67e --- /dev/null +++ b/games-puzzle/groundhog/groundhog-1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DEB_VER="9" +DESCRIPTION="Put the balls in the pockets of the same color by manipulating a maze of tubes" +HOMEPAGE="http://home-2.consunet.nl/~cb007736/groundhog.html" +SRC_URI="http://home-2.consunet.nl/~cb007736/${P}.tar.gz + mirror://debian/pool/main/g/groundhog/groundhog_${PV}-${DEB_VER}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="x11-libs/gtk+:2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + cd "${WORKDIR}" + epatch groundhog_${PV}-${DEB_VER}.diff + cd "${S}" + sed -e "s:groundhog-1.4/::" -i \ + debian/patches/sv.po.patch || die + epatch \ + $(sed -e 's:^:debian/patches/:' debian/patches/series) \ + "${FILESDIR}"/${P}-flags.patch + mv configure.in configure.ac || die + AT_M4DIR="m4" eautoreconf + sed -i 's:$(localedir):/usr/share/locale:' \ + $(find . -name 'Makefile.in*') || die +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/groundhog/metadata.xml b/games-puzzle/groundhog/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/groundhog/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> diff --git a/games-puzzle/gtetrinet/Manifest b/games-puzzle/gtetrinet/Manifest new file mode 100644 index 000000000000..c895598d6225 --- /dev/null +++ b/games-puzzle/gtetrinet/Manifest @@ -0,0 +1,9 @@ +AUX gtetrinet-0.7.11-desktopfile.patch 706 SHA256 489918311fb8fa8c22e1e294cd42ed242f8f3d4bd3aff3482156646aed5cd072 SHA512 d12b4f302388b3620ed77254916d3e3845b3da4bc3d1fc5b1c10c370e46088aea1a11603a8ce5ec844be5bf1026120d6b627170f4a09df663c5b579fe7ba937a WHIRLPOOL 2620d5672e104f71e1db9c5b533c14ba9206c0cde72496b98b7d7837fff89da6b23bbd453e43be766fcec800e7cd787f6c6546ccc27e02ba66b797cc86e9f538 +AUX gtetrinet-0.7.11-format-security.patch 681 SHA256 4c1f81cbbf85f829198a59165025b20ed59db3a4b91926dc6889609bb49363be SHA512 1f3236da7320249c6d8969a73d2d9f50c4dce68525e563958b52c3cfae5bd2c4fa0fda44960acce6bb9326a4b75560c60ab605aadce3b28d770c44c971209406 WHIRLPOOL bc1fadc8e0e2b97af92c667d83c9055caf0d0ca38b69e82a0082f655f0ec5cc24710bc5621a69a90d392c29070fedafd074e73f20259facdb8c3d3c8056c6025 +AUX gtetrinet-0.7.11-noesd.patch 4007 SHA256 ee0b877775bbf10463cd31c39e1f18fac5600a4a595d5e93b7bf6b269d1a744e SHA512 7674d4d54e4c4b0172e14c02036e88d08f8ebb7745ca7c34fff60dd1b2a46f54568fd89c77c19df12bce74296919bd5c6a7bd48a5ca4a427c6cc04d90384bfcc WHIRLPOOL f77818146e41f55e9831c960a5530b57070cc4101485ab762f36ce13a0af898b5cfa2c3d04865b82251fb255c3aaaeca9b5a15458996afdd018ecc55f52d3cbb +DIST gtetrinet-0.7.11.tar.bz2 416744 SHA256 cea27a5f65cc4384e9130cf345421ef677418be4ebdab14d82b9049dd162ddc0 SHA512 5de7df7647ed9f7c0b6aba4eac976c625b7632eb5ab8034b11ef09aeb4582f90b4f9fc1791dc5371e1067d59c90b792a70276c69b75ebd6dc8c74c96c47c7130 WHIRLPOOL bb05ae48330a6a17209e13857d63f7f8711683df1ded9959b27bfcd3393859d4276f458462ac4b4e1663ac3a19f9e8299a53f0100b44909e5757881bd6ca1e02 +DIST gtetrinet-gentoo-theme-0.1.tbz2 88240 SHA256 33037370a0cab1ac395716f8b33ead7f2360cac0bd25b869cff3ab5d28b6a323 SHA512 6834ed4d70d94d94c201c5fa76d670ed21e4451ad18b1f41292c69e8ba18f56198898bb9d0c90343e28fa05a53e2e92536aa07fad747d4321d2e67c638d7ab8d WHIRLPOOL 9f1a0c0e4e7ea394209638e05640460be14533eb9d6db6962f9c10f2776af5c01d1b5486ac51792f0fc70e2b21bace691c6f1cf83d9b22c2117c1148e3218e8d +EBUILD gtetrinet-0.7.11-r3.ebuild 1231 SHA256 3c78d3d6eef809b12b3353cfbf800bbc298b19ab9a6e8e0b4c9948420329f86c SHA512 1dbc192438ddb2fdd588904d76e8cac3e5ef08e2becb6433c464e51ed514d51fe8a48de31123e080a23dda495e2191746c56fced0d6032f3f8943c30857e0940 WHIRLPOOL 71d49a16c3500186b0d00ebfc547821ad029e0fa07fa7bc0e409eb235d50578d2b1263f537a44fe73b3893d6a1a9b53f9446493ddf2c97b7cead77386b576f33 +MISC ChangeLog 3124 SHA256 191a617634874b803178ffe621d2a243fbd042f8a40fad28d75cfcd270a0483c SHA512 270d5a43695c9928bf3d68746776c9a978c8399133ebd31f469bac0c7f7b548d797de067ccc08b3ea5f6622c9970ca5428caf6c9623f3bb8c2824dc5a61876a3 WHIRLPOOL da45646e72464a58f3e9b40bcde2cf9977abbb02c3192da545c40c96deb8a01dc50c55db6293cc113e97f6c172a9c90418e31af7cc1afccf6e1373a0134fc2e9 +MISC ChangeLog-2015 6983 SHA256 bfaf90cd3d0b3c6327c4cd09e32e3df9aa8869558cd6f23afe40e944c2c12a55 SHA512 8b3f2de703be4009f435dde21a573a0590ae89c4b341d36437eb484c945bc2e8f4899cd539131a032385273a587da2d1093a525aac7e4c2f23ced38ce5a36505 WHIRLPOOL 1428276a5773a6c896763c4d20f5c69bc10e3a8353270ada39ab8204f03fdd2e8128992b4878996c8d5395f071b28112de666784cf5fe8a0daeeb5d4548b531e +MISC metadata.xml 923 SHA256 b671380bb669b5c6052b9e406449ece66c8ed743664b2ba833e996d90b462b78 SHA512 81b70c3f4973cd7664a064df27fbcfb8af1f2aa748b269c68d62d3def6f2aee829a0c965b6b93aca51176f60fc34cb170cc20984d5b3b2e1beeb26206fee4e9b WHIRLPOOL 4c5a8596a2a8e15ffdb8c832c22f54f46d6fa829d64251bd1110a6455053eb2d2fb546818ff2748e4f6e587c430253d3627a7a41a4a116b5c0e2bb7916e4df1d diff --git a/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch new file mode 100644 index 000000000000..9bf7c2e506db --- /dev/null +++ b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-desktopfile.patch @@ -0,0 +1,28 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Fri Nov 30 20:02:03 UTC 2012 +Subject: desktop file + + fix desktop file according to fd.o spec + +--- gtetrinet.desktop ++++ gtetrinet.desktop +@@ -1,5 +1,4 @@ + [Desktop Entry] +-Encoding=UTF-8 + Name=GTetrinet + Name[am]=GTetrinet + Name[bg]=GTetrinet +@@ -99,11 +98,11 @@ + Comment[zh_HK]=Tetrinet 的 GNOME 客戶端程式 + Comment[zh_TW]=Tetrinet 的 GNOME 客戶端程式 + Exec=gtetrinet +-Icon=gtetrinet.png ++Icon=gtetrinet + StartupNotify=true + Terminal=false + Type=Application +-Categories=GNOME;Application;Game;BlocksGame; ++Categories=GNOME;Game;BlocksGame; + X-GNOME-Bugzilla-Bugzilla=GNOME + X-GNOME-Bugzilla-Product=gtetrinet + X-GNOME-Bugzilla-Component=general diff --git a/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-format-security.patch b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-format-security.patch new file mode 100644 index 000000000000..59389a18f7c5 --- /dev/null +++ b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-format-security.patch @@ -0,0 +1,16 @@ +Author: Jordi Mallach <jordi@debian.org> +Description: Fix build when using -Werror=format-security, now default + on Debian. +Status: committed-upstream + +--- gtetrinet-0.7.11.orig/src/tetrinet.c ++++ gtetrinet-0.7.11/src/tetrinet.c +@@ -232,7 +232,7 @@ + dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_OK, +- buf); ++ "%s", buf); + gtk_dialog_run (GTK_DIALOG(dialog)); + gtk_widget_destroy (dialog); + g_free (data_utf8); diff --git a/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-noesd.patch b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-noesd.patch new file mode 100644 index 000000000000..b49758401298 --- /dev/null +++ b/games-puzzle/gtetrinet/files/gtetrinet-0.7.11-noesd.patch @@ -0,0 +1,130 @@ +--- gtetrinet-0.7.11/configure.in~ 2006-11-15 17:02:36.000000000 +0000 ++++ gtetrinet-0.7.11/configure.in 2011-03-06 15:39:10.000000000 +0000 +@@ -30,7 +30,6 @@ + LIBGTK_REQUIRED=2.6.0 + LIBGNOME_REQUIRED=2.0.0 + LIBGNOMEUI_REQUIRED=2.0.0 +-LIBESD_REQUIRED=0.2.36 + + dnl ***************************************** + dnl libgnome, libgnomeui needed for all utils +@@ -40,21 +39,21 @@ + AC_SUBST(GTET_CFLAGS) + AC_SUBST(GTET_LIBS) + +-dnl Check for libesd +-if pkg-config --exists esound ; then +- have_esound=yes ++dnl Check for libcanberra ++if pkg-config --exists libcanberra ; then ++ have_libcanberra=yes + else +- have_esound=no ++ have_libcanberra=no + fi + +-if test "x$have_esound" = "xyes"; then +-AC_DEFINE(HAVE_ESD, 1, [Define this to enable EsounD support.]) +-PKG_CHECK_MODULES(ESOUND, esound >= $LIBESD_REQUIRED) +-AC_SUBST(ESOUND_CFLAGS) +-AC_SUBST(ESOUND_LIBS) ++if test "x$have_libcanberra" = "xyes"; then ++AC_DEFINE(HAVE_LIBCANBERRA, 1, [Define this to enable libcanberra support.]) ++PKG_CHECK_MODULES(LIBCANBERRA, libcanberra) ++AC_SUBST(LIBCANBERRA_CFLAGS) ++AC_SUBST(LIBCANBERRA_LIBS) + fi + +-AM_CONDITIONAL(HAVE_ESOUND, test "x$have_esound" = "xyes") ++AM_CONDITIONAL(HAVE_LIBCANBERRA, test "x$have_libcanberra" = "xyes") + + AC_HEADER_STDC + AC_HEADER_SYS_WAIT +--- gtetrinet-0.7.11/config.h.in~ 2006-11-15 17:03:53.000000000 +0000 ++++ gtetrinet-0.7.11/config.h.in 2011-03-06 15:39:31.000000000 +0000 +@@ -15,8 +15,8 @@ + /* Define to 1 if you have the `dcgettext' function. */ + #undef HAVE_DCGETTEXT + +-/* Define this to enable EsounD support. */ +-#undef HAVE_ESD ++/* Define this to enable libcanberra support. */ ++#undef HAVE_LIBCANBERRA + + /* Define if the GNU gettext() function is already present or preinstalled. */ + #undef HAVE_GETTEXT +--- gtetrinet-0.7.11/src/dialogs.c~ 2006-11-03 12:49:49.000000000 +0000 ++++ gtetrinet-0.7.11/src/dialogs.c 2011-03-06 15:40:45.000000000 +0000 +@@ -1054,7 +1054,7 @@ + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(soundcheck), soundenable); + gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(midicheck), midienable); + +-#ifdef HAVE_ESD ++#ifdef HAVE_LIBCANBERRA + if (midienable) prefdialog_midion (); + else prefdialog_midioff (); + if (soundenable) prefdialog_soundon (); +--- gtetrinet-0.7.11/src/sound.c~ 2005-03-18 21:19:18.000000000 +0000 ++++ gtetrinet-0.7.11/src/sound.c 2011-03-06 15:47:24.000000000 +0000 +@@ -36,33 +36,36 @@ + char midifile[1024]; + char midicmd[1024]; + +-#ifdef HAVE_ESD ++#ifdef HAVE_LIBCANBERRA + +-#include <esd.h> +-#include <libgnome/gnome-sound.h> ++#include <canberra.h> + +-static int soundsamples[S_NUM]; + static int midipid = 0; ++static ca_context *ctx = 0; + + void sound_cache (void) + { + int i; + if (!soundenable) return; ++ if (!ctx) ++ ca_context_create(&ctx); ++ if (ctx) { + for (i = 0; i < S_NUM; i ++) { +- if (soundsamples[i]) +- esd_sample_free (gnome_sound_connection_get (), soundsamples[i]); + if (soundfiles[i][0]) +- soundsamples[i] = gnome_sound_sample_load (soundfiles[i], soundfiles[i]); +- else +- soundsamples[i] = 0; ++ ca_context_cache(ctx, ++ CA_PROP_MEDIA_FILENAME, soundfiles[i], ++ NULL); ++ } + } + } + + void sound_playsound (int id) + { +- if (!soundenable) return; +- if (soundsamples[id] > 0) +- esd_sample_play (gnome_sound_connection_get (), soundsamples[id]); ++ if (!soundenable || !ctx) return; ++ if (soundfiles[id][0]) ++ ca_context_play(ctx, 0, ++ CA_PROP_MEDIA_FILENAME, soundfiles[id], ++ NULL); + } + + void sound_playmidi (char *file) +--- gtetrinet-0.7.11/src/Makefile.am~ 2006-11-03 16:20:08.000000000 +0000 ++++ gtetrinet-0.7.11/src/Makefile.am 2011-03-06 15:57:32.000000000 +0000 +@@ -7,8 +7,8 @@ + -DGTETPIXMAPSDIR=\""$(datadir)/pixmaps/gtetrinet"\" \ + $(GTET_CFLAGS) + +-if HAVE_ESOUND +-LDADD = $(GTET_LIBS) $(ESOUND_LIBS) ++if HAVE_LIBCANBERRA ++LDADD = $(GTET_LIBS) $(LIBCANBERRA_LIBS) + else + LDADD = $(GTET_LIBS) + endif diff --git a/games-puzzle/gtetrinet/gtetrinet-0.7.11-r3.ebuild b/games-puzzle/gtetrinet/gtetrinet-0.7.11-r3.ebuild new file mode 100644 index 000000000000..31961715876d --- /dev/null +++ b/games-puzzle/gtetrinet/gtetrinet-0.7.11-r3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="yes" +GNOME_TARBALL_SUFFIX="bz2" + +inherit autotools eutils gnome2 + +DESCRIPTION="Tetrinet Clone for GNOME" +HOMEPAGE="http://gtetrinet.sourceforge.net/" +SRC_URI="${SRC_URI} + mirror://gentoo/gtetrinet-gentoo-theme-0.1.tbz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls ipv6" + +RDEPEND=" + dev-libs/libxml2 + media-libs/libcanberra + >=gnome-base/gconf-2 + >=gnome-base/libgnome-2 + >=gnome-base/libgnomeui-2 + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +src_prepare() { + epatch "${FILESDIR}"/${P}-noesd.patch + epatch "${FILESDIR}"/${P}-desktopfile.patch + epatch "${FILESDIR}"/${P}-format-security.patch + sed -i \ + -e "/^pkgdatadir =/s:=.*:= ${GAMES_DATADIR}/${PN}:" \ + src/Makefile.in themes/*/Makefile.in || die + sed -i \ + -e '/^gamesdir/s:=.*:=@bindir@:' \ + src/Makefile.am || die + + rm -rf "${WORKDIR}"/gentoo/.xvpics || die # Remove cruft + + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable ipv6) +} + +src_install() { + gnome2_src_install + mv "${WORKDIR}"/gentoo "${ED}/usr/share/${PN}/themes/" || die +} diff --git a/games-puzzle/gtetrinet/metadata.xml b/games-puzzle/gtetrinet/metadata.xml new file mode 100644 index 000000000000..a29c0a42dfee --- /dev/null +++ b/games-puzzle/gtetrinet/metadata.xml @@ -0,0 +1,27 @@ +<?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> + <maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> + </maintainer> + <longdescription> +GTetrinet is a client program for the popular Tetrinet game, a +multiplayer tetris game that is played over the internet. + +Gee, Tetris? Whats that? Yeah, yeah, so it's been +done 2 billion times before (give or take a few bil), +but this is different! Yes, all you tetris addicts +out there be prepared for even MORE excitement.. +internet tetris! Now you can play your five best +buddies in one of the most well known games in +existence! + </longdescription> + <upstream> + <remote-id type="sourceforge">gtetrinet</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/gtkballs/Manifest b/games-puzzle/gtkballs/Manifest new file mode 100644 index 000000000000..e7521c0559ca --- /dev/null +++ b/games-puzzle/gtkballs/Manifest @@ -0,0 +1,5 @@ +DIST gtkballs-3.1.5.tar.gz 1176977 SHA256 75fa007b39668b7f454a6cbab62d55a8e63d234480d3503f87f965ff564de2c8 SHA512 a22352a19368c3b957e6fbd21aea0b4636efd3042f4e6b1c44a40f946643eb89873b182fe35a8888111ca42277e69fccfe2e2b683e804358ad36f4feca235e8a WHIRLPOOL 21bac73591f2dbeca1c7f6aa1fb2c0637c9e6a7158ee580759484fbca7e30bb3bb9213b6b44ee3a2e8a90dfe38533f5e51011ef430ed6185775825dff892df61 +EBUILD gtkballs-3.1.5-r1.ebuild 832 SHA256 1b60da7480fe6ade15514456f7bb1dfd03c55a071d91aa1f5133c00defdf0dd0 SHA512 7376fc296a6e5b8a13538932eb724515500182884d76fb4125c97620a760d47bbf390f1371360639ff818e51b2cec9d767050dc462a47c3d533b378a30ad1c73 WHIRLPOOL b46471776bbfbce5256b3b9137683f3c6063c120deaacb84fd7bcacef17f0f7572ead5b20d616fb83d922ad91963080d0dad87da24703484962d8bb2b1bb87f6 +MISC ChangeLog 2440 SHA256 17573eceacb5cdd7629318d4b159c21c95ada6679a6cf7ae31013635e5dbc607 SHA512 0b7bf06742e35f2293b492800db38a522c19a4f919ccb2a02ef9e0917e8f14356e9d7453bd32769dd08e425274a673192811ad554786a5ec018cb49030eca5b5 WHIRLPOOL e92418be4986702d224727d928c6b5d0f77a24b21216b8c9ea3a3df38c15f4c2297f33dc205587ef497557d279fad0dff44f1d119af2ca1e098ca957baceb2bb +MISC ChangeLog-2015 2138 SHA256 181654e57f14f84ab8b92d3c6654a52f3c658091df2dc332536eca3d027a260e SHA512 e3a4325182751682d2ab7de66ab96f14d82b1faf71badcdad8e54b6496171f9a50bbfb1384cb19dd4ba624b4f4f2b16ca245e4439fa5478d622a619cf3542ba6 WHIRLPOOL ad7746472a44cf30388c77d14d5a01a1b5b11fb76aa380e5e0529cd28705fc847782eade428e108c6d791d81d17942457536e2b22e8746bc710e2c2f91945e1b +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild b/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild new file mode 100644 index 000000000000..b1205f49d813 --- /dev/null +++ b/games-puzzle/gtkballs/gtkballs-3.1.5-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="An entertaining game based on the old DOS game lines" +HOMEPAGE="http://gtkballs.antex.ru/" +SRC_URI="http://gtkballs.antex.ru/dist/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="x11-libs/gtk+:2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( >=sys-devel/gettext-0.10.38 )" + +src_prepare() { + sed -i \ + -e '/^nlsdir=/s:=.*:=/usr/share/locale:' \ + -e '/^localedir/s:=.*:=/usr/share/locale:' \ + configure po/Makefile.in.in || die "sed locale failed" +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + newicon gnome-gtkballs.png ${PN}.png + make_desktop_entry gtkballs "GTK Balls" + prepgamesdirs +} diff --git a/games-puzzle/gtkballs/metadata.xml b/games-puzzle/gtkballs/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/gtkballs/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> diff --git a/games-puzzle/gweled/Manifest b/games-puzzle/gweled/Manifest new file mode 100644 index 000000000000..5c33c074e016 --- /dev/null +++ b/games-puzzle/gweled/Manifest @@ -0,0 +1,6 @@ +AUX gweled-0.9.1-gentoo.patch 356 SHA256 d5fbfcf638cb5486d80b9ce8408a3e9c94c5bcba67552b81cb871796471e61f2 SHA512 9191f8f520afd9126c42f86472b868536c0bcad0f227e161e38a76a511dc0f59e60b81a54f7462d2bafbe174007f27aaba60b4f9559bdf82f4f638130c222d07 WHIRLPOOL a6f99f6307ac5192b131291447a013d5b7c5a05fe6aa1f4ad3c3229e76d281e3a8894377afb552b0d2979461f8ce9ffc0fe029001d06c1ea73ba960733070056 +DIST gweled-0.9.1.tar.gz 403252 SHA256 f6064989040949659f5a970cf3a9dd280615df7ad67c014ac37e1466ce91055d SHA512 12ac6f0033e9af037febca3ecc86f7531491498a38cdc36d7baf113fecece75da4a5b83f6c6e8f4fc6beebb24d479eac10087baa9effec4966cfcfb6c42df75a WHIRLPOOL 26f42dcea3527b56e67da3092997fba39cb0e18d6c987d7948d97540b8e360782b91785215fa730ce616f39612c8ae76441202f973b0c684267f1d484a9b2ce0 +EBUILD gweled-0.9.1-r1.ebuild 741 SHA256 2cd3e2dadc3c678ff6f2aee45b916b04ba35f5c9c259df0dde4c9747d21743a4 SHA512 2344d1e74be7a0ff67f054d047120a2389a0effae868651d3ec705b86d1b68b9975202b3da773e7bdf62d67c7502e01221131dc61e68641b23db5d96809593bd WHIRLPOOL 16d2032763bc22e9b1d6993681cd6e188d85d6a7e97c8f355754890a492e2564d1125b37f241fb26e2459ff910337477dc7666670f260536cd7556b74db1553a +MISC ChangeLog 2646 SHA256 f835a1c90704ad83428e039c987f97141af7b1204b65a2f933bed020a85830fd SHA512 1b58ee3c9af6645dadd96d2424078dc449d3fb3ba45077c1e379ba8ddc792a42442edd8e747c7e769a8740f9981cd475319d32fecd0662b22ebb7e8c4eb3b045 WHIRLPOOL ae450559999a424bac330748dedca95cb8010c376e4c9572d69167fad0088f92ded20c5a29455b334039dacf896dbca9446ca46bbeae7c1aa70acb928735decc +MISC ChangeLog-2015 3285 SHA256 40e3fb4d6baad8f2ea9e47a80ba343f3e7ef1e106f1721753e9f131152a66a10 SHA512 227d88a4053c3172acce2b6f70c03fe891a65db4ad0741f971168f9eaeebcb8aed2350952c2a76198ca5e58671eaab02291c66fe7c0050c77f58d67f474a211c WHIRLPOOL d454c49477a8762c5580ff944e4f2d6543dd14e085957dd982414fc92d88db38ee0bc3b1018ab008857cc10ef75d50e4cfbe1a0c4e5c35a4f4ed5f80d8a18f74 +MISC metadata.xml 327 SHA256 0c5d97e0eff68c8caeb632cd7aecdfe752ec08324108bdca3b8e039fd35d1660 SHA512 cc3134245580e54c44dffa610e7910e4081dd175125bd4fad074eeeb119715f24698417dcc0683ae32e943d28cb79c5b82239648d1f70a00857fdba04b6804c4 WHIRLPOOL 4dd1fa7187baa321c7525cb0bcb09f52e3b73e0f5417b856e9eef8cac86c495f565eb96c0096526bbb72d7ff750acbb49db17db0da2a2abf9d695bd8855a31a8 diff --git a/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch b/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch new file mode 100644 index 000000000000..81a8cece8870 --- /dev/null +++ b/games-puzzle/gweled/files/gweled-0.9.1-gentoo.patch @@ -0,0 +1,11 @@ +--- configure.in.old 2014-06-03 09:21:52.868225743 +0200 ++++ configure.in 2014-06-03 09:22:06.604614448 +0200 +@@ -66,7 +66,7 @@ + *) AC_MSG_ERROR([bad value ${enableval} for --disable-setgid]) ;; + esac],[setgid=true;enable_setgid=yes]) + +-scoredir='${localstatedir}/games' ++scoredir='${localstatedir}/gweled' + scores_group=games + scores_user=games + diff --git a/games-puzzle/gweled/gweled-0.9.1-r1.ebuild b/games-puzzle/gweled/gweled-0.9.1-r1.ebuild new file mode 100644 index 000000000000..6c7f5048c702 --- /dev/null +++ b/games-puzzle/gweled/gweled-0.9.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit flag-o-matic autotools games + +DESCRIPTION="Bejeweled clone game" +HOMEPAGE="http://www.gweled.org/" +SRC_URI="https://launchpad.net/gweled/trunk/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:2 + media-libs/libmikmod + gnome-base/librsvg:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + filter-flags -fomit-frame-pointer + append-ldflags -Wl,--export-dynamic + egamesconf \ + --disable-setgid +} + +src_install() { + default + gamesowners -R "${D}/var/games/gweled" + prepgamesdirs +} diff --git a/games-puzzle/gweled/metadata.xml b/games-puzzle/gweled/metadata.xml new file mode 100644 index 000000000000..47048a2c35ed --- /dev/null +++ b/games-puzzle/gweled/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="launchpad">gweled</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/hangman/Manifest b/games-puzzle/hangman/Manifest new file mode 100644 index 000000000000..12d013ad056e --- /dev/null +++ b/games-puzzle/hangman/Manifest @@ -0,0 +1,5 @@ +DIST hangman-0.9.2.tar.gz 1023712 SHA256 5fa60699112895848b390b98f84ebb3dc4abaca431fd5c0cb25bf4d09824da2d SHA512 cbf940310b4821cf4de27a99a5228bccf42093a65ca83b0a2582556865ee5cea5a4ee2ebe08d2e02ac93f0cfc8d190b1f5427adbd74e7ddb57b90cee84f85d65 WHIRLPOOL 4e32b02a85fc0d93dc514818e6832ec4a6101a45e18b10875d97ab477ee5dd166d8d143c555e890266bde95dee53d0dd067a35a1fc577014aa52be0b1ae86670 +EBUILD hangman-0.9.2.ebuild 745 SHA256 baabfb5f8a3d36ca9c26b093e9009b090ad3bacedfcf3635ea8b84de341601f1 SHA512 c3415bab65872a3b27f3801db8ab8ae9e18ec3e8c9f037bb0728f62c46a7ed944bc4a40b921dc02527ba68eb602f2af78c0bb1bffb8367d6c0703a4aba52bad7 WHIRLPOOL 9b3a37515dee61c11090d4292fd8370bc6acc5989ccd05b4f5886d365a202907cd05395249deb21db5cf5418b72c9b37445579a29a3007d4b767992ef590daa3 +MISC ChangeLog 2431 SHA256 96b0bb3a237ef51f4ed602ea029a6a1bc40eaae13d8223c0ce0c55bfd673c1c1 SHA512 9d0060f067700c84cc280c970358834891bdd00be46932d1650c86812cc54c1ffccc64dc86fd1f83a4f9cb89ae5eb7e2f7a7acda7142ae828d54d05d582c6eaf WHIRLPOOL 2486b7def1794ae9e6dd573e26b0d368cac6946db38b37f4faa0603bffc02543966ccc8b3263dd8e1eec18a85bc5cc3faac073e6bf3e9985c70f39cc06a2bb76 +MISC ChangeLog-2015 1266 SHA256 be633c49819edc66bb9b82a7b7553cbc4aaadc1bd00931290a5b6e84d26d8011 SHA512 7bf91a4c3d5347e5b13a3939fd2eaa135e0d9fe1bde77e5a0c2b22c64622a9f0dadd0d03b74fb4bea824793ad909ffd28b464d26c2d7bbe5758cab8f9b3f6016 WHIRLPOOL 6a735d13e65acc23be0ff1f8094b99ceb3d592b9096cae390d8d52e71039d2821465904fa6d3c8ba93758e31d6ad61f1855e3406e201e4073efada0d2fdb9bdd +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/hangman/hangman-0.9.2.ebuild b/games-puzzle/hangman/hangman-0.9.2.ebuild new file mode 100644 index 000000000000..9c6bf0d7696d --- /dev/null +++ b/games-puzzle/hangman/hangman-0.9.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="The classic word guessing game" +HOMEPAGE="http://www.shiftygames.com/hangman/hangman.html" +SRC_URI="http://www.shiftygames.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="!games-misc/bsd-games + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image + media-libs/sdl-ttf" +RDEPEND="${DEPEND} + sys-apps/miscfiles" + +src_prepare() { + sed -i \ + -e 's/inline void SE_CheckEvents/void SE_CheckEvents/' \ + src/hangman.c \ + || die "sed failed" +} + +src_install() { + default + newicon pics/noose.png ${PN}.png + make_desktop_entry ${PN} Hangman + prepgamesdirs +} diff --git a/games-puzzle/hangman/metadata.xml b/games-puzzle/hangman/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/hangman/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> diff --git a/games-puzzle/hexalate/Manifest b/games-puzzle/hexalate/Manifest new file mode 100644 index 000000000000..7a26fa19355f --- /dev/null +++ b/games-puzzle/hexalate/Manifest @@ -0,0 +1,5 @@ +DIST hexalate-1.1.0-src.tar.bz2 662438 SHA256 74a8f23b7164981dbe968daa004781646c9063f1e80b234b19166570da22349c SHA512 2f8775c9cb85ff78fb84109f78079013fa172a6b37b309e1cac033be4eb1c248a005a2e899eb785fbe1f89fd87a2035dae3e7016a26af6f3e82a7174dc010a64 WHIRLPOOL 758451c2e20a1f539f622b1638414127512650c5e1adf0314566c435be7385e19427b344cd68128d1e1e357c7e095b2d0f92a909bc122629edd473860b3dac1a +EBUILD hexalate-1.1.0.ebuild 638 SHA256 d358b30c6f8a66abfac03a96430fa7391b22ded071959b17925fb78a471f6124 SHA512 67fe37320b6a07ea7f11f750d5e4789971d7e21ce55169e70eabc5283a3143fc15c310b91d0da4fc33d94123257fb24b2319d7d4351f1fdb1fa3768ee5b24c76 WHIRLPOOL 309ab3482f0f1b9ae414b59c47ba037fe018d56fc5fb59273edce38c801a11377913a4c022664255744dc14ddef0708fbb7fff22002787202760d990e60548d0 +MISC ChangeLog 2633 SHA256 973a588afbac99980c5e24d1dd08d5edfd9e2c2eb130fac0b919e8691c3d3734 SHA512 1144fd9abfefae12866e3ccfc4a7664848d410025a4017fae00b8e3d9f0efe19aa5e61dba3683e6e487f15289b6cbef4df5508fe9983550cceb8dc9bbec873d7 WHIRLPOOL 3bb0b1bd4d55ec2597b58076a1af223212fa8d98be50617116dfb9ade384b61e4578120f86be25d2709b57907f7d8e8c970528537f36097cd7ce4e62e5da8084 +MISC ChangeLog-2015 1233 SHA256 e2c31ffe304016d54d67976b0b222e91cd3bfff7e9ff4d52671944c99f7f5d3d SHA512 b470c6440ee72e14ba7b2434312c2a22d18896d7fc7537c7bebba195012d5908927fecda840acf3adc11e1de1ed913bb2196c0e2674495ded8c371bbc704a32b WHIRLPOOL 4c7a266ff75cdb62ba516aeabc6f522e62881e5262173aad8cac9eb5e07a29fec39d5a37c6b09bf557dca8ab130fe3aa1e428d790d02ad60816e4238e0325b04 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/hexalate/hexalate-1.1.0.ebuild b/games-puzzle/hexalate/hexalate-1.1.0.ebuild new file mode 100644 index 000000000000..c63526bdb569 --- /dev/null +++ b/games-puzzle/hexalate/hexalate-1.1.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils qmake-utils + +DESCRIPTION="A color matching game" +HOMEPAGE="https://gottcode.org/hexalate/" +SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_configure() { + eqmake5 PREFIX="/usr" +} + +src_install() { + emake INSTALL_ROOT="${D}" install +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/hexalate/metadata.xml b/games-puzzle/hexalate/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/hexalate/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> diff --git a/games-puzzle/hexamine/Manifest b/games-puzzle/hexamine/Manifest new file mode 100644 index 000000000000..b919034f39fd --- /dev/null +++ b/games-puzzle/hexamine/Manifest @@ -0,0 +1,5 @@ +DIST hexamine-0.2.1.tar.gz 130603 SHA256 8d8b1dfe32474def6ee9840f19a1b6aecfe23f3ad802e4658350d8cf00926405 SHA512 eaf7c110f1c2434c2ea7bc01cc13266ed8e91cbbf0fff4ee8d8a78c549f9fd3f8d877210f574ba1cefad5a6ea230f376aab7d9ced6a4e2f477b6be776332a640 WHIRLPOOL 3b79aba9bce6213d479d62ac0e2a7527c14ec198298c1c830be9d9e5906183c87216ea55d21d503dc51ae456b2728e0a603f5b0d49b2727103b821848d6b591f +EBUILD hexamine-0.2.1.ebuild 866 SHA256 210ac6a2faff34665cb159cc4622f21d733d7ca95ded0b3fc1db95ba1397103b SHA512 7a94d3d6644381e366f82917ea734d4d90a5abdfad51ed398d40a289a769c2bfd354bcefe5f2b960492e80df432270be6c391a8cfb900b9117a243f0bcd363b9 WHIRLPOOL e512de576b7c65ec5239cb15c44941de7d29e6c33a9f629f565690a2ebab0becf8f03473e610a3a0fced1e8958fb8f19c4aed8806b8310b5a7d9b81349334fd6 +MISC ChangeLog 2547 SHA256 812d6aa301566b705b486a917862751398c029aeb525bc9e5769ced64efdb5a7 SHA512 40ee168c80390c71413e7748391ad2c702511e95bb90673600f957eb8aa7a632f298910bc76e11f27b74bc66f8cb878b7ad8a4faf2df29671d0d023bff776fdd WHIRLPOOL caf5c1304d7a10d382e59b5ce1db8aaf46befbddf28db78ed2c56b33cc2d1d64c664d108c30837153dff3b2f6fe9afb4fa38ffd7b6cc910a9c4c288a5f105095 +MISC ChangeLog-2015 1052 SHA256 da077c5494af1366d76ec5b9617ad50c3a229acf0caa97665c2b8aa634ae2e7a SHA512 39285d057878da107eb27a9cb76bbc904033144f4d91a9559cce5ca0e2304ac713f61227ec90609b7629d019e9c869ff7143bf7fa233bacdbf45361c96606a29 WHIRLPOOL 74f59d043cf512f86c3c9b7b37a5472e2d83e1b78ad299ee3a6c84f815c14d535a03df9fedf3ba4e00151510f60d7f9468ea2597531897569a4e7d87e193f4e7 +MISC metadata.xml 331 SHA256 b64de6433a31b2fd6f6a891685115709bb150e152f40bf1e06edd5569bab007c SHA512 452f03abf92762a26c6492a3823b4fb3957abd627ec039daa73bb90c14079b71f0b79ce5af0548e3290c74275f5bf02ff264655cff6bb72a607e258a32e36bde WHIRLPOOL 630233cad1e214062665b7d3b60f44266f57cbcf2ee2e584c5612a395f74719fd9fc56af8422c3be6c8c4fd5cfeec51d701353dfede6ec3be5316022a8cb9e9e diff --git a/games-puzzle/hexamine/hexamine-0.2.1.ebuild b/games-puzzle/hexamine/hexamine-0.2.1.ebuild new file mode 100644 index 000000000000..e80eb0a10503 --- /dev/null +++ b/games-puzzle/hexamine/hexamine-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 +PYTHON_COMPAT=( python2_7 ) +inherit python-single-r1 games + +DESCRIPTION="Hexagonal Minesweeper" +HOMEPAGE="https://sourceforge.net/projects/hexamine" +SRC_URI="mirror://sourceforge/hexamine/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-python/pygame + ${PYTHON_DEPS}" +DEPEND="${PYTHON_DEPS}" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S=${WORKDIR}/${PN} + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + # Modify game data directory + sed -i \ + -e "s:\`dirname \$0\`:${GAMES_DATADIR}/${PN}:" \ + -e "s:\./hexamine:exec ${EPYTHON} &:" \ + hexamine || die +} + +src_install() { + dogamesbin hexamine + insinto "${GAMES_DATADIR}/${PN}" + doins -r hexamine.* skins + dodoc ABOUT README + prepgamesdirs +} diff --git a/games-puzzle/hexamine/metadata.xml b/games-puzzle/hexamine/metadata.xml new file mode 100644 index 000000000000..eaf56d416367 --- /dev/null +++ b/games-puzzle/hexamine/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">hexamine</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/hitori/Manifest b/games-puzzle/hitori/Manifest new file mode 100644 index 000000000000..06614b91e41e --- /dev/null +++ b/games-puzzle/hitori/Manifest @@ -0,0 +1,5 @@ +DIST hitori-3.22.3.tar.xz 462592 SHA256 ba21368d6d8475ae8cf0d39b62dab5eaec26ce82b3f067af50f1eded3a43b360 SHA512 a79e8f8f5e0ca4d202184fc301ddda44e2606ca911b9b3910e50f8ad218cd5047b8749e9c9798f970a107682c7f4fc49475be126c06cdd4a6914e1fa831ed7d5 WHIRLPOOL 8d62ba8d5d3988aab292c6c18e3f74a9de52f7b80103f35898d39624ab94fc994215f09ebee36512c45e5c5330cb44bdddcbc2abf21cae34f343450129325a31 +EBUILD hitori-3.22.3.ebuild 555 SHA256 0468d0228120fb051d1c7ed864070a32f1b91b920ead3c176c24f2072a3937ad SHA512 5644692be1b2d64887746c951d85065832af2a36273f60619f29d159b527a2a7431c633c35e6fdcdb5b07c9ed2cb0cbdbb3182fe4058b766eef781b539960dc0 WHIRLPOOL d96ec5bf0a37b7a9147bc81e7e2402ddc7eb57713c67d08e92a2fdbd546d4445459eb296378e0309d9c719cb2e17982b892ec5df9d470e7eeb42b523faf4d518 +MISC ChangeLog 4342 SHA256 b6f4585115d831d58d05bccd49c03c67b300ea36e12faa5fcd8f934f16c05fe1 SHA512 8c3953655e7387efe50c4174bc918ec30f1b4adbb13f0f782515a5eb59b1ad9e920b8b0e1d78c4e6cc8dbd07d834b81f745250371f5409ceeeb4b5b39e43ef9c WHIRLPOOL da909411b47df2fa02d53b65ce3e8f07ceaa207fd6f1e2ee02cce2d088dc57d31e05f7e912fbe28eba9bb67b722e2ef56bdeeb2ebe0c497bffc1fe7972419e64 +MISC ChangeLog-2015 708 SHA256 d8821c1a4ecf57052d3beeaf9c54ac037d2d688d70677fe2ed4cee6193ed1a34 SHA512 e13964e07be88080350a3afe22923e4490d7a452e73a1f4e9b401404c92fffbcaa686002150dbe165a022018ba63f8c8e3e97efefac1aa75ccb734c12d95ac04 WHIRLPOOL 5bbcc71d1940e89f0cd183d75a55f4d65b7230dd53df93937a6901aea5b0c008d2c42e81f91fc021ede4836997a37825247d47b83b59e2468935946884d4ee06 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/hitori/hitori-3.22.3.ebuild b/games-puzzle/hitori/hitori-3.22.3.ebuild new file mode 100644 index 000000000000..aa2927ffbd30 --- /dev/null +++ b/games-puzzle/hitori/hitori-3.22.3.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="Logic puzzle game for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Hitori" + +LICENSE="GPL-3+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +# gtk+-3.22 for build-time optional gtk_show_uri_on_window usage +RDEPEND=" + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.22:3 + >=x11-libs/cairo-1.4 +" +DEPEND="${RDEPEND} + app-text/yelp-tools + dev-libs/appstream-glib + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" diff --git a/games-puzzle/hitori/metadata.xml b/games-puzzle/hitori/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/hitori/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/hoh-bin/Manifest b/games-puzzle/hoh-bin/Manifest new file mode 100644 index 000000000000..3a08d5263ca3 --- /dev/null +++ b/games-puzzle/hoh-bin/Manifest @@ -0,0 +1,5 @@ +DIST hohlin-101.tar.bz2 14808528 SHA256 72e0e14f28a1245b34455d6c9c1b4715d297e165f6cdf3aa8fc525429b9839ee SHA512 38f5815d9b2356c5d566d8b5b4730e1ed24192dfb5c3fcae9096b4a2c6110de60245b13da6bffc359032165d7fc0681a6adfa3503005c9281807c4734d519c0b WHIRLPOOL 32e0d466c214d9f0d3b97fb1ec8a66bc0d6b499b143743009d7280e1384492539d14e3f7f7d8e1c029bbdd7cb5e515d63368d2c1ad0b3fe79d9e727a2160c32a +EBUILD hoh-bin-1.01.ebuild 1081 SHA256 4567d6f6925db9f2ee9cd73060b5c48faf310331994613d1a6ea62a9bfc2e10a SHA512 e5da6292a78366e5316170076af5167ec13d46dfb1637ce752a5ddd7d8a2e3baaa662116dab55ae51033cc88b2faf356bcfa4fa540c69eea1d15f546d77510c5 WHIRLPOOL c09597cccfa8eea2ba9de03a7df9f2ea4b54097cedb08aef280a5fddd72860de2a5e82596b2f8913e5d87c1618bf7cf921a95f13577defec9697f70d29b34b5f +MISC ChangeLog 2429 SHA256 6c0050d613e87d04349229c391398b4fea24128a1788e3a5dbfb01a086bb1ab2 SHA512 cf5d28e9ddd64236eebcc62b7f61297e2d8b4b79273e3a99f6bfab60637cf997e509a5b43c759b42b95c39ec964cd17f90d1db54833c9447498f0a46ec72e3e5 WHIRLPOOL 2c903d7f6ae92f60fdb3a0f8e009b2386053b30db7af81beee6d05e5b39e65fe25138f9053e68bcc509ddf18926a1dc3bed2404381ea31f7c9bef84f6908cf12 +MISC ChangeLog-2015 1901 SHA256 709035550474e9db88ba96e7cc9a88ad19622f826a7b10f883a2afe8d9b70656 SHA512 abafcc601a34f2c115b4cb929f6a13f8ca9a31f99ebd47216dd5a85ec9704350256f473923e124d5bd00ad5d6d09724e682af70393f46941f20af6e319b751ac WHIRLPOOL 7286685fb66f6beb54cb9a60efe8a5cfdbcee857862c4e4e09e56aeb638a5fa96cbc21985d0c0b31c9abcbfbd8a486b209a5b1f2c2c881f7b1451708dda36955 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/hoh-bin/hoh-bin-1.01.ebuild b/games-puzzle/hoh-bin/hoh-bin-1.01.ebuild new file mode 100644 index 000000000000..c19c360f68af --- /dev/null +++ b/games-puzzle/hoh-bin/hoh-bin-1.01.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="PC remake of the spectrum game, Head Over Heels" +HOMEPAGE="http://retrospec.sgn.net/games/hoh/" +SRC_URI="http://retrospec.sgn.net/download.php?id=63\&path=games/hoh/bin/hohlin-${PV/./}.tar.bz2" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="strip" + +RDEPEND="x11-libs/libX11[abi_x86_32(-)]" + +S=${WORKDIR}/hoh-install-${PV} + +# bug #448420 +QA_PREBUILT=" +/opt/HoH/data/runtime/libstdc++-libc6.2-2.so.3 +/opt/HoH/data/HoH +" + +src_compile() { + cat > "${T}/hoh" <<-EOF + #!/bin/bash + export LD_LIBRARY_PATH="${GAMES_PREFIX_OPT}/HoH/data/runtime" + cd "${GAMES_PREFIX_OPT}/HoH/data" + exec ./HoH \$@ +EOF +} + +src_install() { + local DATADIR="${GAMES_PREFIX_OPT}/HoH/data" + local DOCDIR="${GAMES_PREFIX_OPT}/HoH/docs" + + dogamesbin "${T}/hoh" + dodir "${DATADIR}" "${DOCDIR}" + cp -pPRf data/* "${D}/${DATADIR}/" || die + cp -pPRf docs/* "${D}/${DOCDIR}/" || die + make_desktop_entry hoh "Head Over Heels" + prepgamesdirs +} diff --git a/games-puzzle/hoh-bin/metadata.xml b/games-puzzle/hoh-bin/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/hoh-bin/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> diff --git a/games-puzzle/icebreaker/Manifest b/games-puzzle/icebreaker/Manifest new file mode 100644 index 000000000000..0a02c9fab003 --- /dev/null +++ b/games-puzzle/icebreaker/Manifest @@ -0,0 +1,9 @@ +AUX icebreaker-1.9.6-gentoo.patch 8571 SHA256 76fd7d5ad7b4e41caf4c935981afae119d0214255b4b42757c0d1b2d037d5fa4 SHA512 11eead6a2c01b45b9ee18d761ca6ddd3fc565f046e03ac32a270232e90251470abf9b02cb179fabd734432ae0d5330f524cc6ce07ff975b9f330f6c6f0d0e0ca WHIRLPOOL dbd8c778e04d98915d3d8746668c8797b4e1bc38ef4a95df5fbaee4064e32271d9733a21fbdad72605a5e0c7852cef2d9c10c023795855d0f5b8e2a289924481 +AUX icebreaker-1.9.6-ldflags.patch 870 SHA256 4601d7005773a4800d1ee37e3557ea51ec8364f847286b58260b2ace5a574513 SHA512 5f3a2788cad993e625b8a6f848b2b839d07b257dd8c401e2699683a585175d686c25c69b7b477d4062db6fec9f03730c53c90dd92e9854070f9fdd6d17d7cdbf WHIRLPOOL 5971a05c2043f04a8b2ce6b255f05627c373a6e857c617212b1fd7cf6dc12f18b58540fad3a71178aaff45d5da4acbd38a613b8827f1a7e13855e24d7c09920f +AUX icebreaker-1.9.6-ovfl.patch 695 SHA256 9d592c931bbcc7fd6a8d2df0db935950d87d419bff6564d58613b8f60e892598 SHA512 0875ed515da7f03e49bb7ccaf58c7dfcbd03574c2742e54da248423c0c8bd4257f2d7ce9f2fd3aac6d00336fd23bdb131fdb1a9398e31600f6bddbd23e513c1e WHIRLPOOL eb693f78e947ba2f4ff78fc87508ecc5164115e7198241bee064c22e9519dfa16686598cc0516f18c28db1d6a1f6991463010bd3b9bcf6b667942bf3f913cc93 +AUX icebreaker-1.9.6-parallell-install.patch 1183 SHA256 af211ff2b611b34dcdcb6b9b961b95b0c94fa82cfe98e4b03831c460316709ce SHA512 7eeaa07111ee6443f9ebcb3b0bd55dccb1ed6ca3137df2b5c407dcc696c5946bc7643847d0d347761e4e8311871788cf9120a615da715e602f27af077858cfc7 WHIRLPOOL 0f90e6b9f14345d2ce8e3913adeb4216c79cfa43805a94371ea40cdfbd13912f0ae19049040f49eb82673883dfefa1a4366b21eb086a894d209a1a9c66e1ba74 +DIST icebreaker-1.9.6.tgz 137333 SHA256 e80f3a0c918beeff528ec7e61c04a17019c2afff85f018a04f715f2b401931dc SHA512 c3b085dc42d33757011d6d526016477312c5e1cbab4c5584c1e271a1e43b40d61ad1e7f0c96c8f41348550b2e198b3ee7bca65fbef90125dbfa32544cbdf357b WHIRLPOOL 3616e2cd757c6efc7831dfcbd36cbd1a0ec7b5b1f32022ad7c721e39adde41985c40b7a6529acc60de9b5d8f92d802fe579f5a395d9b1402f6c653929be65698 +EBUILD icebreaker-1.9.6.ebuild 1075 SHA256 3379ccc012dc7c84fb9d6e0d5a54fdb86d7dfd9d7195e6d46b4df05ea1e2b6c0 SHA512 a58ac0714fbd985c65eb2998b7bdb7c1c32857a997ffba4a2e4e3f5c26fc176f6f19f9e57e0199099c714eb684268bd0f3cd2f2fe4a1523f70dddfbc1ce43e02 WHIRLPOOL d72eda1476d8242be16f479615732d0b2b2e371677cc58bad9ed724f544529167da57cf7fec45a224f6757b182c607c1f13f8573ad67ba800742a48ce0537946 +MISC ChangeLog 2766 SHA256 29ac7e7f547dbc5fac8300bc6330e312dda58f64082edcc7f8d892eace13f6b3 SHA512 408795b28a8163eba3367891894f1fd9a5574a9a796ae86114a091157187aee3d2a87a1ed10f1c7e350d30df6a4b838a882979262dc335b9d6169810bf50dd80 WHIRLPOOL aeed03c4bc485a197a84ebceaa98d0a6c2addc4746b8ab9433757f317516aa7d7a26550454735329911b31a3b1d7d4cceec4778744a692692f5b4aefd3c3c7b4 +MISC ChangeLog-2015 3764 SHA256 23fab1127c3fc8c285ca0d1fc269adbd38484594d9ceb7bdddb6b181dfe6e18e SHA512 7c351d9717502652f221fc25f9939ae07d1d57f8c400eb2e7c32e1fddaef89845cb9cb0ec3d234f37c3bd869cf463a96c9851b4965eb91ab7a97f018a8bb4357 WHIRLPOOL 1d023ff1ace9fe47b7909c21b549f27578f9588a06c39324fd87ec55e305d82dcb48185ad4d2acf51e6c6093fcffc8697fec776ad39592ab214b8c53f51774f7 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.6-gentoo.patch b/games-puzzle/icebreaker/files/icebreaker-1.9.6-gentoo.patch new file mode 100644 index 000000000000..d6e16a6c39a6 --- /dev/null +++ b/games-puzzle/icebreaker/files/icebreaker-1.9.6-gentoo.patch @@ -0,0 +1,247 @@ +--- dialog.c ++++ dialog.c +@@ -279,10 +279,10 @@ PopupReturnType popuphighscores() + + for (i=0;i<HISCORENUM;i++) + { +- snprintf(buf,4,"%d.",i+1); ++ snprintf(buf,sizeof(buf),"%d.",i+1); + puttext(scorelistrect.x+BLOCKWIDTH,scorelistrect.y+45+i*(CHARHEIGHT*2+5),2,color.normaltext,buf); + puttext(scorelistrect.x+BLOCKWIDTH*4,scorelistrect.y+45+i*(CHARHEIGHT*2+5),2,color.normaltext,hiscorename[i]); +- snprintf(buf,30,"%ld",hiscoreval[i]); ++ snprintf(buf,sizeof(buf),"%ld",hiscoreval[i]); + puttext(scorelistrect.x+scorelistrect.w-(BLOCKWIDTH*5),scorelistrect.y+45+i*(CHARHEIGHT*2+5),2,color.normaltext,buf); + } + +@@ -364,7 +364,7 @@ PopupReturnType popuphelp() + { + puttext(helprect.x+BLOCKWIDTH/2,helprect.y+BLOCKHEIGHT/2+i*(CHARHEIGHT*2+4),2,color.normaltext,helptext[i]); + } +- snprintf(buf,80,"v%d.%d.%d %s",VERMAJOR,VERMINOR,VERSUB,"Copyright (c) 2000-2002 Matthew Miller. Released under the GPL."); ++ snprintf(buf,sizeof(buf),"v%d.%d.%d %s",VERMAJOR,VERMINOR,VERSUB,"Copyright (c) 2000-2002 Matthew Miller. Released under the GPL."); + puttext(helprect.x+BLOCKWIDTH/2,helprect.y+helprect.h-CHARHEIGHT*3,1,color.copyrighttext,buf); + puttext(helprect.x+BLOCKWIDTH/2,helprect.y+helprect.h-CHARHEIGHT*1-3,1,color.copyrighttext,"Thanks to my wonderful wife Karen for inspiration (and for patience)!"); + +--- menu.c ++++ menu.c +@@ -193,12 +193,12 @@ PopupReturnType popupoptionsmenu() + + if (strlen(commandline.theme)>0) + { +- snprintf(originaltheme,MAXTHEMENAMELENGTH+1,"%s",commandline.theme); ++ snprintf(originaltheme,sizeof(originaltheme),"%s",commandline.theme); + originalthemecl=true; + } + else + { +- snprintf(originaltheme,MAXTHEMENAMELENGTH+1,"%s",options.theme); ++ snprintf(originaltheme,sizeof(originaltheme),"%s",options.theme); + originalthemecl=false; + } + +@@ -521,7 +521,7 @@ PopupReturnType menuitem_theme(char * va + if (((mbutton==1 || mbutton==4) && t==themecount-1) || ((mbutton!=1 && mbutton!=4) && t==0)) + { // "random", at the end/beginning of the list + +- strncpy(val,"random",MAXMENUVALUELENGTH); ++ strcpy(options.theme,"random"); + snprintf(options.theme,MAXMENUVALUELENGTH,"random"); + + settheme("linux"); // just for pretty +@@ -538,7 +538,7 @@ PopupReturnType menuitem_theme(char * va + if (mbutton==1 || mbutton==4) // left click or scroll forwards + { + strncpy(val,themelist[(t+1)%themecount],MAXMENUVALUELENGTH); +- snprintf(options.theme,MAXMENUVALUELENGTH,themelist[(t+1)%themecount]); ++ snprintf(options.theme,sizeof(options.theme),"%s",themelist[(t+1)%themecount]); + } + else // right or middle or scroll back + { +--- hiscore.c ++++ hiscore.c +@@ -72,7 +72,7 @@ + // make sure all entries are zeroed out to start. + for (i=0;i<HISCORENUM;i++) + { +- snprintf(temphiscorename[i],7,"Nobody"); ++ strcpy(temphiscorename[i],"Nobody"); + temphiscoreval[i]=100; //100 is better than 0. :) + } + +@@ -103,7 +103,7 @@ + // ok, so now, we can copy things over in the proper sorted order + for (i=0;i<HISCORENUM;i++) + { +- snprintf(hiscorename[i],50,temphiscorename[arrayindex[i]]); ++ snprintf(hiscorename[i],50,"%s",temphiscorename[arrayindex[i]]); + hiscoreval[i]=temphiscoreval[arrayindex[i]]; + } + +@@ -201,13 +201,13 @@ + // make sure the temp array contains the right data + for (i=0;i<HISCORENUM;i++) + { +- snprintf(temphiscorename[i],50,hiname[i]); ++ snprintf(temphiscorename[i],50,"%s",hiname[i]); + temphiscoreval[i]=hival[i]; + } + + // and toss in the new data + //(this is why these arrays are size HISCORENUM+1) +- snprintf(temphiscorename[HISCORENUM],50,username); ++ snprintf(temphiscorename[HISCORENUM],50,"%s",username); + temphiscoreval[HISCORENUM]=score; + + // fill the "helper" array. +@@ -221,7 +221,7 @@ + // and take the top ones back. + for (i=0;i<HISCORENUM;i++) + { +- snprintf(hiname[i],50,temphiscorename[arrayindex[i]]); ++ snprintf(hiname[i],50,"%s",temphiscorename[arrayindex[i]]); + hival[i]=temphiscoreval[arrayindex[i]]; + } + } +--- line.c ++++ line.c +@@ -30,8 +30,9 @@ + + Line createline(int linenum) + { +- Line l; ++ static Line l; + ++ memset(&l, 0, sizeof(l)); + switch (linenum) + { + case 1: +--- options.c ++++ options.c +@@ -66,7 +66,7 @@ + options.autopause=AUTOPAUSEOFF; + options.difficulty=NORMAL; + options.fullscreen=FULLSCREENOFF; +- snprintf(options.theme,MAXTHEMENAMELENGTH+1,"linux"); ++ strcpy(options.theme,"linux"); + } + + int readoptions(void) +@@ -81,7 +81,7 @@ + + setdefaultoptions(); + +- snprintf(filename,255,"%s/%s",homedir,OPTIONFILE); ++ snprintf(filename,sizeof(filename),"%s/%s",homedir,OPTIONFILE); + + optionfile=fopen(filename,"r"); + if (optionfile==NULL) +@@ -135,7 +135,7 @@ + } + else if (!strcmp(optbuf,"theme")) + { +- snprintf(options.theme,MAXTHEMENAMELENGTH+1,"%s",valbuf); ++ snprintf(options.theme,sizeof(options.theme),"%s",valbuf); + } + // FIX: add username + } +@@ -150,7 +150,7 @@ + { + FILE * optionfile; + char filename[255]; +- snprintf(filename,255,"%s/%s",homedir,OPTIONFILE); ++ snprintf(filename,sizeof(filename),"%s/%s",homedir,OPTIONFILE); + + optionfile=fopen(filename,"w"); + if (optionfile==NULL) +@@ -292,7 +292,7 @@ + else + { + // fix -- we should probably search for malicious characters here. +- snprintf(commandline.theme,MAXTHEMENAMELENGTH+1,"%s",argv[i]+strlen(FLAGTHEME)); ++ snprintf(commandline.theme,sizeof(commandline.theme),"%s",argv[i]+strlen(FLAGTHEME)); + } + } + else if (strncmp(argv[i],FLAGTHEMELONG "=" ,strlen(FLAGTHEMELONG "=")) == 0) +@@ -312,7 +312,7 @@ + else + { + // fix -- we should probably search for malicious characters here. +- snprintf(commandline.theme,MAXTHEMENAMELENGTH+1,"%s",argv[i]+strlen(FLAGTHEMELONG "=")); ++ snprintf(commandline.theme,sizeof(commandline.theme),"%s",argv[i]+strlen(FLAGTHEMELONG "=")); + } + } + else if (strncmp(argv[i],FLAGTHEMELONG,strlen(FLAGTHEMELONG)) == 0) +--- penguin.c ++++ penguin.c +@@ -40,8 +40,9 @@ + + Penguin createpenguinxy(int x, int y) + { +- Penguin p; ++ static Penguin p; + ++ memset(&p, 0, sizeof(p)); + switch (random() % 4) + { + case 0: +--- themes.c ++++ themes.c +@@ -183,7 +183,7 @@ + + foundcolor.spritetransparent = 0; + +- snprintf(themefilename, 256,"%s/%s%s",DATAPREFIX,themename,THEMEFILEEXTENSION); ++ snprintf(themefilename, sizeof(themefilename),"%s/%s%s",DATAPREFIX,themename,THEMEFILEEXTENSION); + + themefile=fopen(themefilename,"r"); + if (themefile==NULL) +@@ -329,7 +329,7 @@ + "We'll try to load it anyway, but don't be surpised if there's a problem.\n" + "(Filename is %s)\n",themename,valbuf); + } +- snprintf(loadfilebuf, 256,"%s/%s",DATAPREFIX,valbuf); ++ snprintf(loadfilebuf, sizeof(loadfilebuf),"%s/%s",DATAPREFIX,valbuf); + spriteimage=loadsprite(themename,loadfilebuf); + } + else if (!strcmp(optbuf,"spritemirrorbitmap")) +@@ -340,7 +340,7 @@ + "We'll try to load it anyway, but don't be surpised if there's a problem.\n" + "(Filename is %s)\n",themename,valbuf); + } +- snprintf(loadfilebuf, 256,"%s/%s",DATAPREFIX,valbuf); ++ snprintf(loadfilebuf, sizeof(loadfilebuf),"%s/%s",DATAPREFIX,valbuf); + spritemirrorimage=loadsprite(themename,loadfilebuf); + } + else if (!strcmp(optbuf,"soundouch")) +@@ -351,7 +351,7 @@ + "We'll try to load it anyway, but don't be surpised if there's a problem.\n" + "(Filename is %s)\n",themename,valbuf); + } +- snprintf(loadfilebuf, 256,"%s/%s",DATAPREFIX,valbuf); ++ snprintf(loadfilebuf, sizeof(loadfilebuf),"%s/%s",DATAPREFIX,valbuf); + loadsounds(themename,loadfilebuf,NULL); + } + else if (!strcmp(optbuf,"soundcrash")) +@@ -362,7 +362,7 @@ + "We'll try to load it anyway, but don't be surpised if there's a problem.\n" + "(Filename is %s)\n",themename,valbuf); + } +- snprintf(loadfilebuf, 256,"%s/%s",DATAPREFIX,valbuf); ++ snprintf(loadfilebuf, sizeof(loadfilebuf),"%s/%s",DATAPREFIX,valbuf); + loadsounds(themename,NULL,loadfilebuf); + } + } +@@ -474,11 +474,11 @@ + { + fprintf(stderr,"Hey! You can't have a theme named random! Please remove the random.ibt\n" + "file from your themes directory.\n"); +- snprintf(themename,MAXTHEMENAMELENGTH+1,"linux"); ++ strcpy(themename,"linux"); + } + else + { +- snprintf(themename,MAXTHEMENAMELENGTH+1,themelist[random() %themecount]); ++ snprintf(themename,sizeof(themename),"%s",themelist[random() %themecount]); + } + freethemenames(&themelist,themecount); + return settheme(themename); diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.6-ldflags.patch b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ldflags.patch new file mode 100644 index 000000000000..44ef9bdf8631 --- /dev/null +++ b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ldflags.patch @@ -0,0 +1,28 @@ +--- Makefile.orig 2010-10-11 12:20:01.274684641 -0400 ++++ Makefile 2010-10-11 12:22:02.256897083 -0400 +@@ -1,5 +1,3 @@ +-CC=gcc +- + SDLCONFIG=sdl-config + + ifndef prefix +@@ -177,7 +175,7 @@ + [ -d win32.build ] && rm -rf win32.build || true + + icebreaker: $(SRC:.c=.o) +- $(CC) $(CFLAGS) $^ -o icebreaker $(SDL_LIB) ++ $(CC) $(LDFLAGS) $(CFLAGS) $^ -o icebreaker $(SDL_LIB) + + man: icebreaker.6 + +@@ -202,8 +200,8 @@ + install -m 644 *.wav *.bmp $(datadir)/icebreaker + + install-bin: icebreaker +- install -s -g games -m 2755 icebreaker $(bindir) || \ +- install -s -m 755 icebreaker $(bindir) ++ install -g games -m 2755 icebreaker $(bindir) || \ ++ install -m 755 icebreaker $(bindir) + @test -g $(bindir)/icebreaker || \ + echo -e '*** Note: icebreaker binary not installed set-group-ID "games" -- shared\n*** highscores may be impossible. (Try installing as root.)' + diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch new file mode 100644 index 000000000000..03050be548fb --- /dev/null +++ b/games-puzzle/icebreaker/files/icebreaker-1.9.6-ovfl.patch @@ -0,0 +1,20 @@ +--- menu.c.old 2013-06-24 22:09:11.606750080 +0200 ++++ menu.c 2013-06-24 22:25:51.635735351 +0200 +@@ -522,7 +522,7 @@ + { // "random", at the end/beginning of the list + + strcpy(options.theme,"random"); +- snprintf(options.theme,MAXMENUVALUELENGTH,"random"); ++ snprintf(options.theme,MAXTHEMENAMELENGTH,"random"); + + settheme("linux"); // just for pretty + +@@ -544,7 +544,7 @@ + { + if (t<0) t=themecount; + strncpy(val,themelist[(t-1)%themecount],MAXMENUVALUELENGTH); +- snprintf(options.theme,MAXMENUVALUELENGTH,themelist[(t-1)%themecount]); ++ snprintf(options.theme,MAXTHEMENAMELENGTH,"%s",themelist[(t-1)%themecount]); + } + + settheme(options.theme); diff --git a/games-puzzle/icebreaker/files/icebreaker-1.9.6-parallell-install.patch b/games-puzzle/icebreaker/files/icebreaker-1.9.6-parallell-install.patch new file mode 100644 index 000000000000..de388d9b5758 --- /dev/null +++ b/games-puzzle/icebreaker/files/icebreaker-1.9.6-parallell-install.patch @@ -0,0 +1,34 @@ +--- Makefile.old 2010-10-19 10:26:18.000000000 +0200 ++++ Makefile 2010-10-19 10:38:28.000000000 +0200 +@@ -196,26 +196,30 @@ + themes-install: install-themes + + install-themes: ++ mkdir -p $(datadir)/icebreaker + install -m 644 *.ibt $(datadir)/icebreaker + install -m 644 *.wav *.bmp $(datadir)/icebreaker + + install-bin: icebreaker ++ mkdir -p $(bindir) + install -g games -m 2755 icebreaker $(bindir) || \ + install -m 755 icebreaker $(bindir) + @test -g $(bindir)/icebreaker || \ + echo -e '*** Note: icebreaker binary not installed set-group-ID "games" -- shared\n*** highscores may be impossible. (Try installing as root.)' + + install-man: icebreaker.6 ++ mkdir -p $(mandir)/man6 + install -m 644 icebreaker.6 $(mandir)/man6 + + install-scorefile: ++ mkdir -p $(highscoredir) + touch $(highscoredir)/icebreaker.scores + chown -f games:games $(highscoredir)/icebreaker.scores && \ + chmod 664 $(highscoredir)/icebreaker.scores || \ + chmod 644 $(highscoredir)/icebreaker.scores + + +-install: all install-mkdirs install-themes install-bin install-man install-scorefile ++install: install-themes install-bin install-man install-scorefile + + %.d: %.c + set -e; $(CC) -M $(CFLAGS) $< \ diff --git a/games-puzzle/icebreaker/icebreaker-1.9.6.ebuild b/games-puzzle/icebreaker/icebreaker-1.9.6.ebuild new file mode 100644 index 000000000000..5ea007c9d862 --- /dev/null +++ b/games-puzzle/icebreaker/icebreaker-1.9.6.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Trap and capture penguins on Antarctica" +HOMEPAGE="http://www.mattdm.org/icebreaker/" +SRC_URI="http://www.mattdm.org/${PN}/1.9.x/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-parallell-install.patch \ + "${FILESDIR}"/${P}-ovfl.patch +} + +src_compile() { + emake \ + OPTIMIZE="${CFLAGS}" \ + prefix=/usr \ + bindir="${GAMES_BINDIR}" \ + datadir="${GAMES_DATADIR}" \ + highscoredir="${GAMES_STATEDIR}" +} + +src_install() { + emake \ + prefix="${D}/usr" \ + bindir="${D}${GAMES_BINDIR}" \ + datadir="${D}${GAMES_DATADIR}" \ + highscoredir="${D}${GAMES_STATEDIR}" install + newicon ${PN}_48.bmp ${PN}.bmp + make_desktop_entry ${PN} IceBreaker /usr/share/pixmaps/${PN}.bmp + dodoc ChangeLog README* TODO + prepgamesdirs +} diff --git a/games-puzzle/icebreaker/metadata.xml b/games-puzzle/icebreaker/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/icebreaker/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> diff --git a/games-puzzle/jag/Manifest b/games-puzzle/jag/Manifest new file mode 100644 index 000000000000..c5d8b75f5a17 --- /dev/null +++ b/games-puzzle/jag/Manifest @@ -0,0 +1,6 @@ +DIST jag-0.3.2-data.zip 6237911 SHA256 d331b8b1ec20068de0f35d7747b3e4eb4567f505568c3d8621884d2ca46b6d22 SHA512 fd8d625d47c12779baf9158475d378a8a09d8c96e48ebf8f8b23e3967db8fe38fada33625ac155550ec72f96e259b229311652e09001bb146a326ee202f2e32f WHIRLPOOL d4dd8734a1ea61a1a59514208493c07ae8c7cb9a1d2242ff571221e9d547d8a7e8cbe451dc4f1a9b441a5e213e69e892c1d2fa84532759bc0e7c5736ba36087a +DIST jag-0.3.2-src.zip 995053 SHA256 0b1fc46373d7b70bdd359ca93e553bc244a49721fa1a18d5225c5e887b54ca44 SHA512 96379500aabb282324c7308304359412faa503ca2a62a22951313b612f7d065378ba3fa880ff0b2cb42ebd92ddbce22f8e3c088fc6a5361462beaf8b21aed8dc WHIRLPOOL cbf45eacd3b97f2808cc74ca32479ef9c08e2662552ab21ad3dfa54538a7bd723e636ad3e6189da0278a18e4765142f0319ca94be40d3a7bbae3859e67b20385 +EBUILD jag-0.3.2.ebuild 1289 SHA256 e444c9d7b2a4ecb8f57751d30edbba09ed82bf22065e88cca03046941e6b7ca6 SHA512 520178ccf37ffb8abe4b6eecae9d3210d89a39159fad13d64c34c6f130d3a6dd346cd660d28a43c96725a32ed7f2617d0b8c3a1297d1b168e46b107b0ae09975 WHIRLPOOL 339c0a8571dd05388f408a5766ca1458022711d826d2c99a539fa8888b5b8cdc6d4a16aac889dcf510381f2adb1d9fd829347a98e521899127e656a882985823 +MISC ChangeLog 2419 SHA256 c389cf01d368654cda06631448b5eca465a1979932cd1e4e84606c0b5126e8f8 SHA512 edd14799fdd7cfebd33751520b32697870482004261e276cdf3da408d11f3293710962a8204dcaf08787b6a72f1c208e61aa092c63bdb249e761556cfebd40b1 WHIRLPOOL 63293e3dae8982b9d64d3cfbce84214f10daa9dd8c5e015c7dd841b1e5ffa6e879e54cc4aecf50456ecce01452ea836443350e098c58a8e05db4606832947d35 +MISC ChangeLog-2015 2685 SHA256 0440d80bdae295d820d78583ac51719f03f86b1e5ea9830ab84efa1444a8575a SHA512 0dd28199333b287a3396547af0216090a1985f41b119713dd0e7d246fe7f9909a5fce4d7bea99109324b9766d395320ebf0bb1b621a273ad70bcecf1eaa309c6 WHIRLPOOL 4bb52b4be932ab448567b1153b9b244aaf4a493a1ea588e87b561fc66383b82fd33d71cc4b338f2c7738d8e27d1a2c1913d5dd78e32c6a74c6e3737d18ed8bab +MISC metadata.xml 326 SHA256 857a436178a07cd5a6d34991dd030476296132554f609c589e2845d4baf5ebaa SHA512 ab91fc711c2b092c6d15e4bdb2ef60ce1b842f0000cf31c05eb2668706a11f3018aa91475504c15ddbaa2612a316c9caf5d0f237f451bdb5a8411aaeae023d21 WHIRLPOOL 59a0b60c3d80350425233681ed3bb047b6935470fa923b62a5847e8e9e7f194e529ea37a8c1971a4eb702e2cd6234d0e6a19929b39f8c26fc6dd62907e67c272 diff --git a/games-puzzle/jag/jag-0.3.2.ebuild b/games-puzzle/jag/jag-0.3.2.ebuild new file mode 100644 index 000000000000..83cb6b370c23 --- /dev/null +++ b/games-puzzle/jag/jag-0.3.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils qt4-r2 games + +DESCRIPTION="Arcade 2D Puzzle Game" +HOMEPAGE="http://jag.xlabsoft.com/" +SRC_URI="http://jag.xlabsoft.com/files/${P}-src.zip + http://jag.xlabsoft.com/files/${P}-data.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="editor" + +RDEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtopengl:4 + x11-libs/libXrandr + media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${P}-src + +src_prepare() { + mv "${WORKDIR}"/${P}-data/data "${WORKDIR}"/${P}-src/ + sed -i \ + -e "s:/usr/local/bin:${GAMES_BINDIR}:g" \ + -e "s:/usr/local/games:${GAMES_DATADIR}:g" \ + -e "s:LIBS += -lSDLmain:LIBS += -lSDL -lX11:" \ + Game.pro main.cpp editor/editor.pro \ + || die "sed failed" +} + +src_configure() { + qt4-r2_src_configure + if use editor; then + cd editor + eqmake4 editor.pro + fi +} + +src_compile() { + qt4-r2_src_compile + if use editor; then + cd editor + qt4-r2_src_compile + fi +} + +src_install() { + qt4-r2_src_install + newicon images/logo.png ${PN}.png + make_desktop_entry jag Jag + + if use editor; then + cd editor + qt4-r2_src_install + make_desktop_entry jag-editor "Jag Level editor" ${PN} + fi + + prepgamesdirs +} diff --git a/games-puzzle/jag/metadata.xml b/games-puzzle/jag/metadata.xml new file mode 100644 index 000000000000..77b6c07ca6a5 --- /dev/null +++ b/games-puzzle/jag/metadata.xml @@ -0,0 +1,11 @@ +<?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="editor">Install level editor</flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/jools/Manifest b/games-puzzle/jools/Manifest new file mode 100644 index 000000000000..827abb7c5f8b --- /dev/null +++ b/games-puzzle/jools/Manifest @@ -0,0 +1,6 @@ +DIST jools-0.20.tar.gz 1710143 SHA256 50f5c23491e45b4658baecdb774ba071000f4c9a1164b77c95cbfe711f3e36c8 SHA512 11eadceb8208a72846a9e16a2dae0a1b1d7f8995d5ff2487ee03dd62811f3a232c0d08dc044c351f44c120e6e75eba11df1a727a9d5c6c57ce5e2ef8ee4d0986 WHIRLPOOL 7c84e67e4c1b1ced837f8295bd8333bf511f526494d0cf1d9f75f97bc675955aa91aa5f49ef452fc45e5f596fc22d904b90113409f66877c0f2140f730ff2fd1 +DIST jools-musicpack-1.0.tar.gz 4447501 SHA256 baf3bd24a65508868b13b6224a0661dc4b8616eb8d70fab04a9e732d32983c84 SHA512 1773beb8cd7df756cb4f7ba55729a6dfa995ca860f3381e2fed3884f42227d19955e13f8be9b2f6f64d4d86e452be9fe876963e24c85cd2c3cc42df62804b9c2 WHIRLPOOL 0b3cfc8c115919c375132150a5bb5fd861d592f8ae6de75e9fe00b835ebdbcd4988a8187499bc50049931b2a2651113f24de84ff240082961197a6dd9328cdae +EBUILD jools-0.20-r2.ebuild 1307 SHA256 c61b1b4907c361e2661cac42acd5989bedfc1d821ecad537ff95b4dcd4cab6e8 SHA512 47fd33bf95c2d7e5f259e300e07de49e0b0fe507c5d1986ad93b8e3dfc7005366462900a3a92f9178bda901f8a21c118ef0804cb8f1bc28514d57c86ab3f3fb0 WHIRLPOOL 86835a7a3827fdb68c5d2f023c92808123cb75b1e7dce4fcfcfe97b74e002a45d77911f8ac158e069c9ad4527d2aac9a655605155f6e6fb06fc545bbc4c026e0 +MISC ChangeLog 2429 SHA256 c7579692656a32c6a630e670dc57a6447e538c8834ca6cf1c72b1187b40d6ca2 SHA512 669aec22bd9eb9f73556cf6b21c0dc418074831bc576cad108b1db3a1389ac41e3d60b3bc341f0d94062abd49521092ff69a2879df1cc440e10131e726d84f81 WHIRLPOOL b6d225d763e1bce0d1d6b65c6a4abb04044ff8c066e61523add99d9bbcfb8c99668260e55c3db34561289cff1848f3cf7eec8f7a7d84529b86202b6ef9117a51 +MISC ChangeLog-2015 2111 SHA256 75b74131f2bc96247612ea1a93215ad8cce614ebf397cdfc3a221d31ae105d7d SHA512 a840de08cef12de2418bfadf1a42946a07bb8565f8f3648e9a6920e545f8e8fde15c39d6b2014dc9b634a08fc9bd491a182b1cd40a36032414870d6dd22c40e9 WHIRLPOOL df43bf4696bf65ef651e7b8e01065d1a51dc927ed3f825d96ab694f79f90b1b1a60d3a18b878a587c09caa012102302d46fae70c3da5a0f29f710466c7d45ae8 +MISC metadata.xml 671 SHA256 0a738f5b0d9a72535ea635741fd0b98a43c6a294e292e3e9f338e10d338e99a7 SHA512 928c0217e8ef9222cee84694ef0da21cb7fa50bc190361979c4eb44e01081b49e805e441128baddfb13269b7a8f02f991cc4cb08b253cc1a475859d393f786c6 WHIRLPOOL 0a6c60530906d20c2bf0cd25ee3568424f9019cd5fd8e98b86bc757e9ea7d9eec850575e2ee11a358f3bfc7ab9d3ebb9aa444dcf53ca43042d8ca5fe3efae6ab diff --git a/games-puzzle/jools/jools-0.20-r2.ebuild b/games-puzzle/jools/jools-0.20-r2.ebuild new file mode 100644 index 000000000000..f761986f112a --- /dev/null +++ b/games-puzzle/jools/jools-0.20-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 games + +MUS_P=${PN}-musicpack-1.0 +DESCRIPTION="clone of Bejeweled, a popular pattern-matching game" +HOMEPAGE="http://pessimization.com/software/jools/" +SRC_URI="http://pessimization.com/software/jools/${P}.tar.gz + http://pessimization.com/software/jools/${MUS_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="dev-python/pygame[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +RDEPEND=${DEPEND} +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${P}/jools + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}"/music + unpack ${MUS_P}.tar.gz +} + +src_prepare() { + echo "MEDIAROOT = \"${GAMES_DATADIR}/${PN}\"" > config.py + python_fix_shebang . +} + +src_install() { + games_make_wrapper ${PN} "${EPYTHON} ./__init__.py" "$(games_get_libdir)"/${PN} + insinto "$(games_get_libdir)"/${PN} + doins *.py + python_optimize "${D}$(games_get_libdir)/${PN}" + + insinto "${GAMES_DATADIR}"/${PN} + doins -r fonts images music sounds + + newicon images/ruby/0001.png ${PN}.png + make_desktop_entry ${PN} Jools + dodoc ../{ChangeLog,doc/{POINTS,TODO}} + dohtml ../doc/manual.html + prepgamesdirs +} diff --git a/games-puzzle/jools/metadata.xml b/games-puzzle/jools/metadata.xml new file mode 100644 index 000000000000..5e917c0945b8 --- /dev/null +++ b/games-puzzle/jools/metadata.xml @@ -0,0 +1,15 @@ +<?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> +<longdescription lang="en"> +Jools is a graphical puzzle game in the tradition of Tetris. It has begun as +a clone of Bejeweled, which is currently available for Windows, Mac, and +Palm/Pocket PC devices. In a nutshell, the goal is to swap adjacent jools +(jewels) within a grid, in order to create rows of three or more of a kind. +These jools will then disappear, and more will fall to fill their places. +</longdescription> +</pkgmetadata> diff --git a/games-puzzle/ksokoban/Manifest b/games-puzzle/ksokoban/Manifest new file mode 100644 index 000000000000..530fc27880b3 --- /dev/null +++ b/games-puzzle/ksokoban/Manifest @@ -0,0 +1,6 @@ +DIST ksokoban-0.5.0_pre20120725.tar.xz 345344 SHA256 fb1c47e37b7d6297960f67377f9bac0deb9c4b132c251c02cdd75d1935bc2b5c SHA512 b7a962a5915bb6f10ecb85dfaae20b009a6c40ba0312e02d12b654e196bdef82159e7f0d6fca17b1befaa1cb17db1a9268822904cdf9bdc8bd1bacf2202b460c WHIRLPOOL 3026b04a4a50da8097a926949ab80e736d0f77f814f437aa87a39c6b5805ab0636cb6dde5a1ab74a76b56ce17b44176bf393c5ffe66e86314b30b77ae9921b4c +EBUILD ksokoban-0.5.0_pre20120725.ebuild 871 SHA256 aed18b33d8070ac67fb6401a226ad55d7c1da915d225f2b9d12d57f72ff874f1 SHA512 c54531d805db6bd72e323db769601df13340cd01fc1d6b2789175ee1922a84304b94ef3f4c95b0636ba2f74a3a7eae6f38ff4b6b7650aaadc976f6b4269fa769 WHIRLPOOL 336fb8bae8a0560fcf60a5c1885cc74e1a8e9486a32ae1baacecd02dcd934aa93f0e79c51e6f5872c97ffc966404dc695a54ab015b98a32f1c86c7acfc63f1ee +EBUILD ksokoban-9999.ebuild 871 SHA256 aed18b33d8070ac67fb6401a226ad55d7c1da915d225f2b9d12d57f72ff874f1 SHA512 c54531d805db6bd72e323db769601df13340cd01fc1d6b2789175ee1922a84304b94ef3f4c95b0636ba2f74a3a7eae6f38ff4b6b7650aaadc976f6b4269fa769 WHIRLPOOL 336fb8bae8a0560fcf60a5c1885cc74e1a8e9486a32ae1baacecd02dcd934aa93f0e79c51e6f5872c97ffc966404dc695a54ab015b98a32f1c86c7acfc63f1ee +MISC ChangeLog 2864 SHA256 347b87283b401cab2f4a68aa64f2c60ba47cd58e1474d8a107a76e2e1e8841e3 SHA512 cd164eeb7ae765117147e56c560912713315b1b14b6d1ec3d51987c6fd75ebe57ea0201fca72aced23f3eaec730fddd0adf0ec947e0daa4251aa9b41cc0d8fb4 WHIRLPOOL b29a3da1abb706a72d019a1dbb6214b757265b5ac67c122b3fd2139b2063c0d755e7fff3ee872e3075143e1bf57383fe4c566d5553c1a04c23a353f36a194ffb +MISC ChangeLog-2015 628 SHA256 474274472c03cf73145b02b18be18aeef1c2e60f788cb96936b1b93feddf367f SHA512 c8afbe11383731e7f6e2bbe85ef34d98eb935d4fbbec01d5c7d2fd6d82125ba9ba2cbd47068dc4973cb523c39964162e28370e3c97cc777a416f87ccf6786465 WHIRLPOOL 05219be318311dc18ffd27294bad81be8d6be3201007767a6c5fc8066575194b396e08310714d84fc772bc4745ca45be4bfa5e183488540a279dd36fd1245f19 +MISC metadata.xml 296 SHA256 cf129e89cde5700b20279e04807a18cca57d955381c26e78c5495f53d6c2dbd4 SHA512 50facad52c9acec67642e499d377ccd05b7a18f578f0d71b6b8b222e6ac6a310b24913d9374bb9ba995fbc3cd55612f79ae562c8fe9ecd1e451d472505bd8e14 WHIRLPOOL 0a8b7fccd2084006bc0908022b462dcd05768a747833331056f83191f09891891c582e45c2d3e1d85ac53e57292948e73616f7eb413eabec194d11fb2c3f987b diff --git a/games-puzzle/ksokoban/ksokoban-0.5.0_pre20120725.ebuild b/games-puzzle/ksokoban/ksokoban-0.5.0_pre20120725.ebuild new file mode 100644 index 000000000000..248af7967e33 --- /dev/null +++ b/games-puzzle/ksokoban/ksokoban-0.5.0_pre20120725.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +if [[ ${PV} == "9999" ]]; then + inherit mercurial + EHG_REPO_URI="http://hg.code.sf.net/p/ksokoban/code" +else + SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +inherit cmake-utils +DESCRIPTION="The japanese warehouse keeper game" +HOMEPAGE="https://sourceforge.net/projects/ksokoban/" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="kde-frameworks/kdelibs:4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +CMAKE_IN_SOURCE_BUILD="yes" + +src_prepare() { + sed -i 's/%m//' "data/${PN}.desktop" || die "sed for desktop file failed" +} + +# source lacks install target +src_install() { + dobin ksokoban + dodoc AUTHORS NEWS TODO + domenu "data/${PN}.desktop" + for i in 16 22 32 48 64 128; do + doicon -s "${i}" "data/hi${i}-app-${PN}.png" + done +} diff --git a/games-puzzle/ksokoban/ksokoban-9999.ebuild b/games-puzzle/ksokoban/ksokoban-9999.ebuild new file mode 100644 index 000000000000..248af7967e33 --- /dev/null +++ b/games-puzzle/ksokoban/ksokoban-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +if [[ ${PV} == "9999" ]]; then + inherit mercurial + EHG_REPO_URI="http://hg.code.sf.net/p/ksokoban/code" +else + SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz" + KEYWORDS="~amd64 ~x86" +fi + +inherit cmake-utils +DESCRIPTION="The japanese warehouse keeper game" +HOMEPAGE="https://sourceforge.net/projects/ksokoban/" +LICENSE="GPL-2" +SLOT="0" + +DEPEND="kde-frameworks/kdelibs:4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +CMAKE_IN_SOURCE_BUILD="yes" + +src_prepare() { + sed -i 's/%m//' "data/${PN}.desktop" || die "sed for desktop file failed" +} + +# source lacks install target +src_install() { + dobin ksokoban + dodoc AUTHORS NEWS TODO + domenu "data/${PN}.desktop" + for i in 16 22 32 48 64 128; do + doicon -s "${i}" "data/hi${i}-app-${PN}.png" + done +} diff --git a/games-puzzle/ksokoban/metadata.xml b/games-puzzle/ksokoban/metadata.xml new file mode 100644 index 000000000000..0328a782193f --- /dev/null +++ b/games-puzzle/ksokoban/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">ksokoban</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/larry/Manifest b/games-puzzle/larry/Manifest new file mode 100644 index 000000000000..870dd69fedee --- /dev/null +++ b/games-puzzle/larry/Manifest @@ -0,0 +1,6 @@ +AUX larry-wrapper 131 SHA256 623e7c97bed6c2ece047fa57d120c4542acb9cb50f7d914ab158de6f3b3a0dcd SHA512 d7260aea5f34994355453d40cde2a2e71610517abdc2a6b76a2f78ed8cc0a0ad06a8eed4e5a1419ae7daf36f6fbcb0252d999f6f0625ca3b9ae7a234e43afa0c WHIRLPOOL 617ab745fea053ab31cf4c5d9248138f02d84a10dcf839fa6ec8b344da4e2efcf60354db00128159e1d070f10af8240196f5263ed4ec0a58c37d7cd4d2f81b7f +DIST LarryReloadedLinux.tar.gz 767543995 SHA256 8fe697796e8a62f52105490da6768c35a3d5f76a5aafe02a9d10fb387186e703 SHA512 81ad52ba562eb890d2f001c3e4174222b183064103da3c4f2ddcb4cbf3ad432892b35aeb6b4e253ffc972431f6c673c149bb4a80d742a05c20bec803feaaa23a WHIRLPOOL 9d75e5b28091a12e064247ea71cc6d3ddb5132c974b65f7cd2ddcd167e3a24bbf30024b0d7777b4f7770c2199e28e5959cc033b7a052fbb14ea422c43cbfb142 +EBUILD larry-1-r1.ebuild 1325 SHA256 5d47fdc56b692652064455650995ce5fa9849b3fdce9499d2672bad546812864 SHA512 fb11a7d6d28764a21eb34f8359c76d6b4e45f4d9c9b2bde0e614897ed546dedd439d105484a382333ff42dff46decdf1a44fd2f363e26906234c7e6595a84982 WHIRLPOOL 21cd2b430655678a64d239f8d4da19a927996167fd3be5f3d86c4f248a8e84246c2f4bdfb79c5a20eaab6ab1abe59863ee123dfb6d7e03287cd9534d30098c56 +MISC ChangeLog 2445 SHA256 aaa2aa0e37b8ff2e407ad3cac868fa6a40676692935af116bc6b8affe6d8d59c SHA512 8078c45b9dc907f05fead9d9c35f0c97a4cb89d7c683ad29f6d00f5b4cdde02acd29e257d5402845e83f5abb4874b58be2985c4b69f32e3d24a046e3bf322471 WHIRLPOOL 13cc47e523ab5f0bbdc58e8e82a7456922a21336c61d46e3854813307e30827a133171fbbbb3c3c3e9dd7de5cad60cd84fd6645df38a68b6f8ba7b71facb167a +MISC ChangeLog-2015 980 SHA256 2970edd41cee7862e1b7c12020d331c520868b2b2c7b2f224bc0822f90fd61d1 SHA512 f0d2f444128980bf1a10998e071be97b6b110c1572ee77fa2be35ca8cc9816812c328533a47c344233b20e84d970c07805882233813d614b38e7cad30478d35c WHIRLPOOL ae814f0fd74cfe54d635e99d74a534ad7de9df6b13ec27d8b699abdc3e4a943a8dc73e281a26462e4989ca4f51da4877e8db8195ad6df1710f732101d72acbc7 +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-puzzle/larry/files/larry-wrapper b/games-puzzle/larry/files/larry-wrapper new file mode 100644 index 000000000000..717be43fbd10 --- /dev/null +++ b/games-puzzle/larry/files/larry-wrapper @@ -0,0 +1,7 @@ +#!/bin/sh + +# https://forums.replaygamesinc.com/viewtopic.php?f=28&t=1141 +export LC_ALL=C + +cd "@GAMES_DIR@" +exec ./Larry-Linux "$@" diff --git a/games-puzzle/larry/larry-1-r1.ebuild b/games-puzzle/larry/larry-1-r1.ebuild new file mode 100644 index 000000000000..95bdd1f2aed5 --- /dev/null +++ b/games-puzzle/larry/larry-1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils check-reqs gnome2-utils games + +DESCRIPTION="Leisure Suit Larry Reloaded" +HOMEPAGE="https://www.replaygamesinc.com" +SRC_URI="LarryReloadedLinux.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="bindist fetch splitdebug" + +QA_PREBUILT="${GAMES_PREFIX_OPT#/}/${PN}/Larry-Linux + ${GAMES_PREFIX_OPT#/}/${PN}/Larry-Linux_Data/Mono/x86/libmono.so" +CHECKREQS_DISK_VAR="4500M" +CHECKREQS_DISK_USR="4500M" + +S=${WORKDIR} + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_prepare() { + sed \ + -e "s#@GAMES_DIR@#${GAMES_PREFIX_OPT}/${PN}#" \ + "${FILESDIR}"/${PN}-wrapper > "${S}"/larry || die +} + +src_install() { + newicon -s 128 Larry/Larry-Linux_Data/Resources/UnityPlayer.png ${PN}.png + make_desktop_entry ${PN} + + dogamesbin larry + # move it, over 4gb + dodir "${GAMES_PREFIX_OPT}"/${PN} + mv Larry/* "${ED%/}/${GAMES_PREFIX_OPT}"/${PN}/ || die + + fperms +x "${GAMES_PREFIX_OPT}"/${PN}/Larry-Linux + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/larry/metadata.xml b/games-puzzle/larry/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-puzzle/larry/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> diff --git a/games-puzzle/lightsoff/Manifest b/games-puzzle/lightsoff/Manifest new file mode 100644 index 000000000000..0d5da489281f --- /dev/null +++ b/games-puzzle/lightsoff/Manifest @@ -0,0 +1,7 @@ +DIST lightsoff-3.22.2.tar.xz 1930644 SHA256 07a518a97060c62cfbed278930aa0b35962187e2a6a600d367ac793a95687999 SHA512 7ea73db9199f1db0d321a10540a15db245684284fc7a5f7860770f01ffe1a5febb287b2d597d1e1a03e1a2bb917ec58df318caca0a6622215469a2e76a2fc05a WHIRLPOOL 76b82d577560afb4031c3077ce15e3fd803252c1ad67708496c8788803eede8daa1c43663f08d85ed90084b365c049c305a5db21508c7e58a202a8779175533e +DIST lightsoff-3.24.0.tar.xz 1943672 SHA256 5d1bb7de4b3f5c7814e5599a5171cfdeef74e774a8a6dbd992c893a5af6bd8ce SHA512 ef036512b3c4e60b4419005864c3f6f4f9447af2e4d12fac1df7603f5837adf2cbe0f41f6089d3e683c3606d021d35e0cc41589938054988506aef3881936e6a WHIRLPOOL 3033109b9ffeef6be9476e380613ad2c91a89f7c2d528269d781bca29d0984f2d95f937e6e87a2d042ae84a85d6822a2120ed284253b0daf935dfe59d501880b +EBUILD lightsoff-3.22.2.ebuild 660 SHA256 bb7e4481f29116507fcc710a2033164900a34f6c7d958299df731f5528882c55 SHA512 e2a845b1d957011faa8c3824cb2aae5bfedc9866dbb231b278c44d2a00d8b71d7cd401b0714a08ac75689c9826f32628be6773e14ca12a254b5fe3d115da0ac7 WHIRLPOOL 1ad3457789b43f9949805423abfb2f0bbb7ba26ffbae52893a0bdcaa160f2fcf44b32ab8b5e4e3eba219f6ec575e529fba906d9d0383936410df41ebf368b0a6 +EBUILD lightsoff-3.24.0.ebuild 662 SHA256 404a007f4c123c7d78ee0d976bf243b0af7c04ffc3b0b8d0a29462a4997b9543 SHA512 393227aa9a5f8156493f9e5ac3bf492c17cd7cb041d8bb9f815b4da908b06de0e4fae89a2e3becd4e2a24f71fb8c1bcc08e66fcbdf9ae55d712539c24b19d9f9 WHIRLPOOL f819b08f5d670e8c7764a973eb40911eea50ae1a89cbe11972f863a05fd5c09685b09b1c678ad7ea7ed7a6d6f71b1ce49cf0c3d735211351cca2547729aa487b +MISC ChangeLog 4864 SHA256 dafd8c61205deddc2f771d7ae7b2b6f45c0752685758b5ea8b8a5a64b69221a4 SHA512 bb3b1bfe492dcac8988864b44cdf6763d2cb137057014975048f380b3615dec64c8e0631b7c6c437fa7b2a8420a3de023217cf03289f8d1abb9e6c668e28dcca WHIRLPOOL 42e1c2086409ad34f62e89a92391494d049c8b61d1c468696ebb8082f13e943ff979957b9cedf5ef355105fea7fb3c6a341134d93f7fb37e04d9d744768cf112 +MISC ChangeLog-2015 2648 SHA256 2d14e614cc70f044426da73a12c783d2d5d657920ac7c0e6bac2286baf96126b SHA512 1c486f3e7c1e6316d17b894254f3156f869db0824cffb3c22155cca5765da80db9743054dcf9e47528084f3aaee377725164ed04a9d005c1b392a8d67307dfe8 WHIRLPOOL 9d4d2ae9d50b9efb75eb28b38c9a416493ca728dfb07f101228bad069e928626961e8ecb61ba47200a4a1bd250087d11335c856e60ce14d411482e16cfa07be8 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/lightsoff/lightsoff-3.22.2.ebuild b/games-puzzle/lightsoff/lightsoff-3.22.2.ebuild new file mode 100644 index 000000000000..bbd45dd9c4de --- /dev/null +++ b/games-puzzle/lightsoff/lightsoff-3.22.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 vala + +DESCRIPTION="Turn off all the lights" +HOMEPAGE="https://wiki.gnome.org/Apps/Lightsoff" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=gnome-base/librsvg-2.32:2 + >=media-libs/clutter-1.14:1.0 + >=media-libs/clutter-gtk-1.5.5:1.0 + >=x11-libs/gtk+-3.13.4:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/lightsoff/lightsoff-3.24.0.ebuild b/games-puzzle/lightsoff/lightsoff-3.24.0.ebuild new file mode 100644 index 000000000000..be37f4059767 --- /dev/null +++ b/games-puzzle/lightsoff/lightsoff-3.24.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 vala + +DESCRIPTION="Turn off all the lights" +HOMEPAGE="https://wiki.gnome.org/Apps/Lightsoff" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.38:2 + >=gnome-base/librsvg-2.32:2 + >=media-libs/clutter-1.14:1.0 + >=media-libs/clutter-gtk-1.5.5:1.0 + >=x11-libs/gtk+-3.13.4:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/lightsoff/metadata.xml b/games-puzzle/lightsoff/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/lightsoff/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/lmarbles/Manifest b/games-puzzle/lmarbles/Manifest new file mode 100644 index 000000000000..f6f9c6f54bb6 --- /dev/null +++ b/games-puzzle/lmarbles/Manifest @@ -0,0 +1,6 @@ +AUX lmarbles-1.0.8-gentoo.patch 560 SHA256 931ff466ea38c8042e1ab4f11cc5d17904f34c5ed8271b25fcb591792001b20d SHA512 158a253d346fc5bec9eb8ecdd8541df04fdd9946bc2f59d7404e5ae08415a161079f38697ecfde2b22065708c8704b2fd9232f13872c394ab8274063166d0d41 WHIRLPOOL 8e91c32a7d1af293f4ed214d5430ee69a3fb227e785c93b217cd9d3f2596616a0ef85b389a37f5b278b1c9fbcc564fad89384c0323e7ce7c9ad3eaf7ce200b6c +DIST lmarbles-1.0.8.tar.gz 914238 SHA256 0e5a16a0116d325589b28f3555ced6a0b486f0fd7632cd3d98bee5cddf213e83 SHA512 d765b669a1b0039a0af8b28ede8209e9736c2f967b21d9f8372d1fc5475d49a766bef297615bff090532ade41fe44e084a458227b443566a54afebc3e989b57a WHIRLPOOL 030942eb4d8dc0c4002fcf597832c27457f1debdd059b299bc9fc41a74896eea0a066d8062c4e344cf327637796be5e77e43363170a6e7a8d33a429cffdcaf1f +EBUILD lmarbles-1.0.8.ebuild 712 SHA256 85330663527f7538ec42f040641f0dc770edc812c34b23713915db8f570d81fd SHA512 41b15cd9deaa81f3e61829c29cf9101d73f4fe2fdf2336e4ceaca7138dcb55b4ea86c1af7d4ad2120a5a7c860c8c10be09ca8a0bd65cbd81d80e3e05251498f2 WHIRLPOOL 798aaf0d98db98b59888c7d25d26271403f1e78e5be2ca7f656bbe5a218a78e7eb909e6751018573b801dbe294d7c9dd7b1903ea98d30e3ebeb3e4f6b5108c1f +MISC ChangeLog 2470 SHA256 d0e6dbae996a4ec24da23f04b8ca121af06a35ee97625deab3cd4422aa6a579d SHA512 ae5ca0353214b78dcc0ad1626ca7686eb6cae8d1a733602739aa77d44950cfac4b972fc8154257d2b03b12a3e353b5053fa558cc73abf5b0aa125a919105a0ed WHIRLPOOL 1e285ac0cdf4f668e0c75b85d52c68569ee48a39d8f2613ef68320cb8cdba541a9fa56b94294a57f5839dfbc7a597f15ce1b9bb89fea15b36e6a75b43fcca9b5 +MISC ChangeLog-2015 1419 SHA256 5ccf26ef058ae3cbe157d33963f6872ca4ce25a5dd964c4f702c45c0975ccb6d SHA512 415f6620dbc545061515451f3dcb74cd8751018f717933b1ae7ddf97a64f71f514de54fd81abca35d10d81c6a0e90dc047beacb527982e8c29ff12c8fa4ca63f WHIRLPOOL 5179b4afe9f52403c44965640992c789b5d4988bf1ae1544ca8b93942a8b9902556d47e3902a6fef8a5146cec30d9ea357ad46f13d16e56db66bfec02415b7ae +MISC metadata.xml 329 SHA256 677366ad46dc60999490d23fa85e7d6f2e04596caac98deb8a04d1dc224c7932 SHA512 2439299362958450ac88f39ba8332cb84d42694d471f79cf8a6b9d38ecc96fa629b91530dee7c50aa23fab5e5a0155cb92cb3a8131a1b69e9375f114da86b463 WHIRLPOOL 65e6d198fb2ebd6dfc0038bc37d6f11c5ae44e60f5db9b641d40bf2248abf21e7e6e7bacc2109a42c16be0e092ba37708baa53b8c166efff2fff4db8e878f105 diff --git a/games-puzzle/lmarbles/files/lmarbles-1.0.8-gentoo.patch b/games-puzzle/lmarbles/files/lmarbles-1.0.8-gentoo.patch new file mode 100644 index 000000000000..160b6d0f79d5 --- /dev/null +++ b/games-puzzle/lmarbles/files/lmarbles-1.0.8-gentoo.patch @@ -0,0 +1,15 @@ +diff -ru lmarbles-1.0.8.orig/Makefile.am lmarbles-1.0.8/Makefile.am +--- lmarbles-1.0.8.orig/Makefile.am 2009-10-26 16:01:08.000000000 -0400 ++++ lmarbles-1.0.8/Makefile.am 2009-11-07 13:23:55.994140203 -0500 +@@ -4,11 +4,6 @@ + README-SDL.txt TODO LMarbles.prj lmarbles32.gif lmarbles48.gif \ + lmarbles.desktop.in + +-desktopdir = $(datadir)/applications +-desktop_DATA = lmarbles.desktop +-icondir = $(datadir)/icons +-icon_DATA = lmarbles48.gif +- + AUTOMAKE_OPTIONS = foreign + + WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt TODO marbles.spec diff --git a/games-puzzle/lmarbles/lmarbles-1.0.8.ebuild b/games-puzzle/lmarbles/lmarbles-1.0.8.ebuild new file mode 100644 index 000000000000..b17c5eb51462 --- /dev/null +++ b/games-puzzle/lmarbles/lmarbles-1.0.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +DESCRIPTION="puzzle game inspired by Atomix and written in SDL" +HOMEPAGE="http://lgames.sourceforge.net/LMarbles/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +src_prepare() { + mv configure.{in,ac} + rm *.m4 + epatch "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_install() { + default + newicon lmarbles48.gif ${PN}.gif + make_desktop_entry lmarbles LMarbles /usr/share/pixmaps/${PN}.gif + dohtml src/manual/* + prepgamesdirs +} diff --git a/games-puzzle/lmarbles/metadata.xml b/games-puzzle/lmarbles/metadata.xml new file mode 100644 index 000000000000..2cbba7c09d17 --- /dev/null +++ b/games-puzzle/lmarbles/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/lpairs/Manifest b/games-puzzle/lpairs/Manifest new file mode 100644 index 000000000000..87428fed0789 --- /dev/null +++ b/games-puzzle/lpairs/Manifest @@ -0,0 +1,5 @@ +DIST lpairs-1.0.4.tar.gz 536625 SHA256 350237a51a5de6b2a557af687b4f16678056a0e8d8d96d7e395f6629481462c5 SHA512 637f9782c1c1faee3fe0d02adeeb7ea70704f1b625922e1ba086cd03e9a6cf1d61a082eff4753a2ec8be5fc7041bd029f193adf847a39e773e4eedd9eafb2b97 WHIRLPOOL 36d57eb4100a03fdd73e770759330799a55973860b7213f8b4f1847d546e54197071dc064171c9f15c936d71c83b35aa9ae49c5b68ad019741d8964be1735a47 +EBUILD lpairs-1.0.4.ebuild 968 SHA256 eefd0e31ca00dfa5e7642db4785bcc34ae37365121f17fa9fff5c54254c2e7fc SHA512 4f9db43853960336fd9c966b178a0d718dbb9bb8f83149f7cce3e64053206d3690ded31ac83d34add56a4e8800f74c388c400f1291fc742ee4bbb223effcbb9c WHIRLPOOL a2c80340403f9c6776b730af10ff31e8bfc09e88bd5408942973fa0cc50d63f8b3c145a30e8f949089f570e4d38cf7bb92f4ac84190d9cce9c037abbeb1747a7 +MISC ChangeLog 2622 SHA256 7e42af1ff9d18f9615d8b8efa6f6df2f3ff0925789c30e94d43f46b0966f4108 SHA512 7e65a13be928fb5a9c9679243823133b1d518e774e40e9b6d6542d53c4291afe566c77ee184e3daded7ddd71fb70c3b2aef2c974cc4e19f0c0e0390dc880b3c7 WHIRLPOOL 54e7beb2d7f285ff59448a92efaf31abd21e727826b3a5e1a5457c594b1b665a14786f260d31878e6dae317aa27ad0210a7f2f4de3b44118b4dc8cfe7ce836d1 +MISC ChangeLog-2015 2215 SHA256 000d152036684d073691ad594cb7802038cdee2a34839fe6e794849f13b4a589 SHA512 5b4c4be2a8cc916e9dd3e7723d142fe3f766836df833aae3c090708bf9d1343a0c62837a0df11838f1cb37f8175af30080d034ede8778508694c12d1fa85c4a0 WHIRLPOOL 2d2566340b4ce3f0af3983b2c8d109125da7019cd2cdc7f4c22861d9c6a41789e082bebbc209a126ffcaabcc82576844e63d172f3542a6c260eb9999a6b3361b +MISC metadata.xml 329 SHA256 677366ad46dc60999490d23fa85e7d6f2e04596caac98deb8a04d1dc224c7932 SHA512 2439299362958450ac88f39ba8332cb84d42694d471f79cf8a6b9d38ecc96fa629b91530dee7c50aa23fab5e5a0155cb92cb3a8131a1b69e9375f114da86b463 WHIRLPOOL 65e6d198fb2ebd6dfc0038bc37d6f11c5ae44e60f5db9b641d40bf2248abf21e7e6e7bacc2109a42c16be0e092ba37708baa53b8c166efff2fff4db8e878f105 diff --git a/games-puzzle/lpairs/lpairs-1.0.4.ebuild b/games-puzzle/lpairs/lpairs-1.0.4.ebuild new file mode 100644 index 000000000000..f5169a3488fc --- /dev/null +++ b/games-puzzle/lpairs/lpairs-1.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A classical memory game" +HOMEPAGE="http://lgames.sourceforge.net/LPairs/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls sound" + +RDEPEND="media-libs/libsdl[sound?,video] + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + sed -i \ + -e 's:$localedir:/usr/share/locale:' \ + -e 's:$(localedir):/usr/share/locale:' \ + configure po/Makefile.in.in || die + # gcc5 doesn't like the way inline is used. just punt it. (bug #568684) + sed -i -e 's/^inline//g' lpairs/{sdl.[ch],pairs.[ch]} || die +} + +src_configure() { + egamesconf \ + --datadir="${GAMES_DATADIR_BASE}" \ + $(use_enable nls) \ + $(usex sound '' --disable-sound) +} + +src_install() { + default + doicon lpairs.png + make_desktop_entry lpairs LPairs + prepgamesdirs +} diff --git a/games-puzzle/lpairs/metadata.xml b/games-puzzle/lpairs/metadata.xml new file mode 100644 index 000000000000..2cbba7c09d17 --- /dev/null +++ b/games-puzzle/lpairs/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/ltris/Manifest b/games-puzzle/ltris/Manifest new file mode 100644 index 000000000000..a380fe753bff --- /dev/null +++ b/games-puzzle/ltris/Manifest @@ -0,0 +1,6 @@ +AUX ltris-1.0.19-gentoo.patch 1769 SHA256 0dcab40caeb7b039728c54a5c1f2c9605be9fa4d17f4a35637d173bcf7cf9594 SHA512 c0040258b95252efba67cc9da7e598ee2c2cb92b97702b14487d6b0c796bf25022af05350459540a95caf84249b95245d80d5da4be09bff6670f15ca754505a6 WHIRLPOOL 680d5e23a8f0cd5d35780eb1cefc60b831c7707ca32c79964dfb97f878474d037d1bbd1cbee9e4f199f1b964c68509107044476bb2bf2656cd7e7462f559165c +DIST ltris-1.0.19.tar.gz 883543 SHA256 8f6a9e7719d22004aee153db29ffd9ca41c7a6cd87fc791591994eecc2e625a1 SHA512 ab43b3d8f04ab40016be5b5c414f8679bee4f5f344ef9cab52c3628d48017458b84b0fbc0bcaecdfab43853a1ef628ee1cabf3a1373ea108650d4e76015881c5 WHIRLPOOL 9f9b12b5374a686affdf0243cad0220332150655202835f4a254a6febfcd3aab76d8f2331f832e8e891d4616f55190bb0b77f713dfe7ec96cf4df6a56084c003 +EBUILD ltris-1.0.19.ebuild 832 SHA256 fb6cbff8a8bec15a4e5132c95f51f5332ac097ea16f3c1d112de5f48c8f3ceba SHA512 4b16808c1ffe0ea654ee35d48d27b4bdb290ce4d04adc5555b85ada2724b347bb4ff7681edc015f77f505dd7fd71279c28e4a5eac1f3b1b8ebb5a8ea9c667896 WHIRLPOOL 7c4d4b109ef644e6cd1bbe8b92511630a088d2aa2e24814a0cb5c2fccbfaba5b41f29472aea7b7f0fcc92e7396e34ddbc574ecbc0656afe462f4eca10af5f13d +MISC ChangeLog 2605 SHA256 6b078c4ce72f1d9013ec2c20b35b751df0f264b7011f29a4f370010fd1698df9 SHA512 3c802c0de3b3e80769366395e9f3f96ba8352e7f38a4f3597793e8d2cd5698ea3687926715c133aa6cac2c99a67fdf6a59e89ea7c6b620e135af11a098454363 WHIRLPOOL 98d038618eb71fb1858f2a27baa20e302f8818d774f393c410cd8bed264bc8ddb0b97561fd5215c9ff7f6f8b3ebada6c071f72dbe1d938f0fe643497eb9dd777 +MISC ChangeLog-2015 7407 SHA256 4ee71f6f936da5b184d5b7232b233b42e2a600e3c03bfe7a82a940c6a728ebdb SHA512 f8b584b96d1ee2e82257389587403b2bf9fd43d8f5ec9d102cdea399240ac5b2cc66c3ba88e1667cb2aa1a2e40631eeca5e6a179ca9c784425f446eaeb0ad50a WHIRLPOOL 90fd7d8410750f74729b97c9824ea42e0ad31b5cc92b1484f7d20db5fbea3bebf381be3993dd17b5c2d313d3098a9bb9345121e7a5530f3bd1b5f455bcaa21f2 +MISC metadata.xml 329 SHA256 677366ad46dc60999490d23fa85e7d6f2e04596caac98deb8a04d1dc224c7932 SHA512 2439299362958450ac88f39ba8332cb84d42694d471f79cf8a6b9d38ecc96fa629b91530dee7c50aa23fab5e5a0155cb92cb3a8131a1b69e9375f114da86b463 WHIRLPOOL 65e6d198fb2ebd6dfc0038bc37d6f11c5ae44e60f5db9b641d40bf2248abf21e7e6e7bacc2109a42c16be0e092ba37708baa53b8c166efff2fff4db8e878f105 diff --git a/games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch b/games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch new file mode 100644 index 000000000000..82acee7d33bc --- /dev/null +++ b/games-puzzle/ltris/files/ltris-1.0.19-gentoo.patch @@ -0,0 +1,51 @@ +diff -ru ltris-1.0.15.orig/Makefile.am ltris-1.0.15/Makefile.am +--- ltris-1.0.15.orig/Makefile.am 2010-09-20 13:26:05.000000000 -0400 ++++ ltris-1.0.15/Makefile.am 2010-09-21 02:01:52.680858712 -0400 +@@ -1,21 +1,9 @@ +-SUBDIRS = intl m4 po src icons ++SUBDIRS = intl m4 po src + + EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL \ + README TODO touchall ABOUT-NLS po/tr.po_full po/pt.po_full \ +-po/nonascii.pl ltris32.gif ltris48.gif ltris.desktop.in +- +-desktopdir = $(datadir)/applications +-desktop_DATA = ltris.desktop +-icondir = $(datadir)/icons +-icon_DATA = ltris48.gif ++po/nonascii.pl + + AUTOMAKE_OPTIONS = foreign + +-# We can't use static desktop file because of icon location. Is this +-# the right way to handle it? At least it works... as long as $datadir +-# does not contain plus signs. :-) +-ltris.desktop: +- @sed -e "s+Icon=+Icon=$(datadir)/icons/ltris48.gif+" \ +- < ltris.desktop.in > ltris.desktop +- + ACLOCAL_AMFLAGS = -I m4 +diff -ru ltris-1.0.15.orig/configure.in ltris-1.0.15/configure.in +--- ltris-1.0.15.orig/configure.in 2010-09-20 13:23:17.000000000 -0400 ++++ ltris-1.0.15/configure.in 2010-09-21 02:02:22.418843746 -0400 +@@ -55,7 +55,7 @@ + AC_SUBST(buf_flag) + + dnl set localedir +-localedir=$datadir/locale ++localedir=/usr/share/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + + dnl installation path +diff -ru ltris-1.0.15.orig/po/Makefile.in.in ltris-1.0.15/po/Makefile.in.in +--- ltris-1.0.15.orig/po/Makefile.in.in 2005-10-04 14:41:03.000000000 -0400 ++++ ltris-1.0.15/po/Makefile.in.in 2010-09-21 02:02:40.464207966 -0400 +@@ -23,7 +23,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ diff --git a/games-puzzle/ltris/ltris-1.0.19.ebuild b/games-puzzle/ltris/ltris-1.0.19.ebuild new file mode 100644 index 000000000000..c25d935e5457 --- /dev/null +++ b/games-puzzle/ltris/ltris-1.0.19.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools flag-o-matic eutils games + +DESCRIPTION="very polished Tetris clone" +HOMEPAGE="http://lgames.sourceforge.net/LTris/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + mv configure.in configure.ac || die + AT_M4DIR=m4 eautoreconf + append-cflags -std=gnu89 # build with gcc5 (bug #570966) +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + newicon icons/ltris48.xpm ${PN}.xpm + make_desktop_entry ltris LTris + prepgamesdirs +} diff --git a/games-puzzle/ltris/metadata.xml b/games-puzzle/ltris/metadata.xml new file mode 100644 index 000000000000..2cbba7c09d17 --- /dev/null +++ b/games-puzzle/ltris/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/magiccube4d/Manifest b/games-puzzle/magiccube4d/Manifest new file mode 100644 index 000000000000..7aea3a6fb38d --- /dev/null +++ b/games-puzzle/magiccube4d/Manifest @@ -0,0 +1,9 @@ +AUX magiccube4d-2.2-64bit-ptr.patch 1406 SHA256 05465f556602569b1e32360ffc74439bfeb4f060e4a2be9351a7ffbdfdd7623d SHA512 eb684cca4f6f02903c71e970146f6c110d9634ce2f1416e64bdf258b85264c79eaaa9b869f05ddb116373d908f4d0d2675c87d275ab79f76b21f77c5ce1c1563 WHIRLPOOL a3634b575c3f0286101c9137f1803086657ab2d7de8318d77a3d8932ffe8acd6e3c139a0287538b9d1dd1461a2f0f71b347c91616482ab5a854dd1fee8421de4 +AUX magiccube4d-2.2-gcc41.patch 877 SHA256 b69cc3f95795e5c7c6885bf69ffa384695fe001270e6bb3837ec39568e0c9d1a SHA512 e821864c45eb6effa7c613c43cb687def58fda4a770d57909498171db94a17f3f1d5e6ea8f387766eefc788500fc686167333c3c4e42d78a6ce46192d9ee9b1e WHIRLPOOL 1857f3816c7eb3ecc4c057000206ded5a9de823ac9ec5d32e1d56fa377594335c9def3d8c68edfdc6b5bd9bddcacf2b3051d0fa40d3a04da34c31442d0ab48c7 +AUX magiccube4d-2.2-ldflags.patch 497 SHA256 8dd2cb5db7b8ff9156f72bfba490474cea980b45df5ebb203b481bb114da0545 SHA512 d1dd876b8fd4a1db40cc534f828370fce679e2db666409af9923cf6e37ff08c42def867b06cf712a2d4ac4b269a0e4a4f07f6abfd797b85680d902f1f4a67e2c WHIRLPOOL 267940c444d27f53418132690c3bf0603bb9135d86bc6c88a01a7729fe876c5fa86ea2c5a93af5e76f2e36c53aa028beb00d6172e0ea20e38f8e54d69b3e090e +AUX magiccube4d-EventHandler.patch 425 SHA256 6bfdc4a34d560624da46f437f66f857c259dc8cf945feb0d989f4fc3a145a98b SHA512 940ef99a94c1cea687196d918597785d813df30c6e15217a5a02a97cbb8b94ea67a60ed612a5974a8e2635f5b562c34acaee316d1790297166bf70112ee5db70 WHIRLPOOL a48f42e4eed583a9d952a90db74f99964eb90f64288032bfecf5338436560c764c6c0fc4b5a495e2bd2ff196c6cb284eb2d5131157005dc920a7dccded5a23eb +DIST mc4d-src-2_2.tgz 144645 SHA256 79c7b62bbe7a132a2eacf58f92f80113ea63171d3eea59755bc828a1aa9daa44 SHA512 19491460bada93b4ee2010004128279cb88ab866a5a8c791080d59fa86e5bacf966d7dab0c9b3074e94b77611ae341480d19b384079e83df549ef25e592b12a6 WHIRLPOOL 9413fc099375eaf1c5bfdba15e9836125c37275cf0be47560b8d4b99c7a3008393787e2037d91b8b4f8075cf7c3c408a84c111f43d3378f2bd780e8ee35137dc +EBUILD magiccube4d-2.2.ebuild 877 SHA256 ae4a46bd28bf25b3dde93ee3c39f8c0552b944e2e380d1e411ba1709481daea0 SHA512 b4efd153f71082fbae9a968da5c0d8daf8c9bb9dc8c45fb6219564573336fccd3d70f69d344b0003802a74a4e45aed158eeeb90353ed90f8aed2235d25dcc6c3 WHIRLPOOL 3bc6126e827914f10eb07988618e75e2aaacaf5b4f7e8d11a2e0b32498d370d50973a1d1dd60cc07a85cb3a1b24dd133b4d9dc8d65deb0c51d59b1fbb265e2de +MISC ChangeLog 2596 SHA256 b72abd6f114e1aae290cfb11d794c1d808a09101dce31ee68e8fc1eb91a17899 SHA512 42a6e9a0e6dabd1f4d5ba6fb305005f55acc5b305ab696e14834f4e7f4637a2c8296ee4d96444c97408e4726940a5e4907232b0544da0791f6d50bdd00b3681a WHIRLPOOL 0933b4a61cb36b354645b586c0ab7b397926af837142bf962a462cdf65d6eb4ec5570a1e0c8125c1eb5b478a20a8bd4fa7701c9e1a593d1016cd013e4ec7dde5 +MISC ChangeLog-2015 1656 SHA256 56d437ee66c10c088a3399aaa95a63feeb87c240334acd25e56e481cf09337d7 SHA512 42b09e20effc30a4e995a734b7273231a3eae9ac4296c42c2a417086d4eb76c6b420e2295720aecb29d7f2d848ab95f904d2814ecf1342a3e4c4a94c68a559b7 WHIRLPOOL a8e5de679aace948d22f48fc912a14ac60c041fdb1ea37c78674c3bb8079972e42042cdfddfac22fd600ae0b1c3ae75e668c8c1e33ac4ffe3512fd40ad5760fc +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/magiccube4d/files/magiccube4d-2.2-64bit-ptr.patch b/games-puzzle/magiccube4d/files/magiccube4d-2.2-64bit-ptr.patch new file mode 100644 index 000000000000..7fbd52871887 --- /dev/null +++ b/games-puzzle/magiccube4d/files/magiccube4d-2.2-64bit-ptr.patch @@ -0,0 +1,53 @@ +diff -Nru magiccube4d-src-2_2.orig/EventHandler.cpp magiccube4d-src-2_2/EventHandler.cpp +--- magiccube4d-src-2_2.orig/EventHandler.cpp 2007-09-30 12:01:46.503967712 +0200 ++++ magiccube4d-src-2_2/EventHandler.cpp 2007-09-30 12:03:23.489172011 +0200 +@@ -20,6 +20,7 @@ + #include <iostream> + #include <unistd.h> + #include <stdio.h> ++#include <stdint.h> + + #include "MagicCube.h" + #include "Puzzlest.h" +@@ -415,7 +416,7 @@ + void + EventHandler::undo_cb(void* argp) + { +- int arg = (int) argp; ++ int arg = (intptr_t) argp; + struct stickerspec grip; + int dir; + int slicesmask; +@@ -461,7 +462,7 @@ + void + EventHandler::redo_cb(void* argp) + { +- int arg = (int) argp; ++ int arg = (intptr_t) argp; + struct stickerspec grip; + int dir; + int slicesmask; +@@ -507,7 +508,7 @@ + void + EventHandler::scramble_cb(void *arg = NULL) + { +- int n = (int)arg; ++ int n = (intptr_t)arg; + struct stickerspec grip; + int i, previous_face = -1; + int ngrips = NFACES * 3 * 3 * 3; +@@ -855,12 +856,12 @@ + void + EventHandler::newPuzzle_cb(void* arg) + { +- if ((int)arg == preferences.getLength()) ++ if ((intptr_t)arg == preferences.getLength()) + { + reset_cb(0); + return; + } +- preferences.setLength((int)arg); ++ preferences.setLength((intptr_t)arg); + int length = preferences.getLength(); + + polymgr->reset(length); diff --git a/games-puzzle/magiccube4d/files/magiccube4d-2.2-gcc41.patch b/games-puzzle/magiccube4d/files/magiccube4d-2.2-gcc41.patch new file mode 100644 index 000000000000..adb4d2836a62 --- /dev/null +++ b/games-puzzle/magiccube4d/files/magiccube4d-2.2-gcc41.patch @@ -0,0 +1,22 @@ +--- EventHandler.h.old 2006-05-19 22:11:48.000000000 +0200 ++++ EventHandler.h 2006-05-19 22:11:58.000000000 +0200 +@@ -165,7 +165,7 @@ + + int number_of_reference_stickers_needed; + int (*reference_stickers_needed)[4]; +- void (EventHandler::*what_to_do_after_got_reference_stickers) (void *arg = NULL); ++ void (EventHandler::*what_to_do_after_got_reference_stickers) (void *arg); + void* cur_ui_data; + + bool quick_mode; +--- Machine.h.old 2006-05-19 22:12:17.000000000 +0200 ++++ Machine.h 2006-05-19 22:12:29.000000000 +0200 +@@ -31,7 +31,7 @@ + { + public: + typedef void (EventHandler::*event_handler)(EventHandler::Event*, +- void *arg = 0); ++ void *arg); + virtual ~Machine() {}; + + static Machine* createMachine(EventHandler*, int& argc, char *argv[], diff --git a/games-puzzle/magiccube4d/files/magiccube4d-2.2-ldflags.patch b/games-puzzle/magiccube4d/files/magiccube4d-2.2-ldflags.patch new file mode 100644 index 000000000000..446eb0cc91ae --- /dev/null +++ b/games-puzzle/magiccube4d/files/magiccube4d-2.2-ldflags.patch @@ -0,0 +1,15 @@ +--- Makefile.in.old 2010-10-15 10:38:48.000000000 +0200 ++++ Makefile.in 2010-10-15 10:39:07.000000000 +0200 +@@ -72,10 +72,10 @@ + $(CXX) -c $(CXXFLAGS) $< + + $(TARGET): $(OBJS) +- $(CXX) -o $(TARGET) $(OBJS) $(LIBDIRS) $(LIBS) ++ $(CXX) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBDIRS) $(LIBS) + + $(TARGET).static: $(OBJS) +- $(CXX) -static -o $(TARGET).static $(OBJS) $(LIBDIRS) $(LIBS) ++ $(CXX) $(LDFLAGS) -static -o $(TARGET).static $(OBJS) $(LIBDIRS) $(LIBS) + + Vec.h: vec_h.c + $(CC) -o vec_h vec_h.c diff --git a/games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch b/games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch new file mode 100644 index 000000000000..7dae8981c4aa --- /dev/null +++ b/games-puzzle/magiccube4d/files/magiccube4d-EventHandler.patch @@ -0,0 +1,11 @@ +--- EventHandler.cpp.old 2004-11-04 22:58:13.735812448 +1100 ++++ EventHandler.cpp 2004-11-04 22:57:03.176539088 +1100 +@@ -326,7 +326,7 @@ + number_of_reference_stickers_needed--; + reference_stickers_needed++; + if (number_of_reference_stickers_needed == 0) +- (this->*what_to_do_after_got_reference_stickers)(); ++ (this->*what_to_do_after_got_reference_stickers)(NULL); + } + } + diff --git a/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild b/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild new file mode 100644 index 000000000000..0c262918fd47 --- /dev/null +++ b/games-puzzle/magiccube4d/magiccube4d-2.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +MY_PV=${PV/./_} +DESCRIPTION="four-dimensional analog of Rubik's cube" +HOMEPAGE="http://www.superliminal.com/cube/cube.htm" +SRC_URI="http://www.superliminal.com/cube/mc4d-src-${MY_PV}.tgz" + +LICENSE="free-noncomm" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="x11-libs/libXaw" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN}-src-${MY_PV} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-EventHandler.patch \ + "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}/${P}"-64bit-ptr.patch \ + "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e "s:-Werror::" \ + configure \ + || die "sed failed" +} + +src_compile() { + emake DFLAGS="${CFLAGS}" +} + +src_install() { + dogamesbin magiccube4d + dodoc ChangeLog MagicCube4D-unix.txt readme-unix.txt Intro.txt + prepgamesdirs +} diff --git a/games-puzzle/magiccube4d/metadata.xml b/games-puzzle/magiccube4d/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/magiccube4d/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> diff --git a/games-puzzle/meandmyshadow/Manifest b/games-puzzle/meandmyshadow/Manifest new file mode 100644 index 000000000000..03e5acfedfcc --- /dev/null +++ b/games-puzzle/meandmyshadow/Manifest @@ -0,0 +1,6 @@ +AUX meandmyshadow-0.4-cmake.patch 513 SHA256 a06b3ad0726ab6b9d6635e3aedadf98922f84d694903fcb4aa9eb0d07052dc54 SHA512 e81037c98f55bebe587f878ff1f5f57c6c5558f8305f5e2cd50db0bbb5634bde418c5254f43051b07b0017b380b2144103eae8ae4fcdc3c780ce2b3134e3f538 WHIRLPOOL 77c7dae2a3049c8a3051e70264ed0f9280f127f38c0b449e0ef481d4df5ee45937cb0955843ba6f43f2f112727ac978e3ac498c29dd0522d9631ae597d3654a6 +DIST meandmyshadow-0.4-src.tar.gz 16962805 SHA256 cd20a7637499f70ac9ed0ff16a506cd6a21557c4b3643b7891fa8a25863eebb6 SHA512 945f096fdc2df58b29f91314cd88953d897bbdbd094d8092d6712d33f7dbacadd298ca797e678ebad08ca579ed67a7b9d664e1fa202753e687a021935032a92b WHIRLPOOL 5dbcaf0d3bfc9cd20b9c6d2f226035ac445b536bd4d0117966c53921d357c34816520bd80b3fefb4cb110861fab065554f9b49c689e25a8c0bb5d66a1af4968b +EBUILD meandmyshadow-0.4.ebuild 1439 SHA256 52f6be4783ad53f246c715bb203b3c886775ebb91753e11a47c6240e46cda3b7 SHA512 025f666b1abe91fd0a18546f86e9a52ae97ddc6b7c11a384915e277c3dbb8c442dea35317e72c06e9d8bd1ea128d5a91d1c01e09e74059fadf6525d4b4c8c5e4 WHIRLPOOL 256395450fbd5de192fc379763908f53f180accad0c406f086fa93f58a4669b199e66005387faa090119a05d5b51444efe8f131e0782a7aa3b122a0e0144e3c1 +MISC ChangeLog 2791 SHA256 9e91ef36b1db41db7bf00e701b31d6e38be75f0f3ad3f193c7cedd2d52332fbe SHA512 cb839c3a7261270ab8297e38e7a745ddb7d8521b80d646061464eca2e07a806a356f400d25457d32c4c1de17707dbd51b78de6cce67ffc6d0f17b73bb4f65300 WHIRLPOOL cf76cb6c0405841bfddfd8a8748827a09fb31d30c8e2a9b330049f052e23d832614dddc894638f91579298dcb561a5c49a7d0217189520bca055e37f7f69aacd +MISC ChangeLog-2015 1998 SHA256 918a7fb3180b6f6df165ed63f80f5101609e0f9fe7904d04a98093b42ee2ab01 SHA512 8d0b4c67291a96e4dd7f0567a01990f2dd24a1ecb4aec034a0d25532256f029de7f8f92a97e7803cda3bdf48681d77be44389fb38bf39e7ad9166ed5a2e2f3c5 WHIRLPOOL 801f720b1fed0ff4ce81638e8e5fed33e83f71d546a90c45d0315714572b794edbeaaab49ed0ec0bf767fef38a32feb4f1a2c762514648030da3c2d84b81204b +MISC metadata.xml 336 SHA256 3eac6880ae520a95a12cd275731bd66f6c31f29e0ac54dda1a14f8a0fe4b30f8 SHA512 8641b7544c71bf31e801587fb889e92e248b4c3500be88ae976423e39d93a6d870b18f05d7af9ce0e0c1d5e2ec081501cecb070cbf2a1452724cc20851617a55 WHIRLPOOL 0177aec10492b5b1f459b5296bac2a6389af7ae728bb44c7a1c79e729ae968803b2b204a03a0f6619c22fec40241a165c000ea909d81473d5394f8cbcff9f66c diff --git a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch new file mode 100644 index 000000000000..0bd66d5d284a --- /dev/null +++ b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch @@ -0,0 +1,17 @@ +--- meandmyshadow-0.4.orig/CMakeLists.txt ++++ meandmyshadow-0.4/CMakeLists.txt +@@ -15,13 +15,12 @@ + Find_Package(CURL REQUIRED)
+ Find_Package(LibArchive REQUIRED)
+ Find_Package(OpenSSL REQUIRED)
++Find_Package(X11 REQUIRED)
+
+ #Use openGL only when compiling with HARDWARE_ACCELERATION.
+ #Otherwise we try to find XLib.
+ if(HARDWARE_ACCELERATION)
+ Find_Package(OpenGL REQUIRED)
+-else(HARDWARE_ACCELERATION)
+- INCLUDE(FindX11)
+ endif(HARDWARE_ACCELERATION)
+
+ #Add the include dirs of the libraries.
diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild new file mode 100644 index 000000000000..a8c524a6b377 --- /dev/null +++ b/games-puzzle/meandmyshadow/meandmyshadow-0.4.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils gnome2-utils games + +DESCRIPTION="A puzzle/platform game with a player and its shadow" +HOMEPAGE="http://meandmyshadow.sourceforge.net/" +SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz" + +LICENSE="GPL-3 OFL-1.1 CC-BY-SA-2.5" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="opengl" + +DEPEND="media-libs/libsdl[sound,video,X] + media-libs/sdl-gfx + media-libs/sdl-ttf + media-libs/sdl-mixer[vorbis] + media-libs/sdl-image[png] + dev-libs/openssl:0= + net-misc/curl + app-arch/libarchive + x11-libs/libX11 + opengl? ( virtual/opengl )" +RDEPEND=${DEPEND} + +PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) + +src_prepare() { + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_VERBOSE_MAKEFILE=TRUE + -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" + -DBINDIR="${GAMES_BINDIR}" + -DDATAROOTDIR="${GAMES_DATADIR}" + -DICONDIR=/usr/share/icons + -DDESKTOPDIR=/usr/share/applications + $(cmake-utils_use opengl HARDWARE_ACCELERATION) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + dodoc AUTHORS ChangeLog README docs/{Controls,ThemeDescription}.txt + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/meandmyshadow/metadata.xml b/games-puzzle/meandmyshadow/metadata.xml new file mode 100644 index 000000000000..d0cf56051e6c --- /dev/null +++ b/games-puzzle/meandmyshadow/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">meandmyshadow</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/metadata.xml b/games-puzzle/metadata.xml new file mode 100644 index 000000000000..abb3008d8ab0 --- /dev/null +++ b/games-puzzle/metadata.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The games-puzzle category contains puzzle games. + </longdescription> + <longdescription lang="de"> + Die Kategorie games-puzzle enthält Knobelspiele. + </longdescription> + <longdescription lang="es"> + La categoría games-puzzle contiene juegos puzzle. + </longdescription> + <longdescription lang="ja"> + games-puzzle カテゴリーにはパズル・ゲームが + 含まれています。 + </longdescription> + <longdescription lang="nl"> + De games-puzzle categorie bevat puzzelspellen. + </longdescription> + <longdescription lang="vi"> + Nhóm games-puzzle chứa các trò chơi dạng đánh đố (puzzle). + </longdescription> + <longdescription lang="it"> + La categoria games-puzzle contiene giochi tipo puzzle. + </longdescription> + <longdescription lang="pt"> + A categoria games-puzzle contém jogos de puzzle. + </longdescription> + <longdescription lang="pl"> + Kategoria games-puzzle zawiera układanki. + </longdescription> +</catmetadata> + diff --git a/games-puzzle/mindless/Manifest b/games-puzzle/mindless/Manifest new file mode 100644 index 000000000000..7823b8dbfe5f --- /dev/null +++ b/games-puzzle/mindless/Manifest @@ -0,0 +1,6 @@ +DIST OracleAll_050523.txt 1280717 SHA256 8c0384da067477f216af77ade0ff2680e9315072406c340700c3993d3786e34c SHA512 d2d46e330a697974bc6c69b8616bdd08c959d1b20840468ccb20ca22a105d7cfac01dd0262113804fb84e790cb1f8ad439c1aa3c17927551617ec2f6de5b83e5 WHIRLPOOL edfb8bcaf6923953358b24be12afff981bdb2c2a72c9d86455bf8d121dcdc5c2180959eb2f09eb9e6c30227dc898adeacfb7421e6199bfd2cf22c3118b16726c +DIST mindless-1.6.tar.gz 85620 SHA256 1f3c413f6ef96ce380392a39151b5761a8c2a67249402bf02fc582f3d7837eff SHA512 bcb47311aebc127e30e10931e489cbbdb80845c6d95008834abab7ecbb7565eb61a38f47e68d24db5ed9da2cb3467fdaccccd05c6eaaca403afaf41cc76a991f WHIRLPOOL efccab674ce10c885be0dfdfc2c2060c85b7ffa691c46a22bd3acab20357cf39a8ee3a0eb8bacda39d51945269ac000d888e2222c3d8a1ce5f06710d334a8bb8 +EBUILD mindless-1.6.ebuild 1244 SHA256 c9759a99bcb7adce5248a6052d11c4044e6ff411f31bf8e516d65b960d974327 SHA512 facd8b97f05fa3e9e7d499bb5f4882b91e1873cdf18db9d8b73b830e4dcf02759f0a089aa21524c55cc3068f93758bc4c7fd2cba9d79e1a6435d88e2fa444ba2 WHIRLPOOL f83d99b858e7c318d38b82491264925b47b9f06feb55c1d7fd20af182e7484838f23a768f0dde364275daec1b161ee811644234557495eb660824a05b26e59da +MISC ChangeLog 2430 SHA256 f6ea8e48828bdaf60c0a5ba2f3f5202fd68af28133c2b1f9034fc9117e006fd0 SHA512 a29641ccdf75a512271fa027addca40ff3a20f8e1dcebffc4ceadff21d7acc5595ef50418bc2c08cf0cd79fc7ccddcb5a03ca349fe6697f92612fe60b6feb698 WHIRLPOOL cdaf9dc125d5516815e83e0231038b1135af594cf8b2b317139d696fa65d6bbe19773249e250f107735454a286474875d32de07960cb849e883f9f6aa15dea5f +MISC ChangeLog-2015 2231 SHA256 053ba2e7b3cae67e28b08c93e8632211cc023ac3802aaf2665712bb78a4720c7 SHA512 24e02dd38d2452532993e7f4288ed0c0e22ac50a3c3b6cd42310b8296f894f74896befd2d8631ba42def061d7ad47202b219027e560e8780f47cac304dda5b74 WHIRLPOOL dbe4c8fc79e2f9c346bf9bf67aa6ad7bc4f88986c251ffb5959dff47574487994e6efe4c3b2680589a876795630858d07005df236e50924a73c78b61232f194a +MISC metadata.xml 331 SHA256 306fcba21a4799778bc4e48de004cb744f77227cea61165c8f6817a5ae7843f8 SHA512 bae00e9836e3224a3f2c4fc7c6be572153b8693f42de869c4670edc2c5b8f103182a5f7c97ab2abd7744a29b0ed30f2c5dc56c7c661bdc28f14aaa5355eb5b5a WHIRLPOOL 7af33c829a986310937764cafec29b26f18e11d79d583ceac7a4cb3d9eb6e84957a9e1659c30c4a024e0ef8af37aebbd7cdcd54f077459e252463ee3483dd400 diff --git a/games-puzzle/mindless/metadata.xml b/games-puzzle/mindless/metadata.xml new file mode 100644 index 000000000000..c5f9e589b91f --- /dev/null +++ b/games-puzzle/mindless/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">mindless</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/mindless/mindless-1.6.ebuild b/games-puzzle/mindless/mindless-1.6.ebuild new file mode 100644 index 000000000000..cb080963b9e2 --- /dev/null +++ b/games-puzzle/mindless/mindless-1.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +ORANAME="OracleAll_050523.txt" +DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people" +HOMEPAGE="http://mindless.sourceforge.net/" +SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz + http://www.wizards.com/dci/oracle/${ORANAME}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="mirror" # for the card database + +RDEPEND="x11-libs/gtk+:2 + media-fonts/font-schumacher-misc" +DEPEND="${RDEPEND} + gnome-base/librsvg + virtual/pkgconfig" + +src_unpack() { + unpack "${P}.tar.gz" + cp "${DISTDIR}/${ORANAME}" "${WORKDIR}" || die "cp failed" + DATAFILE="${GAMES_DATADIR}/${PN}/${ORANAME}" +} + +src_prepare() { + sed -i \ + -e '/^CC=/d' \ + -e '/^CFLAGS=/d' \ + Makefile \ + || die 'sed failed' +} + +src_install() { + dogamesbin mindless + insinto "${GAMES_DATADIR}/${PN}" + doins "${WORKDIR}/${ORANAME}" + dodoc CHANGES README TODO + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + echo + elog "The first time you start ${PN} you need to tell it where to find" + elog "the text database of cards. This file has been installed at:" + elog "${DATAFILE}" + echo +} diff --git a/games-puzzle/mirrormagic/Manifest b/games-puzzle/mirrormagic/Manifest new file mode 100644 index 000000000000..3c7882873bcf --- /dev/null +++ b/games-puzzle/mirrormagic/Manifest @@ -0,0 +1,11 @@ +AUX mirrormagic-2.0.2-64bit.patch 888 SHA256 7ec4d6ec4c1ecc4b04053a47236ee77475282adbedd03631b15459b0b8b401b5 SHA512 ff81626db66f62213184402bcb8b47393c6463c4db3daf41eb5008a5358775b95446a9f5dfdbd38535c6a3e15cfc09d2543aea6e84868a31f3f0be7bae8356c0 WHIRLPOOL a29525cead393fd6ec04683635fabf467c50682d725857c50f70b20081667e8d356f10fe86770b07cce70ba9d97a5a2b6506ab5c744416002727ef18b79ed13a +AUX mirrormagic-2.0.2-editor.patch 499 SHA256 7b11a60c73ef81cb79458ed97966aeb4c7f51076273f609bb8ab23df917a043f SHA512 2d2d497402596b0108b0b79f8ce93d4e7404a64f20107582d40ac5d72291645379f920af5bd156e607f724e0427817bf6557223a7c152ebdf41b6787e81fb353 WHIRLPOOL 310acecd93cb37f5d1fa0ebed74b6860b79dbbb82f9da1e9a1d8bec4a016898752c468ba33fd1f816fb0de73c4c75f32be90954339cdd209eb2a2b72d1cfadf6 +AUX mirrormagic-2.0.2-gcc41.patch 267 SHA256 cef565b18d4902e791b846be7b9a7497fa30a0765e09c1876e6f4bd28bbaf003 SHA512 8cd454154f877257eaa252ee3e5250354ed73ea0e4533048fbac48e6db7bfade345b8740815b8ffde3707df9be71a22655c8982bfe05e74ddfde6814610a2c84 WHIRLPOOL 2277faa34b4f7d69aefc61026da6413accabbac35c947c78b15463368031c7da2ffc3ef6899f7a84c0213c2cf26a27a181b70a76fc81b814c3545540b464eb99 +AUX mirrormagic-2.0.2-gcc5.patch 14581 SHA256 b0f9337010bf1a6492861c280a3164f3d068cce49ac566df2236e8adf5cd5935 SHA512 bf71d63c5bef22cb49f2dd9b63d7e8150ea6e6a49cc2430a834ebd31f07f9b2e26411330550ff181386654b9695682fd9a71a3975df24ead8e1386746756b59b WHIRLPOOL a6e0c08e69e2ff068e27e34a13022bd8d13bcc0a4e7a6744e4457eaa17eb177401b41a003ae130cb4bd1b5b034486a5b02ed3aa37516f9bf1f7d36cb94b4fd29 +AUX mirrormagic-2.0.2-parallel.patch 234 SHA256 c73979621d6cccd67eb30581bce06a8ac2fd53547c9ff85fb8e1b9a32a9779a7 SHA512 34317534acb00fe9947eb53d3c16373866f4ecfd913489b4b9da6e9714ce4b04b0b3ce2680b03ea2fb22913147ac154b4eb0d83f46e76a9bc45c6aaac439c250 WHIRLPOOL 5a30e36a9d091a1a3c16a0a1f227ccd686eca88c8c29de4e0ab1bb173a491427e8f20a3020de2b7f463e32e63800651aa4807022a51f557af79f50abc03054d0 +AUX mirrormagic.xpm 6347 SHA256 3c9f65ca677859140d34427d46ff9213c9f928f30157d028be2f590659671f5b SHA512 5040a6232ba047fe0038276bf574ca22b5270827c21e9dbba0f130f0b25c2157be611cca1e662af2ff8cc43ab78f69a925b6687fcaedc4778672ebfedfe00227 WHIRLPOOL ac0a5eb66869ac94691f783ef7a5ea9b39f5667773394eb2aba9d5d70e0c23a84bec34d18c886c2e7117ae9d00aa0f10dceb70ac9b67cefd2e42289fa87a21c1 +DIST mirrormagic-2.0.2.tar.gz 1168098 SHA256 79b3f13d493523438eeb988beffc272c804bc7a4361b83167a082c77e74b3ce2 SHA512 cd49b1325485b68f2b59341e91f0564693dd12117aa3d6b5078c0a7f0e074114196870af11f0a154a0934cfce7106ba9685d886611f2efeff665ea030d705e03 WHIRLPOOL ac282f63b001b3c7d2d42fe99679fbbfb90659f522900329cff21e2a728896b9c5740b3ebd9888bb203ef1fdf5962d9d5f8977e5f6553a76738a429167efaa03 +EBUILD mirrormagic-2.0.2-r1.ebuild 1293 SHA256 2a7ff2f81010b576d72915129c5c1644dee7fff5e97a5da2f9b5db7c69a1d119 SHA512 134b25e92fd9d566da636f2c9676ed3134746a3174d7502b9037f5a4830f518e019da2facda5d60fef3972894e8b6f43443a9de2299fe503bd5463413325f06b WHIRLPOOL 270399a1123289a02b214ed0a59a707da201a11c4b18cae2a299f766ab8b5dbf62ec0fad1d9c2b487539cc567492efae630bdbb08662b39c1c996f3c35448937 +MISC ChangeLog 2932 SHA256 e86bbf7279c41314ddf0520513c968300138a9b2aa95e3cea5e25fbe599e7cc6 SHA512 1896507848f110041e31d251847bef2ac8388a665de50612afaab4631281bd626ef8582f1ca45890757f00dd03f79a8e3f09efb1e73536faa3a1f7cf10ab2ce7 WHIRLPOOL 71a5c3d5692edb599618c181b0e6e7d3c7d4b8e899510287a9cf56ace08a736c2461f34dda96487bb2850d814a43ea49acd46b76bedc2dc087790ce5cb482a30 +MISC ChangeLog-2015 2255 SHA256 bf67501e867c6c49bdc90940f3837ca4dbb3a2e588d440926174365aaac3ac36 SHA512 4842295ec97c2b8534a07f5b2730be02f3251ac18006c57c1e519474bbcc6528f0011792db8b2948fabcb95e08abfb8381fe18d6bb983d331da30a03f4190074 WHIRLPOOL 0e63e1862b60543a5f625d6d1e49daa11fea19854a01936bb747c3e2269f1f54541a9dcdf457fd5bf868bdba4179a90b71a734b385d0d209ea8ca0afe3378cd7 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-64bit.patch b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-64bit.patch new file mode 100644 index 000000000000..e9b313423699 --- /dev/null +++ b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-64bit.patch @@ -0,0 +1,43 @@ +From Debian: + +In src/libgame/gadgets.c, check for 64bit when handling +GDI_TYPE,GDI_STATE in HandleGadgetTags() and use int instead of +unsigned long. Should probably really be uint32_t but I'll leave +that decision to upstream. Thanks Pelle Nilsson (and son). +64bit check borrowed from bug #496863. Closes: #498912. + +--- src/libgame/gadgets.c ++++ src/libgame/gadgets.c +@@ -18,6 +18,12 @@ + #include "text.h" + #include "misc.h" + ++/* check for 64bit */ ++#ifdef _LP64 ++#ifndef L64 ++#define L64 1 ++#endif ++#endif + + /* values for DrawGadget() */ + #define DG_UNPRESSED 0 +@@ -301,11 +307,19 @@ + break; + + case GDI_TYPE: ++#ifdef L64 ++ gi->type = va_arg(ap, int); ++#else + gi->type = va_arg(ap, unsigned long); ++#endif + break; + + case GDI_STATE: ++#ifdef L64 ++ gi->state = va_arg(ap, int); ++#else + gi->state = va_arg(ap, unsigned long); ++#endif + break; + + case GDI_CHECKED: diff --git a/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-editor.patch b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-editor.patch new file mode 100644 index 000000000000..459ffa6bf4aa --- /dev/null +++ b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-editor.patch @@ -0,0 +1,20 @@ +--- mirrormagic-2.0.2/src/editor.c.orig ++++ mirrormagic-2.0.2/src/editor.c +@@ -2751,7 +2751,7 @@ + break; + } + +- if (!LevelContainsPlayer) ++ if (!LevelContainsPlayer()) + Request("No Level without Gregor Mc Duffin please !", REQ_CONFIRM); + else + { +@@ -2766,7 +2766,7 @@ + break; + + case GADGET_ID_TEST: +- if (!LevelContainsPlayer) ++ if (!LevelContainsPlayer()) + Request("No Level without Gregor Mc Duffin please !", REQ_CONFIRM); + else + { diff --git a/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-gcc41.patch b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-gcc41.patch new file mode 100644 index 000000000000..c8d386f4e581 --- /dev/null +++ b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-gcc41.patch @@ -0,0 +1,10 @@ +--- src/main.h.old ++++ src/main.h +@@ -459,7 +459,6 @@ + #endif + extern struct HiScore highscore[]; + extern struct TapeInfo tape; +-extern struct JoystickInfo joystick[]; + extern struct SetupInfo setup; + extern struct GameInfo game; + extern struct LaserInfo laser; diff --git a/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-gcc5.patch b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-gcc5.patch new file mode 100644 index 000000000000..de2cc8042adc --- /dev/null +++ b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-gcc5.patch @@ -0,0 +1,483 @@ +gcc5 inline semantics changed and caused a build fauilure (bug #568618). + +--- mirrormagic-2.0.2.orig/src/libgame/misc.h ++++ mirrormagic-2.0.2/src/libgame/misc.h +@@ -137,8 +137,8 @@ + void sortLevelDirInfo(struct LevelDirInfo **, + int (*compare_function)(const void *, const void *)); + +-inline void swap_numbers(int *, int *); +-inline void swap_number_pairs(int *, int *, int *, int *); ++extern inline void swap_numbers(int *, int *); ++extern inline void swap_number_pairs(int *, int *, int *, int *); + + char *getUserDataDir(void); + char *getSetupDir(void); +--- mirrormagic-2.0.2.orig/src/libgame/msdos.h ++++ mirrormagic-2.0.2/src/libgame/msdos.h +@@ -711,7 +711,7 @@ + Pixmap XCreatePixmap(Display *, Drawable, unsigned int, unsigned int, + unsigned int); + void XSync(Display *, Bool); +-inline void XCopyArea(Display *, Drawable, Drawable, GC, int, int, ++extern inline void XCopyArea(Display *, Drawable, Drawable, GC, int, int, + unsigned int, unsigned int, int, int); + int Read_PCX_to_Pixmap(Display *, Window, GC, char *, Pixmap *, Pixmap *); + int XReadBitmapFile(Display *, Drawable, char *, +--- mirrormagic-2.0.2.orig/src/libgame/sdl.h ++++ mirrormagic-2.0.2/src/libgame/sdl.h +@@ -314,20 +314,20 @@ + + /* SDL function definitions */ + +-inline void SDLInitVideoDisplay(void); +-inline void SDLInitVideoBuffer(DrawBuffer **, DrawWindow **, boolean); +-inline boolean SDLSetVideoMode(DrawBuffer **, boolean); +-inline void SDLCopyArea(Bitmap *, Bitmap *, int, int, int, int, int, int, int); +-inline void SDLFillRectangle(Bitmap *, int, int, int, int, unsigned int); +-inline void SDLDrawSimpleLine(Bitmap *, int, int, int, int, unsigned int); +-inline void SDLDrawLine(Bitmap *, int, int, int, int, Uint32); +-inline Pixel SDLGetPixel(Bitmap *, int, int); ++extern inline void SDLInitVideoDisplay(void); ++extern inline void SDLInitVideoBuffer(DrawBuffer **, DrawWindow **, boolean); ++extern inline boolean SDLSetVideoMode(DrawBuffer **, boolean); ++extern inline void SDLCopyArea(Bitmap *, Bitmap *, int, int, int, int, int, int, int); ++extern inline void SDLFillRectangle(Bitmap *, int, int, int, int, unsigned int); ++extern inline void SDLDrawSimpleLine(Bitmap *, int, int, int, int, unsigned int); ++extern inline void SDLDrawLine(Bitmap *, int, int, int, int, Uint32); ++extern inline Pixel SDLGetPixel(Bitmap *, int, int); + + Bitmap *SDLLoadImage(char *); + +-inline void SDLOpenAudio(void); +-inline void SDLCloseAudio(void); ++extern inline void SDLOpenAudio(void); ++extern inline void SDLCloseAudio(void); + +-inline void SDLNextEvent(Event *); ++extern inline void SDLNextEvent(Event *); + + #endif /* SDL_H */ +--- mirrormagic-2.0.2.orig/src/libgame/system.c ++++ mirrormagic-2.0.2/src/libgame/system.c +@@ -172,12 +172,12 @@ + /* video functions */ + /* ========================================================================= */ + +-inline static int GetRealDepth(int depth) ++static int GetRealDepth(int depth) + { + return (depth == DEFAULT_DEPTH ? video.default_depth : depth); + } + +-inline void InitVideoDisplay(void) ++void InitVideoDisplay(void) + { + #if defined(TARGET_SDL) + SDLInitVideoDisplay(); +@@ -186,7 +186,7 @@ + #endif + } + +-inline void CloseVideoDisplay(void) ++void CloseVideoDisplay(void) + { + KeyboardAutoRepeatOn(); + +@@ -198,7 +198,7 @@ + #endif + } + +-inline void InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window, ++void InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window, + int width, int height, int depth, + boolean fullscreen) + { +@@ -215,7 +215,7 @@ + #endif + } + +-inline Bitmap *CreateBitmapStruct(void) ++Bitmap *CreateBitmapStruct(void) + { + #ifdef TARGET_SDL + return checked_calloc(sizeof(struct SDLSurfaceInfo)); +@@ -224,7 +224,7 @@ + #endif + } + +-inline Bitmap *CreateBitmap(int width, int height, int depth) ++Bitmap *CreateBitmap(int width, int height, int depth) + { + Bitmap *new_bitmap = CreateBitmapStruct(); + int real_depth = GetRealDepth(depth); +@@ -265,7 +265,7 @@ + return new_bitmap; + } + +-inline void FreeBitmap(Bitmap *bitmap) ++void FreeBitmap(Bitmap *bitmap) + { + if (bitmap == NULL) + return; +@@ -287,7 +287,7 @@ + free(bitmap); + } + +-inline void CloseWindow(DrawWindow *window) ++void CloseWindow(DrawWindow *window) + { + #ifdef TARGET_X11 + if (window->drawable) +@@ -300,7 +300,7 @@ + #endif + } + +-inline void BlitBitmap(Bitmap *src_bitmap, Bitmap *dst_bitmap, ++void BlitBitmap(Bitmap *src_bitmap, Bitmap *dst_bitmap, + int src_x, int src_y, + int width, int height, + int dst_x, int dst_y) +@@ -314,7 +314,7 @@ + #endif + } + +-inline void ClearRectangle(Bitmap *bitmap, int x, int y, int width, int height) ++void ClearRectangle(Bitmap *bitmap, int x, int y, int width, int height) + { + #ifdef TARGET_SDL + SDLFillRectangle(bitmap, x, y, width, height, 0x000000); +@@ -329,7 +329,7 @@ + #endif + #endif + +-inline void SetClipMask(Bitmap *bitmap, GC clip_gc, Pixmap clip_pixmap) ++void SetClipMask(Bitmap *bitmap, GC clip_gc, Pixmap clip_pixmap) + { + #ifdef TARGET_X11 + if (clip_gc) +@@ -343,7 +343,7 @@ + #endif + } + +-inline void SetClipOrigin(Bitmap *bitmap, GC clip_gc, int clip_x, int clip_y) ++void SetClipOrigin(Bitmap *bitmap, GC clip_gc, int clip_x, int clip_y) + { + #ifdef TARGET_X11 + if (clip_gc) +@@ -357,7 +357,7 @@ + #endif + } + +-inline void BlitBitmapMasked(Bitmap *src_bitmap, Bitmap *dst_bitmap, ++void BlitBitmapMasked(Bitmap *src_bitmap, Bitmap *dst_bitmap, + int src_x, int src_y, + int width, int height, + int dst_x, int dst_y) +@@ -371,7 +371,7 @@ + #endif + } + +-inline void DrawSimpleWhiteLine(Bitmap *bitmap, int from_x, int from_y, ++void DrawSimpleWhiteLine(Bitmap *bitmap, int from_x, int from_y, + int to_x, int to_y) + { + #ifdef TARGET_SDL +@@ -384,7 +384,7 @@ + } + + #if !defined(TARGET_X11_NATIVE) +-inline void DrawLine(Bitmap *bitmap, int from_x, int from_y, ++void DrawLine(Bitmap *bitmap, int from_x, int from_y, + int to_x, int to_y, Pixel pixel, int line_width) + { + int x, y; +@@ -414,7 +414,7 @@ + } + #endif + +-inline void DrawLines(Bitmap *bitmap, struct XY *points, int num_points, ++void DrawLines(Bitmap *bitmap, struct XY *points, int num_points, + Pixel pixel) + { + #if !defined(TARGET_X11_NATIVE) +@@ -438,7 +438,7 @@ + #endif + } + +-inline Pixel GetPixel(Bitmap *bitmap, int x, int y) ++Pixel GetPixel(Bitmap *bitmap, int x, int y) + { + #if defined(TARGET_SDL) + return SDLGetPixel(bitmap, x, y); +@@ -458,7 +458,7 @@ + #endif + } + +-inline Pixel GetPixelFromRGB(Bitmap *bitmap, unsigned int color_r, ++Pixel GetPixelFromRGB(Bitmap *bitmap, unsigned int color_r, + unsigned int color_g, unsigned int color_b) + { + Pixel pixel; +@@ -481,7 +481,7 @@ + return pixel; + } + +-inline Pixel GetPixelFromRGBcompact(Bitmap *bitmap, unsigned int color) ++Pixel GetPixelFromRGBcompact(Bitmap *bitmap, unsigned int color) + { + unsigned int color_r = (color >> 16) & 0xff; + unsigned int color_g = (color >> 8) & 0xff; +@@ -491,7 +491,7 @@ + } + + /* execute all pending screen drawing operations */ +-inline void FlushDisplay(void) ++void FlushDisplay(void) + { + #ifndef TARGET_SDL + XFlush(display); +@@ -499,14 +499,14 @@ + } + + /* execute and wait for all pending screen drawing operations */ +-inline void SyncDisplay(void) ++void SyncDisplay(void) + { + #ifndef TARGET_SDL + XSync(display, FALSE); + #endif + } + +-inline void KeyboardAutoRepeatOn(void) ++void KeyboardAutoRepeatOn(void) + { + #ifdef TARGET_SDL + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY / 2, +@@ -518,7 +518,7 @@ + #endif + } + +-inline void KeyboardAutoRepeatOff(void) ++void KeyboardAutoRepeatOff(void) + { + #ifdef TARGET_SDL + SDL_EnableKeyRepeat(0, SDL_DEFAULT_REPEAT_INTERVAL); +@@ -529,7 +529,7 @@ + #endif + } + +-inline boolean PointerInWindow(DrawWindow *window) ++boolean PointerInWindow(DrawWindow *window) + { + #ifdef TARGET_SDL + return TRUE; +@@ -546,7 +546,7 @@ + #endif + } + +-inline boolean SetVideoMode(boolean fullscreen) ++boolean SetVideoMode(boolean fullscreen) + { + #ifdef TARGET_SDL + return SDLSetVideoMode(&backbuffer, fullscreen); +@@ -567,7 +567,7 @@ + #endif + } + +-inline boolean ChangeVideoModeIfNeeded(boolean fullscreen) ++boolean ChangeVideoModeIfNeeded(boolean fullscreen) + { + #ifdef TARGET_SDL + if ((fullscreen && !video.fullscreen_enabled && video.fullscreen_available)|| +@@ -600,7 +600,7 @@ + /* audio functions */ + /* ========================================================================= */ + +-inline void OpenAudio(void) ++void OpenAudio(void) + { + /* always start with reliable default values */ + audio.sound_available = FALSE; +@@ -627,7 +627,7 @@ + #endif + } + +-inline void CloseAudio(void) ++void CloseAudio(void) + { + #if defined(TARGET_SDL) + SDLCloseAudio(); +@@ -640,7 +640,7 @@ + audio.sound_enabled = FALSE; + } + +-inline void SetAudioMode(boolean enabled) ++void SetAudioMode(boolean enabled) + { + if (!audio.sound_available) + return; +@@ -653,7 +653,7 @@ + /* event functions */ + /* ========================================================================= */ + +-inline void InitEventFilter(EventFilter filter_function) ++void InitEventFilter(EventFilter filter_function) + { + #ifdef TARGET_SDL + /* set event filter to filter out certain events */ +@@ -661,7 +661,7 @@ + #endif + } + +-inline boolean PendingEvent(void) ++boolean PendingEvent(void) + { + #ifdef TARGET_SDL + return (SDL_PollEvent(NULL) ? TRUE : FALSE); +@@ -670,7 +670,7 @@ + #endif + } + +-inline void NextEvent(Event *event) ++void NextEvent(Event *event) + { + #ifdef TARGET_SDL + SDLNextEvent(event); +@@ -679,7 +679,7 @@ + #endif + } + +-inline Key GetEventKey(KeyEvent *event, boolean with_modifiers) ++Key GetEventKey(KeyEvent *event, boolean with_modifiers) + { + #ifdef TARGET_SDL + #if 0 +@@ -707,7 +707,7 @@ + #endif + } + +-inline boolean CheckCloseWindowEvent(ClientMessageEvent *event) ++boolean CheckCloseWindowEvent(ClientMessageEvent *event) + { + if (event->type != EVENT_CLIENTMESSAGE) + return FALSE; +@@ -724,7 +724,7 @@ + } + + +-inline void dummy(void) ++void dummy(void) + { + #ifdef TARGET_SDL + #else +--- mirrormagic-2.0.2.orig/src/libgame/system.h ++++ mirrormagic-2.0.2/src/libgame/system.h +@@ -278,41 +278,41 @@ + void InitGfxDoor2Info(int, int, int, int); + void InitGfxScrollbufferInfo(int, int); + +-inline void InitVideoDisplay(void); +-inline void CloseVideoDisplay(void); +-inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); +-inline Bitmap *CreateBitmapStruct(void); +-inline Bitmap *CreateBitmap(int, int, int); +-inline void FreeBitmap(Bitmap *); +-inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); +-inline void ClearRectangle(Bitmap *, int, int, int, int); +-inline void SetClipMask(Bitmap *, GC, Pixmap); +-inline void SetClipOrigin(Bitmap *, GC, int, int); +-inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); +-inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); +-inline void DrawLines(Bitmap *, struct XY *, int, Pixel); +-inline Pixel GetPixel(Bitmap *, int, int); +-inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); +-inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); +- +-inline void FlushDisplay(void); +-inline void SyncDisplay(void); +-inline void KeyboardAutoRepeatOn(void); +-inline void KeyboardAutoRepeatOff(void); +-inline boolean PointerInWindow(DrawWindow *); +-inline boolean SetVideoMode(boolean); +-inline boolean ChangeVideoModeIfNeeded(boolean); ++extern inline void InitVideoDisplay(void); ++extern inline void CloseVideoDisplay(void); ++extern inline void InitVideoBuffer(DrawBuffer **,DrawWindow **, int,int,int, boolean); ++extern inline Bitmap *CreateBitmapStruct(void); ++extern inline Bitmap *CreateBitmap(int, int, int); ++extern inline void FreeBitmap(Bitmap *); ++extern inline void BlitBitmap(Bitmap *, Bitmap *, int, int, int, int, int, int); ++extern inline void ClearRectangle(Bitmap *, int, int, int, int); ++extern inline void SetClipMask(Bitmap *, GC, Pixmap); ++extern inline void SetClipOrigin(Bitmap *, GC, int, int); ++extern inline void BlitBitmapMasked(Bitmap *, Bitmap *, int, int, int, int, int, int); ++extern inline void DrawSimpleWhiteLine(Bitmap *, int, int, int, int); ++extern inline void DrawLines(Bitmap *, struct XY *, int, Pixel); ++extern inline Pixel GetPixel(Bitmap *, int, int); ++extern inline Pixel GetPixelFromRGB(Bitmap *, unsigned int,unsigned int,unsigned int); ++extern inline Pixel GetPixelFromRGBcompact(Bitmap *, unsigned int); ++ ++extern inline void FlushDisplay(void); ++extern inline void SyncDisplay(void); ++extern inline void KeyboardAutoRepeatOn(void); ++extern inline void KeyboardAutoRepeatOff(void); ++extern inline boolean PointerInWindow(DrawWindow *); ++extern inline boolean SetVideoMode(boolean); ++extern inline boolean ChangeVideoModeIfNeeded(boolean); + + Bitmap *LoadImage(char *); + +-inline void OpenAudio(void); +-inline void CloseAudio(void); +-inline void SetAudioMode(boolean); +- +-inline void InitEventFilter(EventFilter); +-inline boolean PendingEvent(void); +-inline void NextEvent(Event *event); +-inline Key GetEventKey(KeyEvent *, boolean); +-inline boolean CheckCloseWindowEvent(ClientMessageEvent *); ++extern inline void OpenAudio(void); ++extern inline void CloseAudio(void); ++extern inline void SetAudioMode(boolean); ++ ++extern inline void InitEventFilter(EventFilter); ++extern inline boolean PendingEvent(void); ++extern inline void NextEvent(Event *event); ++extern inline Key GetEventKey(KeyEvent *, boolean); ++extern inline boolean CheckCloseWindowEvent(ClientMessageEvent *); + + #endif /* SYSTEM_H */ +--- mirrormagic-2.0.2.orig/src/libgame/x11.c ++++ mirrormagic-2.0.2/src/libgame/x11.c +@@ -21,7 +21,7 @@ + static void X11InitDisplay(); + static DrawWindow *X11InitWindow(); + +-inline void X11InitVideoDisplay(void) ++void X11InitVideoDisplay(void) + { + /* initialize X11 video */ + X11InitDisplay(); +@@ -30,7 +30,7 @@ + video.default_depth = XDefaultDepth(display, screen); + } + +-inline void X11InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window) ++void X11InitVideoBuffer(DrawBuffer **backbuffer, DrawWindow **window) + { + *window = X11InitWindow(); + +--- mirrormagic-2.0.2.orig/src/libgame/x11.h ++++ mirrormagic-2.0.2/src/libgame/x11.h +@@ -286,8 +286,8 @@ + + /* X11 function definitions */ + +-inline void X11InitVideoDisplay(void); +-inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); ++extern inline void X11InitVideoDisplay(void); ++extern inline void X11InitVideoBuffer(DrawBuffer **, DrawWindow **); + Bitmap *X11LoadImage(char *); + + #endif /* X11_H */ diff --git a/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-parallel.patch b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-parallel.patch new file mode 100644 index 000000000000..9b538a688816 --- /dev/null +++ b/games-puzzle/mirrormagic/files/mirrormagic-2.0.2-parallel.patch @@ -0,0 +1,11 @@ +--- src/Makefile.old ++++ src/Makefile +@@ -146,7 +146,7 @@ + endif + + +-all: libgame_dir $(PROGNAME) ++all: $(PROGNAME) + + $(PROGNAME): $(LIBGAME) $(OBJS) $(ICON) + $(CC) $(PROFILING) $(OBJS) $(ICON) $(LIBGAME) $(LDFLAGS) -o $(PROGNAME) diff --git a/games-puzzle/mirrormagic/files/mirrormagic.xpm b/games-puzzle/mirrormagic/files/mirrormagic.xpm new file mode 100644 index 000000000000..4e98696d3ef1 --- /dev/null +++ b/games-puzzle/mirrormagic/files/mirrormagic.xpm @@ -0,0 +1,292 @@ +/* XPM */ +static char * mirrormagic_xpm[] = { +"32 32 257 2", +" c None", +". c #000000", +"+ c #999999", +"@ c #77AAFF", +"# c #4C2208", +"$ c #6E4C08", +"% c #7F7F7F", +"& c #AACCFF", +"* c #777777", +"= c #BB6622", +"- c #0000CC", +"; c #994411", +"> c #00FF00", +", c #EECC11", +"' c #5D5D5D", +") c #447F44", +"! c #555555", +"~ c #0000AA", +"{ c #3B3B3B", +"] c #009900", +"^ c #990000", +"/ c #007F00", +"( c #005500", +"_ c #CCCCCC", +": c #CC0000", +"< c #7F0000", +"[ c #19447F", +"} c #AAAAAA", +"| c #FF0000", +"1 c #331900", +"2 c #888888", +"3 c #000055", +"4 c #663300", +"5 c #6E6E6E", +"6 c #666666", +"7 c #DD9911", +"8 c #5D3311", +"9 c #00337F", +"0 c #FFFFFF", +"a c #00CC00", +"b c #4C4C4C", +"c c #FFFF00", +"d c #444444", +"e c #00AA00", +"f c #7F7F00", +"g c #DDDDDD", +"h c #0066FF", +"i c #006600", +"j c #004C00", +"k c #776608", +"l c #3388FF", +"m c #BBBBBB", +"n c #0000FF", +"o c #000000", +"p c #000000", +"q c #000000", +"r c #000000", +"s c #000000", +"t c #000000", +"u c #000000", +"v c #000000", +"w c #000000", +"x c #000000", +"y c #000000", +"z c #000000", +"A c #000000", +"B c #000000", +"C c #000000", +"D c #000000", +"E c #000000", +"F c #000000", +"G c #000000", +"H c #000000", +"I c #000000", +"J c #000000", +"K c #000000", +"L c #000000", +"M c #000000", +"N c #000000", +"O c #000000", +"P c #000000", +"Q c #000000", +"R c #000000", +"S c #000000", +"T c #000000", +"U c #000000", +"V c #000000", +"W c #000000", +"X c #000000", +"Y c #000000", +"Z c #000000", +"` c #000000", +" . c #000000", +".. c #000000", +"+. c #000000", +"@. c #000000", +"#. c #000000", +"$. c #000000", +"%. c #000000", +"&. c #000000", +"*. c #000000", +"=. c #000000", +"-. c #000000", +";. c #000000", +">. c #000000", +",. c #000000", +"'. c #000000", +"). c #000000", +"!. c #000000", +"~. c #000000", +"{. c #000000", +"]. c #000000", +"^. c #000000", +"/. c #000000", +"(. c #000000", +"_. c #000000", +":. c #000000", +"<. c #000000", +"[. c #000000", +"}. c #000000", +"|. c #000000", +"1. c #000000", +"2. c #000000", +"3. c #000000", +"4. c #000000", +"5. c #000000", +"6. c #000000", +"7. c #000000", +"8. c #000000", +"9. c #000000", +"0. c #000000", +"a. c #000000", +"b. c #000000", +"c. c #000000", +"d. c #000000", +"e. c #000000", +"f. c #000000", +"g. c #000000", +"h. c #000000", +"i. c #000000", +"j. c #000000", +"k. c #000000", +"l. c #000000", +"m. c #000000", +"n. c #000000", +"o. c #000000", +"p. c #000000", +"q. c #000000", +"r. c #000000", +"s. c #000000", +"t. c #000000", +"u. c #000000", +"v. c #000000", +"w. c #000000", +"x. c #000000", +"y. c #000000", +"z. c #000000", +"A. c #000000", +"B. c #000000", +"C. c #000000", +"D. c #000000", +"E. c #000000", +"F. c #000000", +"G. c #000000", +"H. c #000000", +"I. c #000000", +"J. c #000000", +"K. c #000000", +"L. c #000000", +"M. c #000000", +"N. c #000000", +"O. c #000000", +"P. c #000000", +"Q. c #000000", +"R. c #000000", +"S. c #000000", +"T. c #000000", +"U. c #000000", +"V. c #000000", +"W. c #000000", +"X. c #000000", +"Y. c #000000", +"Z. c #000000", +"`. c #000000", +" + c #000000", +".+ c #000000", +"++ c #000000", +"@+ c #000000", +"#+ c #000000", +"$+ c #000000", +"%+ c #000000", +"&+ c #000000", +"*+ c #000000", +"=+ c #000000", +"-+ c #000000", +";+ c #000000", +">+ c #000000", +",+ c #000000", +"'+ c #000000", +")+ c #000000", +"!+ c #000000", +"~+ c #000000", +"{+ c #000000", +"]+ c #000000", +"^+ c #000000", +"/+ c #000000", +"(+ c #000000", +"_+ c #000000", +":+ c #000000", +"<+ c #000000", +"[+ c #000000", +"}+ c #000000", +"|+ c #000000", +"1+ c #000000", +"2+ c #000000", +"3+ c #000000", +"4+ c #000000", +"5+ c #000000", +"6+ c #000000", +"7+ c #000000", +"8+ c #000000", +"9+ c #000000", +"0+ c #000000", +"a+ c #000000", +"b+ c #000000", +"c+ c #000000", +"d+ c #000000", +"e+ c #000000", +"f+ c #000000", +"g+ c #000000", +"h+ c #000000", +"i+ c #000000", +"j+ c #000000", +"k+ c #000000", +"l+ c #000000", +"m+ c #000000", +"n+ c #000000", +"o+ c #000000", +"p+ c #000000", +"q+ c #000000", +"r+ c #000000", +"s+ c #000000", +"t+ c #000000", +"u+ c #000000", +"v+ c #000000", +"w+ c #000000", +"x+ c #000000", +"y+ c #000000", +"z+ c #000000", +"A+ c #000000", +"B+ c #000000", +"C+ c #000000", +"D+ c #000000", +"E+ c #000000", +"F+ c #000000", +"G+ c #000000", +"H+ c #000000", +" ", +" - n n l h h : n - ~ ", +" n - - l l h n n n n - ", +" , 7 l l h h n : n n n n ~ ~ 7 , ", +" c 7 = h l h h n n n n n - - ~ = 7 c ", +" c , 7 , 7 ~ h h h n n n - - ~ ~ ~ 7 , 7 , c ", +" , , 7 7 = ~ h h n n - - ~ ~ ~ ~ ~ = 7 7 , , ", +" , 7 = - ~ l _ } b 4 4 b b b ~ ~ - = 7 , ", +" ~ ~ 4 4 4 ~ m g 1 1 = = 1 1 d d h ~ 4 4 ~ ~ ", +" ~ ~ ~ ~ 4 4 4 l g g 7 7 , 7 ; ; d { @ h 4 4 4 ~ ~ ~ ", +" ~ ~ ~ ~ h h l l 0 g 7 7 , 7 ; ; d { @ @ h n 4 ~ ~ ~ n ", +" @ @ @ @ @ @ l l 0 g } 7 , , ; d d { @ l h h n n n - - ", +" @ @ | @ @ l 0 2 0 g } = = d d d { @ l h n n n n - - ", +" @ @ & & @ @ l g + _ 2 2 6 6 ! @ @ l h n ^ n - - ", +" @ & & @ @ l l } 2 _ _ 2 2 @ @ h h n n n n - - ", +" @ @ @ | l l + _ _ } _ l @ h h h n n n - - ", +" @ @ @ @ l l + _ _ _ } _ @ h h n n n n - - ", +" @ @ @ l l h } _ _ } } h h h n n n - - ", +" @ @ @ l l h h _ _ } } } h n ^ n - - - ", +" @ n h h h h } _ _ } 2 2 n n - - - ", +" @ n n h h h } _ _ _ 2 ~ n n ~ - - ", +" n n n n | h ~ } } } ~ ~ - ~ ~ ~ - ", +" h n n n h h h - ~ } } } - - ^ ~ ~ - ", +" h n n h h h n - n - - * * ~ ~ ~ - ", +" h n h h h h n - n - - - - ~ ~ ~ - - ", +" h l h h h l h h n n : - - - ~ ~ ~ ~ ^ - ", +" h @ h | l l h n n n - - - ~ ~ ~ ~ ~ ~ - ", +" n l @ l l l l h n n - ~ - - ~ ~ ~ ^ ~ ~ ~ - ", +" n l @ l l l h n n - - ~ ~ - ~ ~ ~ ~ ~ ~ ~ - ", +" n | h h h = ; ; 4 ~ - ~ ~ ~ - = ; ; 4 ~ ~ ~ ^ - ", +" n - h h = = ; ; 4 4 ~ ~ ~ ~ = = ; ; 4 4 ~ ~ ~ - ", +" "}; diff --git a/games-puzzle/mirrormagic/metadata.xml b/games-puzzle/mirrormagic/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/mirrormagic/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> diff --git a/games-puzzle/mirrormagic/mirrormagic-2.0.2-r1.ebuild b/games-puzzle/mirrormagic/mirrormagic-2.0.2-r1.ebuild new file mode 100644 index 000000000000..acc743eb9cbd --- /dev/null +++ b/games-puzzle/mirrormagic/mirrormagic-2.0.2-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs games + +DESCRIPTION="a game like Deflektor (C 64) or Mindbender (Amiga)" +HOMEPAGE="http://www.artsoft.org/mirrormagic/" +SRC_URI="http://www.artsoft.org/RELEASES/unix/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="sdl" + +RDEPEND="!sdl? ( x11-libs/libX11 ) + sdl? ( + media-libs/libsdl[video] + media-libs/sdl-mixer + media-libs/sdl-image + )" +DEPEND="${RDEPEND} + !sdl? ( x11-libs/libXt )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc41.patch \ + "${FILESDIR}"/${P}-parallel.patch \ + "${FILESDIR}"/${P}-64bit.patch \ + "${FILESDIR}"/${P}-gcc5.patch \ + "${FILESDIR}"/${P}-editor.patch + rm -f ${PN} || die +} + +src_compile() { + emake \ + -C src \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + RANLIB="$(tc-getRANLIB)" \ + OPTIONS="${CFLAGS}" \ + EXTRA_LDFLAGS="${LDFLAGS}" \ + RO_GAME_DIR="${GAMES_DATADIR}"/${PN} \ + RW_GAME_DIR="${GAMES_STATEDIR}"/${PN} \ + TARGET=$(usex sdl sdl x11) +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r graphics levels music sounds + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} "Mirror Magic II" + dodoc CHANGES CREDITS README TODO + prepgamesdirs +} diff --git a/games-puzzle/monsterz/Manifest b/games-puzzle/monsterz/Manifest new file mode 100644 index 000000000000..24aac6263bdf --- /dev/null +++ b/games-puzzle/monsterz/Manifest @@ -0,0 +1,8 @@ +AUX monsterz-0.7.1-64bit.patch 1093 SHA256 36a9a26de082b5a182a40cfc9af2a4e270ca335971896c51578b0e7887011661 SHA512 3098e5a287c2b3e5e415a06e9e671fb4e56ebd4405a4580c5bb3529c1708ada9efdb40b1369040c7dba50ee1e0c33b6f088da898a8eec7f2997e4d376b67dea4 WHIRLPOOL 48bf50c9e29bc518a6d301b7b9bedc3c5787f549213a86a9653d401f74cd3ae2bd1cec7fe9de23f52f577ef2a0f95776a63457b7ebe2caa64707478ddcf5c3a8 +AUX monsterz-0.7.1-blit.patch 1294 SHA256 1d1e5d017dba6a2527be70338a2d1eeb771462506572c857eab04e138aaa8d9d SHA512 aa7e63d7a67afea475f1c26976da46828232075231f939d4e478f1975bd192de8ee7b848a914567f915ef3c1394a11acb183a84b548732ed55389d3cd764614f WHIRLPOOL 123c2c31cb4ed3d4314b9da35a01579b9101483b715a7e78dacf1aff90a090c099c03f5e5055cef20adf18635c9e0d1ed6ff1b5c166b1254d3a43ade5fdef785 +AUX monsterz-0.7.1-gentoo.patch 966 SHA256 76186ed8433d817de4876cb62da3e67bf8e18f2eeefcd68e427ae2254af37a1e SHA512 69cea5fef337a6a2f8105dfc1cf6e308569852ead7701b6898582c51b5a740ff80f9900956e3fa0325a37fd963e62acc62a4c385b7669b4cf634a90136a484a7 WHIRLPOOL 5d5f43b1e981086e9cd106c22ed19f58cbb4359236e4d318007e01345c8988a1d2ea0151213227943210edd86f981c8dd0dbd6876905eb7d4cf47d58bdb806f1 +DIST monsterz-0.7.1.tar.gz 1879537 SHA256 50828b8fa26d107bcc2bd134328f83c905b9f5e124846bdf239daf0eed34973d SHA512 62de125251a74e7ff237c90ad88e10a4953b8841251dfec45cc6b77f416677ef6d68cf4308c3190f65896b5bb1312934abd5e438f0341f08c02884585f0e4787 WHIRLPOOL d2aa08ae267f0ba7c57e62a25d54a670934498048d3cf4420e558564c1e1132e687051bfbc4175bd667d2f21411641ccc28820fbbab5d6f1348152cef4749585 +EBUILD monsterz-0.7.1-r3.ebuild 1144 SHA256 6ad4b39b216a527d8e127cc020ee871bcf48b753e4da4ea9183e424c4b379721 SHA512 d33fc5c7e0ff03d45d98893cf4159d40e620e59f560130ffa55eab69c580db9d7587c00a66fd4505f9c5a2f97da46644e85188e35f6bb693cd6015287811dc5c WHIRLPOOL d2c0e9f81a7b4c12fdb0872ba86aefe4c575f21fe5e005a72bdd54f2ac3777a5dca3c98528e456db5df46ee8797575ef90496defda19d6d3eca4c5a7529d1061 +MISC ChangeLog 2549 SHA256 c0e7fbe4785c9f8eac566ab930200f367664a0205e7694f74c51e7edd344edca SHA512 d67674d9bbb971be76840fec101d862b1bbd70b9dc4e30b3274de4beea6a3a81be372d00dedffaa91cbb45e8767b6928e48c2a9b2844f36db0823500693137b3 WHIRLPOOL 565292785dc361ed8c964f24b634889ac7a35e6e4fbb1f7b09133fc3e087b34268377484b5590295b9aef1881c558ff7445b5ddbc70b2764cd4dd1d1d0198a3c +MISC ChangeLog-2015 4963 SHA256 6e658e8973eff5d979313288f53c9cb9c79b41bdd005cc5ae31375f88eb9a3dc SHA512 4c368b60feac27afdfaa1bf76f7d13d51928d4342df747d363b2ddc3a0c81798375a8fa0410e359073bb85e78458c1cab6fd84217bce1d8a09e9d1fc63cc303b WHIRLPOOL e4d72dd88cc7f4c991eeb12dbf717ffb0bf1fc62d865dddecaecec32d106f55811b53be4c9a447e44807e414984efc7083f3d125fc7aa46bb3caf9c119b966cd +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch new file mode 100644 index 000000000000..64d6527768f8 --- /dev/null +++ b/games-puzzle/monsterz/files/monsterz-0.7.1-64bit.patch @@ -0,0 +1,26 @@ +Index: monsterz-0.7.1/monsterz.py +=================================================================== +--- monsterz-0.7.1.orig/monsterz.py 2008-05-09 16:35:25.000000000 +0000 ++++ monsterz-0.7.1/monsterz.py 2008-05-09 16:35:33.000000000 +0000 +@@ -108,7 +108,9 @@ + M = int(max(r, g, b)) + m = int(min(r, g, b)) + val = (2 * M + r + g + b) / 5 +- p[:] = (val + r) / 2, (val + g) / 2, (val + b) / 2 ++ p[0] = (val + r) / 2 ++ p[1] = (val + g) / 2 ++ p[2] = (val + b) / 2 + if alpha[y][x] >= 250: + alpha[y][x] = 255 - (M - m) * 3 / 4 + del pixels +@@ -129,7 +131,9 @@ + r, g, b = p + M = int(max(r, g, b)) + m = int(min(r, g, b)) +- p[:] = (m + r) / 2, (m + g) / 2, (m + b) / 2 ++ p[0] = (m + r) / 2 ++ p[1] = (m + g) / 2 ++ p[2] = (m + b) / 2 + if alpha[y][x] >= 250: + alpha[y][x] = 255 - M * 2 / 3 + del pixels diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch new file mode 100644 index 000000000000..8e55b23a327c --- /dev/null +++ b/games-puzzle/monsterz/files/monsterz-0.7.1-blit.patch @@ -0,0 +1,32 @@ +--- monsterz.py ++++ monsterz.py +@@ -829,10 +829,10 @@ + pass + else: + for x in range(4): +- for y, p in enumerate(alpha[x]): +- alpha[x][y] = p * x / 4 +- for y, p in enumerate(alpha[406 - x - 1]): +- alpha[406 - x - 1][y] = p * x / 4 ++ for y in range(len(alpha[x])): ++ alpha[x][y] = alpha[x][y] * x / 4 ++ for y in range(len(alpha[406 - x - 1])): ++ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 4 + for col in alpha: + l = len(col) + for y in range(4): +@@ -1287,10 +1287,10 @@ + pass + else: + for x in range(10): +- for y, p in enumerate(alpha[x]): +- alpha[x][y] = p * x / 12 +- for y, p in enumerate(alpha[406 - x - 1]): +- alpha[406 - x - 1][y] = p * x / 12 ++ for y in range(len(alpha[x])): ++ alpha[x][y] = alpha[x][y] * x / 12 ++ for y in range(len(alpha[406 - x - 1])): ++ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 12 + del alpha + scroll.unlock() + system.blit(scroll, (13, 437)) diff --git a/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch b/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch new file mode 100644 index 000000000000..652450bf190b --- /dev/null +++ b/games-puzzle/monsterz/files/monsterz-0.7.1-gentoo.patch @@ -0,0 +1,20 @@ +--- monsterz.py.orig 2006-05-12 18:55:51.000000000 -0400 ++++ monsterz.py 2006-05-12 18:57:44.000000000 -0400 +@@ -1907,7 +1906,7 @@ + print ' (C) Mike Kershaw <dragorn@kismetwireless.net>' + + print 'This program is free software; you can redistribute it and/or modify it under' +- print 'the terms of the Do What The Fuck You Want To Public License, Version 2, as' ++ print 'the terms of the WTFPL, Version 2, as' + print 'published by Sam Hocevar. See http://sam.zoy.org/wtfpl/ for more details.' + print 'The sound effects are released under their own licences: applause.wav and' + print 'pop.wav are covered by the LGPL, the others are covered by the GPL.' +@@ -1932,7 +1931,7 @@ + global system, data, settings, fonter, monsterz + override = {} + scorefile = None +- sharedir = dirname(argv[0]) ++ sharedir = "GENTOO_DATADIR" + outfd = None + try: + long = ['help', 'version', 'music', 'sound', 'fullscreen', diff --git a/games-puzzle/monsterz/metadata.xml b/games-puzzle/monsterz/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/monsterz/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> diff --git a/games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild b/games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild new file mode 100644 index 000000000000..7086b507fb09 --- /dev/null +++ b/games-puzzle/monsterz/monsterz-0.7.1-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-r1 games + +DESCRIPTION="a little puzzle game, similar to the famous Bejeweled or Zookeeper" +HOMEPAGE="http://sam.zoy.org/projects/monsterz/" +SRC_URI="http://sam.zoy.org/projects/monsterz/${P}.tar.gz" + +LICENSE="GPL-1+ LGPL-2+ WTFPL-2" +SLOT="0" +KEYWORDS="amd64 hppa x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-64bit.patch \ + "${FILESDIR}"/${P}-blit.patch + sed -i \ + -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ + monsterz.py || die "sed failed" + rm Makefile || die +} + +src_install() { + insinto "${GAMES_DATADIR}"/${PN} + doins -r graphics sound + newgamesbin monsterz.py ${PN} + newicon graphics/icon.png ${PN}.png + make_desktop_entry ${PN} Monsterz + dodoc README AUTHORS TODO + python_replicate_script "${ED%/}${GAMES_BINDIR}"/monsterz + prepgamesdirs +} diff --git a/games-puzzle/mures/Manifest b/games-puzzle/mures/Manifest new file mode 100644 index 000000000000..c42676e7a657 --- /dev/null +++ b/games-puzzle/mures/Manifest @@ -0,0 +1,7 @@ +AUX mures-0.5-save.patch 646 SHA256 0de9e69d4c9b314305d0d347308cfc042bdd28c0ebf631e5577bbc6c4cf49e9d SHA512 2b3717c107fc82010ca9a894d68895d438bbd3e36c6d192a49a2f802f7b42abc717b07d278167176813965bcfbaf1ecab99e7edc30abaf1536f9c6e52e18c0b0 WHIRLPOOL 7373733d04b9c403a8fbf70c4769ac94aac2c8f914be19c4326b0df92be86adf15e9496ecffe5cf426ac6bad5a5df40f99d4d3951bb05e077da16be44ef903b8 +AUX mures-0.5-underlink.patch 296 SHA256 f0179bbd48009ab2c3157fbabd29ee46404cfcd83a44d344ba67607890484105 SHA512 51e32719135883847b326b6c5f3f0954e1df0c3f4d84cfc1e28a6e82974d25c7d44ba552796ee01cf99db7291c2d6c849a777cd03099802618ed56142eea57ab WHIRLPOOL 793d88c8560062c903f618897d1878ccc0490736b7fee34eeaf45a92d53ae9b3b6a3a656c9a15672b16ad8b22931ce6ebd6e5bf7d964cfcab8231988925c7e23 +DIST mures-0.5.tar.gz 638528 SHA256 84da71b52b6fc16587fae776f0ede1cf20ab08ea2f3ce1aaa220ed187cd757e2 SHA512 907b22adffcc0457d866da27bd11d61663c6a1eed1c0aa4b437f8e341065df86f2ab06851619e2fa4088aa0b2becaf9376bad693c83345f8d1ee862c31740eff WHIRLPOOL 6cf0cf6fe3ce2c8919a1ed719c9e05fbd89a7331d78670880b079b4fc6311cc6a56986c0cf73295b23ca443f4cfba162495fce1e11f10bc47ad2f5d421e1e655 +EBUILD mures-0.5.ebuild 2011 SHA256 730841cc8905d467d2c03d38d22fbbed025b26712d0c3bb3a2c533a66dfcc1a0 SHA512 e1ed181aebc68c9dc023671b2b9d52596a056c846426ce2497100019bbe8debc1d24c77e46edae3e649e259ead3c8d5b04ee98bec9863581b8322232aa4cd061 WHIRLPOOL 42817a8b4ad4465fc374bfc23fdab42fdcf934a08b5afae779b80b55dd28293ecb93845af5eb2729db4935b44ca68bb379841f5e35a5359558d26d09b0f344fc +MISC ChangeLog 2486 SHA256 c6b24cc145cce4fa34f7ada16ace7934d2e78f473b3ecac0873c8180654496fa SHA512 0a5dd3dc022e5d4d8b7b6a0368d2757664601459438580a5cad4eb93fa01f61e48c91ce55797301e20774de38c9a6250bd8c8bdfbab34c20090da6326dbc2f7d WHIRLPOOL 8f4be4ccd309f6e103aad363bcd8063ec28d091d3c5215bccc7f8e32e58f0dbee1e37498cf65173716afcb4e034729b3fdd44d2986ab7ea454af277977a6bd41 +MISC ChangeLog-2015 1351 SHA256 871881e370aea53db606637e68c5d2394df1a36ff66ab38bcc0180ba99671155 SHA512 4cc47da82702bb12d1f5626bb82c8ba0ce85c7ab1080009b988b64fe63e31b1839eaf32ff8e6282534fe081d47c25c54b1b44cfc77fd422adc513c8bf02f933f WHIRLPOOL 10df811514c63554f06cce27a91a574b1219ac90d38651612fe29fd64c25a03be335634a3689c9b42bc8295b145de4005b6cfc3f3fc2e6a15426602a04dc4550 +MISC metadata.xml 328 SHA256 41d652b703a88faa606a6da9fe126de96818a50679bb3096dbc262fa58a54f37 SHA512 f6818639d9ff510efe1dc98505eb03086d46024def2a1b5fef5273181e6eef91135ef4e7902613776da51a951c50373b5cc80848a9887d3919f7adfd9ef40f18 WHIRLPOOL 27a1bec96524e96801ed490ae720c48152af74fd891ec4b58b8dfd424c0b7866678908ae798d6fdd44c96ac57d4f11ccb474655b91bad83b8dddc1107b7d3827 diff --git a/games-puzzle/mures/files/mures-0.5-save.patch b/games-puzzle/mures/files/mures-0.5-save.patch new file mode 100644 index 000000000000..704dcf1f53bc --- /dev/null +++ b/games-puzzle/mures/files/mures-0.5-save.patch @@ -0,0 +1,33 @@ +--- gi_sdl.c ++++ gi_sdl.c +@@ -606,6 +606,7 @@ + { + int i,found; + gi_sdl_data *data = &GI; ++ char temp_path[70]; + + switch(e.type) { + +@@ -714,7 +715,8 @@ + sim_start(&g->sim); + break; + case SDLK_F6: +- map_save(&g->sim.map, "saved.mus"); ++ snprintf(temp_path, 70, "%s/.mures.save", getenv("HOME")); ++ map_save(&g->sim.map, temp_path); + break; + case SDLK_F1: + game_restart(g); + +--- output.c ++++ output.c +@@ -215,7 +215,8 @@ + + void output_screenshot() + { +- char *l = "shot.bmp"; ++ char l[70]; ++ snprintf(l, 70, "%s/mures_shot.bmp", getenv("HOME")); + SDL_SaveBMP(screen, l); + printf("Screenshot saved to %s.\n", l); + } diff --git a/games-puzzle/mures/files/mures-0.5-underlink.patch b/games-puzzle/mures/files/mures-0.5-underlink.patch new file mode 100644 index 000000000000..805cd0c7b35d --- /dev/null +++ b/games-puzzle/mures/files/mures-0.5-underlink.patch @@ -0,0 +1,13 @@ +--- src/Makefile.am.old 2011-06-21 14:39:14.404333493 +0200 ++++ src/Makefile.am 2011-06-21 14:39:30.538340283 +0200 +@@ -1,8 +1,8 @@ + bin_PROGRAMS = mures + + mures_LDADD = \ +- -llua -L./lua +- $(STATIC_LIBS) ++ -llua -L./lua \ ++ $(STATIC_LIBS) -lm + + SUBDIRS = lua gui images maps sounds textures + diff --git a/games-puzzle/mures/metadata.xml b/games-puzzle/mures/metadata.xml new file mode 100644 index 000000000000..adf89afdd42a --- /dev/null +++ b/games-puzzle/mures/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">mures</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/mures/mures-0.5.ebuild b/games-puzzle/mures/mures-0.5.ebuild new file mode 100644 index 000000000000..7cf4abc7896d --- /dev/null +++ b/games-puzzle/mures/mures-0.5.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 + +inherit autotools eutils games + +DESCRIPTION="A clone of Sega's Chu Chu Rocket" +HOMEPAGE="http://mures.sourceforge.net/" +SRC_URI="mirror://sourceforge/mures/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="opengl" + +DEPEND="media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-net + media-libs/sdl-ttf + opengl? ( virtual/opengl )" +RDEPEND="${DEPEND}" + +dir=${GAMES_DATADIR}/${PN} + +src_prepare() { + # Disable OpenGL support if USE flag is not set + if ! use opengl ; then + sed -i \ + -e 's: -DHAVE_GL::' \ + -e 's: -lGL::' \ + configure.in || die "sed failed" + fi + + sed -i '$ s/\\//' \ + src/lua/Makefile.am \ + src/maps/battle/Makefile.am \ + || die "sed failed" + + epatch "${FILESDIR}"/${P}-underlink.patch + + eautoreconf + + cd src + + # Save to HOME + epatch "${FILESDIR}"/${P}-save.patch + + # Modify game data & scrips path + sed -i \ + -e "s:gui/:${dir}/gui/:" \ + -e "s:sounds/:${dir}/sounds/:" \ + gui.c || die "sed gui.c failed" + sed -i \ + -e "s:images/:${dir}/images/:" \ + -e "s:textures/:${dir}/textures/:" \ + go_sdl.c || die "sed go_sdl.c failed" + sed -i \ + -e "s:textures/:${dir}/textures/:" \ + go_gl.c || die "sed go_gl.c failed" + sed -i \ + -e "s:input.lua:${dir}/input.lua:" \ + gi_sdl.c || die "sed gi_sdl.c failed" + sed -i \ + -e "s:images/:${dir}/images/:" \ + anim.c output.c || die "sed anim.c output.c failed" + sed -i \ + -e "s:maps/:${dir}/maps/:" \ + load_maps.lua || die "sed load_maps.lua failed" + sed -i \ + -e "s:sounds/:${dir}/sounds/:" \ + audio_sdl.c || die "sed audio_sdl.c failed" + sed -i \ + -e "s:load_maps.lua:${dir}/load_maps.lua:" \ + map.c || die "sed map.c failed" +} + +src_install() { + # Remove makefiles before installation + rm -f src/*/Makefile* src/*/*/Makefile* || die "removing makefiles" + insinto "${dir}" + doins -r src/{gui,images,sounds,textures,maps,*.lua} + dodoc README TODO ChangeLog AUTHORS + dogamesbin src/mures + + prepgamesdirs +} diff --git a/games-puzzle/neverball/Manifest b/games-puzzle/neverball/Manifest new file mode 100644 index 000000000000..240bd0f7e718 --- /dev/null +++ b/games-puzzle/neverball/Manifest @@ -0,0 +1,5 @@ +DIST neverball-1.6.0.tar.gz 37772911 SHA256 73fe63cca4f96e2d355480d03bc0b2904e83a0abdf65fe8c52db5cc3cca88fa0 SHA512 174d05308aee3a5e693782c54dd389439752b3597f28193771041d30f6c4236a5d055b2fcca9460b1005e9f000ddb3cbc01b86ea15c2abbf6e5a7996e836f787 WHIRLPOOL 017ac177b3557e0473d94288c0645ce7e6ddf15cdfbddb6798b22a6341d9864532d0d2263ed785bbed8c1bf5c9e4acbc6e31effdcc06b299a8fcf7c1fa60e514 +EBUILD neverball-1.6.0.ebuild 2198 SHA256 5d77b6b1645d9821d7f63bf60d0161338a1652b160d3f162c8ff11f290072e21 SHA512 0f1cea3ac0592124b8aed9b57a0be4cee91ae913b4f83667644f5aecc1383fb8bb5be30679df2317d566ae5a80ffd893942a04eb5fe824e6d75a84034b8c679c WHIRLPOOL b4373711e0166c8eb422690d19830c4ca58aeef6d05f8b24d31ac5b282a228e4e2fa99b886420002c0e6f6b49acefcd4dc19a84a14a4b7536b87745e5fa0f612 +MISC ChangeLog 3016 SHA256 adb56f99fe650ff6fb384119c56d8e2d934e6b530e190f34c0e6980fe5e972f7 SHA512 78d99b215a8a399a607f2ce4c00ceb79b1c4580358c4d7e4821dd40733b0ca20f4fac1eeb85d6744d736a0833e1f909e2804931d805c342254555ef5b1a560a1 WHIRLPOOL 6e2aa35351210300c94f9a6eda51a7d615de4febd6b65cf98e86cb0ece73ae9718558de6a88bc00cac189c06abc46bf40a3e9970e1a00c6b4d7f67c6ac86a9dc +MISC ChangeLog-2015 7164 SHA256 ff836d6145c26263e2c17e4f3647551a8a323d45d6520ceb771d6ac1e3729b33 SHA512 9fee0cbafa69edf7c03eca31abdb8970fcde2740ad29df60f9defc4ea2680bd4716053a5cff06cf9a217760202f26c94dc2e57e5f9ca7025af4c3de088b58c8d WHIRLPOOL 4edb5ac9159788c977d7999727a9bfd85efdf1dd5fcc69d718eedbc3e258869becacb8cf7f6ab706ad1522f65d2379af05308f82c7c79c036225af08122c58d3 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/neverball/metadata.xml b/games-puzzle/neverball/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/neverball/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> diff --git a/games-puzzle/neverball/neverball-1.6.0.ebuild b/games-puzzle/neverball/neverball-1.6.0.ebuild new file mode 100644 index 000000000000..4466cbdedcf4 --- /dev/null +++ b/games-puzzle/neverball/neverball-1.6.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="Clone of Super Monkey Ball using SDL/OpenGL" +HOMEPAGE="http://neverball.org/" +SRC_URI="http://neverball.org/${P}.tar.gz" + +LICENSE="GPL-2+ IJG" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" +RESTRICT="test" + +RDEPEND="media-libs/libsdl2[sound,joystick,opengl,video] + media-libs/sdl2-ttf + media-libs/libpng:0 + virtual/jpeg:0 + media-libs/libvorbis + virtual/opengl + dev-games/physfs + media-fonts/dejavu + media-fonts/wqy-microhei + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + sys-devel/gettext" + +src_prepare() { + sed -i \ + -e 's:mapc:neverball-mapc:g' \ + -e 's:MAPC:NEVERBALL-MAPC:g' \ + -e '1 s/ 1 / 6 /' \ + dist/mapc.1 || die + sed -i \ + -e '/CFLAGS.*O2/s:-O2:$(E_CFLAGS):' \ + -e '/CXXFLAGS.*O2/s:-O2:$(E_CXXFLAGS):' \ + -e "/^MAPC_TARG/s/mapc/${PN}-mapc/" \ + Makefile || die +} + +src_compile() { + emake \ + ENABLE_NLS=$(use nls && echo 1 || echo 0) \ + E_CFLAGS="${CFLAGS}" \ + E_CXXFLAGS="${CXXFLAGS}" \ + LOCALEDIR=/usr/share/locale \ + DATADIR="${GAMES_DATADIR}/${PN}" +} + +src_install() { + local font + + dogamesbin ${PN}-mapc neverball neverputt + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/* + for font in DejaVuSans-Bold.ttf wqy-microhei.ttc + do + rm -f "${D}${GAMES_DATADIR}/${PN}"/ttf/${font} + dosym /usr/share/fonts/*/${font} \ + "${GAMES_DATADIR}/${PN}"/ttf/${font} + done + if [[ -d locale ]] ; then + insinto /usr/share + doins -r locale + fi + dodoc doc/{authors.txt,manual.txt,release-notes.md} README.md + + local res name + for name in ball putt; do + for res in 16 32 64 128 256; do + newicon -s ${res} dist/never${name}_${res}.png never${name}.png + done + done + + doman dist/*.6 + newman dist/mapc.1 neverball-mapc.6 + make_desktop_entry neverball Neverball + make_desktop_entry neverputt Neverputt neverputt + + prepgamesdirs +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst + elog "${P} will overwrite existing high-score files, so back them up if" + elog "you want to preserve your old scores and progress." +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/ngstar/Manifest b/games-puzzle/ngstar/Manifest new file mode 100644 index 000000000000..de64c1268b69 --- /dev/null +++ b/games-puzzle/ngstar/Manifest @@ -0,0 +1,9 @@ +AUX ngstar-2.1.8-gcc43.patch 208 SHA256 627a182a862cfa5623f81707b8f41d6e1f2410fbe13a660d69e21e94abc488fe SHA512 c01ae8cc19afb5d7bf24dbcfd6b82bd174e54848463363cf9718aac230b990e708df05a600ef3d689056f6e0018faaeda06cdaa9054673227f46143f84f22ea7 WHIRLPOOL b8b8d50bf5b6fbecc3fc647c02610e19def82ade38d6aaa15df56a5fa6def4a3a859eaa8c44127895c7342b0469148be252a052ac076070ae61632a2e8778145 +AUX ngstar-2.1.8-gcc47.patch 315 SHA256 8925d058dbc27ecb86321b99f95121642125ad8a7f8b89e976595293ac255152 SHA512 ee0b9d2f8fd989475c62371572091200acdb47fd2fc634763e729f51096786ef46a866cf2abd244502daf38b7503a0043146fd53590da4113a45841a2ac2db56 WHIRLPOOL ecbea3d5faabdec5054e07cc4072d0b00f240a5b34c1778eb9a0e42a21db29584dfa4073da3507e687841cc3c04cc5f7e72e02d8dcf14f23accb5f88908c0b59 +AUX ngstar-2.1.8-gentoo-path.patch 534 SHA256 32d0998b7f9416995a30c8b448040d3427c1e59ce66c9d25495ac3d909e8f45a SHA512 bca1216cb11122c19dc183b788215c50d9426e58e69bb20ebc5085121cdfe83af8d8e504440c7eacee4a82c4f5b7ef9a7c77fa783084b0f77bd1759cb45a51d7 WHIRLPOOL e882dfba9c46dd8f698af78adb447d4b993d58ad788696770d55d26c4bda228c8c7e2d733941c01a330fb3d99983226be6f54d7add1899a826e914de9f3ae0d2 +AUX ngstar-2.1.8-ldflags.patch 1031 SHA256 9fd44a56733b4fd2a113bf2338b3768882393a78c613c1ede92165676f79edaa SHA512 54e08e2e6c2171624c4d0e19df0a3f1b27e65f7dc8a079689db38283098ee3d9c8baf9ec1cbe7c64c0691f6a9bfd789e0845fc8043386e3cfcb98e051e81643b WHIRLPOOL 27cd5290ca592a7c44d49debf9666072ed164101dc2c6bace5062841bbde3a989213d3d52f897b6050457c90d26590a8ddd261e996ff38985e8768bea5554b71 +DIST ngstar-2.1.8-src.tar.bz2 45851 SHA256 c8a2cf84d2a4bb40280d4ce307ceaed8f97d2183f79f7a82b38b78aaedb73fb3 SHA512 c96031148720b5dcc004a5de68137bbbdd5af9c6f0b33ff8bcee3180cbf4732a4d6a92737ef99754d512bb61454bc0a17487efba4cdb00339d23e38edfe3cb28 WHIRLPOOL 05b6492a324e49c210174864b73194cef1ef3deb405d04d1c9352ae3cb3bb539e3c2b5c4d11f09f2ea32ffe37a542aaf2438185f6df1330af88de0b122d6e5aa +EBUILD ngstar-2.1.8-r2.ebuild 895 SHA256 11d8ef4d7ce00a9d4da7f0356e716dbc796674582150ee1d36f76c57ad0c4ace SHA512 69570eb6dccf38854e3b318ed797cb49c226e4f0fa71ec899c49b810e54200bc9a491a4bf077fa2547fa793293b4409ecd47d979d4d2fde6810ea30fa344daca WHIRLPOOL 8f8763848cc93b0a978f9b0ae2fd9774fc3336343e622bd16d3aa196cc9f5cb53c08f1c1cae6cfc1de4440b04ec4583527b28df513c3a753527e5205ba477905 +MISC ChangeLog 2729 SHA256 cf59b46f072c9e176cb7e412081cf5ee039d5c92d1d71dbf8da55766994658ea SHA512 2cd9a37ac23ed7603430571b491e9d0f12dc84ec9187ad6c163ad31b7af5dc0f300ee1b640cccbd3c03ffdd65eb1fc9ee9cfb270eafe7c734d9458bd9de536c4 WHIRLPOOL d87bc4b77ec551798cfdc4282e6a72fd0196907a3e2a420005807b8f3d6c649648539e9fe208a485d4e16fe43296c074c75995bcc804be2a2484961b57800ed7 +MISC ChangeLog-2015 2044 SHA256 bd1d407674c4972fb63eb519d5be199377c0c18caa1e3cb009dbbb9afce1f665 SHA512 7eea9da024287fe14629944f95c5ba6be33f9995c3f92b6c05aea14fc10334a3104d493e09f074aa7329f64338a5c897217d8fb2cdae772753359278ddc99ea4 WHIRLPOOL a6ee80066a0d78065c181401f806d6d58adea823f42ef4605f5a6afacbd4f9850863292c9e65b463331ea99c0938f7635c3f1edb0edeec97c661bb68482c4d4a +MISC metadata.xml 612 SHA256 ffc9c874a3fd37639c0455297d7ca585fb69eec94649075e4a99336737dd64e8 SHA512 414db07af3e63e2bfabcc81bdb7df2b91cf449f568c1d301c62a5c4b2950fad627c94f786abb902df84e6568016062ae18d76008136144fe92007100efbaff92 WHIRLPOOL baa65dc864e20e6fdf826139f64f3a6b4ef9d0ca0cea9204afa5cae2b3c38c90309fec493e7368465c2213ff8262587d6fb20c50892ac1301c175af535b35b4e diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch new file mode 100644 index 000000000000..72c0f70007a4 --- /dev/null +++ b/games-puzzle/ngstar/files/ngstar-2.1.8-gcc43.patch @@ -0,0 +1,10 @@ +--- libngstar2/Configuration.hh ++++ libngstar2/Configuration.hh +@@ -26,6 +26,7 @@ + #include <fstream> + #include <iostream> + #include <string> ++#include <cstdlib> + + #include <getopt.h> + #include <sys/stat.h> diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-gcc47.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-gcc47.patch new file mode 100644 index 000000000000..2ddf0f53793d --- /dev/null +++ b/games-puzzle/ngstar/files/ngstar-2.1.8-gcc47.patch @@ -0,0 +1,11 @@ +--- src/Ncurses_UI.cc.old 2012-07-21 22:25:16.421521521 +0200 ++++ src/Ncurses_UI.cc 2012-07-21 22:26:01.008390914 +0200 +@@ -23,6 +23,8 @@ + /* includes */ + #include "Ncurses_UI.hh" + ++#include <unistd.h> ++ + using namespace ngstar2; + + Ncurses_UI::Ncurses_UI( NGStar2 *engine, Configuration* config, Scores *scores ) diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch new file mode 100644 index 000000000000..84fa6de7e024 --- /dev/null +++ b/games-puzzle/ngstar/files/ngstar-2.1.8-gentoo-path.patch @@ -0,0 +1,14 @@ +--- configure.old 2006-04-19 22:00:42.000000000 +0200 ++++ configure 2006-04-19 22:02:38.000000000 +0200 +@@ -193,8 +193,8 @@ + MINOR = $VMINOR + REVISION = $VREVISION + +-LEVELSETS_DIR = \$(PREFIX)/share/\$(NAME)/levelsets +-THEMES_DIR = \$(PREFIX)/share/\$(NAME)/themes +-BIN_DIR = \$(PREFIX)/bin ++LEVELSETS_DIR = \$(PREFIX)@GENTOO_DATA@/\$(NAME)/levelsets ++THEMES_DIR = \$(PREFIX)@GENTOO_DATA@/\$(NAME)/themes ++BIN_DIR = \$(PREFIX)@GENTOO_BIN@ + DOC_DIR = \$(PREFIX)/doc/\$(NAME)-\$(MAJOR).\$(MINOR).\$(REVISION) + LIB_DIR = \$(PREFIX)/lib diff --git a/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch b/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch new file mode 100644 index 000000000000..17e0ed9f7188 --- /dev/null +++ b/games-puzzle/ngstar/files/ngstar-2.1.8-ldflags.patch @@ -0,0 +1,32 @@ +diff -ru ngstar-2.1.8.orig/src/Makefile ngstar-2.1.8/src/Makefile +--- ngstar-2.1.8.orig/src/Makefile 2005-11-09 08:11:22.000000000 -0500 ++++ ngstar-2.1.8/src/Makefile 2014-11-18 23:58:45.565366080 -0500 +@@ -33,8 +33,8 @@ + endif + endif + ifdef USE_NCURSES +- CC_LIBS += -lncurses -lgpm +- CC_LIBS_STATIC += -lncurses -lgpm ++ CC_LIBS += $(shell pkg-config ncurses --libs) -lgpm ++ CC_LIBS_STATIC += $(shell pkg-config ncurses --libs) -lgpm + + NCURSES_UI_OBJ = Ncurses_UI.o + +@@ -56,8 +56,7 @@ + + $(BIN) : $(SOURCE) $(BIN_DEPS) + echo "Compiling $(BIN)" +- $(CXX) $< $(BIN_DEPS) -o $@ $(CC_LIBS) $(CC_INCLUDES) $(CPPFLAGS) +- strip -s $@ ++ $(CXX) ${LDFLAGS} $< $(BIN_DEPS) -o $@ $(CC_LIBS) $(CC_INCLUDES) $(CPPFLAGS) + ifdef USE_FLTK2 + -ln -s `basename $(BIN)` $(BIN_FLTK2) + endif +@@ -68,7 +67,6 @@ + $(BIN_STATIC) : $(SOURCE) $(BIN_DEPS) + echo "Compiling $(BIN)" + $(CXX) -static $< $(BIN_DEPS) -o $@ $(CC_LIBS_STATIC) $(CC_INCLUDES) $(CPPFLAGS) +- strip -s $@ + ifdef USE_FLTK2 + -ln -s `basename $(BIN_STATIC)` $(BIN_STATIC_FLTK2) + endif diff --git a/games-puzzle/ngstar/metadata.xml b/games-puzzle/ngstar/metadata.xml new file mode 100644 index 000000000000..1111e81af0c0 --- /dev/null +++ b/games-puzzle/ngstar/metadata.xml @@ -0,0 +1,17 @@ +<?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> + <longdescription lang="en"> +NGStar is a clone of a HP48 game called dstar. +The goal is to catch all gifts in the level to get access to the next one. +Use the ball to catch them, use the cube to stop the ball. The ball only move +to the next obstacle (wall or cube). +</longdescription> + <upstream> + <remote-id type="freshmeat">ngstar</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild b/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild new file mode 100644 index 000000000000..0176fcfa2eab --- /dev/null +++ b/games-puzzle/ngstar/ngstar-2.1.8-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="NGStar is a clone of a HP48 game called dstar" +HOMEPAGE="http://freshmeat.net/projects/ngstar" +SRC_URI="mirror://gentoo//${P}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="sys-libs/ncurses:0 + sys-libs/gpm" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo-path.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc47.patch \ + "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e "s:@GENTOO_DATA@:${GAMES_DATADIR}:" \ + -e "s:@GENTOO_BIN@:${GAMES_BINDIR}:" \ + -e "/^CPPFLAGS/s:+=:+= ${CXXFLAGS}:" \ + -e "/SILENT/d" \ + configure || die +} + +src_configure() { + ./configure \ + --prefix "" \ + --without-fltk2 || die +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/nightsky/Manifest b/games-puzzle/nightsky/Manifest new file mode 100644 index 000000000000..9fe58c174324 --- /dev/null +++ b/games-puzzle/nightsky/Manifest @@ -0,0 +1,6 @@ +AUX nightsky-wrapper 540 SHA256 562fa782edad4859cb70316a642bfd009a51eda0f47e529a9360fb4f2710d3b2 SHA512 6ecb52d390757bb6b1ffcd7b06c1a154d5a3253822e989d7b9276ede8627d241b203afb88afff731f33967a3e380d1fcaf3feeef61713485848f654df3855248 WHIRLPOOL ca6e962c2870650aa979476ad5934d3cfffef87107583f5ab49651253e4e430a4571c0d095af76b8f344707c8f71ae85d77da59e30f3f59b131c50d2b9dac58f +DIST nightskyhd-linux-1324519044.tar.gz 123971537 SHA256 def2b3b42239f9e786472a88d85ae739790f6675b8eadffe9941350d2100e9d0 SHA512 a1d4ec588fa67c3dfbefe563d37df7bd93ce6a7580e7fcedda6567f6f05f362fc478fbd6ac921854fa5fe26270a037c49f9bce2df5527a6490ff0984b9bb671e WHIRLPOOL b7aeef90eadaa47498da4d3cefd10c3f0c5ec8262ea9cf0125280aed6848ae5c8f05e591ccdedfa9a11f161f4abbb5ee03844ddee1a1c252cb61d53c5103cd0c +EBUILD nightsky-20111222.ebuild 1876 SHA256 6993c227b04a35bd248f02cfa359cb55db3ed6f63a4b3077651a523debaa0cee SHA512 d07cb62c379d63bcfb1229fa3c4d86beecde97af0e3e73e20fde05fcbeb2006498cd870dfda7a5a96eaa11cc3f9e4ed8b47d07bd40b4eee6b53083bc66e85e4c WHIRLPOOL 3972391bafb44a3c33deffdfd6be3a4bbd074d14bb2d6ec10885e7bcd66fec145d3ea03dc25e15f7d7af012c72616eca1e3625e26020fb1d12944ee1dd475b7f +MISC ChangeLog 2858 SHA256 47abec92964ac39f71fa7096f63fc0f7139f206f6db090b9ecb8ea3000439e75 SHA512 e491f3140053cba0ace803d952351bb95a9ad66b2adf9b02e79ba0127692b2c43d1d1e688002c7964d987dc93f84004237a18e822794261b341ced8f1bf4e9e5 WHIRLPOOL db78572cf3952668d85048b029e8f02ba71e76378bf17d755998f747d04c8d74a6335fca5eebd2c3c2e509814923093963225b4548a2f27bba40643db081e7f5 +MISC ChangeLog-2015 1025 SHA256 52bcae76e6e9f5b546713c40588b7fdbd46ae663d2d9e5c69e497de320fcb4ed SHA512 beb6107066216ce257908f65dcadbcd702fcbd043d21099828744eb15f214f0ba6ba0ea3fdff9a98c89b37f08d63a4e0c459e1e75fa692e0aee24a1c77875511 WHIRLPOOL 86207bdb93f2861de616205786aa7e926815e99b4bc91cdad46160c11003d86117d071e83f45060df7e20f464bdb080f73b709823a2b5a970a277dc53ed26835 +MISC metadata.xml 355 SHA256 3fe59ecadf91cdd661b063661864ef57eb3df8d59bd55a2eb9e61dc1a75e5bd8 SHA512 78f8cc8f1f1be915da206e4b8be196a21b58a6f209023594755e481136a1b86ee31c8d0dfedd516d756a47db624e89728875b073b71c3b08ac94a5cde8ff3b83 WHIRLPOOL adc2ef67e7870008ce851a78268832c5ff50649850b2614fb66edd3a16ccbad441306f00c44000385a742552b91b4a805408b19aad2ef3b7dda9e86532703dba diff --git a/games-puzzle/nightsky/files/nightsky-wrapper b/games-puzzle/nightsky/files/nightsky-wrapper new file mode 100644 index 000000000000..be838c7432cc --- /dev/null +++ b/games-puzzle/nightsky/files/nightsky-wrapper @@ -0,0 +1,23 @@ +#!/bin/sh + +HOMEDIR="${HOME}/.nightsky" +GAMEDIR="@GAMES_PREFIX_OPT@/nightsky" + +# create root config dir +[ -e "${HOMEDIR}" ] || mkdir "${HOMEDIR}" + +# symlink game data +for i in `cd "${GAMEDIR}" || exit 1 ; ls -d *` ; do + [ -e "${HOMEDIR}/${i}" ] || ln -sf "${GAMEDIR}/${i}" "${HOMEDIR}/${i}" +done +# create empty Settings dir +[ -e "${HOMEDIR}/Settings" ] || mkdir "${HOMEDIR}/Settings" + +cd "${HOMEDIR}" + +# start architecture dependent binary +if [ -e "${HOMEDIR}/NightSkyHD_64" ] ; then + exec ./NightSkyHD_64 "$@" +else + exec ./NightSky "$@" +fi diff --git a/games-puzzle/nightsky/metadata.xml b/games-puzzle/nightsky/metadata.xml new file mode 100644 index 000000000000..b878aaa1812d --- /dev/null +++ b/games-puzzle/nightsky/metadata.xml @@ -0,0 +1,13 @@ +<?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="bundled-libs"> + Use the upstream provided bundled libraries. + </flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/nightsky/nightsky-20111222.ebuild b/games-puzzle/nightsky/nightsky-20111222.ebuild new file mode 100644 index 000000000000..e662c94e7dab --- /dev/null +++ b/games-puzzle/nightsky/nightsky-20111222.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils gnome2-utils games + +DESCRIPTION="Puzzle game that puts you inside and ambient and mysterious universe" +HOMEPAGE="http://www.nicalis.com/nightsky/" +SRC_URI="nightskyhd-linux-1324519044.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/NightSky* + ${MYGAMEDIR#/}/lib/* + ${MYGAMEDIR#/}/lib64/*" + +RDEPEND=" + virtual/glu + virtual/opengl + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXi + x11-libs/libXxf86vm + !bundled-libs? ( + media-libs/freealut + media-libs/freeglut + media-libs/libogg + media-libs/libvorbis + media-libs/openal + sys-libs/zlib + )" + +S=${WORKDIR}/NightSky + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_prepare() { + einfo "removing ${ARCH} unrelated files..." + rm -v NightSkyHD$(usex amd64 "" "_64") || die + rm -rv lib$(usex amd64 "" "64") || die + + if ! use bundled-libs ; then + einfo "removing bundled libs..." + rm -rv lib* || die + fi + + # empty dir, we create symlink here later + rm -r Settings || die + + sed \ + -e "s#@GAMES_PREFIX_OPT@#${GAMES_PREFIX_OPT}#" \ + "${FILESDIR}"/${PN}-wrapper > "${T}"/${PN} || die +} + +src_install() { + dogamesbin "${T}"/${PN} + + insinto "${MYGAMEDIR}" + doins -r * + + newicon -s 128 "World/The Void/Physical"/Circle72.png ${PN}.png + make_desktop_entry ${PN} + + fperms +x "${MYGAMEDIR}"/NightSkyHD$(usex amd64 "_64" "") + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update + + echo + elog "Saves and Settings are in ~/.nightsky/Settings" + echo +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/numptyphysics/Manifest b/games-puzzle/numptyphysics/Manifest new file mode 100644 index 000000000000..5012139ea035 --- /dev/null +++ b/games-puzzle/numptyphysics/Manifest @@ -0,0 +1,25 @@ +AUX numptyphysics-9999-gentoo.patch 2247 SHA256 b6c1f403fb87237aed8934158c3e07cdfa0a050a232790d7aae171e39653ce26 SHA512 80199cf59e9b5ade8385726f042f2b060e416cd4db265e0fc377e54879ac2295e69a9fdde0ee55cf456f60033222fff791eefac6d8d536db51eef98e505276f7 WHIRLPOOL 0e351841d8bb02353fb3a30c604cd33d21b88c2dbffbc52dda95d49690906ffa26944033124e407a76cf55918fa535a42e3062eea37ebe82497657804e86166e +DIST butelo.npz 7209 SHA256 3c1984f135ed5fbf101ee05bbbbcf46f3aaeddf90b710192735aebd04ec2def0 SHA512 a1f6ce15c0a921969a0e6c96d2e354aa666e760275a86d45b85db833731273e16ac9cdb4975beca71c1abcfe5dd64a0181f74bbc3e3aba1c2bb541c3bbe80090 WHIRLPOOL a849dfbd5e0e983b64bd0a33d8b1526b202a4d376f7388e5767d787a477ae2d77760d8446493b3cb92ebc04ad6ca974b8a813e6a05f0cbfac98fd4f7d2080ce5 +DIST catalyst.npz 8778 SHA256 2278d331c354e9db0f89a0f3df1c6ac190a0f3b21f9ea12310d9e715fd5538f5 SHA512 ad2c02721e1b2ded3621a5a5217f78ed1022a86472f4de030c9b3d258f0b7b580e953fc2d017519477cea4df1b482e61fca565a3d98d511e894805e6683e6830 WHIRLPOOL 6abf8ecd88fcfa79f87268cbe9af85f4e9a8c227b8e59ab43b5438330d961c7e00546383957c38cc9143ef1c45f2880e6dda8615fa26a832268c1c79fe1af20f +DIST christeck.npz 4868 SHA256 d265f1f6a0dfa1c8a6b4a20f919f0f4c3f57ccb25f15f895ba7a0932644486e3 SHA512 562ed1fe6caa026dcc897aa914c5cad648aa191127714c888f5d1fbf82bbac15477928e49e02a5ab8940a84a085afb6e282e04ac1478a0ace5449541137f89fc WHIRLPOOL c250266e6aaf3e9b52ed81ca8899af219d594451a7bc965ba8a1866b13f42aae1cadbb38a0ee49510739a57960673ce38456df5f99ec432a283d55660bfa9f30 +DIST dneary.npz 5041 SHA256 4966d1c5d453dee3a6cfd6135acb13d6e1e6cd572240224c38767ff510ad5276 SHA512 94bf7238bda8c9ba4133bd4bb8f6c978bb06f42432a6854ba570466d3a4b780a737a2138702072fbb9d6b913307a52734b3747a255d3f611df8e8753751d1c55 WHIRLPOOL c5237d9ea0793f6c25350823121aac6d87711a63dc0891388f0f7361f07fabdccafee3dc5b1c6041d26788ff462a4e5d51b2605ab69ca6f6efedc5f86c509abe +DIST gnuton.npz 3734 SHA256 271df127e20358f8ca02785405ea5fc5a9d3dc9cf1fa4dd2a014795cd8c36634 SHA512 f3c910ac426b8044400ff882c0f8e193a19d35d1de2f6a8b5729acb9cc2fe383b116f79854897d3162c9ce223df92c76981a676ffc83268716fb20d8fecca13c WHIRLPOOL 2e95e234a46448b6cc5527e7eec1beeb0d3d3bb2c0cb92806bf3f2cca6c1c990c6a8e8d86793ea46394c199f76d02edf5374ed6883be19b366f9ca04702ae5e9 +DIST gudger.npz 7101 SHA256 f2417fb30bbbd0cf397cd21eabbc775492d7320a82056ab1abac9fb30f4537a8 SHA512 507536e83ef99a135d187b54369e12ea585a0aaa354ee4e8cf50540ffcd9b12798f11807940ee487d759617379794d447ab06bc185cb1021d06cca51908f35aa WHIRLPOOL 24882ecb0176c1c210c5a2bc6d998bc1b9b456fcf617336a5104df47f9b943bdc1a3c9b180faea4df0ef0f320d4314ff0a69482afbb4ad44337005464133f901 +DIST guile.npz 27182 SHA256 fdb0c4210909fa24b8c264638ca9620a4111a7a20b8106413c1a4ecd22b068eb SHA512 62a98d028335ce0a2a78cec86ef0e9164d10d057f0d99e5c27352f604ca06c6f0634617517ffb5d4c2609859f4316367ce805669d70002058168d332dee2f81e WHIRLPOOL 0ed910dac91d3a014f5364ff7701155fbfe831f809edb3458037c08ef2aacbf5785e22d7ca0ca25a8aa192b566fd74a155def33fca693e6789794a428423979d +DIST hurd.npz 7819 SHA256 0fa386f6b1b86bdc34cf7a09e4bfc09866338cd8e472b7b78d2f61721eebba85 SHA512 5a7ce05af8c0cb8b63296a19827286bee46e41c876817cd4a190f8294be8c3c53fdfab63908c9d64b93c9e104d9b36f812fc3c3e05e47dcfdb7a47f9c0a15dab WHIRLPOOL 354b3eeddbd866c7fa2828d650beb7869c74028aac94f64c6a05e27f7f0e2bd6d34aadd23f7c3dda22c0ee359dd8159137805f08110a1b89d197f9660a03bfe8 +DIST ioan.npz 8672 SHA256 96a45a8f704d79edd80cde152a7548e304ffc4500c12264b70855a50b7852dc5 SHA512 aeb707ffa3a7fc64d1a401a9f1f2c59b5d031c4443e6b679cf534be0824493f54dc20e1ceb127352e7847ac403dc1971470b52369b0bb0933f0c8ade299961d4 WHIRLPOOL 93452fc4a17d8ab005cd8b14a8b84c861e7786f0f811763bc43e98408641285827523ca4c48174c7482b121f7c976d78919c08c1c670467fd078ae2d1f91de66 +DIST jhoff80.npz 4612 SHA256 357c638f227628ca778c701ffc5c7e15d81842d7c3e8dbaac34ba2957826a15f SHA512 4d060a35f18204509726db2f1cdfd8a69444bf10e784fcc32ce54a76aa541628903e5ce70d65a64b3ea079095cdc979475ff553e428bb321640d7a87e60f6384 WHIRLPOOL 3fc99ccf86afed4ea2297b700efb7139aa013cfdfd9b34365ff2c84475189e1bd8046eb016542b896c994829096952018048fc938be396301338f85d4eb8910d +DIST leonet.npz 4885 SHA256 f1c51f0b75288c08188492cfc16fa7605cfa0d54ff56a6ddd261a2013eb81499 SHA512 789cdde6313b7cc9e8616c7969d86ed44866baa9ae88befa605d7066ca8134f167aac9490afa3918305929dbbc0acaf46708e02be4353f98ebeb3dbe3b0eefa1 WHIRLPOOL c21b464dda92167c5b3e1e09f8c254e1b2bb1e7dbc38d867d0dc48ada244b574f64ab28091b7032debe3cf19bb5d0bd248056cffce3c98b8c8017410316eb2db +DIST melvin.npz 18147 SHA256 8d5310f0f434511c10f4fe89d513040ebc7242d3573e6f2629aa7f6c32238a18 SHA512 391a82b4c42cd2597dd06b299f15cf41302ec593658929d320b66caa69cd73e7cbe3128a18c811017c3b73c435a6f42b763c6e531c8fd193715bc41f85a6b5c2 WHIRLPOOL a8f547bed4c8a91ee3885ee692220359a2cbc5561920fc3409bdb1d6b6e2a0792d1477d03642c4f94a4c2ee7f142366df016229f90bcab90d4259a40fc494ce6 +DIST noodleman.npz 46574 SHA256 f392f24deb190eba36b1fcfe1fcc7801c60b9b4eee9bcd8046b3a04a17b35741 SHA512 a088c2c86303985e7d8beec34809f09fcf8e510f7c2af2530620774d1f6579ac1e5ac73989b8e423079c1171a79c92a0cb6e6e01dca950fc519007c91b86ea82 WHIRLPOOL b9581a8d1cc5969c0946d9985b5111f0e987354a580fd84c456621b44c56cbbd9a592cf81ac17c5b7deaf83da67ddd0a319f892e1b75699db43c5db009d47a8b +DIST papky.npz 2075 SHA256 b12a342c652f16c33852d1429eae2b0cc8020bac5e36f37fa48ba930023e163b SHA512 69733167ef00f64c19e4f8805e1a881332698e26950f996fc5d41e9e5580f5578b2b9d3f9781bacc9293519e139b7d531891b91f36c45031ac06da6e8e78fbfa WHIRLPOOL b22a55208d4dd9dcd1809662aca04fb798c0ef0c921940c5fcd1318d2b4aea5d827c3fcd612e23a352e88cc270acd7c52ea5007f0ea0750602ca4739c74d8e25 +DIST perli.npz 15452 SHA256 23943313d53d16e7eda2000646f4c74ebe66ee254334dde97f8e5a886b262a56 SHA512 cee513ed0e728334f0e60571e38dc68e476681bad8a22497ac01f790c6975bbffba727ede054bfc6f594f289c9bf6346c3e9b3537145707c3ed6f4d6c21136c8 WHIRLPOOL 80be04c33917502dd94d2582a6d1be35b1b9f177a5f5e71792cb02dbcaed1ed5ffbc108f184c008484e673a51d3f7d417b834e0bf4a424721165bd161ce5528e +DIST qole.npz 6533 SHA256 0b76d6790e787948cb70edd7d7aec6e791e97befee15925a61bfd23e7adae71f SHA512 dc624c5ffdcb0f9f18c20db7a08d7e9d9d4fa5314e3fabfa730e21bb0a27d4b415432ec66eab64d8252c7fe4793a2cff231e856ca06d85c61558a867bf2fb03b WHIRLPOOL 8d1a48f0c107e4aad3dc58d0e53cc631ed6bf22538175f7db70b16ffbe4d0ed9e7f80aa61727d77dabb89e0b20d31d08d5071112760f897500075eb107a12507 +DIST siminz.npz 187396 SHA256 e7ea601648b944c8540e9dfd7fa79cfc5b375c15e283555319653a48106a8904 SHA512 cedf3d90bc93adb2dac45ea69a8f87965002810527ce35122c5b1bcf1bf07fa1de9230f33bb84e542eeb0b4235216eb633d8a79cef1db34e24f8fff25f846758 WHIRLPOOL 9cd1d86dd08b1a8f2ef1b1f4c4c8b52dfcd251612ca9efbfc7678c2ef99994ad4e3f822052e3a6e5b3291d8180791b06dde982da2e010170d4457c956923b5c4 +DIST szymanowski.npz 2577 SHA256 2ab70473acc4b66a5946f6462ef9efc80fea5d8312edc432d32643100c5dfa57 SHA512 b87be9d66cb3025a6168855fa473377609268c7d5fd6dbe53df7fc6156bc58dbb2d35c7e7a5d6caf88bbd92eb08ae2ac5b5d06dce6da9858e1ff1fa3553d3228 WHIRLPOOL 11f6a732d2dec25887482239e07faafb4a06019b9ff36d8e4ecb961eec389f2509976b1cae561379d5828eab272ac65242e38cadc2228c00a766187827262abe +DIST therealbubba.npz 6684 SHA256 fa23a79cbf373e88585c80dbea3bada09d6c0044278c53f8fc1bcb98738e91db SHA512 c71a84345f0c6e0cde87e76b3084d89b2222d33b512458efd98d91c099b54e817b8421ea70001de6e5556c0e28be1c9fc1c19ad1411dd1b2bf194f987cdbdec6 WHIRLPOOL 6e047cc423bd06b549558354e1de1b6c2a61c1b6d281091569cb5e89a46957b9b5f0c72643a5d18d4a9dee0e37bd24e1b22a2704bd55546a6bbe6b4bd5c4766d +DIST werre.npz 7739 SHA256 8df9dbd75bdb1efd806dfac29e06ba18e94833eb6d82919d5c1fc0178c054bda SHA512 1caac7964cc51c6300648fa6be21f7ac3c0d585288ea2e18e725f5575a732b461b77bfd0ddf3118f5d4c922f16a30466e168bb38e81498291214597fd4442bcd WHIRLPOOL c5208f787ba5d59227c45a7bfaef4d7dd4d3efc392c8b315f7ffe563a24279cbc327eac27f36efea0362836939602825409508b5fcb68cceb86a4412053cdec7 +DIST zeez.npz 8633 SHA256 50dcdb465fa8c29c0e5ac93748212315220cbe25f03f10527ebcf839fef636d0 SHA512 8f1945d79dc43e0bc6e2b814640d1587fc38bf8ca19f6b949821d3095eb22e9837a3f82433e452ce851b97e29d90440045866dfc6a28f9f5b31ffcf35f467e41 WHIRLPOOL 4475e52033c2d6ef951ebdaf7ce7cd68223c2786a1e845e63d3f99925b1ac3ad5026160cc5b199ed647cd0ced4d5ec8a7888bf03396f8b724e36cb1f137c3b6e +EBUILD numptyphysics-9999.ebuild 2815 SHA256 05be50fe61f55a10ef3411b7198a896d1bbdc5f65cc146135a9fa21350f88563 SHA512 9d4ba4db9ab83bebc24be10e4f5f0ec6f3da996a3180a544e9330aff02fdbd85c334a22ab07088b880bd39ae30022055331236eb640f287bdfdd286d540e5edf WHIRLPOOL 1a888db0fb64af8a9e23fe2d4480edfbc3b8b7da2723ea4ae28c248165f194764f6800b88e35f636fe75f82fd2aa6ca2dc555b51fc55fbb6008073309624f9e7 +MISC ChangeLog 1146 SHA256 75bd8b73b161e1c2bfd07495415cdf5fd9ec64b4d46981d5b930d543882cbc50 SHA512 7b54aba71ef465da2b1c69b8ca95c093ecbee814dfbd7701d17e0719328a72d0b76fe91581b9999844375f0644397ac7f510347590417b7076779f65f4a0a8f2 WHIRLPOOL 3e80731b55871fe767e2ab0feef8b02b1425e0363e4c9e269f10e8facc06fe50b4bb1f607f9a82777f5c91b4a5342694ebf118cf3c68dafdbc963ea67e4c9ed0 +MISC metadata.xml 339 SHA256 0468e723449e8dc111b6c5d3579e3ed802a22dc1ec72662be8cf0e55799719ab SHA512 a007e8ee484f70548c0348d35bf1c616da363968370ccdf30693eacef552d552e7b839e8d32d81aec1c452aeb184f3cc2af79992c2f0cd73c1fdcc010f13d29f WHIRLPOOL f4ce1b112f404efa6471a07f5c2638d1591109f7bcc2fb9482c8aa99b7c45e98ddde527655758bd333b7d7542b7954cdd607ec909faa878ace57b1dce7871439 diff --git a/games-puzzle/numptyphysics/files/numptyphysics-9999-gentoo.patch b/games-puzzle/numptyphysics/files/numptyphysics-9999-gentoo.patch new file mode 100644 index 000000000000..22b5798fc5f3 --- /dev/null +++ b/games-puzzle/numptyphysics/files/numptyphysics-9999-gentoo.patch @@ -0,0 +1,64 @@ +diff -ru numptyphysics-9999.orig/external/Box2D/Source/Makefile numptyphysics-9999/external/Box2D/Source/Makefile +--- numptyphysics-9999.orig/external/Box2D/Source/Makefile 2015-11-25 22:27:36.155865064 -0500 ++++ numptyphysics-9999/external/Box2D/Source/Makefile 2015-11-25 22:28:12.924578877 -0500 +@@ -6,8 +6,6 @@ + TARGETS += Gen/nds-float/lib/libbox2d.a Gen/nds-fixed/lib/libbox2d.a
+ endif
+
+-CXXFLAGS= -g -O2
+-
+ SOURCES = \
+ ./Dynamics/b2Body.cpp \
+ ./Dynamics/b2Island.cpp \
+diff -ru numptyphysics-9999.orig/external/glaserl/makefile numptyphysics-9999/external/glaserl/makefile +--- numptyphysics-9999.orig/external/glaserl/makefile 2015-11-25 22:27:36.156865029 -0500 ++++ numptyphysics-9999/external/glaserl/makefile 2015-11-25 22:28:12.924578877 -0500 +@@ -1,7 +1,5 @@ + TARGET := libglaserl.a + +-CFLAGS += -g -O2 +- + SOURCES := $(wildcard *.c) + OBJECTS := $(SOURCES:.c=.o) + +diff -ru numptyphysics-9999.orig/makefile numptyphysics-9999/makefile +--- numptyphysics-9999.orig/makefile 2015-11-25 22:27:36.167864644 -0500 ++++ numptyphysics-9999/makefile 2015-11-25 22:28:12.925578842 -0500 +@@ -1,7 +1,6 @@ + APP := numptyphysics + + SOURCES := $(wildcard src/*.cpp) +-CXXFLAGS += -std=c++11 -Isrc -Wall -Wno-sign-compare + + all: app + +@@ -13,7 +12,7 @@ + + $(TARGET): $(OBJECTS) $(LOCAL_LIBS) + $(SILENTMSG) "\tLD\t$@" +- $(SILENTCMD) $(CXX) -o $@ $^ $(LIBS) ++ $(SILENTCMD) $(CXX) -o $@ $^ $(LDFLAGS) $(LIBS) + + clean: $(ADDITIONAL_CLEAN_TARGETS) + $(SILENTMSG) "\tCLEAN" +diff -ru numptyphysics-9999.orig/mk/silent.mk numptyphysics-9999/mk/silent.mk +--- numptyphysics-9999.orig/mk/silent.mk 2015-11-25 22:27:36.168864609 -0500 ++++ numptyphysics-9999/mk/silent.mk 2015-11-25 22:28:12.925578842 -0500 +@@ -2,6 +2,6 @@ + SILENTMSG := @true + SILENTCMD := + else +- SILENTMSG := @echo ++ SILENTMSG := @echo -e + SILENTCMD := @ + endif +diff -ru numptyphysics-9999.orig/src/Os.cpp numptyphysics-9999/src/Os.cpp +--- numptyphysics-9999.orig/src/Os.cpp 2015-11-25 22:27:36.183864084 -0500 ++++ numptyphysics-9999/src/Os.cpp 2015-11-25 22:29:17.177331313 -0500 +@@ -262,5 +262,5 @@ + } + + // System-wide installation +- return thp::format("%s/../share/%s/data", g_appDir.c_str(), appName().c_str()); ++ return "@GENTOO_DATADIR@"; + } diff --git a/games-puzzle/numptyphysics/metadata.xml b/games-puzzle/numptyphysics/metadata.xml new file mode 100644 index 000000000000..dc8c227d5260 --- /dev/null +++ b/games-puzzle/numptyphysics/metadata.xml @@ -0,0 +1,11 @@ +<?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="user-levels">Install some fun user-created levels</flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/numptyphysics/numptyphysics-9999.ebuild b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild new file mode 100644 index 000000000000..9539100497af --- /dev/null +++ b/games-puzzle/numptyphysics/numptyphysics-9999.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils flag-o-matic git-r3 games + +DESCRIPTION="A drawing puzzle game in the spirit of Crayon Physics using the same excellent Box2D engine" +HOMEPAGE="http://thp.io/2015/numptyphysics/" + +# This is only the SRC_URI for the user levels. The code is in git repo. +SRC_URI="user-levels? ( + http://numptyphysics.garage.maemo.org/levels/butelo/butelo.npz + http://numptyphysics.garage.maemo.org/levels/catalyst/catalyst.npz + http://numptyphysics.garage.maemo.org/levels/christeck/christeck.npz + http://numptyphysics.garage.maemo.org/levels/dneary/dneary.npz + http://numptyphysics.garage.maemo.org/levels/gnuton/gnuton.npz + http://numptyphysics.garage.maemo.org/levels/gudger/gudger.npz + http://numptyphysics.garage.maemo.org/levels/guile/guile.npz + http://numptyphysics.garage.maemo.org/levels/hurd/hurd.npz + http://numptyphysics.garage.maemo.org/levels/ioan/ioan.npz + http://numptyphysics.garage.maemo.org/levels/jhoff80/jhoff80.npz + http://numptyphysics.garage.maemo.org/levels/leonet/leonet.npz + http://numptyphysics.garage.maemo.org/levels/melvin/melvin.npz + http://numptyphysics.garage.maemo.org/levels/noodleman/noodleman.npz + http://numptyphysics.garage.maemo.org/levels/papky/papky.npz + http://numptyphysics.garage.maemo.org/levels/perli/perli.npz + http://numptyphysics.garage.maemo.org/levels/qole/qole.npz + http://numptyphysics.garage.maemo.org/levels/siminz/siminz.npz + http://numptyphysics.garage.maemo.org/levels/szymanowski/szymanowski.npz + http://numptyphysics.garage.maemo.org/levels/therealbubba/therealbubba.npz + http://numptyphysics.garage.maemo.org/levels/werre/werre.npz + http://numptyphysics.garage.maemo.org/levels/zeez/zeez.npz +)" + +EGIT_REPO_URI="https://github.com/thp/numptyphysics" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="+user-levels" + +RDEPEND="media-libs/libsdl2[opengl,video] + media-libs/sdl2-image[png] + media-libs/sdl2-ttf + virtual/opengl + dev-libs/glib:2" +DEPEND="${DEPEND} + virtual/pkgconfig" + +src_unpack() { + git-r3_src_unpack +} + +src_prepare() { + append-cxxflags -std=c++11 -Isrc + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i \ + -e "s^@GENTOO_DATADIR@^${GAMES_DATADIR}/${PN}/data^" \ + src/Os.cpp || die +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}/${PN}" + doins -r data + + if use user-levels ; then + local f + + for f in ${A} ; do + [[ ${f} = ${f/.tar.gz/} ]] && doins "${DISTDIR}"/${f} + done + fi + make_desktop_entry ${PN} 'Numpty Physics' + doicon -s 256 platform/freedesktop/numptyphysics.png + doman platform/freedesktop/numptyphysics.6 + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/pathological/Manifest b/games-puzzle/pathological/Manifest new file mode 100644 index 000000000000..00b3b0729c4d --- /dev/null +++ b/games-puzzle/pathological/Manifest @@ -0,0 +1,7 @@ +AUX pathological-1.1.3-build.patch 527 SHA256 93d4c806d11896a46d31b71fc81799141084cdde1323cc933c748b80f6ac4a3f SHA512 d18b8e55d3f40fa69d0a551749b1242ba055ba8eb5bde517d7df8a46414d81232836bf232b28e77b1dcab8f0d049b3ee46ef666621674ac1be68e343e53f1c34 WHIRLPOOL 09787923fdbe184610a2e5c5d5d3b7208af93a0a080e7e95dc4763b5849df8326dc5bfed2a61d77133ebfcd05ac4219e2166cda7cd7c4c73f1ed068e7261b1c5 +AUX pathological-1.1.3-music-py.patch 475 SHA256 35938ac1f96dad12c74fd57e0002fcf523fe573b269e03992d3ae006880819c0 SHA512 4a96a35d299f10ba90ff979ec77c7b117228d6e593be0b5858233fd44a0c746ad3abd52fe2751496e2ace813afc95ae7ee76c2e3d940678236de973cdae7aa87 WHIRLPOOL e12596733e095da808572b3b558dcf09798e347a8ad2399385c5107c8475bd745c216332c44a2e49c30348806a7b258cb77fa5168f9f025ec17b5734a5305129 +DIST pathological-1.1.3.tar.gz 6995274 SHA256 813ef0812ba6b3218b35c2ddea423c9c6ee912925824497f52d5310bc76f85de SHA512 a64e0ca9a3bf86ade4a1abdd4f471c341838f690b2471f21c488471b7800da55f89f42c62a51c9be380cb9f265432db904a5de6f6bb3a9a7dde835da94baf566 WHIRLPOOL 65f2f62c4d9991c3d0e69a9408e17e8c80a06575f38233ca4697054272b17bd3056cf681d40318786b6546ab7a43c34ce3d60bdaae08570457332bdaa0bee8da +EBUILD pathological-1.1.3-r3.ebuild 1963 SHA256 1631d00c28307968d51bf0a19ec8703c54ee6bcff95fc0c2421b11ed2fb65d8d SHA512 5ad4674b54dd249ec76f31d401efff322142ec51332a9bdfed7b1c9f84541165b0d86db53dc6daf2072e32477eea2ebb17ded296b8ce9eca9ce0ef0486875f5a WHIRLPOOL d97faa949e654e281ff6eeb9978de6fa448e1a1adf80f1cc84dec913623cd11b7b61338a6d4479d42faaa370143e6a44f7a7be483b0e9d212104274c636d43b1 +MISC ChangeLog 2537 SHA256 05ef96a2d3a7b9a9fe9fbc911bf862017e4fc856ac70f380939719aa4aaf0d93 SHA512 bd69067fc2fbe7418efc22856b4ced0b5a81ad417f9873c069238272510d725f91acda9679652c9f465b66846b8d32004ed49ddf6e97d569bbd4446cd45749b8 WHIRLPOOL d69887f810570dff847304083775c0c6921734744e712553784fb356eb4fe278f2e2e40d9b5f97550a18f997652d83a4a331a1a0f40d08936a5365b7d305cb00 +MISC ChangeLog-2015 4243 SHA256 582f476b394542c8141780114e50ab2db1d3645736cce46f886c093d6130300e SHA512 477ed28d698517d74cb8c1ad0ffb8efb075fe9b9160bcbd05bc8c0da921051f5415477367f8ba5eaed0de1006f2c3d41cb365c4890f8330e43c2853aee521a7d WHIRLPOOL f8dd62879600e90eb9db75714b2951c25454baea9b008f53960a7d676fe4cd5851731e555bf2333c84687a0526e783b72f121dba94aa58bcb565cf82bd8692ea +MISC metadata.xml 416 SHA256 9d7278eea88916ea41d783dd828e9813e9bf616fa1e9efd0f71a004f51849af1 SHA512 4928d2fce7738795beccf39352732b0a94838c436cc26816dfde9b27f64378788a2ef74cb054219fb0e0cc20fd93f43621227f851262775dfb8b255dc4ca15e5 WHIRLPOOL d7276f5045b55f0f0b70dcc9fff68f40ee1abd3ddc7cc33dc1ecb33c60e4cb27a23cc02b93e4506c9ed5f105a7f98faab0b387a6debdc2b607bc79ba38b990af diff --git a/games-puzzle/pathological/files/pathological-1.1.3-build.patch b/games-puzzle/pathological/files/pathological-1.1.3-build.patch new file mode 100644 index 000000000000..d8793a6aef6e --- /dev/null +++ b/games-puzzle/pathological/files/pathological-1.1.3-build.patch @@ -0,0 +1,27 @@ +Use implicit rules to build write-highscores so we dont have to worry +about CC/CFLAGS/LDFLAGS/etc... + +Include stdlib.h to get exit() prototype + +--- write-highscores.c ++++ write-highscores.c +@@ -25,6 +25,7 @@ + #include <sys/stat.h> + #include <unistd.h> + #include <fcntl.h> ++#include <stdlib.h> + + #define BUFFER_SIZE 1024 + +--- Makefile ++++ Makefile +@@ -4,9 +4,6 @@ + + all: write-highscores html/wheel.png + +-write-highscores: write-highscores.c +- gcc -s -o write-highscores write-highscores.c +- + html/wheel.png: + ./makehtml + diff --git a/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch b/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch new file mode 100644 index 000000000000..9d67085dd13a --- /dev/null +++ b/games-puzzle/pathological/files/pathological-1.1.3-music-py.patch @@ -0,0 +1,23 @@ +Make sure music_pending_song is defined before we try using it + +http://bugs.gentoo.org/109272 + +--- pathological.py ++++ pathological.py +@@ -28,6 +28,7 @@ + colorblind = 0 + sound_on = 1 + music_on = 1 ++music_pending_song = 0 + for arg in sys.argv[1:]: + if arg == '-s': + screenshot = 1 +@@ -194,7 +195,7 @@ + sound_on = sound_on ^ 1 + + def toggle_music(): +- global music_on ++ global music_pending_song, music_on + music_on = music_on ^ 1 + if music_on: + if music_pending_song: diff --git a/games-puzzle/pathological/metadata.xml b/games-puzzle/pathological/metadata.xml new file mode 100644 index 000000000000..1f00431ea125 --- /dev/null +++ b/games-puzzle/pathological/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mr_bones_@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">pathological</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/pathological/pathological-1.1.3-r3.ebuild b/games-puzzle/pathological/pathological-1.1.3-r3.ebuild new file mode 100644 index 000000000000..7d829c07ed80 --- /dev/null +++ b/games-puzzle/pathological/pathological-1.1.3-r3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) +inherit eutils python-single-r1 games + +DESCRIPTION="An enriched clone of the game 'Logical' by Rainbow Arts" +HOMEPAGE="http://pathological.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + app-shells/bash + >=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]" +DEPEND="${PYTHON_DEPS} + doc? ( media-libs/netpbm )" + +pkg_setup() { + games_pkg_setup + python-single-r1_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" || die + unpack ./${PN}.6.gz +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-music-py.patch + + if use doc ; then + sed -i -e '5,$ s/=/ /g' makehtml || die + else + echo "#!/bin/sh" > makehtml + fi + + sed -i \ + -e "s:/usr/share/games:${GAMES_DATADIR}:" \ + -e "s:/var/games:${GAMES_STATEDIR}:" \ + -e "s:exec:exec ${EPYTHON}:" \ + ${PN} || die + + sed -i \ + -e 's:\xa9:(C):' \ + -e "s:/usr/lib/${PN}/bin:$(games_get_libdir)/${PN}:" \ + ${PN}.py || die + + python_fix_shebang ${PN}.py +} + +src_install() { + dogamesbin ${PN} + + exeinto "$(games_get_libdir)"/${PN} + doexe write-highscores + + insinto "${GAMES_DATADIR}"/${PN} + doins -r circuits graphics music sounds ${PN}.py + + insinto "${GAMES_STATEDIR}" + doins ${PN}_scores + fperms 660 "${GAMES_STATEDIR}"/${PN}_scores + + dodoc changelog README TODO + doman ${PN}.6 + use doc && dohtml -r html/* + + doicon ${PN}.xpm + make_desktop_entry ${PN} Pathological ${PN} + + # remove some unneeded resource files + rm -f "${D}/${GAMES_DATADIR}"/${PN}/graphics/*.xcf + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if ! has_version "media-libs/sdl-mixer[mod]" ; then + echo + elog "Since you have turned off the 'mod' use flag for media-libs/sdl-mixer" + elog "no background music will be played." + echo + fi + +} diff --git a/games-puzzle/pauker/Manifest b/games-puzzle/pauker/Manifest new file mode 100644 index 000000000000..86525583cc07 --- /dev/null +++ b/games-puzzle/pauker/Manifest @@ -0,0 +1,6 @@ +AUX pauker_bundledjars.patch 899 SHA256 4853a7e49a247d700fcac224363acf859b185fe64633b3c06fa9d66b0709e2bf SHA512 ed7d47165871488233bcf032bf7e93f7988a231251fa93dbf173774dcaecee1adb735930fbface4009a72912db3f811a09cb9e49a038e7c01fda9a44e8515a22 WHIRLPOOL f107f86dfec77e6e5d3a95c25cb935f670d4a6ffcd1f7a562955977c46931e3cb0011fe3ec2c686510c2816f1f61661da6f266fcd2b26716bed26f3a122175da +DIST pauker-1.8.src.jar 33886665 SHA256 061be727408413696d148285d268a2cb37262a19d6d8a26b67d2233507545e05 SHA512 2d329571e857a05116ba499c4bd82669f0c99a748ca375ab06e701492a814b97fcc09bbf0ae4f48c52b05c67768a14d70a4217fee9680762424c96ab7f4341ae WHIRLPOOL fc3e6cbcc0164656337002e89f880b4f1f075892f62ef561deb25671b764f25872e438d54cf72e1ff701e0b8c9ceab621027d9b360eed65f2d3d23682f8d20e5 +EBUILD pauker-1.8.ebuild 1795 SHA256 4f4c1fcd1dbe4e8ecdbbf3cdc0c31a6ce8412ffbcde2c6e16b2294a540a6349c SHA512 38e837383660a0d9977c961038c9cac6e899ad2a745de76b43a33e80fc285733b47658a4ad0337cf9b1e8d32117f5bcb0dd3a9fa73caa94222f168f4187fd08b WHIRLPOOL c407cc7025fa6179aa4ecc8471f8f5528a880b28a588ea81de2d9a5bed90331699d6fd085b884ec22c1a98cc4027a8514d64fe9952eea35f549cd3f83207ad1f +MISC ChangeLog 2592 SHA256 241454489906740e9c504c4acd88c536892ce97610970599501a0322b426a0a4 SHA512 98e64259f264f4ddfad99c9cc47e011c7d95bfb9623d3910976f165df946149d428a1f0285e3f03fc89896c6fae38f66f19c7c55a18affa3508dd6bca86226a5 WHIRLPOOL d3c7abfdac0f4d324b3ead29aa17fc518b14bb5768936ce463948a9c70cebc6f3581682d9d89f552363bd1ea41f487ffe3ca51567b532286e0c5bff1440abfad +MISC ChangeLog-2015 3508 SHA256 5e476baedf48acf04a891c34f26fcc0a0ce61b9134b3896c3a9767a902f40365 SHA512 f6b35674e7cbda89d45b26862a9aff0de72db9ea634b4982c7d3ec1b9fab82f8c6834874b9ed88b2f55c3257268d2adfeac317542c371877d58a39b87ea2ba59 WHIRLPOOL 133e1ed54df9ec80a5424943e536a7548159ae2f17c4b9bdd9510d0787c570725c1459ee6f60c0dcfdebb8edb48ae2a241f9c28f288d4ef287726147f85c748b +MISC metadata.xml 329 SHA256 776e4f9a0f7d33ac9de6b94fcac85404006c13026008a9d22849d3447f2d9419 SHA512 392a3af58bf88c1cfa5ad5f3a240b7c16d2cf4a469700d3e7628917923606b69d3aa65c01d258e17d1ad362fa4f64c424e75a73f849f4fd438f97ba951df8203 WHIRLPOOL c48818675b419f91fd5a76416cc528f761f7bd9ddbdebd0208bdb85e6a3efaba5da1f64bc365e947889454f11ecef2ff07e1fa44effcfb1bdfed6881f8086172 diff --git a/games-puzzle/pauker/files/pauker_bundledjars.patch b/games-puzzle/pauker/files/pauker_bundledjars.patch new file mode 100644 index 000000000000..1ed79dbe4d86 --- /dev/null +++ b/games-puzzle/pauker/files/pauker_bundledjars.patch @@ -0,0 +1,14 @@ +--- build.xml.orig 2008-11-24 20:24:55.000000000 +1300 ++++ build.xml 2008-11-24 20:25:33.000000000 +1300 +@@ -88,11 +88,6 @@ + basedir="build/classes/" + includes="pauker/**,tools/**" + excludes="pauker/Changes.txt,pauker/TODO.txt,**/*BeanInfo*,**/GraphicalStatisticPanel.gif"> +- <zipfileset src="${libs.swing-layout.classpath}"/> +- <zipfileset src="libs/jhall.jar" excludes="META-INF/**"/> +- <zipfileset src="libs/lucene-core-2.4.0.jar" excludes="META-INF/**"/> +- <zipfileset src="libs/BrowserLauncher2-1_3.jar" +- excludes="META-INF/**,classes/,source/,package?cache/,.**,*.txt,build.xml"/> + <manifest> + <attribute name="Main-Class" value="pauker.program.gui.swing.PaukerFrame"/> + <attribute name="SplashScreen-Image" value="pauker/icons/Splash.png"/> diff --git a/games-puzzle/pauker/metadata.xml b/games-puzzle/pauker/metadata.xml new file mode 100644 index 000000000000..80f7ca2adf2d --- /dev/null +++ b/games-puzzle/pauker/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">pauker</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/pauker/pauker-1.8.ebuild b/games-puzzle/pauker/pauker-1.8.ebuild new file mode 100644 index 000000000000..8a9d34a94d32 --- /dev/null +++ b/games-puzzle/pauker/pauker-1.8.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +JAVA_PKG_IUSE="doc source" +inherit eutils java-pkg-2 java-ant-2 games + +DESCRIPTION="A java based flashcard program" +HOMEPAGE="http://pauker.sourceforge.net/" +SRC_URI="mirror://sourceforge/pauker/${P}.src.jar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +COMMON_DEP="dev-java/browserlauncher2:1.0 + dev-java/javahelp + dev-java/lucene:2.4 + dev-java/swing-layout:1" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +S=${WORKDIR} + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +src_prepare() { + find . -iname '*.jar' -delete + + epatch "${FILESDIR}/${PN}_bundledjars.patch" + + java-pkg_jar-from --into libs browserlauncher2-1.0 browserlauncher2.jar BrowserLauncher2-1_3.jar + java-pkg_jar-from --into libs javahelp jhall.jar + java-pkg_jar-from --into libs lucene-2.4 lucene-core.jar lucene-core-2.4.0.jar + java-pkg_jar-from --into libs swing-layout-1 swing-layout.jar +} + +src_compile() { + eant -Dfile.reference.BrowserLauncher2-1_3.jar="libs/BrowserLauncher2-1_3.jar" \ + -Dlibs.swing-layout.classpath="libs/swing-layout.jar" \ + -Dplatforms.JDK_1.5.home="${JAVA_HOME}" jar $(use_doc javadoc) +} + +#test depend on jemmy, a netbeans module. so unless it is packaged separately +#tests cannot be build. + +src_install() { + java-pkg_jarinto "${GAMES_DATADIR}/${PN}" + java-pkg_newjar "dist/${P}.jar" + + java-pkg_dolauncher ${PN} \ + -into "${GAMES_PREFIX}" \ + --pwd "${GAMES_DATADIR}"/${PN} \ + --main pauker.program.gui.swing.PaukerFrame + + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src + + newicon src/pauker/icons/repeat.png ${PN}.png + make_desktop_entry pauker Pauker + prepgamesdirs +} diff --git a/games-puzzle/penguzzle/Manifest b/games-puzzle/penguzzle/Manifest new file mode 100644 index 000000000000..11e8e9ae5c45 --- /dev/null +++ b/games-puzzle/penguzzle/Manifest @@ -0,0 +1,6 @@ +AUX penguzzle-1.0-tclx.patch 157 SHA256 c0daf589d7e6c7b8e079cb3d6002312f6717ad6ebe4fe154c61505e7ec730025 SHA512 137e0707ef1e285433b78586af18a34133d29f3b202046e1843910562d9d9d68eb7ec2019c8c1e973ed52c091da05902ef48ab3864da0e513034465941605874 WHIRLPOOL e8122e9ce31b05ce06c5aea3a6f5886a5a238d905bec5a3b2ab96d11afb9176b016438f349f563440e991df740a0c25470871b56dacc067aca94de6521ce63af +DIST penguzzle.zip 21542 SHA256 f3c2a4bc94fcd3d00cd8be9bf748bd3b0aa6d4251e64620fe92524e65fb951cd SHA512 fc6c57ac851df7fac7d91f90ec53fa543470e9721589966023028743951090994c372ff4538092c29aee12afc28809ad6e20a6b78ae9759bad2b41fed330b743 WHIRLPOOL 5c5e4b5a0c3f8640ee196eef73a84d8b7d472458e78f1bed3b09427cbd82cf3d3792b2b11219ff8e55f57638147f1e36ff2fcb939565d24b278ac711080d1a21 +EBUILD penguzzle-1.0-r1.ebuild 907 SHA256 f96adc41bdbce4d95f88be994404ab6e78541adc9e5647d95cbefa158cd7c3bd SHA512 99601c4e5315bed8d331601d5b34c7403548f33cfd077b9582b743d505ce86f60bdec299c26d91c07f222909beac44f04be8e974d44ddd2657ff94a4676ee365 WHIRLPOOL 0c7a5ea18906d1fdcbbc7c3497243805195b6e72163a59f51361316ce4b7287b61ccd9900a45008530b279892027b30d42c4276e4645e01f78bdfea2b4d9bf54 +MISC ChangeLog 2472 SHA256 966662aafdffab72a58f6c10b8d3aa4762cdd5bf8bd3a51629a0a3d750da4b56 SHA512 fe842300f1b8e801da5201f02094c0111cbad3d0481723917adf050d9b64982549f2b69cd9a3dd8662ff57c8e2f431118c4e2c31f6d21d6a86b1b8260145ab0f WHIRLPOOL df10532bdd702a7b28bd8739b72089fc60cb46b40d409d49e5a69c1004c1bb1593bd37fdfbfcdbb48c413ed584d28b5b894074dcb060b27ca550fbec0ea122a8 +MISC ChangeLog-2015 915 SHA256 b51cf9b6ee0bcf0bc6f60e76bbefa89c69a16cc44a0aa0b2c8402939ebd0fcf0 SHA512 85c5d38d9e2dd04bb0a888db5325fab2bad19566a2f226e339e5fecff8293dc4d96be2c72d0b5c9ab94769f07ba72738c9716059f139d2b071a464de10d31bea WHIRLPOOL 553d6e3372b5907037f7e6b9aa9cf59aa6cf8921dfbd9659674017b23f9f77b64dfd0d2fc090950260b79663c25a635a10acd5fd4d6dc578a87cfb6b7d827a36 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch b/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch new file mode 100644 index 000000000000..d8c078de6a91 --- /dev/null +++ b/games-puzzle/penguzzle/files/penguzzle-1.0-tclx.patch @@ -0,0 +1,10 @@ +--- bin/penguzzle ++++ bin/penguzzle +@@ -1,4 +1,6 @@ +-#!/usr/bin/wishx ++#!/usr/bin/wish ++package require Tk ++package require Tclx + + source ~/puzz/lib/init + diff --git a/games-puzzle/penguzzle/metadata.xml b/games-puzzle/penguzzle/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/penguzzle/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> diff --git a/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild b/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild new file mode 100644 index 000000000000..c8b350a1c9fd --- /dev/null +++ b/games-puzzle/penguzzle/penguzzle-1.0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +EAPI=5 +inherit eutils games + +DESCRIPTION="Tcl/Tk variant of the well-known 15-puzzle game" +HOMEPAGE="http://www.naskita.com/linux/penguzzle/penguzzle.shtml" +SRC_URI="http://www.naskita.com/linux/${PN}/${PN}.zip" + +LICENSE="penguzzle" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-lang/tk + dev-tcltk/tclx" +DEPEND="app-arch/unzip" + +S=${WORKDIR}/${PN}${PV} + +src_prepare() { + sed -i \ + -e "s:~/puzz/images:${GAMES_DATADIR}/${PN}:" \ + lib/init \ + || die "sed init failed" + sed -i \ + -e "s:~/puzz/lib:$(games_get_libdir)/${PN}:" \ + bin/${PN} \ + || die "sed ${PN} failed" + + epatch "${FILESDIR}"/${P}-tclx.patch +} + +src_install() { + insinto "${GAMES_DATADIR}"/${PN} + doins images/img0.gif + + insinto "$(games_get_libdir)"/${PN} + doins lib/init + + dogamesbin bin/${PN} + + dodoc README + prepgamesdirs +} diff --git a/games-puzzle/picpuz/Manifest b/games-puzzle/picpuz/Manifest new file mode 100644 index 000000000000..1412b13a92d3 --- /dev/null +++ b/games-puzzle/picpuz/Manifest @@ -0,0 +1,7 @@ +AUX picpuz-2.5-build.patch 5499 SHA256 25784542c35c1a0847db8b293190c03e66198af1389bf8f397abcaeedc3733c0 SHA512 49486aa996419da06fa7a14ac61c89930c1ca79f97615253bc1c4a96c7bc0af405d52661e1dd4b5186cf00877cde5b698070bbb9229d50e27a1a981de03d2f11 WHIRLPOOL 3d176a4a51e0a41ddb655bcd8d55bff9f7868f8a268e1cbb827f72bc9f4f79e5dc21b04e6dcaed7f0bfdb4b035667678bc25c588aa4200a29ad2d2ee58e415b1 +AUX picpuz-2.5-pthread-underlinking.patch 842 SHA256 ec3252815f421a0bb60b680479d2da68f5672abb1b556dcf577bbac4da2e7306 SHA512 12c5d7e46d9db2312b24524c33877d9fcf2c6f94bf822d03bd24f021d91496b1759af078582311663e28c98405d274ee30179140b92e44b9ddaca4b40a05e658 WHIRLPOOL 498f3775367ddc1afd4a8838ce5cea0a0d7c6f1a1a44836ffc42cbfa093c08b0d985defae9807e0b6161878fb45ba3882f89e6398e649085bb34512c780e2602 +DIST picpuz-2.5.tar.gz 267452 SHA256 3caf92b00dd4739f68c557d5c952216fef01ca5de3c83e453ef177648bdf70f0 SHA512 598507b29b1218f05ca8a0d1a5788607cd3db899cad83ce84606d268d513c75b863986d518f0ec134cac0a5879515a13cb794f87a59bf55b48217fc6b1f5c386 WHIRLPOOL 0496c45d377a6fda3ce795a85fa640c06bf51c7308c164b3e08d76c125727d468eb4836657f11a3435341defd58eea03dee5d7c9b7386d2ede9974227dd2c614 +EBUILD picpuz-2.5.ebuild 1131 SHA256 7e1292d917683cd73839f4af32338620a2789de6639fa0b307c32dc247c2b379 SHA512 f93e0f923ee4a2b61ecd4f50ce7b50297f3b8dbbe31633723e181c8143a89b2cd371af2baafeb64b2ec4c06b1c0c15b90a4beaa887f75eae200a4203b6e2a4f9 WHIRLPOOL fb133e3bc9d1a9b8dc0b6a888b530b8bb879939095adbb05960b46795465f309665d67c802dca08d3fba5125de94e84342d319543bdf87ecbc01659f00d2c2f5 +MISC ChangeLog 2764 SHA256 c785baecbf05885ee318954eb8b77ac4545025cec0e2e35e02b7712a8b18472b SHA512 cb1ab7a554312e404d7b1f95f8f28466a3817d3aa45bb723d9df64d9448a8fea82cfcb45378d29848e66b11c2bdac08ffaefeb3715f8f845f454420ab3de6174 WHIRLPOOL e52001587c8742796cde31283db85974c26f947a12595c9e065bb571611e49f4d7920f93bbf826cdafbd1aa4a17e7d2926bbc616b50be12fae814f5ec7e11186 +MISC ChangeLog-2015 2624 SHA256 419ce8429ee961570e7cf498d8f84ecd28430e5bf36e317f561d5051d4a5b255 SHA512 34737da00137d86970fcd0eba441999762bdcd6ebda49c2125d526c11cc7c7443d09212505e548a1cee6ff94a038f30193d6250bc53b1a3c0b062c44d430652b WHIRLPOOL dc6f318d6402a9154584c3e7e000c19ed1514fe56ae3e0ad1e7abbda783539021b0ec4ee57f5e4f92e1013326d82aebadc6c10c58a07034508b49033ffc2391a +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/picpuz/files/picpuz-2.5-build.patch b/games-puzzle/picpuz/files/picpuz-2.5-build.patch new file mode 100644 index 000000000000..dfec57fe6ec0 --- /dev/null +++ b/games-puzzle/picpuz/files/picpuz-2.5-build.patch @@ -0,0 +1,116 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sat Jul 21 17:03:11 UTC 2012 + +--- picpuz-2.5/Makefile ++++ picpuz-2.5/Makefile +@@ -11,24 +11,26 @@ + + # target install directories + BINDIR = $(PREFIX)/bin +-SHAREDIR = $(PREFIX)/share/$(PROGRAM) +-ICONDIR = $(SHAREDIR)/icons +-LOCALESDIR = $(SHAREDIR)/locales ++DATADIR = $(PREFIX)/share/$(PROGRAM) ++ICONDIR = $(DATADIR)/icons ++LOCALESDIR = $(DATADIR)/locales + DOCDIR = $(PREFIX)/share/doc/$(PROGRAM) + MANDIR = $(PREFIX)/share/man/man1 + MENUFILE = $(PREFIX)/share/applications/kornelix-$(PROGRAM).desktop + +-CFLAGS = $(CXXFLAGS) -c `pkg-config --cflags gtk+-3.0` ++CXXFLAGS += -c `pkg-config --cflags gtk+-3.0` + LIBS = `pkg-config --libs gtk+-3.0` + + $(PROGRAM): $(PROGRAM).o zfuncs.o +- $(CXX) $(LDFLAGS) $(PROGRAM).o zfuncs.o $(LIBS) -o $(PROGRAM) ++ $(CXX) $(LDFLAGS) $(PROGRAM).o zfuncs.o $(LIBS) -o $(PROGRAM) + + $(PROGRAM).o: $(SOURCE) +- $(CXX) $(CFLAGS) -o $(PROGRAM).o $(SOURCE) ++ $(CXX) $(CXXFLAGS) -o $(PROGRAM).o $(SOURCE) \ ++ -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" + + zfuncs.o: zfuncs.cc +- $(CXX) $(CFLAGS) zfuncs.cc -D PREFIX=\"$(PREFIX)\" ++ $(CXX) $(CXXFLAGS) zfuncs.cc \ ++ -D "DATADIR=\"$(DATADIR)\"" -D "DOCDIR=\"$(DOCDIR)\"" -D "BINDIR=\"$(BINDIR)\"" + + install: $(PROGRAM) + mkdir -p $(DESTDIR)$(BINDIR) +@@ -52,7 +54,7 @@ + + uninstall: + rm -f $(DESTDIR)$(BINDIR)/$(PROGRAM) +- rm -R -f $(DESTDIR)$(SHAREDIR) ++ rm -R -f $(DESTDIR)$(DATADIR) + rm -R -f $(DESTDIR)$(DOCDIR) + rm -f $(DESTDIR)$(MANDIR)/$(PROGRAM).1.gz + xdg-desktop-menu uninstall $(DESTDIR)$(MENUFILE) +--- picpuz-2.5/zfuncs.cc ++++ picpuz-2.5/zfuncs.cc +@@ -3111,7 +3111,6 @@ + /prefix/share/appname/locales/ translations: appname-de.po etc. + /home/user/.appname/ parameters etc. are copied here + +- zprefix install location has /bin and /share subtrees + zdatadir installed data files .desktop, parameters, etc. + zdocdir user documentation README, changelog, user guide + zicondir icons icon files .png +@@ -3123,7 +3122,7 @@ + namespace zfuncs + { + char zappname[20]; +- char zprefix[200], zdatadir[200], zdocdir[200]; // app directories ++ char zdatadir[200], zdocdir[200]; // app directories + char zicondir[200], zlocalesdir[200], zuserdir[200]; + char zlang[8] = "en"; // "lc" or "lc_RC" + char JPGquality[4] = "85"; // JPG file save quality +@@ -3132,7 +3131,6 @@ + pthread_t tid_main = 0; // main thread ID v.4.8 + } + +-cchar * get_zprefix() { return zfuncs::zprefix; } // /usr or /home/<userid> + cchar * get_zuserdir() { return zfuncs::zuserdir; } // /home/user/.appname + cchar * get_zdatadir() { return zfuncs::zdatadir; } // parameters, icons + cchar * get_zdocdir() { return zfuncs::zdocdir; } // documentation files +@@ -3156,19 +3154,15 @@ + + catch_signals(); // catch segfault, do backtrace + +- strcpy(zappname,appname); // save app name +- +- #ifndef PREFIX // install location v.4.7 +- #define PREFIX "/usr" +- #endif +- +- strncpy0(work,PREFIX,199); // /usr or /home/<userid> v.4.6 +- strcpy(zprefix,work); // /prefix +- strncatv(zdatadir,199,work,"/share/",zappname,"/data",null); // /prefix/share/appname/data +- strncatv(zicondir,199,work,"/share/",zappname,"/icons",null); // /prefix/share/appname/icons +- strncatv(zlocalesdir,199,work,"/share/",zappname,"/locales",null); // /prefix/share/appname/locales +- strncatv(zdocdir,199,work,"/share/doc/",zappname,null); // /prefix/share/doc/appname +- ++ strcpy(zappname,appname); ++ ++ strcpy(zdatadir,DATADIR); // macros from build script ++ strcpy(zdocdir,DOCDIR); ++ strcpy(zicondir,zdatadir); ++ strcat(zicondir,"/icons"); ++ strcpy(zlocalesdir,zdatadir); ++ strcat(zlocalesdir,"/locales"); ++ + snprintf(zuserdir,199,"%s/.%s",getenv("HOME"),zappname); // /home/user/.appname/ v.4.3 + err = stat(zuserdir,&statdat); // does it exist already? + if (err) { +@@ -3366,9 +3360,9 @@ + fputs(work,fid); + fputs("Type=Application\n",fid); // Type=Application + fputs("Terminal=false\n",fid); // Terminal=false +- snprintf(work,199,"Exec=%s/bin/%s\n",zprefix,command); // Exec=/usr/bin/appname -options ++ snprintf(work,199,"Exec=%s/%s\n",BINDIR,zappname); // Exec=/usr/bin/appname -options + fputs(work,fid); +- snprintf(work,199,"Icon=%s/%s.png\n",zicondir,appname); // Icon=/usr/share/appname/icons/appname.png ++ snprintf(work,199,"Icon=%s/icons/%s.png\n",DATADIR,zappname); // Icon=/usr/share/appname/icons/appname.png + fputs(work,fid); + fclose(fid); + diff --git a/games-puzzle/picpuz/files/picpuz-2.5-pthread-underlinking.patch b/games-puzzle/picpuz/files/picpuz-2.5-pthread-underlinking.patch new file mode 100644 index 000000000000..652231f1d4ff --- /dev/null +++ b/games-puzzle/picpuz/files/picpuz-2.5-pthread-underlinking.patch @@ -0,0 +1,18 @@ +Fix underlinking on recent binutils: + +> x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu picpuz.o zfuncs.o `pkg-config --libs gtk+-3.0` -o picpuz +> /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: zfuncs.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5' +> /lib64/libpthread.so.0: error adding symbols: DSO missing from command line +diff --git a/Makefile b/Makefile +index 28638de..700b610 100644 +--- a/Makefile ++++ b/Makefile +@@ -19,7 +19,7 @@ MANDIR = $(PREFIX)/share/man/man1 + MENUFILE = $(PREFIX)/share/applications/kornelix-$(PROGRAM).desktop + + CXXFLAGS += -c `pkg-config --cflags gtk+-3.0` +-LIBS = `pkg-config --libs gtk+-3.0` ++LIBS = -pthread `pkg-config --libs gtk+-3.0` + + $(PROGRAM): $(PROGRAM).o zfuncs.o + $(CXX) $(LDFLAGS) $(PROGRAM).o zfuncs.o $(LIBS) -o $(PROGRAM) diff --git a/games-puzzle/picpuz/metadata.xml b/games-puzzle/picpuz/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/picpuz/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> diff --git a/games-puzzle/picpuz/picpuz-2.5.ebuild b/games-puzzle/picpuz/picpuz-2.5.ebuild new file mode 100644 index 000000000000..3a4fe2400ea9 --- /dev/null +++ b/games-puzzle/picpuz/picpuz-2.5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="A jigsaw puzzle program" +HOMEPAGE="http://kornelix.squarespace.com/picpuz/" +SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/gtk+:3" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-pthread-underlinking.patch +} + +src_compile() { + emake \ + BINDIR="${GAMES_BINDIR}" \ + DATADIR="${GAMES_DATADIR}"/${PN} \ + DOCDIR=/usr/share/doc/${PF}/html +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r icons locales + doicon -s 48 icons/${PN}.png + make_desktop_entry ${PN} Picpuz + dohtml -r doc/{userguide-en.html,images} + dodoc doc/{changelog,README,translations} + newman doc/${PN}.man ${PN}.1 + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/pingus/Manifest b/games-puzzle/pingus/Manifest new file mode 100644 index 000000000000..368fe9751d41 --- /dev/null +++ b/games-puzzle/pingus/Manifest @@ -0,0 +1,8 @@ +AUX pingus-0.7.6-echo-e.patch 489 SHA256 34884a3794a5cc781468ec4bba06e2086c1e249186586ab975e47715a6ddc84c SHA512 eb9f2859dcd68b2c1158499435a4742062069cb148e6658396c36fed6b1bba7589d9fbace40c25052e6d42a2b05cdca49561be45053dd9716ee9d9f41a5ab612 WHIRLPOOL 609a845c6f117ab91185542ebbc583a06fa639114805e378eeebac08604da93ae4461eb673294ea83670ab6d419cc431f18a25948a2ac1f2db85f7c6e7a050e0 +AUX pingus-0.7.6-gcc47.patch 1242 SHA256 918dcd8a1c2850af5a6b390d92fc0f4f8670a2e002fc15d01d171bbb97c095e5 SHA512 998aa2c9547fe82775442b8f234d07724642e342d7ccea724726c9210559b1cc8ea5e19d51c7d0bbf61b523cb83fa198596b25e6c6e1ce9882d75d73b9d67f68 WHIRLPOOL ccff5e8ee90a744c15852821a7ca62ea0603ac8fdb81069bb6936254c7d4aaf2b81b4432609c160ebc23ba6e08e5452c90054d092c7a3a6464ff18fc50aeab1e +AUX pingus-0.7.6-noopengl.patch 388 SHA256 7b21454857240c46ee94e06cd18e80c6ffc390256764dde50d42c699fc942914 SHA512 431226d068ffdadf33cd1b73c86e2e2e43de3def166c42cd0592b58e0025f842f579bafa4532f45acf05f4490189d26c679a4b0bcf4f16818aea307b2efe5eb2 WHIRLPOOL 8b54118d4d226ebead2ffe3ffde119f3bd51b8b5e4b692ebac9d9934f880752825b5883b5a9ad34d1c29879883050204fb651891ba181be6b85c7440c90f7f9a +DIST pingus-0.7.6.tar.bz2 12622268 SHA256 759c1253075d1e72691bc1e770b24cdd51917041fd1857c1daf85b65a6686460 SHA512 6c8c2ace1a9229b4e3b506aee76aa94c0dd906a64fa2c817902c2cd3854df390cf675c8c6ddd3ba1926a467348b2103818bd44bc095378cc7bf3f2ff7af27188 WHIRLPOOL 2c4bafef86c40fec3fcfc9ff4b298e72919c8309d475aa4aeb4d368927ac611801f416375108091d9f40bdb2703633765125f6f7ea361186f637e2d5234e53e2 +EBUILD pingus-0.7.6.ebuild 1224 SHA256 961e457619f09a5e12504cad7bfa0eaedd318ca1ef75ae8079544562e4b89849 SHA512 5d3e931d35cf7543ef31162dcf542a824713d2769a33c25c852303c7981fc72adadc8dee59b5754c420e809167dd824cca52c287424b733c9102782a0b10b6b4 WHIRLPOOL 904f60f8e31e511296418dab3b226fbda4dea779bfe4d92cf7c69c3d5b8d68b276c4c9ac6f891d3cab5a64f01762c9e3f95100ff8add1da1f73a946da1b104da +MISC ChangeLog 2918 SHA256 da688e2d4929d2490ca4b1ce9c7c802ffffb1df5525f8ccc4db855a1a396d3ef SHA512 1d8e96c37fa51da6c7cb4eeabfd17c9e878685794a00fd13af6e0d68008d51b9746ff99f1646782ff1cd113e47da35d91e4355cf1140b39f3ef1acc3bcd33f9b WHIRLPOOL b9e43ea6992775cfd61cacbb5601d2f1f7747965706c7331a287065683deff285a6db992f469a5ec975c00a669ea610a254b073a727f6006ddeb33a4b2fd4cb2 +MISC ChangeLog-2015 7063 SHA256 d666f020e7dab1ec0d244e955f440ddfe1ff9a083611b40529d6f4a7563da3b0 SHA512 8758bb56b513263ca5ba787864e9437cd52d151e4a31eb7579a3eeb264776000e7e0790b9566501735f12ebbde9b0ba0540921c572a343d00ed13e27279c6953 WHIRLPOOL 3ab528c0623ceb154d6a2db414f5d00b4c52e7eb78f32a2514957a83074a586d2691561f36de68eb30d44f1298cb10ab43a9e5498baf3e3313ec068c3d492114 +MISC metadata.xml 1283 SHA256 a31c693f896436f5aae0751bb3b7e6ed5d671b14f9b730395227ffb9f1e599b0 SHA512 04c0f4cb00f8b50e5f589d6bfa48389fb7fb2ff0ac2343c625f98383ec41ea77d63dbdc14d12325f3837e4961c544503f1a76a4298fa061458a71b1e198c8219 WHIRLPOOL f613897df74d069739f56e09509883c2bfe40b66bd1e6d91c553cd6be149c83628248abf9377c981cc638b4c6b568e7598f9c34f987c79d86bbc66d01718d85f diff --git a/games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch b/games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch new file mode 100644 index 000000000000..ab772d8c72e9 --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.6-echo-e.patch @@ -0,0 +1,13 @@ +# Work around Gentoo's crippled dash + +--- pingus-0.7.6/Makefile ++++ pingus-0.7.6/Makefile +@@ -39,7 +39,7 @@ + install -d "$(DESTDIR)$(BINDIR)" + + install -D build/pingus "$(DESTDIR)$(BINDIR)/pingus.bin" +- echo -e "#!/bin/sh\nexec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus" ++ printf '%s\n%s' "#!/bin/sh" "exec \"$(BINDIR)/pingus.bin\" --datadir \"$(DATADIR)\"" > "$(DESTDIR)$(BINDIR)/pingus" + chmod 755 "$(DESTDIR)$(BINDIR)/pingus" + + install-data: diff --git a/games-puzzle/pingus/files/pingus-0.7.6-gcc47.patch b/games-puzzle/pingus/files/pingus-0.7.6-gcc47.patch new file mode 100644 index 000000000000..b1397da31f68 --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.6-gcc47.patch @@ -0,0 +1,22 @@ +--- src/pingus/pingus_main.cpp.orig 2012-07-08 14:02:40.343767438 +0200 ++++ src/pingus/pingus_main.cpp 2012-07-08 14:02:54.062768168 +0200 +@@ -465,7 +465,7 @@ + void + PingusMain::print_greeting_message() + { +- std::string greeting = "Welcome to Pingus "VERSION; ++ std::string greeting = "Welcome to Pingus " VERSION; + greeting += "!"; + std::cout << greeting << std::endl; + for (unsigned int i = 0; i < greeting.length(); ++i) +--- src/pingus/screens/pingus_menu.cpp.orig 2012-07-08 14:03:05.549768782 +0200 ++++ src/pingus/screens/pingus_menu.cpp 2012-07-08 14:03:17.015769393 +0200 +@@ -153,7 +153,7 @@ + gc.get_height()/2 - 280)); + + gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, gc.get_height()-140), +- "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n" ++ "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke <grumbel@gmail.com>\n" + "See the file AUTHORS for a complete list of contributors.\n" + "Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n" + "welcome to redistribute it under certain conditions; see the file COPYING for details.\n"); diff --git a/games-puzzle/pingus/files/pingus-0.7.6-noopengl.patch b/games-puzzle/pingus/files/pingus-0.7.6-noopengl.patch new file mode 100644 index 000000000000..e474ef7376e5 --- /dev/null +++ b/games-puzzle/pingus/files/pingus-0.7.6-noopengl.patch @@ -0,0 +1,10 @@ +--- src/engine/display/display.cpp.orig 2012-06-30 00:30:13.043995049 -0400 ++++ src/engine/display/display.cpp 2012-06-30 00:30:28.194501544 -0400 +@@ -28,6 +28,7 @@ + #include "engine/display/delta/delta_framebuffer.hpp" + #include "engine/display/null_framebuffer.hpp" + #include "util/log.hpp" ++#include "util/raise_exception.hpp" + + std::unique_ptr<Framebuffer> Display::s_framebuffer; + diff --git a/games-puzzle/pingus/metadata.xml b/games-puzzle/pingus/metadata.xml new file mode 100644 index 000000000000..844c1d47bf96 --- /dev/null +++ b/games-puzzle/pingus/metadata.xml @@ -0,0 +1,24 @@ +<?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> + <longdescription>Pingus is a free Lemmings clone for GNU/Linux and Windows covered under the GNU GPL. Pingus +uses ClanLib and libxml and might also be usable on some other OSs like FreeBSD, but hasn't +been tested there. Pingus is mainly developed under GNU/Linux, that's why the Windows port +is sometimes a bit behind. +If you don't know Lemmingstm, here comes a short introduction. Its a puzzle game developed +in 1991 by DMA Design. The player takes command in the game of a bunch of small animals and +has to guide them around in levels. Since the animals walk on their own, the player can only +influence them by giving them commands, like build a bridge, dig a hole or redirect all +animals in the other direction. The goal of each level is to reach the exit, for fix +multiple combination of commands are necessary. The game is presented in a 2D site view.</longdescription> + <upstream> + <remote-id type="google-code">pingus</remote-id> + </upstream> + <use> + <flag name="music">Enable playing of background music</flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/pingus/pingus-0.7.6.ebuild b/games-puzzle/pingus/pingus-0.7.6.ebuild new file mode 100644 index 000000000000..7ae79d15e5a0 --- /dev/null +++ b/games-puzzle/pingus/pingus-0.7.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils scons-utils toolchain-funcs flag-o-matic games + +DESCRIPTION="free Lemmings clone" +HOMEPAGE="http://pingus.seul.org/" +SRC_URI="https://pingus.googlecode.com/files/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="opengl music" + +RDEPEND="media-libs/libsdl[joystick,opengl?,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer + music? ( media-libs/sdl-mixer[mod] ) + opengl? ( virtual/opengl ) + media-libs/libpng:0= + dev-libs/boost:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-noopengl.patch + "${FILESDIR}"/${P}-gcc47.patch + "${FILESDIR}"/${P}-echo-e.patch +) + +src_prepare() { + strip-flags + epatch "${PATCHES[@]}" +} + +src_compile() { + escons \ + CXX="$(tc-getCXX)" \ + CCFLAGS="${CXXFLAGS}" \ + LINKFLAGS="${LDFLAGS}" \ + $(use_scons opengl with_opengl) +} + +src_install() { + emake install-exec install-data \ + DESTDIR="${D}" \ + PREFIX="/usr" \ + DATADIR="${GAMES_DATADIR}/${PN}" \ + BINDIR="${GAMES_BINDIR}" + doman doc/man/pingus.6 + doicon data/images/icons/pingus.svg + make_desktop_entry ${PN} Pingus + dodoc AUTHORS NEWS README TODO + prepgamesdirs +} diff --git a/games-puzzle/pipepanic/Manifest b/games-puzzle/pipepanic/Manifest new file mode 100644 index 000000000000..d80db8b30e29 --- /dev/null +++ b/games-puzzle/pipepanic/Manifest @@ -0,0 +1,6 @@ +AUX pipepanic-0.1.3-gentoo.patch 584 SHA256 e71d9c290a37bdeba2f64d2f371e68ff0c944ec65453e2cd6571ea7807df47b1 SHA512 0fef3b79063bcae38412679ce5644d8d119ba3a86b8a752234d97b7009044373f6cda8e983b53864f266e5c00203fb278c61fa44af432014b1aba5a402d41bab WHIRLPOOL 3664c501a42521c612b80d1159bd888848530ba9ad795084f848e37aeabc47294e054d4a56db25d6b3a6a3de90c67a554037418b95b2c158f05d8506b5a5e24e +DIST pipepanic-0.1.3-source.tar.gz 232200 SHA256 4b02249c92228b03f4cc3c1d999cacf3fe52c16df53c6bf76fc6c1e2caa74318 SHA512 468f3194976c7030c2fa3d8f30eaa13cc25e0b04feeb48a5d1267d119eb991618bad14ddba0a8268e6b92f38f2a17bc5b119728b222b0ee50494807832ad2ab7 WHIRLPOOL bdbef665dcee14b1360d1726701986991f8adbfe4da1a4f429af725bfa74232efc9736ced944ecbd7a6b216a7af39d698a591fa48d2d279875f953f024020af4 +EBUILD pipepanic-0.1.3.ebuild 913 SHA256 0060554d94e3e571edad7620be61dbc37aa19f3ab17307881c9e2ee1638ab638 SHA512 3b46becea6efd4b420d850f38e091d9d2f6c6d77ff1da87b7ffb585ae56523f26104ffc97c47c7b394d03306b192d7336c2ad1b34441eeeadc87af89f4963ccb WHIRLPOOL d1ecd88bc81f87198cc3f1c1b3630adc67d63b1e8ee05d8d1ebb6053c7318498eff7c264cee914b9ddea8f4e7c899f2b602caf5c504f87609b971ea6adafe910 +MISC ChangeLog 2474 SHA256 ee30a0f098153ea0085493f31e23baf06bcf4455475281a980e779806a6243ef SHA512 ad20898d1d5c796cdfc8c405d80ac34d0ef9e05180e02f70dd47f821ef054b730a9644f00e5fcd18ba416285b4da9d6b420d2f1fd26d02829a62f4aad083b66a WHIRLPOOL f2bd50502b00b5268994dbf6f242e58116c92e4a7d61894fb6aff274347256e0255f82f15cbc723553449c729f0d5957dac78644616d3305bc5a8a2eb78b4403 +MISC ChangeLog-2015 917 SHA256 0f1bae5351a165a42d67bec088d9efed6c66c465dc2a792ad0ed46cd5ed52392 SHA512 78d77afc48121a31bfc7e4d8e818d778f06bae9a72b83246d098da0c2a0966f74a3ec656eb23c72fa93cf7d62e8eb88aa01d8801f8a63d05e83048990feb193c WHIRLPOOL a176c9b76721bd094f699ca371f018542b1b03e728a69de37394432e8b3aee645b56c818e68a563ed2020ee161ec0b8a599638170e29da8e8f14b2d2776f0031 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch new file mode 100644 index 000000000000..1366b7d341c8 --- /dev/null +++ b/games-puzzle/pipepanic/files/pipepanic-0.1.3-gentoo.patch @@ -0,0 +1,21 @@ +diff -ru pipepanic-0.1.3-source.orig/Makefile pipepanic-0.1.3-source/Makefile +--- pipepanic-0.1.3-source.orig/Makefile 2006-05-16 16:11:29.000000000 -0400 ++++ pipepanic-0.1.3-source/Makefile 2009-11-03 13:38:52.109137983 -0500 +@@ -3,15 +3,12 @@ + TARGET=pipepanic + + # Settings for x86. +-CC=gcc +-CFLAGS=-O2 -Wall -pedantic `sdl-config --cflags` +-LINK=gcc +-LDFLAGS= ++CFLAGS+=`sdl-config --cflags` + LIBS=`sdl-config --libs` + + all: + $(CC) $(CFLAGS) -c $(SOURCES) +- $(LINK) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) ++ $(CC) $(LDFLAGS) $(OBJECTS) $(LIBS) -o $(TARGET) + + .PHONY: clean + diff --git a/games-puzzle/pipepanic/metadata.xml b/games-puzzle/pipepanic/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/pipepanic/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> diff --git a/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild b/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild new file mode 100644 index 000000000000..30c1bebabaee --- /dev/null +++ b/games-puzzle/pipepanic/pipepanic-0.1.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A simple pipe connecting game" +HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/" +SRC_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/${P}-source.tar.gz" + +LICENSE="GPL-2 FreeArt" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[video]" +RDEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}-source + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + # change harcoded data paths to match the install directory + sed -i \ + -e "s:/opt/QtPalmtop/share/pipepanic/:${GAMES_DATADIR}/${PN}/:" \ + main.h \ + || die "sed failed" +} + +src_install() { + dogamesbin "${PN}" + + insinto "${GAMES_DATADIR}/${PN}" + doins *.bmp + newicon PipepanicIcon64.png ${PN}.png + make_desktop_entry ${PN} "Pipepanic" + + dodoc AUTHORS ChangeLog README + + prepgamesdirs +} diff --git a/games-puzzle/pipewalker/Manifest b/games-puzzle/pipewalker/Manifest new file mode 100644 index 000000000000..e424d2bea11e --- /dev/null +++ b/games-puzzle/pipewalker/Manifest @@ -0,0 +1,5 @@ +DIST pipewalker-0.9.4.tar.gz 948399 SHA256 d6d7717f1f333847cc4a2e9d83e97b971b3bfb539d99d4ae30a5140de6e386f4 SHA512 f4930739732164153663d11036eb2ac09447766779bc80bff4d355fe1bb764d617510ecf8d804f1ce0d81f58204b4e4049fb76246bc4e599c06c492b9c771951 WHIRLPOOL 4bc9d4368829ed58704a7b31bb0d25f7e3414d61ff5431fef252f2b7b9cab8c9c1341d41dc3dcb998d13d9740c4ff5877201462b5914818eda8bada1bc59c77c +EBUILD pipewalker-0.9.4.ebuild 733 SHA256 66ea94de2dae6e0cce158fb073f4920c2af5e3a14fc2158d4f57514f6e213c1c SHA512 d4d266091d99af555ba6c1343e045a319021eb14690f0be092e0e477605fbb80475a17fb9ea367195c67050caad6a5c73efcd8d7c0c0994bac0a94ee7997aab9 WHIRLPOOL dd3bc698f4e3cf059b40d350784c0e219f76617bea4d3a09bf66c4d1038345de1020189123b595f6108ac8bff2dfecb1fe093c7c76d3882bd7c44faccdfdb822 +MISC ChangeLog 2440 SHA256 7c5a3d6fccf84ae9a7a3ed4b14fd2e1321b27f8a7c66765608c3d19e530b699c SHA512 a301cec099284e504aaf4a531770c0a78b78d9b4f6846b328e9591c5f7fd2825f2b74901ec0f898ab813f42c94e62710d34f144e902f03ef6c21756e259b07ca WHIRLPOOL 6450d4165e947555f142864a503986361d667f5d226e3c9cfeb7aed3f3d4daf7a4e1d80b6360adda2bf36cad32e2a2ccd6ef2d6dca4bb4851d08a2de1b6da600 +MISC ChangeLog-2015 2270 SHA256 a64f14f4a1b9695f84b7f858d97b00f1a7098216181c107540fce5a1051fb4fb SHA512 b8ed542c70263d79c3d5f124c6bd77202076c2f8ed3d05afb4a47b4b1e5d9430a194caeff26c7bc839701058a9798c41fa4dd607abdab8058fc1c71739cfda98 WHIRLPOOL 9c487804c0f21348452e5d34b9a6b8de2e1d44649f34e714002353f080bd248608f60a01cb68d13dfd0c8c346da07f685a572bec123f1e6bafd51ee60ce3ec8b +MISC metadata.xml 333 SHA256 8e4d2dfcbad9f1e55650f1151f86a240a3a5af09197926036103ea8bbe517b98 SHA512 51d60e626855010c46bc4d9022cb7b84965eac827ec82fe2cf02db6e9f7706f9f81cb2af66fe4e4bab64963cc64b7d5d6009aa38a850ec87322fb07ac1c7f0dd WHIRLPOOL b6e895dd2b2679acc0f5d6bccf0cec217a2509f277899f4f01e50d3379e8cec5226a02f72af4517994eb5f524f145d51a051c31fe694774287614d3bc1140ac7 diff --git a/games-puzzle/pipewalker/metadata.xml b/games-puzzle/pipewalker/metadata.xml new file mode 100644 index 000000000000..ae5d354a68f5 --- /dev/null +++ b/games-puzzle/pipewalker/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">pipewalker</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/pipewalker/pipewalker-0.9.4.ebuild b/games-puzzle/pipewalker/pipewalker-0.9.4.ebuild new file mode 100644 index 000000000000..391fd745aa3c --- /dev/null +++ b/games-puzzle/pipewalker/pipewalker-0.9.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic games + +DESCRIPTION="Rotating pieces puzzle game" +HOMEPAGE="http://pipewalker.sourceforge.net/" +SRC_URI="mirror://sourceforge/pipewalker/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[opengl,video] + virtual/opengl + virtual/glu" +RDEPEND="${DEPEND}" + +src_configure() { + append-flags $(sdl-config --cflags) + egamesconf \ + --datadir="${GAMES_DATADIR_BASE}" +} + +src_install() { + emake -C data DESTDIR="${D}" install + dogamesbin src/${PN} + doicon extra/${PN}.xpm + make_desktop_entry ${PN} PipeWalker + dodoc AUTHORS ChangeLog README + prepgamesdirs +} diff --git a/games-puzzle/quadra/Manifest b/games-puzzle/quadra/Manifest new file mode 100644 index 000000000000..4154b85b3035 --- /dev/null +++ b/games-puzzle/quadra/Manifest @@ -0,0 +1,6 @@ +AUX quadra-1.2.0-format.patch 487 SHA256 bddea260dea75143a6a9df43a520113035ca5fc11feb7ad82e35f47b46ac60ea SHA512 5445fa32a10a8cd96da756727087c7f6dcdca3a92f662764ffe790caaf498a055c02e4858c3bdcd56f1ebd57b958eec0e347f7919ca7724f2f6f12c37249c2df WHIRLPOOL 14ba03798f5cef684efc44c924898222f9c35fcba44f7d5b6ce93fc83d2f9eb5c7759c884489309151a7bb683607230dea2703bd931b402c253888c22103bd27 +DIST quadra-1.2.0.tar.gz 5103875 SHA256 0312d826668ccb71d60a1d7229ca644c547a04d12d1b738dbeac7ee68e5fb643 SHA512 1c3e1020a584fa83595b7b183d5346f8e357ddef6b29c0b4a3797e2ace50c6e9ff14f132b8299ca582db739f4d699fa8ab94be93ef86e5a01389f958ce91e837 WHIRLPOOL 62759ce2f916a219458fce8609f2137e836b5865e005058d70d74d4af35893f50dfdf5a481ce92f917e6bfd19b1149fbfc4b9c7704664f1b65b3887276bbdf19 +EBUILD quadra-1.2.0.ebuild 915 SHA256 99f058eae843a541b1cb1b511079e75debd8cefd9ab139542cf72535ea5062d8 SHA512 355ad768ca54ade26c1532a95923a9af5ae096c0ed148c25cd3a966f6b01e57d648c7a548170d95a2e2ae60acbb1607de61bd2624ac7b68a7947a1c4bf966c41 WHIRLPOOL 4f93cc29019f874ae054e10d12577cde557328c61ec8cca76652b13124371db0ecff5e38481ca0e4417201decec327464efb2c69a5266815c2f876f059fc356a +MISC ChangeLog 2933 SHA256 f1e1e5359b0c60beb7c12a16bee1f8ebaa93f626c46e162a72bd7d71eb4438c5 SHA512 8fbdc720f60e547fce60201dbd635f44ac0369932dbb88df4430f45fcb424089c223de2c37baeef3d7ad48890a7c0977205e4ca186ba763f911d748470b0f119 WHIRLPOOL 27e8bd3f193843e7183c12036c506c44082f0fbd35d2dfbdae4e28bd5c336504e28a9cabc9e578f13cccb0f15d4e8290d8bd35de569f7861051d63349cad9644 +MISC ChangeLog-2015 3441 SHA256 24a74097b2bbfe5bda61b3cfa5becd728fca3d71fa4518cf2f87681ff3200946 SHA512 fa7493d3c6cb14c2c13913e72ec3f0e8f39289f6780e9e843f78fc45dcd61514598492b38b7bde9503f3635c8fe026e0f39d5cce362ece5c829331c253b9e35d WHIRLPOOL 85c05f7b4ddd6d955b0156cfabe41a9e61aa17e315ccaa37b76313141b8580db6432fea6c9c9bc1019531fc22cb16d5f180a5a6b6bcd040e561dfc1ca75cfac1 +MISC metadata.xml 329 SHA256 3b90ab4903cb64b29408e1c85dd0bc297440494099e1441f90d31ecaec3b774b SHA512 81750413c002a39166c0802840aac367a3b07f61a1c711bb68fdea6f8dff71f4689c24ccf75c61336f03ddea9993c45c5b869d2f3467540f4695a35da9a6438f WHIRLPOOL fc59181764f7ffd4d998a221be040a325492dab4e04ae1a0d3778781a1342c33c98e886b66505ba3880a6161c8536992d5eaa9bfbbb2829f63821ccfe231ee06 diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch new file mode 100644 index 000000000000..d9db4978290f --- /dev/null +++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch @@ -0,0 +1,11 @@ +--- source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100 ++++ source/net_list.cpp 2015-12-08 21:41:33.153114600 +0100 +@@ -693,7 +693,7 @@ + //Drawn at a total higher or equal to end_value: suspense! + // or maybe timer just elapsed and the game is drawn + // (still suspense! :)) +- sprintf(st, ST_GAMETIED); ++ sprintf(st, "%s", ST_GAMETIED); + message(-1, st); + { Sfx stmp(sons.levelup, 0, 0, -1, 18050); } + { Sfx stmp(sons.levelup, 0, 0, -1, 18100); } diff --git a/games-puzzle/quadra/metadata.xml b/games-puzzle/quadra/metadata.xml new file mode 100644 index 000000000000..018874d4b550 --- /dev/null +++ b/games-puzzle/quadra/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="google-code">quadra</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/quadra/quadra-1.2.0.ebuild b/games-puzzle/quadra/quadra-1.2.0.ebuild new file mode 100644 index 000000000000..f1633a7eb7ae --- /dev/null +++ b/games-puzzle/quadra/quadra-1.2.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A tetris clone with multiplayer support" +HOMEPAGE="https://code.google.com/p/quadra/" +SRC_URI="https://quadra.googlecode.com/files/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXxf86vm + x11-libs/libXext + media-libs/libpng:0 + sys-libs/zlib" +DEPEND="${RDEPEND} + sys-devel/bc + x11-proto/xextproto" + +src_prepare() { + sed -i \ + -e "/^libgamesdir:=/s:/games:/${PN}:" \ + -e "/^datagamesdir:=/s:/games:/${PN}:" \ + config/config.mk.in || die + epatch "${FILESDIR}"/${P}-format.patch +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins ${PN}.res + doicon images/${PN}.xpm + make_desktop_entry ${PN} Quadra + + dodoc ChangeLog NEWS README + dohtml help/* + prepgamesdirs +} diff --git a/games-puzzle/quadrapassel/Manifest b/games-puzzle/quadrapassel/Manifest new file mode 100644 index 000000000000..6be9a7e9eb69 --- /dev/null +++ b/games-puzzle/quadrapassel/Manifest @@ -0,0 +1,5 @@ +DIST quadrapassel-3.22.0.tar.xz 1737252 SHA256 0ed44ef73c8811cbdfc3b44c8fd80eb6e2998d102d59ac324e4748f5d9dddb55 SHA512 82cbac9b8bc1e7d0bc7958807037893c2dd0286fdc63c2f35ffc7fdcfd839cc6ddd115bada057aa9a3694fbb2736c0c7b852e0156be6fd59a85f6eb06f6f9a84 WHIRLPOOL 387854989d61473ca722dfc310fd304a79459b7b231b3baea7c7784e7fb4b95b9690e440f9de75f44a5cb50c2c2ccbdfae31c03588543faf6911c6fc2ed9762c +EBUILD quadrapassel-3.22.0.ebuild 724 SHA256 40824340b40d5d47bc5a956efcbd9c557d055e883b27418a5ce6d1b73c255517 SHA512 8b7790d19eb8a9fcc2105539afa79b2baa06146f32630079f755f41b49120ddbde87adb3a21d360524c4ef15b4709c0017d94fe6e5a59fdce793ab49a0e8d9c4 WHIRLPOOL 6cd1a667e82124eae85eba2ab60b120fcdd90d2e264a9c732893ad57fd1a494cc8b90ce1128a83877294b9e1525c821fe73dabb942ec3bc4cf76ac4b4321f770 +MISC ChangeLog 4466 SHA256 9f1ff57af0213c3408efe98cf5a12445bd76100c53d03309b5dfe63d2cf0c636 SHA512 5b082f99d475e908521a5b0b017144a240fc567b63d59f7193011a20b168c3b5a6b4a51ec6291a17c9d421197ac7c6449902943d42e94595c9aa2128149cb72c WHIRLPOOL e87e1bf318c54db10ce127dd790a06fd4ab87ac1c4c75e83f233d98896b8e04f2a6ca7b0998b394c331b5280f082df89cb8c095c8d76c8bf95d959d91594b6da +MISC ChangeLog-2015 2886 SHA256 bf9c711ffaa5cee878600b94fc6bfda48ffdc1818d806ae63bd9d27c65b5e72c SHA512 59ba5c8f5caab9e88e39ee48a84d175e098068da2212aa8c82d6ce3cd55140d9369f153d92e7d46c4c5b34cad2d7406e6f40a59773daf580f2a9b5364a2ed295 WHIRLPOOL 0fb5a7cb55dfec6287206bd7a1c94c5c08e8d79f206678caa42c96d8f54ea66ccabcabec1e6481f46aff4b41060979937dc29fc9d3d45078b2d6ad2d4601883d +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/quadrapassel/metadata.xml b/games-puzzle/quadrapassel/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/quadrapassel/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/quadrapassel/quadrapassel-3.22.0.ebuild b/games-puzzle/quadrapassel/quadrapassel-3.22.0.ebuild new file mode 100644 index 000000000000..175f792c2862 --- /dev/null +++ b/games-puzzle/quadrapassel/quadrapassel-3.22.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_MIN_API_VERSION="0.24" + +inherit gnome2 vala + +DESCRIPTION="Fit falling blocks together" +HOMEPAGE="https://wiki.gnome.org/Apps/Quadrapassel" + +LICENSE="GPL-2+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +RDEPEND=" + dev-libs/glib:2 + >=gnome-base/librsvg-2.32.0:2 + >=media-libs/clutter-1:1.0 + >=media-libs/clutter-gtk-0.91.6:1.0 + >=media-libs/libcanberra-0.26[gtk3] + >=x11-libs/gtk+-3.12:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/rezerwar/Manifest b/games-puzzle/rezerwar/Manifest new file mode 100644 index 000000000000..43cd766c446b --- /dev/null +++ b/games-puzzle/rezerwar/Manifest @@ -0,0 +1,5 @@ +DIST rezerwar-0.4.2.tar.gz 4332498 SHA256 a93ca501803c2fdac0fb695d9a1eeed45807307316d28d3eb8abac8849fcaf02 SHA512 0ab1b00d982a96f2fd1346ff822efc68ae0e6c14a4d190ba0e8720fb119d7750851803c1387e83b93eee9cd43e332631360a67534495c20969366c885e2297ee WHIRLPOOL ee784734ac0e63de75a2e390396aaf2601285aeaf817da94b3e38056e8d7f93c13e6e6ad436ab50c703cb3da0baf9166ccec6e5ee4722b30a5694befc473a6e0 +EBUILD rezerwar-0.4.2.ebuild 1096 SHA256 2fb58e11280f7bb3292c616a4fbd9acf2a8ce296fb77fbd59f6937ec9733ae5c SHA512 2196703634bd545e96406a5e2b568aa3893ae3057e95803d07726d4fab50b1f9a78725fa9eb4641a3ff2d67700a6ac40b399a89cce7c346613034e46a430c5d5 WHIRLPOOL a0a4bd9cef28107df1716d03bc0f17ab3e762daef077e49392544c0c3001db162af9806c50f597891d9c789ac279330539c7c30b405bc35883c7e875e720fbae +MISC ChangeLog 2434 SHA256 41088a24b169a63b6a750b1ff1cfedd10ff5a71583275d9de4b8604d0ba38a61 SHA512 40ca5e4bcbe57f144e1e7337f7b3b86e2f41d00813671c989653bd2ca30916dd2c3817f79b4db5c96bc4d3e23d46836f337ed7ba716bb3b318d225b81c3882f2 WHIRLPOOL 43b80d34c6cc4e9af27d5692bb6138791e445586a36efe43d8aaa24e62563bea0553ec8e1689c8d2501dc64123f4f5f0e5d0250201b7ebf52d45a593dc68ef69 +MISC ChangeLog-2015 1171 SHA256 00198b90bfd3e387248e9979fc55ab290e5f6270c52d607d09c295cd56088a40 SHA512 3a54a7b698f215a800f045a02353d7139011d413390cdc5b455bfeb9b204d768bb2e89c4ca611472173b269e6e9aad41c0c286385e66c3b39c04fdeea2c0c5d2 WHIRLPOOL 14af53fd427d2104e45462f247458ca80c21cd4ebe57398ebfbdf1f3ef1fc1b2eb524509ced9e4aecebd5e43a8f259f3282f533c10a293d0559fbbe3f14a039a +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/rezerwar/metadata.xml b/games-puzzle/rezerwar/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/rezerwar/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> diff --git a/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild b/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild new file mode 100644 index 000000000000..ca6c981355e6 --- /dev/null +++ b/games-puzzle/rezerwar/rezerwar-0.4.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Puzzle game like the known tetromino and the average pipe games" +HOMEPAGE="http://tamentis.com/projects/rezerwar/" +SRC_URI="http://tamentis.com/projects/rezerwar/files/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,video] + media-libs/sdl-mixer[vorbis]" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/check_sdl$/d' \ + -e 's/-O2 //' \ + configure \ + || die 'sed failed' + sed -i \ + -e '/CC.*OBJECTS/s:$(CC):$(CC) $(LDFLAGS):' \ + mkfiles/Makefile.src \ + || die "sed failed" +} + +src_configure() { + SDLCONFIG=sdl-config \ + TARGET_BIN="${GAMES_BINDIR}" \ + TARGET_DOC=/usr/share/doc/${PF} \ + TARGET_DATA="${GAMES_DATADIR}/${PN}" \ + ./configure \ + || die "configure failed" + sed -i \ + -e '/TARGET_DOC/d' \ + Makefile \ + || die "sed failed" +} + +src_install() { + dodir "${GAMES_BINDIR}" + default + dodoc doc/{CHANGES,README,TODO} + make_desktop_entry rezerwar Rezerwar + prepgamesdirs +} diff --git a/games-puzzle/scramble/Manifest b/games-puzzle/scramble/Manifest new file mode 100644 index 000000000000..1375c3c957b0 --- /dev/null +++ b/games-puzzle/scramble/Manifest @@ -0,0 +1,5 @@ +DIST scramble-0.9.5.tar.gz 552301 SHA256 9f0d27c65962f333f2a54294d1b42150aed0302fc12548a89c44d9f721d5d56f SHA512 ff361cefe842d6b2019a78571182fe35fc77a1332d6365211af7cf292da8532023bd565b7eed8b44545716474d441b0793253e856a1cad937f62396a5a29bd2b WHIRLPOOL 6361eed7868d79ed556cec368c439a534e08d3a4fd9ab4edd97a4af515f9fe1d2bcb92d8c972e0395755b33a5ca432e820a6a1e960f0003db237f97f4fdda81d +EBUILD scramble-0.9.5.ebuild 764 SHA256 4fade3f172cf3db09addbfb1480afd34bbccb756d00afe93a09a9520688502f0 SHA512 9e2625bad8d58ad5cfdf2b1f2374f5050846bb2f355dde6692db23ba28f1fffcd245ca803bce49db3ca7b729b76ccabc99658ae47cf65fa583cb77ef118c3507 WHIRLPOOL e4b8243dcacb3361074ae05c51c345892fe20817af88b795e30efb7e582fcb035302bb4e425275a3184316140217d82b9a121303697853a4db41a983daa7c379 +MISC ChangeLog 2588 SHA256 371f63c75ade5555a3695336d697f09a71526515fc5122102cfed78d00fffc92 SHA512 aade350c3b3a75ffd54dff11d1a7938e511f8603306c62ef150ed134fcbb81a4b57bf90f96ae7f72ec742c02fb7e6c20c9d7ac26756a83c3b9232158c86ccca6 WHIRLPOOL 690232263ae1b5db782a8d833d0e8cd9ea8ae5fcf8134fdda472cf333cae33d83657695ff5e27b573d6d6f5ff600a013e6463fc47af024bc6d2b5436df2ba524 +MISC ChangeLog-2015 1492 SHA256 eca78e9c6d689f9e04e8502dc250b9b28efec400d82f10c77428b72d7815f43c SHA512 baba9dd6cfc40944a0e7a5b6d29850d082011bc039b920bbb60293122bf5e6f016ea167bb5ce8362cbaa1cc9c6e3160d84d99eca7791f5ca58ab1608f6e7ee52 WHIRLPOOL b0a2a0714bb3fc890eb4c456e6d26d8cac5ee09c54307ea5f39169c0ad80a37792337c8a56864e344122d008aeba76560495e6a6b8c69057980173932953780e +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/scramble/metadata.xml b/games-puzzle/scramble/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/scramble/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> diff --git a/games-puzzle/scramble/scramble-0.9.5.ebuild b/games-puzzle/scramble/scramble-0.9.5.ebuild new file mode 100644 index 000000000000..eb727787db44 --- /dev/null +++ b/games-puzzle/scramble/scramble-0.9.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools flag-o-matic games + +DESCRIPTION="Create as many words as you can before the time runs out" +HOMEPAGE="http://www.shiftygames.com/scramble/scramble.html" +SRC_URI="http://www.shiftygames.com/scramble/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2[sound,video] + >=media-libs/sdl-mixer-1.2[vorbis] + >=media-libs/sdl-image-1.2[png] + media-libs/sdl-ttf" +RDEPEND="${DEPEND} + sys-apps/miscfiles" + +src_prepare() { + append-cflags $(sdl-config --cflags) + sed -i -e 's/inline //' src/scramble.c || die + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/sdl-jewels/Manifest b/games-puzzle/sdl-jewels/Manifest new file mode 100644 index 000000000000..6ff29422b257 --- /dev/null +++ b/games-puzzle/sdl-jewels/Manifest @@ -0,0 +1,6 @@ +AUX sdl-jewels-1.1.1-Makefile.patch 488 SHA256 8a5f03da4997d663b488818896b500f8351ddb285d038c198feb6851c83b44d8 SHA512 9d83dea588f699ef09f89ed320bece1bb001ee0a1bfa4d3e4d4b8c679af9b2028d535469c078f387564b37a16ee0e76f3e9cf20a4248784bf322ac902aa03f26 WHIRLPOOL 98e8f77ccbd9741bb9bfe28d31ac3fa2af4e6c4234724e350acb25e26dd0e6a21b426c4ef8f6d94d187b585f46fa8c8bbdc507fe70263605ad32dacb29a354b9 +DIST SDL_jewels-1.1.1.tgz 195366 SHA256 c9a40b7e18fabb03e4065e656bc2c30f595103bf20dc74a10847c3f3aa138ee7 SHA512 720f1d89384bf267e8f5441efd70fcf94bfc89ddbd0ff90b1dafc6381e83e005281fcde256ee4cd0645f2832cf9c22aed487c105d7d9cf39711c5752e12763c4 WHIRLPOOL 8ce6f3409a50a2ff673e545f1333f7f12d6b37bd6020f22d004072d0266be3936e98e0212925457f5ede4adb7e0f2346bc5c8a00b3c8e74b3f4b61cb397f78f1 +EBUILD sdl-jewels-1.1.1.ebuild 995 SHA256 02535733d49befe47f4e7d204e941135c65a4577d6360c45ab4afb55ede47aa9 SHA512 377e48fe2e33dffe630e227efce8fc168f6112c46eb2fe7a4638de3317e24124e3d257a1863d49379d3ed6a0851b5ab408d875619d6e8e700013d781e76dcbfb WHIRLPOOL dc81bc1f48527c9507439f32108a1a53ade0d50a001ec2ba8ac5b4615ef7aceb4cc7003e61a1c4369eac39fdfa835083bc0a2b693adf30dcc3712db8f11b31b8 +MISC ChangeLog 2482 SHA256 ccde2f4a0c17d8ce1faf8250acefe0d46b34dc59717d35bbe9a6b6b43727aa0d SHA512 aca28ca6e9ec7e53f94ba0b132c0eb74fd5c113ed1ac8408dd7e09aef2dbc1949b0a9db4e9ab54e9328d98e6e6b2c9f9b0e15d48ca17516e77ffce80e2397abf WHIRLPOOL 1799858812dab939b8ac800a54dc7eef651f44d853275606aa70dfdb8e700756b112819ed40e2a8c345f3765cb6faf6b878ce4010699d53472ca887ff2e67239 +MISC ChangeLog-2015 758 SHA256 ad30ef6fe26b8700beedbb1a8dc58f4bfdf40f2c4c06f5816997e099b64ecdf3 SHA512 c3de28c806595017f73bec6e7e08be1f68159e8828718b1949889c48ade0373d4a09002d174e8249b33b64f0c32913a83a7c17f971ef515f640f4dccab7fc0cc WHIRLPOOL b3a09cb46cecacf36634d9f6e29ef2eef4a17461e4db1869e4cc006fe44deacc9009b66d1d0f3d627466d489e7128a3eae57255ecc7ac14c9daf6fb0658b4b99 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch b/games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch new file mode 100644 index 000000000000..ba27fd5447bf --- /dev/null +++ b/games-puzzle/sdl-jewels/files/sdl-jewels-1.1.1-Makefile.patch @@ -0,0 +1,17 @@ +--- SDL_jewels-1.1.1/Makefile.old 2010-11-13 00:46:47.196000082 +0000 ++++ SDL_jewels-1.1.1/Makefile 2010-11-13 01:45:14.516000087 +0000 +@@ -1,11 +1,12 @@ + EXE = gljewel + +-CFLAGS = -O2 -Wall $(shell sdl-config --cflags) +-LDFLAGS = $(shell sdl-config --libs) -lGL -lm ++CFLAGS += -Wall $(shell sdl-config --cflags) ++LIBS = $(shell sdl-config --libs) -lGL -lm + + OBJS = $(EXE).o matrix.o sound.o + + $(EXE): $(OBJS) ++ $(CC) $(LDFLAGS) $^ $(LIBS) -o $@ + + $(EXE).o: $(EXE).c matrix.h misc.h + diff --git a/games-puzzle/sdl-jewels/metadata.xml b/games-puzzle/sdl-jewels/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/sdl-jewels/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> diff --git a/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild b/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild new file mode 100644 index 000000000000..eae86f8bc780 --- /dev/null +++ b/games-puzzle/sdl-jewels/sdl-jewels-1.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Swap and match 3 or more jewels in a line in order to score points" +HOMEPAGE="http://www.linuxmotors.com/gljewel/" +SRC_URI="http://www.linuxmotors.com/gljewel/downloads/SDL_jewels-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="test" + +DEPEND="media-libs/libsdl[opengl,video] + virtual/opengl" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/SDL_jewels-${PV} + +src_prepare() { + epatch "${FILESDIR}/${P}-Makefile.patch" + + # fix the data dir locations as it looks to be intended to run from src dir + sed -i -e "s|\"data\"|\"${GAMES_DATADIR}/${PN}\"|" sound.c || die + sed -i -e "s|data/bigfont.ppm|${GAMES_DATADIR}/${PN}/bigfont.ppm|" gljewel.c || die + ecvs_clean +} + +src_install() { + dogamesbin gljewel + + insinto "${GAMES_DATADIR}/${PN}" + doins -r data/* + + dodoc ChangeLog README + + make_desktop_entry gljewel SDL_jewels + prepgamesdirs +} diff --git a/games-puzzle/seatris/Manifest b/games-puzzle/seatris/Manifest new file mode 100644 index 000000000000..481683cd13c6 --- /dev/null +++ b/games-puzzle/seatris/Manifest @@ -0,0 +1,6 @@ +AUX seatris-0.0.14-as-needed.patch 215 SHA256 9f4960b8b16b0449de238b5b0acc7e5d054613818d370d323e7ff31f6c5375d7 SHA512 587f8f4f555b6a97d38a0c7bb8069674e6612ff5e3027b7c7327a02178aabdc20a6d32f63b7a667eac31480e435f575844afdd79523707d0fcf586417d8fd38b WHIRLPOOL 76be32daf1705d14f46bf9598b3652820c87918aa881eb6116d271b1d9e6f265a40ff835b3243935c7c0c1d10cc4ea0e23422b1ae07d68190d27140e428a36fe +DIST seatris-0.0.14.tar.gz 53056 SHA256 797ec1403dec2e6c790ec77d41bc5201055cfbef4d9ad7054270845c909d0a2e SHA512 105722ddbeaa8ae3863331126cf816e7d590ebe4ca244b32d3275071c2537c2865183a90f60f8dbf46cfacbcee4e811b653ff9cc6d2eae51c9ed6efa9263fac2 WHIRLPOOL 97a509c9a2c5cc6595e647029a69ad59bf20df255a958ce777a3598dcaeb7055a98cf8b2897d08ac0230bb71ff80684d45bcb9367c67699fd66157f809f28964 +EBUILD seatris-0.0.14.ebuild 913 SHA256 2ac281576580edfade01c9aa973290e35a59a396e6b3c3c23a928d8ca6d68df6 SHA512 aad1634574da19ff91150c361e19137b403068a12de83666a441bccd0500b576f8e835c39db65a7cdbc1fe7f95a021557d2ab2f0bb08278420154ba5de02672a WHIRLPOOL 9817cff056f224cdb1be2934c7894ee48ca066a32420c18774e338c2d21f4102dd336da2e1b1368b4d4188cc972658f792426a4e388ccde47e361d98c28933d2 +MISC ChangeLog 2474 SHA256 b1452e51c556840d25c440d074f1d2ef3aff817ea315de7ce33e790c64309ef2 SHA512 b32aa964a508fe7a9e9c768c48ffa412e1e58bab6dffd4d3277c1be5283c13fa186989c095ce160a20324a10d8223db097fe41ac1a9dadb634caf8b228aaa409 WHIRLPOOL 6a90fd41ee2017e9c0ae751b44cd7309d063e0499f743a7b18c90c4408005487ec44359206ede42dacb92bdef4f71cd39b59a6c030f7e2621a4ba1482ca90e06 +MISC ChangeLog-2015 1517 SHA256 5d252e735a61d682b18c8b8d61d256c2b133c923d8bd4f83ba14d806cc229e6c SHA512 c7959042386b6ba4d87c2837fc0845c78c7f8283a15238c01a3088444e4d1e2c2fe7f8df2ecd39529150b0f3144afaafef08ab24c89feb25a383db50d698beab WHIRLPOOL e1fb0a9be172016c9f349cf4a7a641dca36f5ae1161ddd06389bd32f5ab7a56d9e7d976b92105a0081c57e570e997e6b08a78d9229009eb749beecc3b2c3c672 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch b/games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch new file mode 100644 index 000000000000..e77c0dd75077 --- /dev/null +++ b/games-puzzle/seatris/files/seatris-0.0.14-as-needed.patch @@ -0,0 +1,11 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -11,7 +11,7 @@ + parse.o readcfg.o + + seatris: $(OBJS) +- $(CC) $(LFLAGS) $(LIBS) -o seatris $(OBJS) ++ $(CC) $(LDFLAGS) -o seatris $(OBJS) $(LIBS) + + clean: + rm -f *.o seatris diff --git a/games-puzzle/seatris/metadata.xml b/games-puzzle/seatris/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/seatris/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> diff --git a/games-puzzle/seatris/seatris-0.0.14.ebuild b/games-puzzle/seatris/seatris-0.0.14.ebuild new file mode 100644 index 000000000000..19c5e07f0822 --- /dev/null +++ b/games-puzzle/seatris/seatris-0.0.14.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs games + +DESCRIPTION="A color ncurses tetris clone" +HOMEPAGE="http://www.earth.li/projectpurple/progs/seatris.html" +SRC_URI="http://www.earth.li/projectpurple/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" + +RDEPEND="sys-libs/ncurses" +DEPEND="${DEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "s:/var/lib/games:${GAMES_STATEDIR}:" \ + scoring.h seatris.6 || die + + epatch "${FILESDIR}"/${P}-as-needed.patch +} + +src_compile() { + emake LIBS="$( $(tc-getPKG_CONFIG) --libs ncurses )" +} + +src_install () { + dogamesbin seatris + doman seatris.6 + dodoc ACKNOWLEDGEMENTS HISTORY README TODO example.seatrisrc + dodir "${GAMES_STATEDIR}" + touch "${D}${GAMES_STATEDIR}/seatris.score" + fperms 660 "${GAMES_STATEDIR}/seatris.score" + prepgamesdirs +} diff --git a/games-puzzle/sgt-puzzles/Manifest b/games-puzzle/sgt-puzzles/Manifest new file mode 100644 index 000000000000..a8847e557792 --- /dev/null +++ b/games-puzzle/sgt-puzzles/Manifest @@ -0,0 +1,12 @@ +AUX sgt-puzzles-20161207-builtin-help.patch 3086 SHA256 87d4e593ba755c6d582a5e4835a1ab9d38c4175995d3d697a82b0d986be12419 SHA512 daa001156ae8eadb8b4012d6713a327efb52e43271c9dbae936bf1002575548c2ef6b1aa39ea95278a602b38d443cd90507d4d9fedd4e4494b1fbf3222250fe4 WHIRLPOOL 8af32c5c12150c5d07a3bc66409e89b596aa7e1abb8f4a8ed017596b5a90b48bd18a75a2aaa2a41efdba1c498a5667f1da5d3aaa1af8b3dc7b3e7cf94070fd3e +AUX sgt-puzzles.directory 65 SHA256 5358d29d2429a500d05bfdc5aba23c58f635f9f45deba9d0dafe2e2cd4722aaf SHA512 b6cada99b9afae8407b494e066ce271cd65980e2d225e512d55b1905e93e70af3763e7e6e76fcdf30314005dfa309a5daa7e2ac6d83d312edaf2f74869d8079c WHIRLPOOL f9be68c5ba24a035d02975563409395c8fc150e02773b8b8ca1dba0e912d85ebabbb293a0a4dba44d782682e9f30eb8d7c651b9fa8770f36db060e188e25a6d2 +AUX sgt-puzzles.menu 556 SHA256 7576f1e82e7fbaed12d45c5f38b27c4e376827f216f558c4b117c9f152071c21 SHA512 2b3d68ae2eef33199953fe85af08c87ba91cfc8c1ea92b535af90c5f07fcbbccec124a0b9701b8cafe92786d945f2ed499e046a55d1e6da1bbb02ae5f02e5ee9 WHIRLPOOL 9523626e5c2ebf06866a9bdfeccd6a2603fb595da80030f56aa42861127a75ce074f6291bee726f4bc333ebe17aff98482d1735d9a142a320289abaf9ac6a32c +DIST puzzles-20170314.eedea41.tar.gz 2897824 SHA256 57c156fa7de2605a4ae0f18e54ce20ef4e08b8faf32d26eccf5a7fa545940fa8 SHA512 ef7d12e0e20aef487a18b572a4464f3e23b226fae599cc22fdb34348f6c3baf3dcd21207c8fedef0ac3a6c4344b13e520767efef8830aaa2ad4b914285f8aa3c WHIRLPOOL 17b069ae171497212411ed6696fafd00108064f3a28ce38925a4fc6d9040e3d072a14920b024c329e597fe1fdedc9723089ea5c17d7df9226ac45ba612a1de70 +DIST puzzles-20170514.7bdfda8.tar.gz 2910137 SHA256 fa7e0e7d2f4bf43d4d5d91e0836ad87a133657a99f00ec5ee77504cd8bafda58 SHA512 b0acbc1cf3e2986c6c3a58a126ff4e9e8751e93ee9a4771e2fd8af6c98c01bbbe01db8ccc526fdbac1ee8bf9a4391c9b90d66e19458fdc53858a6a3724c02a4b WHIRLPOOL bae1cd85b3d4973db5e8610cb9b023a39fe5ee11386723e44d4ef7464615f9373d5b10f2d8cf325257709b3184ee40453b0262e22e427a8353f0e9c1c74adc51 +DIST sgt-puzzles-icons-20160315.tar.xz 715536 SHA256 9ddc1b6d02b3c3358a9bc6b17c7070650f794cf5f650f25b2ac7e5def6674447 SHA512 2fe2c02984eb8c36ac6fb4195be7895b336b84f40ce8baeb23dc8a32aca9937ccf1d33050b4da3cfba3c87e124ecbdd940ee4e990b37eabe8e2af897c2e23b57 WHIRLPOOL 17bdadc9519320bc88af27f2db7a9c243f04d80e524db51ad9398831185e2c66f2430006c324fa7d5b70ce156cb9df93d9405216053b32101b5f56035a60f6ac +EBUILD sgt-puzzles-20170314.ebuild 2429 SHA256 2164350c2ec01e3d857f943edaddfd8d5ecc9857befb5b83cd2357e538fe488b SHA512 1109541b041b76adb5ced751bbce4e47e1f331a5929d768a8db682cadc8d32d4a2af30afe542b19c2e36e72bdc64483f3829d210d1760977728ef1ba378461cc WHIRLPOOL 741b5bc6535cc26f4b0d556ccd05f625eb9ca7093418a2c8c4d4402dfef77be15ed0dcdfde3f238d989b364506e104b7a82107eb8048fc2ccb1be8ffdf0dc209 +EBUILD sgt-puzzles-20170514.ebuild 2431 SHA256 f9e4c4215d7debb60b58e73ea54b6489c1f17f676bf8e9fbfcc0f9645c0aa94d SHA512 aa5ff7bbb5865ffe9fef85bc08d20f81fc15b501464043b97e7e5fd3157f2faf0d3f0911f80c763f2007aec21d335a5fbc87140ccb00634152c2f88f22e1345d WHIRLPOOL 4928ee21f72596e8bfb24e63964d897c226a58224af5a205364d3b197fdb394608df81e0b152299105240b582c15d33ee09bf6ff43516997fe0aaf5e1f2ce301 +EBUILD sgt-puzzles-99999999.ebuild 2431 SHA256 f9e4c4215d7debb60b58e73ea54b6489c1f17f676bf8e9fbfcc0f9645c0aa94d SHA512 aa5ff7bbb5865ffe9fef85bc08d20f81fc15b501464043b97e7e5fd3157f2faf0d3f0911f80c763f2007aec21d335a5fbc87140ccb00634152c2f88f22e1345d WHIRLPOOL 4928ee21f72596e8bfb24e63964d897c226a58224af5a205364d3b197fdb394608df81e0b152299105240b582c15d33ee09bf6ff43516997fe0aaf5e1f2ce301 +MISC ChangeLog 4138 SHA256 b7c3aa81c56a5013643c275b9a81d489f6aa1d385bf789ddfde45452566b7940 SHA512 2549275999e7a70e6735af3df6fadc508e31e3d855faf1256373c93f2876456c8fdd6df4f8434b160ff8a28f3b80f46f27f94a325d6c1744575419d78ff22461 WHIRLPOOL 073bbb00e9b1415161e0f0483c92094a7c4ea1eda222ad2aedb2bb08193b1f67919ef32e9ed4ce2575326dfea57f317828f2a3a986228e9f30eade0644cc98e8 +MISC ChangeLog-2015 3475 SHA256 00af97a81cc68c337dbd1e2c31e8a7e8c1ba0f498d771f3fa7a5b92fccdadede SHA512 7b3340e5b967f8c7182d6c6236fb31685597b800a497192eab0a00351621f50ecc2937e5629d6c2deed907d2b40d932c430616d650d1b2ceb91ff1f91e18fa7c WHIRLPOOL 2643ca84df68c6488b1144b46c9a38ba5e6160a214517bedfebe82e7bb74f591c7fa384461e81c1e2178d7946c0129c3942b634da73db0daa1849342063ee714 +MISC metadata.xml 509 SHA256 ea30284d04d8aa721cd895a05379d54af0f7c6dd2029cc6443945d03c5648520 SHA512 bf7a3e8f5e458b64950e264361f2aa10bb12abf9b00d4424f3e23659f3fa5f33171b9f60e2f776a7226a8ca2aec61895e446eb893d63d6347a25ef7e47faf931 WHIRLPOOL 3332cf4e852f50b8ca4b2a03c4a0396bfdfd7ccf01eea88ba057042b9641cef4ffeb555f384e2c62c23e1b6b2d2a21049092e7b503823a617037c1c3b2b16be1 diff --git a/games-puzzle/sgt-puzzles/files/sgt-puzzles-20161207-builtin-help.patch b/games-puzzle/sgt-puzzles/files/sgt-puzzles-20161207-builtin-help.patch new file mode 100644 index 000000000000..a5c3a3695bd1 --- /dev/null +++ b/games-puzzle/sgt-puzzles/files/sgt-puzzles-20161207-builtin-help.patch @@ -0,0 +1,107 @@ +Based on http://sources.debian.net/patches/sgt-puzzles/20160429.b31155b-1/202_online-help.diff/ +Simply opens HTML help files with xdg-open + +Author: Ben Hutchings <ben@decadent.org.uk> +Description: Add HTML-based online help + +This works along the same lines as the Windows implementation, +though we have to try a bit harder to find a help browser. + +--- a/gtk.c 2016-12-08 07:53:06.812409184 -0500 ++++ b/gtk.c 2016-12-08 07:58:06.426415886 -0500 +@@ -2,6 +2,10 @@ + * gtk.c: GTK front end for my puzzle collection. + */ + ++#ifndef _POSIX_C_SOURCE ++#define _POSIX_C_SOURCE 1 /* for PATH_MAX */ ++#endif ++ + #include <stdio.h> + #include <assert.h> + #include <stdlib.h> +@@ -10,6 +14,9 @@ + #include <string.h> + #include <errno.h> + #include <math.h> ++#include <limits.h> ++#include <unistd.h> ++#include <locale.h> + + #include <sys/time.h> + #include <sys/resource.h> +@@ -2270,6 +2277,37 @@ + resize_fe(fe); + } + ++static void show_help(frontend *fe, const char *topic) ++{ ++ char path[PATH_MAX + 1]; ++ ++ sprintf(path, "%s/%s.html", HTMLDIR, topic); ++ if (access(path, R_OK) != 0) { ++ error_box(fe->window, "Help file could not be found"); ++ return; ++ } ++ ++ const char *argv[3]; ++ ++ argv[0] = "xdg-open"; ++ argv[1] = path; ++ argv[2] = NULL; ++ if (! g_spawn_async(NULL, (char **)argv, NULL, ++ G_SPAWN_SEARCH_PATH, ++ NULL, NULL, NULL, NULL)) ++ error_box(fe->window, "Failed to open help file"); ++} ++ ++static void menu_help_contents_event(GtkMenuItem *menuitem, gpointer data) ++{ ++ show_help((frontend *)data, "index"); ++} ++ ++static void menu_help_specific_event(GtkMenuItem *menuitem, gpointer data) ++{ ++ show_help((frontend *)data, thegame.htmlhelp_topic); ++} ++ + static void menu_about_event(GtkMenuItem *menuitem, gpointer data) + { + frontend *fe = (frontend *)data; +@@ -2590,6 +2628,25 @@ + menu = gtk_menu_new(); + gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuitem), menu); + ++ menuitem = gtk_menu_item_new_with_label("Contents"); ++ gtk_container_add(GTK_CONTAINER(menu), menuitem); ++ g_signal_connect(G_OBJECT(menuitem), "activate", ++ G_CALLBACK(menu_help_contents_event), fe); ++ gtk_widget_show(menuitem); ++ ++ if (thegame.htmlhelp_topic) { ++ char *item; ++ assert(thegame.name); ++ item = snewn(9+strlen(thegame.name), char); /*ick*/ ++ sprintf(item, "Help on %s", thegame.name); ++ menuitem = gtk_menu_item_new_with_label(item); ++ sfree(item); ++ gtk_container_add(GTK_CONTAINER(menu), menuitem); ++ g_signal_connect(G_OBJECT(menuitem), "activate", ++ G_CALLBACK(menu_help_specific_event), fe); ++ gtk_widget_show(menuitem); ++ } ++ + menuitem = gtk_menu_item_new_with_label("About"); + gtk_container_add(GTK_CONTAINER(menu), menuitem); + g_signal_connect(G_OBJECT(menuitem), "activate", +--- a/Recipe ++++ b/Recipe +@@ -95,6 +95,7 @@ Puzzles.dmg: Puzzles + + !begin am + bin_PROGRAMS = $(GAMES) ++GTK_CFLAGS += -DHTMLDIR="\"$(htmldir)\"" + !end + !begin am_begin + GAMES = + diff --git a/games-puzzle/sgt-puzzles/files/sgt-puzzles.directory b/games-puzzle/sgt-puzzles/files/sgt-puzzles.directory new file mode 100644 index 000000000000..25aa1aefbf5b --- /dev/null +++ b/games-puzzle/sgt-puzzles/files/sgt-puzzles.directory @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Directory +Name=Puzzles +Icon=sgt-puzzles_map diff --git a/games-puzzle/sgt-puzzles/files/sgt-puzzles.menu b/games-puzzle/sgt-puzzles/files/sgt-puzzles.menu new file mode 100644 index 000000000000..e3f3264cff97 --- /dev/null +++ b/games-puzzle/sgt-puzzles/files/sgt-puzzles.menu @@ -0,0 +1,21 @@ +<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN" +"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd"> +<Menu> + <Name>Applications</Name> + <Menu> + <Name>Games</Name> + <Exclude> + <Category>X-sgt-puzzles</Category> + </Exclude> + <Menu> + <Name>Puzzles</Name> + <Directory>sgt-puzzles.directory</Directory> + <Include> + <And> + <All></All> + <Category>X-sgt-puzzles</Category> + </And> + </Include> + </Menu> <!-- End Puzzles --> + </Menu> <!-- End Games --> +</Menu> <!-- End Applications --> diff --git a/games-puzzle/sgt-puzzles/metadata.xml b/games-puzzle/sgt-puzzles/metadata.xml new file mode 100644 index 000000000000..a434a63e3f40 --- /dev/null +++ b/games-puzzle/sgt-puzzles/metadata.xml @@ -0,0 +1,16 @@ +<?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> + <maintainer type="person"> + <email>NP-Hardass@gentoo.org</email> + <name>NP-Hardass</name> + <description>Co-maintainer; CC on all bugs</description> + </maintainer> + <use> + <flag name="gtk3">Use x11-libs/gtk+:3 instead of x11-libs/gtk+:2</flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-20170314.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-20170314.ebuild new file mode 100644 index 000000000000..ccbdc036d624 --- /dev/null +++ b/games-puzzle/sgt-puzzles/sgt-puzzles-20170314.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils toolchain-funcs autotools + +if [[ ${PV} == "99999999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://git.tartarus.org/simon/puzzles.git" + GENTOO_ICONS="20160315" + SRC_URI="https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${PN}-icons-${GENTOO_ICONS}.tar.xz" + KEYWORDS="" +else + MAGIC=eedea41 + SRC_URI="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.${MAGIC}.tar.gz" + S=${WORKDIR}/puzzles-${PV}.${MAGIC} + KEYWORDS="amd64 x86" +fi + +DESCRIPTION="Simon Tatham's Portable Puzzle Collection" +HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/" + +LICENSE="MIT" +SLOT="0" +IUSE="+doc gtk3" + +COMMON_DEPEND=" + !gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 )" + +RDEPEND="${COMMON_DEPEND} + x11-misc/xdg-utils" # Used by builtin help patch + +DEPEND="${COMMON_DEPEND} + dev-lang/perl + virtual/pkgconfig + doc? ( >=app-doc/halibut-1.0 )" + +PATCHES=( "${FILESDIR}/${PN}-20161207-builtin-help.patch" ) + +src_unpack() { + default + if [[ ${PV} == "99999999" ]]; then + git-r3_src_unpack + fi +} + +src_prepare() { + default + + sed -i \ + -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \ + -e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \ + mkfiles.pl || die + ./mkfiles.pl || die + eautoreconf + + # Import icons from latest Gentoo tarball for live + if [[ ${PV} == "99999999" ]]; then + cp -R ../${PN}-icons/icons . || die + fi +} + +src_configure() { + econf \ + --program-prefix="${PN}_" \ + --with-gtk=$(usex gtk3 3 2) +} + +src_compile() { + emake CC="$(tc-getCC)" + if use doc ; then + halibut --text --html --info --pdf --ps puzzles.but || die + fi +} + +src_install() { + default + + local file name + for file in *.R ; do + [[ ${file} == "nullgame.R" ]] && continue + name=$(awk -F: '/exe:/ { print $3 }' "${file}") + file=${file%.R} + newicon -s 48 icons/${file}-48d24.png ${PN}_${file}.png + make_desktop_entry "${PN}_${file}" "${name}" "${PN}_${file}" "Game;LogicGame;X-${PN};" + done + + if use doc ; then + DOCS=( puzzles.{pdf,ps,txt} ) + HTML_DOCS=( *.html ) + einstalldocs + doinfo puzzles.info{,-1,-2,-3} + fi + + insinto /etc/xdg/menus/applications-merged + doins "${FILESDIR}/${PN}.menu" + insinto /usr/share/desktop-directories + doins "${FILESDIR}/${PN}.directory" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-20170514.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-20170514.ebuild new file mode 100644 index 000000000000..483e2dc3387b --- /dev/null +++ b/games-puzzle/sgt-puzzles/sgt-puzzles-20170514.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils toolchain-funcs autotools + +if [[ ${PV} == "99999999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://git.tartarus.org/simon/puzzles.git" + GENTOO_ICONS="20160315" + SRC_URI="https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${PN}-icons-${GENTOO_ICONS}.tar.xz" + KEYWORDS="" +else + MAGIC=7bdfda8 + SRC_URI="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.${MAGIC}.tar.gz" + S=${WORKDIR}/puzzles-${PV}.${MAGIC} + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Simon Tatham's Portable Puzzle Collection" +HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/" + +LICENSE="MIT" +SLOT="0" +IUSE="+doc gtk3" + +COMMON_DEPEND=" + !gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 )" + +RDEPEND="${COMMON_DEPEND} + x11-misc/xdg-utils" # Used by builtin help patch + +DEPEND="${COMMON_DEPEND} + dev-lang/perl + virtual/pkgconfig + doc? ( >=app-doc/halibut-1.2 )" + +PATCHES=( "${FILESDIR}/${PN}-20161207-builtin-help.patch" ) + +src_unpack() { + default + if [[ ${PV} == "99999999" ]]; then + git-r3_src_unpack + fi +} + +src_prepare() { + default + + sed -i \ + -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \ + -e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \ + mkfiles.pl || die + ./mkfiles.pl || die + eautoreconf + + # Import icons from latest Gentoo tarball for live + if [[ ${PV} == "99999999" ]]; then + cp -R ../${PN}-icons/icons . || die + fi +} + +src_configure() { + econf \ + --program-prefix="${PN}_" \ + --with-gtk=$(usex gtk3 3 2) +} + +src_compile() { + emake CC="$(tc-getCC)" + if use doc ; then + halibut --text --html --info --pdf --ps puzzles.but || die + fi +} + +src_install() { + default + + local file name + for file in *.R ; do + [[ ${file} == "nullgame.R" ]] && continue + name=$(awk -F: '/exe:/ { print $3 }' "${file}") + file=${file%.R} + newicon -s 48 icons/${file}-48d24.png ${PN}_${file}.png + make_desktop_entry "${PN}_${file}" "${name}" "${PN}_${file}" "Game;LogicGame;X-${PN};" + done + + if use doc ; then + DOCS=( puzzles.{pdf,ps,txt} ) + HTML_DOCS=( *.html ) + einstalldocs + doinfo puzzles.info{,-1,-2,-3} + fi + + insinto /etc/xdg/menus/applications-merged + doins "${FILESDIR}/${PN}.menu" + insinto /usr/share/desktop-directories + doins "${FILESDIR}/${PN}.directory" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild b/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild new file mode 100644 index 000000000000..483e2dc3387b --- /dev/null +++ b/games-puzzle/sgt-puzzles/sgt-puzzles-99999999.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gnome2-utils toolchain-funcs autotools + +if [[ ${PV} == "99999999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="git://git.tartarus.org/simon/puzzles.git" + GENTOO_ICONS="20160315" + SRC_URI="https://dev.gentoo.org/~np-hardass/distfiles/${PN}/${PN}-icons-${GENTOO_ICONS}.tar.xz" + KEYWORDS="" +else + MAGIC=7bdfda8 + SRC_URI="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${PV}.${MAGIC}.tar.gz" + S=${WORKDIR}/puzzles-${PV}.${MAGIC} + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Simon Tatham's Portable Puzzle Collection" +HOMEPAGE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/" + +LICENSE="MIT" +SLOT="0" +IUSE="+doc gtk3" + +COMMON_DEPEND=" + !gtk3? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 )" + +RDEPEND="${COMMON_DEPEND} + x11-misc/xdg-utils" # Used by builtin help patch + +DEPEND="${COMMON_DEPEND} + dev-lang/perl + virtual/pkgconfig + doc? ( >=app-doc/halibut-1.2 )" + +PATCHES=( "${FILESDIR}/${PN}-20161207-builtin-help.patch" ) + +src_unpack() { + default + if [[ ${PV} == "99999999" ]]; then + git-r3_src_unpack + fi +} + +src_prepare() { + default + + sed -i \ + -e 's/-O2 -Wall -Werror -ansi -pedantic -g//' \ + -e "s/libstr =/libstr = '\$(LDFLAGS) ' ./" \ + mkfiles.pl || die + ./mkfiles.pl || die + eautoreconf + + # Import icons from latest Gentoo tarball for live + if [[ ${PV} == "99999999" ]]; then + cp -R ../${PN}-icons/icons . || die + fi +} + +src_configure() { + econf \ + --program-prefix="${PN}_" \ + --with-gtk=$(usex gtk3 3 2) +} + +src_compile() { + emake CC="$(tc-getCC)" + if use doc ; then + halibut --text --html --info --pdf --ps puzzles.but || die + fi +} + +src_install() { + default + + local file name + for file in *.R ; do + [[ ${file} == "nullgame.R" ]] && continue + name=$(awk -F: '/exe:/ { print $3 }' "${file}") + file=${file%.R} + newicon -s 48 icons/${file}-48d24.png ${PN}_${file}.png + make_desktop_entry "${PN}_${file}" "${name}" "${PN}_${file}" "Game;LogicGame;X-${PN};" + done + + if use doc ; then + DOCS=( puzzles.{pdf,ps,txt} ) + HTML_DOCS=( *.html ) + einstalldocs + doinfo puzzles.info{,-1,-2,-3} + fi + + insinto /etc/xdg/menus/applications-merged + doins "${FILESDIR}/${PN}.menu" + insinto /usr/share/desktop-directories + doins "${FILESDIR}/${PN}.directory" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/shaaft/Manifest b/games-puzzle/shaaft/Manifest new file mode 100644 index 000000000000..2fe0592ae6ca --- /dev/null +++ b/games-puzzle/shaaft/Manifest @@ -0,0 +1,9 @@ +AUX shaaft-0.5.0-gcc34.patch 388 SHA256 29c4d240888abf5097935cc5f94ca1af0324c42717a3def697f3e1432b29f4b2 SHA512 75d5e5e3f7cedb7ccbef0b1f6aff16744240fa2f320779348f850f2f3d8bdc8f78b0785fbd26adda841c0f8cc2f7c795a08113092cf79c8cf915a8bccbc5f5fe WHIRLPOOL c997713f72a6ec772cf5546335b29a06dc2f939793e86273fcb02b2809ee7a3ee54042c38f6699541edb2321082d3f8e636c9340355d1596dec24ec2a4f56041 +AUX shaaft-0.5.0-gcc41.patch 205 SHA256 5da9ee61cc79e217bd037e73aa4583c3dbd85c4effc970cff0bcc318ef2d0fb6 SHA512 09b58039598a7cc42ee143474d175b277c4eb999e22b473d3872ed75396a09c1fa8d8931077a99a79552be095df0c79f0b1419d8a9e5b0fc718bc0e6abcb6f54 WHIRLPOOL 572abecee5e58d609a8408938312db44d1b47fe1b17f2512f53a260171e80b81d77d5c814d46d02a18072b39a2e218d4c1ae97c6125a0d66e341375779ccb66d +AUX shaaft-0.5.0-gcc43.patch 428 SHA256 923bbf44762997fa9cef7b42c93bac31da05ae622eb8f3f12abad4f11d7a7549 SHA512 4286064e5c194c74248cc9fe9b4bb85819b740e744ca9e275278c2b17d438d5623e0a68618e9377639d03df0864b317862e9aa1f200cfa6c737f4046795871a9 WHIRLPOOL 4a6af3023bda7e1190deea4de7f31ad3f7e5e8852c72a9b84f54f4079f1f4e4d9aa4d7bfceca33017090654b74de4058f68cbfc652de6bef6846aa5caa52bba8 +AUX shaaft-0.5.0-libpng15.patch 472 SHA256 0e38ad14f625ce89f1a7b8d17b169e7ae3f92f46b89127e95d3cdfaa39c5b71e SHA512 80e202e16b7823c4579761a14e865a12b7e5be7073b545a86b28dca4b565b5b95fe1e38156c839ca02167c63fc1acc1fe0dcfac7b145d9464a34b535031c3e6a WHIRLPOOL 60567228aad625e050ef052a990d87d09cf86264d5aaf893d73d2f281df35aab997e45ce8a87eb9a10bfc38136c64d5f89d4a0059af821c15c2821b9d9239870 +DIST Shaaft-0.5.0.tar.bz2 512996 SHA256 db8040c4fee36da9ec9653fd6c04ffb21112c4c9c2297ee66f08b94efa61dc80 SHA512 8fce8f1b8e2cfd78832a5f328d95c186bbd1c96a66685e87f993879e96564d8c9051576c3c822d7dbdb59141d71726ced08a07390b298c3d26969f2b59dceedf WHIRLPOOL 135128793b9f99c917af5de5dd24662ff1970550a68a140869c94c71278e7ad9fc38c8b0e9108078b0bb02a41ee46e3d26a810ec6fc9e06075874a39cbb1f2ce +EBUILD shaaft-0.5.0.ebuild 1144 SHA256 70d9ad9aeba6c52a567774328138f44ccf45f57f749bdc7228d1a2ad13047d77 SHA512 5b755ba1c6b1eb4247904fc5f7e142ebd7712978f33783c59c40c7bbe6e249ecf021f88b83d542217489823171781c8cbb1519886ec1c3753786936cc5e139db WHIRLPOOL 2eee2250bb0ae0b9f9da9e028e29eb5afeb18370c99fd15b3302f738866eb30275ca8f103dce2d78007b3b3f7b69dd3dcdcc74b03864a6249cdfe4c9d7a10e74 +MISC ChangeLog 2793 SHA256 d54448237f8503bd3d21ae7baac6be49c4588c065ec2d30691ba3d5fe32d4ea0 SHA512 4f614dcd12b127635150bde14e99a46e3676eacae5fcaac86e2d67738cb7c03b614ad2938b68aab22682b5ee80ff802711c7071510c9ed5f0b5c6b9e3e7e0364 WHIRLPOOL b09d231d98a349fcf9f1829bec74a25b8dad3e7a2795c7edaa80614d423a321f976612d21161e41af8ca669029b2bc0aa07434ecd6819448a2edcb768c87a8ad +MISC ChangeLog-2015 2273 SHA256 1579c87fafc16f7ec9eb0b1bd2822cad628e573a1a1933fb81dc0ab261db528c SHA512 b6f7d60dbe7be63fbc133eaf3287b9285835a8fd4cb7527324eba48f26204fb2229531be407c8fcfa5131a89a8e92883a06428ca08c1e4aa619b68a33c767233 WHIRLPOOL b0b153eca93ad05291e9e15ee6cbb8ac01139bbc7961220a6964194d781a9c0baeef6d46915a3a4e47c3ae77db9c82f8f5d25c132db6938b537252ee5ec79e4d +MISC metadata.xml 335 SHA256 dc0cbba662f09469700f64a8581a639de8aa689458ae2b80e5428763d0f2f36c SHA512 ef6dcb84323c49c9a21a59eea375bd3c1419ba2c7490f3e20e9daeab88942b4574d3d8668c465e2b2fc4221dff97695ba122d6790ebade3202f873f890fef9e4 WHIRLPOOL 861f0725885ada70e5a9237167168f938a6f8c72e193fe4d8745bab87c1e0e91d7fac4d5e773d8ba2699332cdc423835c9bca9961cac56aea3cfd118e3dd46c1 diff --git a/games-puzzle/shaaft/files/shaaft-0.5.0-gcc34.patch b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc34.patch new file mode 100644 index 000000000000..de3d59c90771 --- /dev/null +++ b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc34.patch @@ -0,0 +1,18 @@ +--- Shaaft-0.5.0.orig/utils/HashString.hpp ++++ Shaaft-0.5.0/utils/HashString.hpp +@@ -21,6 +21,7 @@ using namespace std; + + namespace HASH_NAMESPACE + { ++ template <> + struct hash<const string> + { + //a simple hash function for string +@@ -32,6 +33,7 @@ namespace HASH_NAMESPACE + } + }; + ++ template <> + struct hash<string> + { + //a simple hash function for string diff --git a/games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch new file mode 100644 index 000000000000..87b07f109d2f --- /dev/null +++ b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc41.patch @@ -0,0 +1,11 @@ +--- utils/hashMap.hpp.old ++++ utils/hashMap.hpp +@@ -14,7 +14,7 @@ + // + #if defined( __GNUC__ ) + +-# if (__GNUC__ == 3) ++# if (__GNUC__ >= 3) + # include <ext/hash_map> + + # if (__GNUC_MINOR__ == 0) diff --git a/games-puzzle/shaaft/files/shaaft-0.5.0-gcc43.patch b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc43.patch new file mode 100644 index 000000000000..2ddb37c75514 --- /dev/null +++ b/games-puzzle/shaaft/files/shaaft-0.5.0-gcc43.patch @@ -0,0 +1,23 @@ +--- utils/ResourceManager.cpp ++++ utils/ResourceManager.cpp +@@ -17,6 +17,7 @@ + #include <dirent.h> + #include <sys/types.h> + #include <sys/stat.h> ++#include <cstring> + + #include <Trace.hpp> + #include <ResourceManager.hpp> +--- utils/Value.hpp ++++ utils/Value.hpp +@@ -15,8 +15,9 @@ + #ifndef _Value_hpp_ + #define _Value_hpp_ + +-#include <stdio.h> ++#include <cstdio> + #include <string> ++#include <cstdlib> + + #include <Trace.hpp> + diff --git a/games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch b/games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch new file mode 100644 index 000000000000..6773242ea6dc --- /dev/null +++ b/games-puzzle/shaaft/files/shaaft-0.5.0-libpng15.patch @@ -0,0 +1,20 @@ +--- utilssdl/PNG.cpp ++++ utilssdl/PNG.cpp +@@ -45,7 +45,7 @@ + { + png_uint_32 check; + +- check = fwrite( data, 1, length, (FILE *)(png->io_ptr)); ++ check = fwrite( data, 1, length, (FILE *)(png_get_io_ptr(png))); + if( check != length) + { + png_error( png, "Write Error"); +@@ -72,7 +72,7 @@ + return false; + } + +- if( setjmp(_png->jmpbuf)) ++ if( setjmp(png_jmpbuf(_png))) + { + fclose( fp); + png_destroy_write_struct(&_png, (png_infopp)NULL); diff --git a/games-puzzle/shaaft/metadata.xml b/games-puzzle/shaaft/metadata.xml new file mode 100644 index 000000000000..26c1c9ca5f2d --- /dev/null +++ b/games-puzzle/shaaft/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">criticalmass</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/shaaft/shaaft-0.5.0.ebuild b/games-puzzle/shaaft/shaaft-0.5.0.ebuild new file mode 100644 index 000000000000..ac936664c2bb --- /dev/null +++ b/games-puzzle/shaaft/shaaft-0.5.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +DESCRIPTION="A falling block game similar to Blockout" +HOMEPAGE="https://packages.gentoo.org/package/games-puzzle/shaaft" +SRC_URI="mirror://sourceforge/criticalmass/${P/s/S}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="virtual/opengl + sys-libs/zlib + media-libs/libpng:0 + media-libs/libsdl[sound,opengl,video] + media-libs/sdl-mixer[mod] + media-libs/sdl-image[png]" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P/s/S} + +src_prepare() { + sed -i \ + -e 's:DATA_DIR:"'${GAMES_DATADIR}'\/'${PN/s/S}\/'":g' \ + game/main.cpp || die + + sed -i \ + -e 's:png12:png:g' \ + -e '/^CFLAGS=""/d' \ + -e '/^CXXFLAGS=""/d' \ + configure.in || die + + epatch \ + "${FILESDIR}"/${P}-gcc34.patch \ + "${FILESDIR}"/${P}-gcc41.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-libpng15.patch + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + egamesconf --disable-optimize +} + +src_install() { + DOCS="TODO.txt" default + rm -f "${D}/${GAMES_BINDIR}"/Packer + prepgamesdirs +} diff --git a/games-puzzle/skoosh/Manifest b/games-puzzle/skoosh/Manifest new file mode 100644 index 000000000000..e1c9457351e5 --- /dev/null +++ b/games-puzzle/skoosh/Manifest @@ -0,0 +1,6 @@ +AUX skoosh-2.5.0-desktop.patch 476 SHA256 fba74612b0404c2ae07780ba6c8b2b5d2df3d37b5afd47ca5a135209db6895e9 SHA512 0cded581a8a24902771ef49674171d1522ed50eabff20d48b65892e09671d5a25e41b046f45a7ac80e0a23fb13a638293d5f6073d99f4a5f3473c3b882b860ac WHIRLPOOL bb142c698317b9c368b1ba12d3434c7e169608b02867ede308b0514a60e4575c7a64f76f05c64328868587b46a3ee9dcf2ec03452cb9db338b2ed60b3162230d +DIST skoosh-2.5.0.tar.gz 209945 SHA256 827a6c365bc1771f3ef7ad390cceec76427113f4b33979c9a6dc2286fe1d916a SHA512 e67f0036f09890af62bcfe0fe895d899a76efb2901c5fbdd9fb97951553a4b9f35dfddd0a3e24937b53a1c8d3686caee8b83d35e0327d4bbdaeb4c1e0ab58736 WHIRLPOOL a4fe55be01326410dfd6492a29e1d98d22aa95edcc9b5cfb14466d60b98deff72332bda4a8d3e157ef73910837e545147731793dd03e936632b6a270fd3e5aaf +EBUILD skoosh-2.5.0-r1.ebuild 867 SHA256 228034525ccc3baab38aa51a417389389d6efe9a384d1cf80be83893c9ceb365 SHA512 df51b97dd7f4a1f3c4e774e4c9940c64a56d5e277ba64151eb55a0fc40a3820fef4be6bda5a13fa98a80daefd6f7ab9cba4baebaf0032888bac2e53b5226540a WHIRLPOOL 7188f558b3b0cdfcb93f1e00e052fe448521dd5a35cf1bdb5cbacdcfd0e92016f12f720453535e3fa3b0c0a2d3379fe2cd81c41a0b6c6261287d254bb6b814ba +MISC ChangeLog 2469 SHA256 a5a7ba8838ba343f759137743fcc2d1545004ad24bc9b13a0dba939d9c948a9e SHA512 c4baf99d56e7b1d70ae4897d2b134f94848afa3b14f17fce8a813d356e3be00717e6e505d6461124e48623d7f4e32e95cae0c79506784da95791593a0380f346 WHIRLPOOL c009de2140152e1de739e515abab643b3d52a5af5526ce831db65d1ff51f3948c865f39c8f1f026cbffbd82df1b5412b264a7bfd1dc8dd505ce7777b64f7a856 +MISC ChangeLog-2015 1782 SHA256 c92691511e3d6fa991910270fe063056b16e1bb6d3dc459bd06a67cb493ccc96 SHA512 32a390cfd450709b77178425c7492603dfc2f66a5b525da322301ab0bd7e3c90b9885bb65a6636476eaee74fc2389daa72a9e69978b7727a0a65c703d8bf8089 WHIRLPOOL 7cbf83d80da1081661a6e920ca4775ae2f19402376bf30bf4613c1d29050808451bef9470d0ce5cad9cf779dd1ec579448c38f2a4b93e96fd5b684c7ea9ee56b +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/skoosh/files/skoosh-2.5.0-desktop.patch b/games-puzzle/skoosh/files/skoosh-2.5.0-desktop.patch new file mode 100644 index 000000000000..09f120cc75f7 --- /dev/null +++ b/games-puzzle/skoosh/files/skoosh-2.5.0-desktop.patch @@ -0,0 +1,17 @@ +--- skoosh.desktop.old 2014-11-21 09:54:37.000861347 +0100 ++++ skoosh.desktop 2014-11-21 09:54:47.898132607 +0100 +@@ -1,12 +1,11 @@ + [Desktop Entry] +-Encoding=UTF-8 +-Icon=skoosh.png ++Icon=skoosh + Name=Fifteen + Comment=Slide tiles to reveal a picture + Comment[fr]=Déplacez les tuiles pour révéler un dessin + Exec=skoosh + Terminal=false + Type=Application +-Categories=GNOME;Application;Game;PuzzleGame; ++Categories=Game; + StartupNotify=true + X-GNOME-DocPath=skoosh/skoosh.xml diff --git a/games-puzzle/skoosh/metadata.xml b/games-puzzle/skoosh/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/skoosh/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> diff --git a/games-puzzle/skoosh/skoosh-2.5.0-r1.ebuild b/games-puzzle/skoosh/skoosh-2.5.0-r1.ebuild new file mode 100644 index 000000000000..7c253aa83442 --- /dev/null +++ b/games-puzzle/skoosh/skoosh-2.5.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +GCONF_DEBUG="yes" + +inherit eutils gnome2 + +DESCRIPTION="Sliding tile puzzle for Gnome 2" +HOMEPAGE="http://homepages.ihug.co.nz/~trmusson/programs.html" +SRC_URI="http://homepages.ihug.co.nz/~trmusson/stuff/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND=" + >=gnome-base/gconf-2:2 + gnome-base/libgnome-keyring + >=gnome-base/libgnomeui-2 + nls? ( virtual/libintl ) +" +# needs scrollkeeper-preinstall from rarian to build +DEPEND="${RDEPEND} + app-text/rarian + nls? ( sys-devel/gettext ) +" + +src_prepare() { + # Fix .desktop file + epatch "${FILESDIR}/${PN}-2.5.0-desktop.patch" + + # Need to apply omf fix or else we get access + # violation errors related to sandbox. + gnome2_omf_fix "${S}/help/C/Makefile.in" + + gnome2_src_prepare +} diff --git a/games-puzzle/splice/Manifest b/games-puzzle/splice/Manifest new file mode 100644 index 000000000000..5020ad0eb2e6 --- /dev/null +++ b/games-puzzle/splice/Manifest @@ -0,0 +1,5 @@ +DIST splice-linux-1353389454.tar.gz 305838859 SHA256 5016610688f06fcc478b8669a0537614478e68077e044f21530066649830d331 SHA512 67a83a30bdb8ff0eecf9097bb4615053fcdb073daada4a24b61ae239ed56b7d2192247e80989c67554dcfcc1069c2105a6083f9fafffa4bbd66bbf29edad6a44 WHIRLPOOL 9139a3077c78331989128bfe6771c8bfe8c7f8af57712139df8ffd60d295a7bed8dd9dca0a09a35f96cb70407505f7d7b8137caa619f99d226735e37477fc1d6 +EBUILD splice-20121120.ebuild 1293 SHA256 8d8cb74fd03d32c8a34b00ba07a872d38cd1393609f8fa94edd57f183f94059f SHA512 728c0fea17faa50ef402482d5bd53305212ccf7b7e415fe335ef7793fa24b1787d3a1df51e8dbfca69f648d943c530a027ed374c4be3e7e3a873d4e5694e1eef WHIRLPOOL d4f6a50ccb2931c3916aa756f2b6535cb6a068473b13f32cc6ed087f523ed7ea51214eaa47cab16cd4d6977379f53263937148a55b66a5c831328a31861399c6 +MISC ChangeLog 2827 SHA256 d59847cf0af7d492a9f7f3a45a436ac603b3818e8cecbc6bf467c4cf5536fe91 SHA512 6d0c3089e1772bdbee72623589631445f09ab3075a8aff10bd0aed854fc914f2908a88c498e67eb3f29b37212a1c34fd87eed2b10cf69a54dddb1e8241fa58bf WHIRLPOOL 27c7adb68a9e3efbbc670931add6d725460f4f5905730d853b650f25ddb76652b2a197b32f25742ad9b45f77b524815d2c5885a44c37002b248bf436d40a616e +MISC ChangeLog-2015 970 SHA256 3ef444eed7ec36a820ab2eb26fc0c0a9ed4d2d0990d2c9d2be008b22a65ff3a9 SHA512 031c24ffc29bce46241891f3a8bc91c8b708df9aeed5f3fdf7551533f91c205659ce8f70b37c3be908c70a4ba30986a8ad6a24377e17262caea69089f5d4f464 WHIRLPOOL 35ff905081e006e8cc44896ed303b2df53cfe0700d56352c27dff83f64be5bc0720a1ba6e2f2a1fb52cd9fa1d262c356f1a2082241c4b2484de10f010065b0de +MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854 diff --git a/games-puzzle/splice/metadata.xml b/games-puzzle/splice/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-puzzle/splice/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> diff --git a/games-puzzle/splice/splice-20121120.ebuild b/games-puzzle/splice/splice-20121120.ebuild new file mode 100644 index 000000000000..bdd0623bddff --- /dev/null +++ b/games-puzzle/splice/splice-20121120.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: unbundle mono? (seems hardcoded) +# icon + +EAPI=5 + +inherit eutils games + +DESCRIPTION="An experimental and artistic puzzler set in a microbial world" +HOMEPAGE="http://www.cipherprime.com/games/splice/" +SRC_URI="splice-linux-1353389454.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/Splice* + ${MYGAMEDIR#/}/Splice_Data/Mono/*" + +RDEPEND=" + virtual/glu + virtual/opengl + x11-libs/libX11 + x11-libs/libXcursor + x11-libs/libXext" + +S=${WORKDIR}/Linux + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_prepare() { + einfo "removing ${ARCH} unrelated files..." + rm -v Splice.x86$(usex amd64 "" "_64") || die + rm -rv Splice_Data/Mono/x86$(usex amd64 "" "_64") || die + + rm README~ || die + mv README "${T}"/ || die +} + +src_install() { + dodoc "${T}"/README + + insinto "${MYGAMEDIR}" + doins -r * + + make_desktop_entry ${PN} + games_make_wrapper ${PN} "./Splice.x86$(usex amd64 "_64" "")" "${MYGAMEDIR}" + + fperms +x "${MYGAMEDIR}"/Splice.x86$(usex amd64 "_64" "") + prepgamesdirs +} diff --git a/games-puzzle/swell-foop/Manifest b/games-puzzle/swell-foop/Manifest new file mode 100644 index 000000000000..f8606f7554b5 --- /dev/null +++ b/games-puzzle/swell-foop/Manifest @@ -0,0 +1,7 @@ +DIST swell-foop-3.22.2.tar.xz 2294160 SHA256 6e0fedc98fb1191779db2de04cfa950357e81e3191164006412b09ad2ef64e67 SHA512 ada002a883c274cd834db825879cd5c16b222df39212843b0718f953256838af8689bec10a02133dcb140f3567b1a9203c73e1e0c6530469630df6dfdaf7167f WHIRLPOOL fe55c56770889759fdabd3b46746dbf723e4a06625e7e2a1b649be137e45b05431002558a9f48e2f1ecc942d154b157e004eabde0b9d0117671dcc6c01b4cbd5 +DIST swell-foop-3.24.0.tar.xz 2313656 SHA256 1b2d444e4d399e300afe07a243423c8b3ab1ca32828c749e0be9af48a5904a11 SHA512 470bcf9715e280b9cc7bba79d1d50e924416b6d29058ba0105aee48d30ee58971262e2304610334f92f2f6a9fc6983898047d3ad05443a2cb062e15564388ab0 WHIRLPOOL 81f82dd0a4837731c73d2a6def20998dedf419538829b4d4115daa50942baa4a5277682c38f34fb4ac0f4aec3cae300e26b94ee9b803937b1d66d3ef35cf44d1 +EBUILD swell-foop-3.22.2.ebuild 666 SHA256 66838bb58aa82d9a1400a627277e8c5ef839df806f6abea57aab5214090b3ba4 SHA512 e7730dbb331706d762d06dcc2d7fb57b07aac42ecb183040d6e4ae6867495d6ea76fdcc330f8068ba62d3ffb8aac4b01bfc1a883f22d5320ba65be0630a82352 WHIRLPOOL 0111b033f471e7a6f0bd6f4ad84a1638a8ebe810800d7e80ddc13958bc28d6502447e4a11a2de393f033fab8d24e6dd5b741ea663f36504b0174219bca454c6a +EBUILD swell-foop-3.24.0.ebuild 668 SHA256 c9e61ce0ce14babb950915f73a780cb5f4d401b1d2c6b98511077fa1d21e03f0 SHA512 0f0e778f98254b41e2cd59841df6866a21c2a70c59a0ec9517fb9f1def333a3b79f83833941e006e9a47e6a26addf5f7f061f4d8559fee7af2773d2b74ea7cfd WHIRLPOOL 9c372b88c4ee6b533ccbbd9a278605fbeeb2f82c2cfb61209926227a6cdd9271522e1aa70b8c35c9742872e822b57007e47fb9ea4628a82d1f21d1ab4385f2e0 +MISC ChangeLog 4981 SHA256 18c2839a207924009c9709372a9a36b681b713430ca2b222ba5c809072fa5cb0 SHA512 0169b164a43292ecce7394697a1daa4a5be99bdceb8af0a0f3371fb3976060be356971c7d4963e9c373a18a04b31640daa0d323de1d20cc8ccf1ca769154cfff WHIRLPOOL b7af4100ea2333f08c3b3405602e05d844cc7cc182c2a33eaf8cea83deb1dfdbca2e16093736487b8d9a42e4d77a00ad80d7c27b7f5ba0f9253770f8eca8121c +MISC ChangeLog-2015 2822 SHA256 63fa8a79362c8e33715a4af45c0b0b7cb73c0b6f66b37f247b1b1a21ecd0f24f SHA512 34937ffc8f5ad002a5f4a2a9aa6650ea72dfa0fed5f6867641e7c9335216dc04b42f2a78353a0468dee1db01ccc7347cdcc55f81e0beecaafe7b5d35a3dfa9d2 WHIRLPOOL 305074e570b958818d6b5c0dc460788c0f66d112b2e0bf630598c2cbafc5e4232c3cd90dade62fc12f40eb046f86be8adb5f70ef89ca7e64de9e9d9317e74756 +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/games-puzzle/swell-foop/metadata.xml b/games-puzzle/swell-foop/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-puzzle/swell-foop/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>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/games-puzzle/swell-foop/swell-foop-3.22.2.ebuild b/games-puzzle/swell-foop/swell-foop-3.22.2.ebuild new file mode 100644 index 000000000000..03c0f5ad7250 --- /dev/null +++ b/games-puzzle/swell-foop/swell-foop-3.22.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 vala + +DESCRIPTION="Clear the screen by removing groups of colored and shaped tiles" +HOMEPAGE="https://wiki.gnome.org/Apps/Swell%20Foop" + +LICENSE="GPL-2+ FDL-1.1+" +SLOT="0" +KEYWORDS="amd64 ~arm x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=media-libs/clutter-1.14:1.0 + >=media-libs/clutter-gtk-1.5:1.0 + >=x11-libs/gtk+-3.12:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/swell-foop/swell-foop-3.24.0.ebuild b/games-puzzle/swell-foop/swell-foop-3.24.0.ebuild new file mode 100644 index 000000000000..4cd22bac69b7 --- /dev/null +++ b/games-puzzle/swell-foop/swell-foop-3.24.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 vala + +DESCRIPTION="Clear the screen by removing groups of colored and shaped tiles" +HOMEPAGE="https://wiki.gnome.org/Apps/Swell%20Foop" + +LICENSE="GPL-2+ FDL-1.1+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.36:2 + >=media-libs/clutter-1.14:1.0 + >=media-libs/clutter-gtk-1.5:1.0 + >=x11-libs/gtk+-3.12:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-puzzle/tanglet/Manifest b/games-puzzle/tanglet/Manifest new file mode 100644 index 000000000000..225feceaeadb --- /dev/null +++ b/games-puzzle/tanglet/Manifest @@ -0,0 +1,6 @@ +AUX tanglet-1.3.1-datadir.patch 732 SHA256 58136f0cc97f0cd16c43443c15ec6cc268f6a9eb50c1e7bb3c8e39fd5f7c1f19 SHA512 35442f4b9bfe344c7168048ccd7d0742319b6ab3078d9df13fe66455d45b31a5bb01f7e4ad05b4ba25c83046bfe1428f6a2271231130c433ceac1b18fd405414 WHIRLPOOL c083764d1401ee11b18f70e8d464980b99dfbb1c544eb15ea2220509de61c1e9e0046d0b9337efd8d47b8642348a071f2ac8da33563d53038d73bb7611365f54 +DIST tanglet-1.3.1-src.tar.bz2 8461603 SHA256 d0eab174eaa8cdd5f3499ae275db4cd720172ef28346273db7f5988f2304e0d8 SHA512 b939ca45f26baf8e7e32da8775e673707472e5cd07d344642eeb15986ff99319e0ab1bacf78e2ea49f004ec67a6d081a91c939cf7c75228a195654d429235625 WHIRLPOOL e2ee97327b95b502b603c953c4b42636fd060f8476bd0787f4d7527c9ebf04774868bd0f923f5b7e89e24e4123143b87e8d9859087685fd62d83c46da26b145d +EBUILD tanglet-1.3.1.ebuild 1351 SHA256 a63009527c4e2d29f1ddccd8cd516f67f6657dfc0c19afad816d35a8090d8fb2 SHA512 1e8c2208414882aed6bf72040cddfb91652fd7886324a15170e965d33ea0022e35a4a601a649cf7ad0e844a88b0a165f4c71a3bf18fa1468965405b0a2b338d8 WHIRLPOOL 7bea3575a1221702d0d4dab889dbef5b8b34bba8907c200494f19e84eaefc4330c500ddc6e3aa6ddcf044eeb798397c6b1eb6f9aec7b0f8884bb05e882cac894 +MISC ChangeLog 3343 SHA256 3759baa380e377f070793a54d2815995c835415a0d9f2cc2a6443646bb603f62 SHA512 f17241c3d96301c17d3425dafe84c72ebc017650fea4732a996a17ea5fa9654969eed4df65eed598d6f96cfc0e3c664fcf9d0dcf7d6e0b3afd8cf6a529150a87 WHIRLPOOL 757011db35fd4ea174e6dc4057f2fa99998db8b94333423e1fa337b4dbcbbde614edd715b72c14367be8ef0197fe1e8bee79dcc9e8321f6242e50b58fd397c5c +MISC ChangeLog-2015 3214 SHA256 2d56ffb1c8514c72c98f34b6cb92a918855c96e6ad42fa425ab34512cad24a3b SHA512 9416bf6d6de6b55f69b8da5531f847eec9857caf7e4396b5955561179bb318b6bcb771f9dc5413bcea3eb770d1dc87ecd25848e2c411236152526fb6966f3062 WHIRLPOOL 44228d4067c9b7bd315d31b9041223b71cd83d36f3e7056f0b00764753e58de87b82e97f594484612402e67caa3ddcf69d9dcb4f5c682db19fcda2958f17482d +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch new file mode 100644 index 000000000000..6e5b46d7c7e0 --- /dev/null +++ b/games-puzzle/tanglet/files/tanglet-1.3.1-datadir.patch @@ -0,0 +1,22 @@ +--- src/locale_dialog.cpp.old ++++ src/locale_dialog.cpp +@@ -85,7 +85,7 @@ + if (paths.isEmpty()) { + QString appdir = QCoreApplication::applicationDirPath(); + paths.append(appdir); +- paths.append(appdir + "/../share/" + QCoreApplication::applicationName().toLower()); ++ paths.append("@GENTOO_DATADIR@"); + paths.append(appdir + "/../Resources"); + } + foreach (const QString& path, paths) { +--- src/main.cpp.old ++++ src/main.cpp +@@ -46,7 +46,7 @@ + QString path = app.applicationDirPath(); + QStringList paths; + paths.append(path + "/data/"); +- paths.append(path + "/../share/tanglet/data/"); ++ paths.append("@GENTOO_DATADIR@/data/"); + paths.append(path + "/../Resources/data/"); + QDir::setSearchPaths("tanglet", paths); + diff --git a/games-puzzle/tanglet/metadata.xml b/games-puzzle/tanglet/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/tanglet/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> diff --git a/games-puzzle/tanglet/tanglet-1.3.1.ebuild b/games-puzzle/tanglet/tanglet-1.3.1.ebuild new file mode 100644 index 000000000000..f4b75b9ca69d --- /dev/null +++ b/games-puzzle/tanglet/tanglet-1.3.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +LANGS="cs de es en fr he hu it nl ro tr uk" +LANGSLONG="es_CL" +inherit eutils gnome2-utils qmake-utils games + +DESCRIPTION="A single player word finding game based on Boggle" +HOMEPAGE="http://gottcode.org/tanglet/" +SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="sys-libs/zlib + dev-qt/qtcore:5 + dev-qt/qtwidgets:5 + dev-qt/qtgui:5" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-datadir.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + src/locale_dialog.cpp \ + src/main.cpp || die +} + +src_configure() { + eqmake5 tanglet.pro +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r data + #translations + insinto "${GAMES_DATADIR}"/${PN}/translations/ + for lang in ${LINGUAS};do + for x in ${LANGS};do + if [[ ${lang} == ${x} ]];then + doins translations/${PN}_${x}.qm + fi + done + done + + insinto /usr/share/icons + doins -r icons/hicolor + + dodoc ChangeLog CREDITS NEWS + + doicon icons/${PN}.xpm + domenu icons/${PN}.desktop + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/tetrinet/Manifest b/games-puzzle/tetrinet/Manifest new file mode 100644 index 000000000000..b3613fdeff9a --- /dev/null +++ b/games-puzzle/tetrinet/Manifest @@ -0,0 +1,7 @@ +AUX tetrinet-0.11-build.patch 2331 SHA256 1ebadb8011e4ad3015b994f8de1da656b8f7d1669437efbd0d0bb3b5b7843070 SHA512 e56a43ef53d9df84c4ba49b39ba2d77f99de1b616f9e81e105d4c49553b909f418f74cb13d431dbd658c41c99388321e0806dbeb63294817ec85f7148f2d2ae0 WHIRLPOOL 7f1518db81e8e677b1739524b944569a59f1bfd7e139847077305cfa0c1c69ad732c86f41b9c3aed0e14d2d105856de8ece48fb2685d914dd99199970cd26c93 +AUX tetrinet-0.11-no-ipv6.patch 185 SHA256 ad1d66cb1289030900cdf54f9706ed5078be4552ed5e4092248f3e309bcb1874 SHA512 1851623b20e2685548650d54f290a49f9572b65a2293848c0d83a6fdc1c1256ebcdd0f737b2f32f7fb4bd921aa69c17e7120cfc8acb1d8c5a97342741964890f WHIRLPOOL 340f01e3a0d88d417b0d06400a465fa1e3e7b72af84d7b0bc60292e86a65c1ade406bfc9fb1b22d11781df8d72d00b524f8059de4ec560e0813fa99537d72c2b +DIST tetrinet-0.11.tar.bz2 38607 SHA256 a7a32da072d0a7bb9f1a61ced5641336924c314692ed8ac3394147f3716b972c SHA512 8123a8c50a3c1b6326d3209272a60c8050afd2a9eb455814fd676d8c4de922f8b81a88df9e4825d1ff5e0c8b8a7ac46ebe9ce68994587f829e047a3d889880fa WHIRLPOOL c0331f1fb42560a46711c6545f0df4b2bdca7bc1694a0c3ff0f1fc14f4cd483dc13b993b8488909eff9ddc94cc7b8c7ed93da64227bfe70dd6da1afeefb2fea1 +EBUILD tetrinet-0.11.ebuild 718 SHA256 cd59794a586613df12ba8a4fd669e54047b24a7c436d655c037f1ac690cff93e SHA512 4281aa1d2eddefab7e099c73c182226dba945137e0367b8e0f5f37a8c68dedf332c30f767ac5f056c420cfb7d563545d4db470fd6b32277ee6974cde6594ccaa WHIRLPOOL b890f97fbfd7bad9398681b757ae3cd60d6fc8e50a775dd851946519ea43efdc5445c8e4fe34721dd23d4656ebb3120e246c9fefe6b0feda7a46409077ef9d07 +MISC ChangeLog 2659 SHA256 80eadb880a143b1efe1e2810b4fc38874e15780bba89a7361f7e2efffc1b3cca SHA512 3e1a09ee4129ed6a64f1d7d4e587f69d520406d520cd3f77f939eef9c82d912b9f5d20f073ad2a949ca12840df34d264dbbe616224ede11bdfb2a5ac53b54b04 WHIRLPOOL 013ee5d4f37bbdbf110a815ea04b3e0cd1b11157ea5d9aae6588ebd42734242c756f41d0547e1445ff140db6ddd5ec36e1b9e5407da62865572283f195239ed5 +MISC ChangeLog-2015 1760 SHA256 6f8f782cdd478a6bb40a3100b4eb766fe4e711dbf25fb45cfa583dcbf0e5e768 SHA512 cb6a28d72f0d3287c52dfa03a6686c3ddd5f6be3e1deb8c5160af7a3743a70bca6deff1b6d6f8d14238240e9a897e880ceff6c14e8ba42f0c2270dd830cd5e77 WHIRLPOOL f21fcd3a852c955bfe29cc7abfc4132ce030fe8abdf6f75f32d4dedc245b28bdceb1d1e1846c84bbd40fb9fe87b7dc3b4b87de1a6358c33df99e02b9fd44b930 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/tetrinet/files/tetrinet-0.11-build.patch b/games-puzzle/tetrinet/files/tetrinet-0.11-build.patch new file mode 100644 index 000000000000..0540b7bc8ce9 --- /dev/null +++ b/games-puzzle/tetrinet/files/tetrinet-0.11-build.patch @@ -0,0 +1,84 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,4 @@ +-CC = cc +- +-CFLAGS = -O2 -I/usr/include/ncurses -DHAVE_IPV6 -g -Wall ++CFLAGS += -I/usr/include/ncurses -g -Wall + OBJS = sockets.o tetrinet.o tetris.o tty.o xwin.o + + ### If you want to have -server tetrinet client option, comment the two lines +@@ -24,10 +22,10 @@ + ######## + + tetrinet: $(OBJS) +- $(CC) -o $@ $(OBJS) -lncurses ++ $(CC) $(LDFLAGS) -o $@ $(OBJS) $(shell ${PKG_CONFIG} --libs ncurses) + + tetrinet-server: server.c sockets.c tetrinet.c tetris.c server.h sockets.h tetrinet.h tetris.h +- $(CC) $(CFLAGS) -o $@ -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c + + .c.o: + $(CC) $(CFLAGS) -c $< +--- a/sockets.c ++++ b/sockets.c +@@ -66,7 +66,7 @@ + if (c == 0xFF) + ptr--; + *ptr = 0; +- if (log) { ++ if (logging) { + if (!logfile) + logfile = fopen(logname, "a"); + if (logfile) { +@@ -89,7 +89,7 @@ + unsigned char c = 0xFF; + int n = 0; + +- if (log) { ++ if (logging) { + if (!logfile) + logfile = fopen(logname, "a"); + if (logfile) { +--- a/tetrinet.c ++++ b/tetrinet.c +@@ -21,7 +21,7 @@ + /*************************************************************************/ + + int fancy = 0; /* Fancy TTY graphics? */ +-int log = 0; /* Log network traffic to file? */ ++int logging = 0; /* Log network traffic to file? */ + char *logname; /* Log filename */ + int windows_mode = 0; /* Try to be just like the Windows version? */ + int noslide = 0; /* Disallow piece sliding? */ +@@ -82,8 +82,7 @@ + else + winlist[i].team = 0; + s++; +- strncpy(winlist[i].name, s, sizeof(winlist[i].name)-1); +- winlist[i].name[sizeof(winlist[i].name)] = 0; ++ snprintf(winlist[i].name, sizeof(winlist[i].name), "%s", s); + winlist[i].points = atoi(t); + if ((t = strchr(t, ';')) != NULL) + winlist[i].games = atoi(t+1); +@@ -590,7 +589,7 @@ + if (strcmp(av[i], "-fancy") == 0) { + fancy = 1; + } else if (strcmp(av[i], "-log") == 0) { +- log = 1; ++ logging = 1; + i++; + if (i >= ac) { + fprintf(stderr, "Option -log requires an argument\n"); +--- a/tetrinet.h ++++ b/tetrinet.h +@@ -74,7 +74,7 @@ + /* Externs */ + + extern int fancy; +-extern int log; ++extern int logging; + extern char *logname; + extern int windows_mode; + extern int noslide; diff --git a/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch b/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch new file mode 100644 index 000000000000..addfd9a0047c --- /dev/null +++ b/games-puzzle/tetrinet/files/tetrinet-0.11-no-ipv6.patch @@ -0,0 +1,11 @@ +--- a/sockets.c ++++ b/sockets.c +@@ -188,7 +188,7 @@ + return -1; + } + if (ipbuf) +- memcpy(retbuf, &sa.sin_addr, 4); ++ memcpy(ipbuf, &sa.sin_addr, 4); + #endif + + return sock; diff --git a/games-puzzle/tetrinet/metadata.xml b/games-puzzle/tetrinet/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/tetrinet/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> diff --git a/games-puzzle/tetrinet/tetrinet-0.11.ebuild b/games-puzzle/tetrinet/tetrinet-0.11.ebuild new file mode 100644 index 000000000000..8dbd03ce0c4d --- /dev/null +++ b/games-puzzle/tetrinet/tetrinet-0.11.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic toolchain-funcs games + +DESCRIPTION="console based tetrinet inc. standalone server" +HOMEPAGE="http://tetrinet.or.cz/" +SRC_URI="http://tetrinet.or.cz/download/${P}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="ipv6" + +RDEPEND=">=sys-libs/ncurses-5:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-no-ipv6.patch \ + "${FILESDIR}"/${P}-build.patch + + use ipv6 && append-cflags -DHAVE_IPV6 + tc-export PKG_CONFIG +} + +src_install() { + dogamesbin tetrinet tetrinet-server + dodoc README TODO tetrinet.txt + prepgamesdirs +} diff --git a/games-puzzle/textmaze/Manifest b/games-puzzle/textmaze/Manifest new file mode 100644 index 000000000000..a7c3f3a75fae --- /dev/null +++ b/games-puzzle/textmaze/Manifest @@ -0,0 +1,5 @@ +DIST textmaze_v1.2.tar.gz 15827 SHA256 8dbd57584a57855bf052a47d366402cbd6257a546a5ae8e1166bdd91d0a6c0ad SHA512 f6a2733049ea461f15b40eec4a414356dbfe252d859d132278d9ea8a4efcdc6753a28817529b429bad662a2042f2f7cd5cb1f2383d9ddbf773c76b80ea2af7d9 WHIRLPOOL 697b12ca5d710c35b02efba0a6764c75b259c97470695e1dca1aa6ca6a26d52e67281e4124be22f27ea27ff0ae6ede6aab44f9933d33b14b42ac8ed596b88131 +EBUILD textmaze-1.2.ebuild 609 SHA256 83253c42db34c1fc1fda2347a6c6670ccd325f3a30bf32ed7c3fee588670539d SHA512 79444ff0afb68feb7c0c966be3379d1c676ecaa44b71c6ede53c09ba9f651c34e8558376dfdc24236e5e2e2f720902222fc900fda3cb025aba75fc5213f59f10 WHIRLPOOL accacefa128ac7ea2b29c3a2cac14a85ab60d3d8e9e5326cf4175d0fd29e47fcdad3771df1536fe4c755d96af40cbf0624d625ca9de7ef647bd5229b0c1aed01 +MISC ChangeLog 2430 SHA256 30e48a698879e43e1c36aa7ac1caf90fdf922936ccc1619441d9af55934198a3 SHA512 157c1e583b0543ab2bbd95ed9f4f172f838d927b132ae417c819a245f954c679e75907e2c9d8a2ab9b3888ff6e150981a9085f2eb7f5723cc08d03027ecca6f5 WHIRLPOOL 15d205271f2b37c3811a261e073bb6a2f6d2487dea6db761edb7aa366ed235939004ce0494b4c9e67b5f9c84154436ab250e93e7e2d06b86153e50e941b6447f +MISC ChangeLog-2015 1141 SHA256 cdeab9ac54adc4e917ecd039259b350a44af2ed24492bc1787a7405a00330024 SHA512 bc38d4965836e8fa6b3f825d6883fb9654d0af3332dfcebfdde4b094079df70ab860209c91dc085062d4858e31eb7650650afb113db89edaa8e2368612f9726c WHIRLPOOL ee90baaf73a689e20d93e80a8a35e0bd210d92ec706fdd44d0884d942285a3e4f97d513f22e431414c8c3c89f891710722ba3429242aaec2acc97f00cdbaaaa1 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/textmaze/metadata.xml b/games-puzzle/textmaze/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/textmaze/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> diff --git a/games-puzzle/textmaze/textmaze-1.2.ebuild b/games-puzzle/textmaze/textmaze-1.2.ebuild new file mode 100644 index 000000000000..46d3ca9b22ea --- /dev/null +++ b/games-puzzle/textmaze/textmaze-1.2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +MY_P=${PN}_v${PV} +DESCRIPTION="An ncurses-based maze solving game written in Perl" +HOMEPAGE="http://robobunny.com/projects/textmaze/html/" +SRC_URI="http://www.robobunny.com/projects/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="dev-perl/Curses" + +S=${WORKDIR}/TextMaze + +src_prepare() { + sed -i \ + -e "s#/usr/local/bin/perl#/usr/bin/perl#" \ + textmaze || die +} + +src_install() { + dogamesbin textmaze + dodoc CHANGES README + prepgamesdirs +} diff --git a/games-puzzle/tint/Manifest b/games-puzzle/tint/Manifest new file mode 100644 index 000000000000..02390394ba15 --- /dev/null +++ b/games-puzzle/tint/Manifest @@ -0,0 +1,6 @@ +AUX tint-0.03b-ovflfix.patch 1021 SHA256 1eba68c1f76105f2ef7ec6eb43729df7800242501868b06b1f713f6796a5b19e SHA512 da4d5871b46c57ee5e37f0a4b6e779c33bf7b5c45dcba281b84ccad308195d9b2498489ee22f105e6eef00274cf60757855ab9aa91a146f19159713971b828bf WHIRLPOOL c45dc9a14c1c9fb9e2c1676b3ce3cfe11d20a02fc008ff4cb2b4f0d7e2afe8097397717bbf68fbf135e70bc48325d43aa045b58a4d36acc2b630d4d654daf922 +DIST tint_0.03b.tar.gz 16909 SHA256 f43fc82c5d16954a85ef532b0771599902cea86d8d9eea044e5b7454db91419c SHA512 f442122248987a4f2843e0abe3ed4b3fcecbb6024aad2b486087468c84d80f94310dcf4a37a3d93a647d0abe9aaf10e7d957c88ec6314c25a9fd90d4dfc16ec1 WHIRLPOOL 0828a78940d54070d7d5199d49a13dd61132c06e2ed54645a9d278cc9bc78ef7cbcfe26d0a700ebd500d3828ea6376b4170fb63593fca2b8c537d603127d18eb +EBUILD tint-0.03b.ebuild 826 SHA256 cefdc15672d9deeb45a7e362581c3ad9eb10e915af14c623fcb6cfa913804590 SHA512 579d89cd830dc8d1ae15ddef46d39f9014f71f85290a39a1d024a1423b8f96e64e697563f0e696e10b8f80670245676a3a6a2dc935f88f1728e4ca35867cbb1e WHIRLPOOL ab9935572c1421c4008cddfac92328908bd31494c9868815e26779507ae85a3089d5e559dba70f4068c7b9e8a0a44ae4017e159a61842f055d592b36a6e28914 +MISC ChangeLog 2595 SHA256 6c89ad6e32b42a64bdefab806d876e24fdf1d2815e3c61eecf24853767ec1830 SHA512 d83b2280fc94864134e8a9654cb0445d0e2f46147a6ecd3c1e9a1e1014cc0460bbea007f3fd44814408f78288ee38986f1bc65083fb07911e60881341d92c3bb WHIRLPOOL a22535bca4b3ba2999bf475f86599dda415be5fc51f90e6b1980a5415e07e402000623c018193787f0d3d6f362bc5a9f40710b3ddd3c3f6657549dce6f41db2f +MISC ChangeLog-2015 2117 SHA256 9a928cbd6f494efaaa59fa9d3934b6e64cf0ea2a45615c4334bf51563bc4103d SHA512 2e28a01871276681d2529c6a31f031045016a7c089697d9c531150b712e6d2c8b71ff67e98a0e7754203042b28f4258734a52f9c02c2bed37e3e2b6226d6cf69 WHIRLPOOL d61cae28d33db7f9eb2e381dcddc0b4050a63720cd40e0314a32be78a6b5c70bf19a30acdb2b8477e201599535c8e81c0883f94841ab7cfaa3333cc199e79ed1 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/tint/files/tint-0.03b-ovflfix.patch b/games-puzzle/tint/files/tint-0.03b-ovflfix.patch new file mode 100644 index 000000000000..341f027999ce --- /dev/null +++ b/games-puzzle/tint/files/tint-0.03b-ovflfix.patch @@ -0,0 +1,33 @@ +diff -ru tint-0.03b.orig/io.c tint-0.03b/io.c +--- tint-0.03b.orig/io.c 2001-12-07 10:48:20.000000000 -0500 ++++ tint-0.03b/io.c 2010-11-08 13:40:16.786841434 -0500 +@@ -39,7 +39,7 @@ + #define NUM_COLORS 8 + + /* Number of attributes defined in io.h */ +-#define NUM_ATTRS 7 ++#define NUM_ATTRS 9 + + /* Cursor definitions */ + #define CURSOR_INVISIBLE 0 +diff -ru tint-0.03b.orig/tint.c tint-0.03b/tint.c +--- tint-0.03b.orig/tint.c 2005-07-17 07:26:43.000000000 -0400 ++++ tint-0.03b/tint.c 2010-11-08 13:40:04.225203170 -0500 +@@ -365,7 +365,7 @@ + FILE *handle; + int i,j; + score_t scores[NUMSCORES]; +- char header[strlen (SCORE_HEADER)]; ++ char header[strlen(SCORE_HEADER) + 1]; + if (score == 0) return; /* No need saving this */ + for (i = 1; i < NUMSCORES; i++) + { +@@ -418,7 +418,7 @@ + FILE *handle; + int i,j,ch; + score_t scores[NUMSCORES]; +- char header[strlen (SCORE_HEADER)]; ++ char header[strlen(SCORE_HEADER) + 1]; + time_t tmp = 0; + if ((handle = fopen (scorefile,"r")) == NULL) + { diff --git a/games-puzzle/tint/metadata.xml b/games-puzzle/tint/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/tint/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> diff --git a/games-puzzle/tint/tint-0.03b.ebuild b/games-puzzle/tint/tint-0.03b.ebuild new file mode 100644 index 000000000000..779ef88c96d3 --- /dev/null +++ b/games-puzzle/tint/tint-0.03b.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 + +MY_P=${P/-/_} +DESCRIPTION="Tint Is Not Tetris, a ncurses based clone of the original Tetris(tm) game" +HOMEPAGE="http://oasis.frogfoot.net/code/tint/" +SRC_URI="http://oasis.frogfoot.net/code/tint/download/${PV}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=sys-libs/ncurses-5.4-r1:0" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-ovflfix.patch +} + +src_compile() { + emake \ + STRIP=true \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + localstatedir="${GAMES_STATEDIR}" +} + +src_install() { + dogamesbin tint + doman tint.6 + dodoc CREDITS NOTES + insopts -m 0664 + insinto "${GAMES_STATEDIR}" + doins tint.scores + prepgamesdirs +} diff --git a/games-puzzle/tiny-and-big/Manifest b/games-puzzle/tiny-and-big/Manifest new file mode 100644 index 000000000000..f2e6fd2f7077 --- /dev/null +++ b/games-puzzle/tiny-and-big/Manifest @@ -0,0 +1,5 @@ +DIST tinyandbig_grandpasleftovers-retail-linux-1.4.1_1370968537.tar.bz2 1170058011 SHA256 6ff9053399145996da000991a3ac723523d5b6224c9b74ec59b4deb2de38846f SHA512 3dbf6ebbe6047f5258f482e776809c6817df8d14cfc20014fb6e4a6accc3db3e93051270ce29371bc0ef56d380bd382dbf8eb75b592c3f0097ca3546d889193e WHIRLPOOL 910ebeb6df0b6c9ad5289f6c40bf27135207a57e27b6dfd3352968ba6078155ee1d806b750fa428f1e97d7b9e6e8a9081934cedcf36f7d62aae35afe5300c0db +EBUILD tiny-and-big-1.4.1.ebuild 1387 SHA256 74547909d081af1517426ea22c1f27c426154a260a38f3316cd0d2e7f144dd32 SHA512 24d307990b77584534529d3adca9c3537026dda64c498784e4ccfd069371eeb9628a98e5cf77180013fd0f44c78b9678cbd0340ac270987e33abf6d307feb34b WHIRLPOOL 1db3c69e16b7dd8459a30c26ab3c621213793c97d25254895e91101e15d7684ef9e8b724543623ae6bd650d4a6ee2ce144709f2abf612537dece131c416ab04a +MISC ChangeLog 2839 SHA256 e090c8d044b25e4fb203c44024eabe1a01876cb7135886de66d046f71dfc5032 SHA512 854aa998d824c7acd01660eb64ef384b7df622c8a1f10cae99f615bad5f9b6f837d89c1d042f8777171d29fc5db3e89e92f6fe3edeacd195132092412bcb250e WHIRLPOOL 34aad0c580554bec415d598689798af6b9d0a2811be1d7458db819210d0dec38cc332a172d1939686f6c008c17e807eb32a6ea7352ebe4313e522420f8f6ed21 +MISC ChangeLog-2015 680 SHA256 c4bfe15deea366db52d59ff2a1b67fe43843494f2899b81b7af88115a529f41c SHA512 e36e34f12a75e936a20902d2720fe1c0d8984a6990e5858719749a95099579b56d10fbd8c79935b56ff6c4ee2b273b5ae1dbfe880981a2d80b6e1b5b51f42049 WHIRLPOOL 636dbdeeb695132cfc145040addf841272800ce8a2421e3eafd1b4630176f5551944574d47bc9c0ec5648dc37a8d19f7676f3b8f3162241b590656ad960dc82c +MISC metadata.xml 355 SHA256 3fe59ecadf91cdd661b063661864ef57eb3df8d59bd55a2eb9e61dc1a75e5bd8 SHA512 78f8cc8f1f1be915da206e4b8be196a21b58a6f209023594755e481136a1b86ee31c8d0dfedd516d756a47db624e89728875b073b71c3b08ac94a5cde8ff3b83 WHIRLPOOL adc2ef67e7870008ce851a78268832c5ff50649850b2614fb66edd3a16ccbad441306f00c44000385a742552b91b4a805408b19aad2ef3b7dda9e86532703dba diff --git a/games-puzzle/tiny-and-big/metadata.xml b/games-puzzle/tiny-and-big/metadata.xml new file mode 100644 index 000000000000..b878aaa1812d --- /dev/null +++ b/games-puzzle/tiny-and-big/metadata.xml @@ -0,0 +1,13 @@ +<?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="bundled-libs"> + Use the upstream provided bundled libraries. + </flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild b/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild new file mode 100644 index 000000000000..e73c0193d97a --- /dev/null +++ b/games-puzzle/tiny-and-big/tiny-and-big-1.4.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: unbundle media-libs/cal3d, lib hacked or old version + +EAPI=5 + +inherit eutils games + +DESCRIPTION="Combines elements of adventure, jump&run and physical puzzles" +HOMEPAGE="http://www.tinyandbig.com/" +SRC_URI="tinyandbig_grandpasleftovers-retail-linux-${PV}_1370968537.tar.bz2" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* amd64 x86" +IUSE="bundled-libs" +RESTRICT="bindist fetch bundled-libs? ( splitdebug )" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/bin32/* + ${MYGAMEDIR#/}/bin64/*" + +DEPEND="app-arch/bzip2" +RDEPEND=" + virtual/opengl + media-libs/openal + x11-libs/libX11 + !bundled-libs? ( + media-gfx/nvidia-cg-toolkit + )" + +S=${WORKDIR}/tinyandbig + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" + einfo +} + +src_prepare() { + if use !bundled-libs ; then + rm -v $(usex amd64 "bin64" "bin32")/libCg{,GL}.so || die "unbundling libs failed!" + fi +} + +src_install() { + local bindir=$(usex amd64 "bin64" "bin32") + + insinto "${MYGAMEDIR}" + doins -r assets ${bindir} + + games_make_wrapper ${PN} "./${bindir}/tinyandbig" "${MYGAMEDIR}" "${MYGAMEDIR}/${bindir}" + make_desktop_entry ${PN} "Tiny & Big" + dodoc readme.txt + + fperms +x "${MYGAMEDIR}"/${bindir}/tinyandbig + prepgamesdirs +} diff --git a/games-puzzle/tod/Manifest b/games-puzzle/tod/Manifest new file mode 100644 index 000000000000..60cf0b9f381d --- /dev/null +++ b/games-puzzle/tod/Manifest @@ -0,0 +1,6 @@ +AUX tod-0-makefile.patch 332 SHA256 9a926f5d94960da1a74abaefb456b2222f5389cae01c52787c7205450a712585 SHA512 2490154631db2fc66bdd6ea9dfd8e584625b2b416395450b2e054d13d9ea5b327cbed4fcc66e6586f4746a21429ed709f05cfb8c7c6a5e171c1a001663a4d245 WHIRLPOOL 0801224837d052da795dff62f45e5d69df99da752d0c27d80643e6e45dd628d413bfd97ddf94f80082dd389492cc3975e01e53dfdf3700d481ec8d0fc809665c +DIST wintod.zip 115653 SHA256 92265cd3266f5deecca8aba1f00bd68af2e758e9b00cd97f92ff487d05524686 SHA512 8cc203d9745cc4855c58c2f9119d06a1f02e1ecb9c1cc2c1dc1f1c77e5aa0553925bdcba3d744db462bbc77f3637a42e35a579a8807c8098aa2fde7452cc30cc WHIRLPOOL 4a3c2dd4d7a787d7b22c74ddf8db331a776677c2b32546d6f237df0bf46970404018edb6d1beb9865db2f1e6d91e6648a421e10ebd58d9f3c8466abcc88c2f83 +EBUILD tod-0.ebuild 751 SHA256 ca32f8a3fe6e61e5b13b434e65982eb82aea55b6faad3923747cee9d2890a09e SHA512 47d9f0d570173159f14118683878c9bedf54d0d11ea6309b9ca4c8ffe33b5f6a8dbbc0d1d7ee81f5b2ccae7482661c22eecbef94ad70d10925f00cff97b998fe WHIRLPOOL bb6c2555dc82afa461a1430cc44530ba5a3f7fa7d6e3acea26dc407d112f770bcf6e515974572e3b3fc166334f48a44760ec0225e75a53f6dc1c5126eb9d53aa +MISC ChangeLog 2440 SHA256 32f800c5c4e84b66db52139fecf648f6337094b0d3a4099818d8b5ab4be8e4c2 SHA512 a0c9cef87024d7bff04db44f8fcfe22739d52af7f3550de46bc2728ea6a71e3bcbf0fd53ab324d5650e7c97d9f6ffc4f40b29cc94b9cdf5ee081fbb3004d4aa0 WHIRLPOOL 23297938aac7121d1dd712d23e5d919ee53a16cff88ecd59b16db85dfb46daa3dcb0eeb54b51e69315ebf3e6a70dde5e48e05b35c6dc7f2ca2fe74f45f3ebfe0 +MISC ChangeLog-2015 944 SHA256 2a468e79481f9898310141bfcb9cafcc53e3d2c7215dd5786aea7d86f64f7301 SHA512 79bb009bd21cd0563de5246912690b727ff16e2e6eeb7a2b30a34e9ae551ffa3de9b12dbf873f12aa7f58511664386d387a7911452cbf7b8a9d5ccaa22474f1a WHIRLPOOL 47b89dca709a566cf29890a042e5b66db03e8c28e177da1e78bb6dd9cae33327f98cf08c17026014e326fd922af4ff752343d6079efa069d9c425daea73bc23c +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/tod/files/tod-0-makefile.patch b/games-puzzle/tod/files/tod-0-makefile.patch new file mode 100644 index 000000000000..cd17d1cce42b --- /dev/null +++ b/games-puzzle/tod/files/tod-0-makefile.patch @@ -0,0 +1,13 @@ +--- makefile ++++ makefile +@@ -1,8 +1,7 @@ + OBJ = hiscore rec scrctl tetanus crc allegdlg hgrcos
+ HEADS = tod.h allegdlg.h crc.h hgrcos.h hiscore.h
+-LIBS = -lalleg
+-CFLAGS = -Wall -march=i486 -mcpu=i686 -O3 -ffast-math
+-LDFLAGS = -mwindows
++LIBS = `allegro-config --libs`
++CFLAGS += `allegro-config --cflags`
+ CC = gcc
+
+
diff --git a/games-puzzle/tod/metadata.xml b/games-puzzle/tod/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/tod/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> diff --git a/games-puzzle/tod/tod-0.ebuild b/games-puzzle/tod/tod-0.ebuild new file mode 100644 index 000000000000..17121aad8296 --- /dev/null +++ b/games-puzzle/tod/tod-0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Tetanus On Drugs simulates playing a Tetris clone under the influence of hallucinogenic drugs" +HOMEPAGE="http://www.pineight.com/tod/" +SRC_URI="http://www.pineight.com/pc/win${PN}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/allegro:0[X]" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + sed -i \ + -e "s:idltd\.dat:${GAMES_DATADIR}/${PN}/idltd.dat:" \ + rec.c || die +} + +src_install() { + newgamesbin tod-debug.exe tod + insinto "${GAMES_DATADIR}"/${PN} + doins idltd.dat + dodoc readme.txt + prepgamesdirs +} diff --git a/games-puzzle/tong/Manifest b/games-puzzle/tong/Manifest new file mode 100644 index 000000000000..bfb4be9e8b8b --- /dev/null +++ b/games-puzzle/tong/Manifest @@ -0,0 +1,8 @@ +AUX tong-1.2-datadir.patch 1105 SHA256 2948094ac5ad181594ae80e66c459fc5c860c66e7e9f54d3bb7fd1c8807851d6 SHA512 68b59062fb9c5c12eb2af7a1f4cdc47cff0ef1a656323b8fe28175931984c4336e5a763b5f6df32120311d4f84bc084341e455a29f19941d6a27b076e1213c6d WHIRLPOOL 2669a7ec474ac3aaeba2cf217244f96e9edb6271a1283646978fa507847ae2007311f59a04cee8421a692cfb9ac83ad4f0d932d6cf72ee3d080684fc07ddfcf5 +AUX tong-1.2-fps.patch 553 SHA256 a5ee4809b73f965275dd1dd8ae7ed96fc1e7bd9dfb19f86b8be1d0a271657eb0 SHA512 789be3f3742d12166e58717dec9890f9051a86ae6aca072046c6874397f6cbb0d604fc4127228ac258dceab2425777207777167e6ec3c28baa0b39324f931692 WHIRLPOOL cb94826525fdea39e40863d18a599fe88889b34cb35b364c57441d771663b8bc7c23681a5b14abbf0804e449d281ac031e9c74db94a80a15504dfbe07725e4cf +AUX tong-1.2-makefile.patch 897 SHA256 5b358ac7c923e32cca6ed7b8541fd267b866827ff869dd61b3210b6c6b1234ea SHA512 c342f686a57def0f07dd51aa7c180108624463db5ef1defc4ac4636df74a9b754dccf5c39615f0cf2a30caf77fd20b07a8d89d337a8e19cf148ae47d44fb0731 WHIRLPOOL 7acab9df0da31ae5715fcaa783f437b98a27844e12f48a5c311550cfc0d6ee3726ae49ed5fa559712bf0db38af8bc88ca1789b296d928b6a30e8c08345351d1c +DIST tong-1.2.tar.gz 88028070 SHA256 7514bf0c1c1a9a8d6985d0fbe83486b83f665d9a202beed2ae91e3f45e90942b SHA512 0544f489141bba37985f1ef3c316208e3e6dacdea8f8b79f37997a9489ff5c1710fd1426e02489f8adb33bf9a1511bb9a0250122fa2054ef4a6ef203c8881261 WHIRLPOOL 107d3009c2e70e78ef81781b388e329f3c45aac8e09470e5c362b3d8b152ad7b6a2d119490a2e2bc29899bb4a8ab36f9d9e86245c46257c260c6b2f65769ab16 +EBUILD tong-1.2.ebuild 1041 SHA256 2036d02ee219c9432f311e2deef4235e0d6e0b164a436f7909316a0cdb2a2559 SHA512 1579c5b1f8c0da548fe50f3ee46846b888e2e13239776b0ac27984db7681aaaf12d415524f958ff10d790eddf9b8adf23e65e2d13caf4517f6ad80413993a937 WHIRLPOOL d6a2b3d8154dd45ae2e6e706efba857edd60532339899837cb126748423729240c18cde77482b917b844143cdf21a010de117a6052dc0142ef922b084c203e82 +MISC ChangeLog 2510 SHA256 6ec5d392f7040623d99fa71e3a97370ea08dbdc2ccfd4c4a7a13b1e5878085b5 SHA512 6b145482a2a7fbb78a463a34d1be7f4afb5ea81601d5c4be6e3c27392a13b8575835eec1e0169f5fbc6289b16e30e4be17282c032af26e54c3e5451627ca36ea WHIRLPOOL fc22c31e5b90d29a40bb131332d304f4f0e973e1f5f28124f2e8f8ad8807000add55ce0b35525902458acdbdc988bc066d417a035aa7525d2332f7f4cf75007c +MISC ChangeLog-2015 2004 SHA256 357ca53f619007e19fa63e9f66e720ad0c5f8f8125434d94da50dbd8c563835b SHA512 e60558c5b71bf643a7b7331973f99a714f052ebf3aa001557f865d3c4771a94d9808935df97f6b2c0ca81c98622f7fa9575a19a4ad82d42dbdbb7ca712126a19 WHIRLPOOL 89160d9b5a83c52044cf500d9802b0007b4a801cf4ca2b92f16ddb1240b457526821197417756256a8805fea1b554ac693810e60dd21a30ba2f987a4b66d4dfc +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/tong/files/tong-1.2-datadir.patch b/games-puzzle/tong/files/tong-1.2-datadir.patch new file mode 100644 index 000000000000..d0279ac3b874 --- /dev/null +++ b/games-puzzle/tong/files/tong-1.2-datadir.patch @@ -0,0 +1,41 @@ +--- tong.cpp.orig ++++ tong.cpp +@@ -202,7 +202,6 @@ + Tetrad *tetrad, *nexttetrad; + Paddle *paddle; + Ball *ball; +- char datadir[256]; + input_t input; + int volume = MIX_MAX_VOLUME; + +@@ -210,7 +209,6 @@ + volume = 24; + #endif + memset(&input, 0, sizeof(input_t)); +- strcpy(datadir, GAME_DATA_DIR); + if(argc>1) { + if(!strcmp(argv[1], "-v") || !strcmp(argv[1], "--version")) { + printf("%s\n", GAME_ID); +@@ -219,10 +217,6 @@ + "warranty; not even for MERCHANTABILITY or" + " FITNESS FOR A PARTICULAR PURPOSE.\n"); + return 0; +- } else if(!strncmp(argv[1], "-p=", 3)) { +- strcpy(datadir, argv[1]+(3*sizeof(char))); +- } else if(!strncmp(argv[1], "--path=", 7)) { +- strcpy(datadir, argv[1]+(7*sizeof(char))); + } else { + printf("Usage: %s [OPTION]\n", argv[0]); + printf("Play TONG, a Free Software game (Tetris meets Pong)\n"); +@@ -237,11 +231,6 @@ + #ifdef WII + fatInitDefault(); + #endif +- if (chdir(datadir)) { +- printf("Could not chdir to %s (attempting to use current dir)\n", +- datadir); +- } +- + if(SDL_Init(SDL_INIT_AUDIO + |SDL_INIT_VIDEO + |SDL_INIT_TIMER diff --git a/games-puzzle/tong/files/tong-1.2-fps.patch b/games-puzzle/tong/files/tong-1.2-fps.patch new file mode 100644 index 000000000000..8ce66ebf1d31 --- /dev/null +++ b/games-puzzle/tong/files/tong-1.2-fps.patch @@ -0,0 +1,25 @@ +--- tong.cpp.orig ++++ tong.cpp +@@ -64,6 +64,8 @@ + + #define DEMO_TIME 8000 + ++#define MIN_TIME 45 ++ + #define GP2X_BUTTON_UP 0 + #define GP2X_BUTTON_UPLEFT 1 + #define GP2X_BUTTON_LEFT 2 +@@ -1854,6 +1856,13 @@ + SDL_Flip(screen); + lastlastupdate=lastupdate; + lastupdate=SDL_GetTicks(); ++ ++ // limit to 1000/MIN_TIME fps ++ if (lastupdate-lastlastupdate < MIN_TIME) { ++ SDL_Delay(MIN_TIME - (lastupdate - lastlastupdate)); ++ } ++ lastupdate = SDL_GetTicks(); ++ + } //main game loop + + Mix_FreeMusic(music); diff --git a/games-puzzle/tong/files/tong-1.2-makefile.patch b/games-puzzle/tong/files/tong-1.2-makefile.patch new file mode 100644 index 000000000000..68b4547d9427 --- /dev/null +++ b/games-puzzle/tong/files/tong-1.2-makefile.patch @@ -0,0 +1,28 @@ +--- Makefile.orig ++++ Makefile +@@ -1,11 +1,10 @@ + # TONG! makefile, tweak as you see fit + +-SDL_CFLAGS := $(shell sdl-config --cflags) ++CXXFLAGS += $(shell sdl-config --cflags) + SDL_LDFLAGS := $(shell sdl-config --libs) + MIXER_FLAGS := -lSDL_mixer -lpthread + IMG_FLAGS := -lSDL_image + GAME_DATA_DIR := . +-CC = g++ -O3 -Wall #-ggdb3 + SOURCES = tetris.cpp pong.cpp text.cpp option.cpp media.cpp + # these sources need to be linked to SDL libs, so may have special flag settings + SDL_SOURCES = tong.cpp +@@ -29,11 +28,7 @@ + + # builds all, builds the target + all: $(OBJS) +- $(CC) $(SDL_LDFLAGS) $(MIXER_FLAGS) $(IMG_FLAGS) $(OBJS) -o $(TARGET) +-%.o: %.cpp +- $(CC) $(SDL_CFLAGS) -c -o $@ $< +-tong.o: $(SDL_SOURCES) +- $(CC) -DGAME_DATA_DIR=\"$(GAME_DATA_DIR)\" $(SDL_CFLAGS) -c -o $@ $< ++ $(CXX) $(LDFLAGS) $(OBJS) $(SDL_LDFLAGS) $(MIXER_FLAGS) $(IMG_FLAGS) -o $(TARGET) + + # clean out the mess + clean: diff --git a/games-puzzle/tong/metadata.xml b/games-puzzle/tong/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/tong/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> diff --git a/games-puzzle/tong/tong-1.2.ebuild b/games-puzzle/tong/tong-1.2.ebuild new file mode 100644 index 000000000000..9df9c40eef39 --- /dev/null +++ b/games-puzzle/tong/tong-1.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Tetris and Pong in the same place at the same time" +HOMEPAGE="http://www.nongnu.org/tong/" +SRC_URI="http://www.nongnu.org/tong/${P}.tar.gz" + +LICENSE="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}" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch \ + "${FILESDIR}/${P}-makefile.patch" \ + "${FILESDIR}/${P}-fps.patch" \ + "${FILESDIR}/${P}-datadir.patch" + sed -i \ + -e "s:\"media/:\"${GAMES_DATADIR}/${PN}/media/:" \ + media.cpp option.cpp option.h pong.cpp tetris.cpp text.cpp \ + || die + cp media/icon.png "${T}/${PN}.png" || die +} + +src_install() { + dogamesbin tong + dodir "${GAMES_DATADIR}/${PN}" + cp -r media/ "${D}/${GAMES_DATADIR}/${PN}" || die + dodoc CHANGELOG README making-of.txt CREDITS + + make_desktop_entry tong TONG + doicon "${T}/${PN}.png" + prepgamesdirs +} diff --git a/games-puzzle/toppler/Manifest b/games-puzzle/toppler/Manifest new file mode 100644 index 000000000000..88b83fa18ac4 --- /dev/null +++ b/games-puzzle/toppler/Manifest @@ -0,0 +1,6 @@ +AUX toppler-1.1.6-gentoo.patch 2004 SHA256 2111ae6bee070a8bc903249a544102d0fb24d8665b2440e2740f37d69deee555 SHA512 0fc2d8eb7200c0c4e4986e0f53298d8a7b49f8be0d46bf2dc370e145a4ff39f7342874b5d80a18f703f7d134fd59274a72679afa7317f94609469042942dbfb4 WHIRLPOOL f4d7109dd51c1194a1b85688354a7a982be2b5429158e497b38973c7053bad050f3174e543eafea99b0b3bd717a32116848207457d57e293a9187257f46eea79 +DIST toppler-1.1.6.tar.gz 2117137 SHA256 7dbc2905389c2adba0f8c459f3319cf04045ba53ed407e273a50a3a67564cc45 SHA512 e0f6b7b72e38ba3402ba3608116fb51bf36cad129fb5591db62489829f4ed1ec49a4a3b7b1db4aaa34cd1561ee5228d91577f550aad2d55520ccefdff9bda9e9 WHIRLPOOL 06c8dedb4f93289e067514c7592d4e002ac1b315fa5d52769fe05de0f9e31b2a14a4b9ab543736d9b580d6af79af4a09f64a1946a14f4f5bed9538b24b7285ff +EBUILD toppler-1.1.6.ebuild 635 SHA256 d8be2828e895e53718910095212775bfef3aaa9047febe6e03e5bc75974d3e81 SHA512 cccc37b3f4c063ee01876812dad8dfc607d9edc6c83206a0d0ae9631a868a7668caa9cdda928b8f3fc2371a1f0bdf402b41e367322e78926c1a33a3bbd1c2947 WHIRLPOOL c1da916104e6ef1d89066b91af884446281d03417b116d36076eec1fd3c37b2011cc7c2057196437b56efaac27d4d5ec15f41429e112aff97545acdb0c67254f +MISC ChangeLog 2466 SHA256 130dbd3dbb5901f018c660265b9f284f6954a03aa5f25d83f0386e8dee874536 SHA512 1fc81192183298504c70b8860fa805cc5b7eb8e618ca2c0eb81a5c426b2f2b59d18fb2f19147f68fff29af4c58347f48d0643c29646014c78632d110587350c9 WHIRLPOOL 03c034fd3e37e72b18d2d59fbca53767000df864406619f37210698f60865f2fe36fac8345c3ad212ccbb859dd17d307279a59b6ee7cbee7af8a4be714786aa4 +MISC ChangeLog-2015 4124 SHA256 79fd2e66ece546fa054756c6fb830ed8ec6cbd685db225d22e2641fa97a41c92 SHA512 10ec446e70f4232fede6835eb383555e6b0ae8349c382efff4ced826a39c693c24629006a37909ebc2baf962d0375d35f7138645eaaa834188fd01e68197acf5 WHIRLPOOL c6a0bdf9f4d39b6a4e70c9945a3d1375cc0aef8775d85397a1f60f2e48d86d0b65e8c4661ff057b345026b6559033412ad16e70bfb04720f095c174157dbdaa3 +MISC metadata.xml 330 SHA256 e9751d2289b54dc200dd43f080a375dc9dacbcd09797f65097ef9c87d46b9d41 SHA512 68e3d67a21f67e1c0ede15141c8002156029bed457e521cdb532ae6524dff1e2bfe00b205a515ff816d61b953aca3c0ed5c9400a9a69cb44a859bd59c2394a62 WHIRLPOOL a958addbf0a07151d97bd06dab5a044314fababe31f148f94f649a2fe57b080df91f436aa960db80b5160496728d61ba32bafa0cc0d6db1d198f7a5092d95134 diff --git a/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch b/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch new file mode 100644 index 000000000000..d3f1ea52b9bc --- /dev/null +++ b/games-puzzle/toppler/files/toppler-1.1.6-gentoo.patch @@ -0,0 +1,54 @@ +diff -ru toppler-1.1.6.orig/Makefile.in toppler-1.1.6/Makefile.in +--- toppler-1.1.6.orig/Makefile.in 2012-12-22 06:03:04.000000000 -0500 ++++ toppler-1.1.6/Makefile.in 2013-01-16 18:51:16.442336579 -0500 +@@ -385,8 +385,8 @@ + txtsys.cc txtsys.h \ + qnxicon.c + +-pixmapsdir = $(datadir)/pixmaps +-applicationsdir = $(datadir)/applications ++pixmapsdir = /usr/share/pixmaps ++applicationsdir = /usr/share/applications + pkgdocdir = $(docdir)/$(PACKAGE) + pkglocalstatedir = $(localstatedir)/$(PACKAGE) + dist_pixmaps_DATA = $(PACKAGE).xpm +@@ -1143,7 +1143,7 @@ + info-am: + + install-data-am: install-applicationsDATA install-dist_pixmapsDATA \ +- install-dist_pkgdataDATA install-dist_pkgdocDATA \ ++ install-dist_pkgdataDATA \ + install-dist_pkglocalstateDATA install-man + @$(NORMAL_INSTALL) + $(MAKE) $(AM_MAKEFLAGS) install-data-hook +diff -ru toppler-1.1.6.orig/po/Makefile.in.in toppler-1.1.6/po/Makefile.in.in +--- toppler-1.1.6.orig/po/Makefile.in.in 2012-12-22 06:02:52.000000000 -0500 ++++ toppler-1.1.6/po/Makefile.in.in 2013-01-16 18:52:01.929721259 -0500 +@@ -21,7 +21,7 @@ + prefix = @prefix@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ +-localedir = $(datadir)/locale ++localedir = /usr/share/locale + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ +diff -ru toppler-1.1.6.orig/toppler.desktop.in toppler-1.1.6/toppler.desktop.in +--- toppler-1.1.6.orig/toppler.desktop.in 2012-12-22 06:02:06.000000000 -0500 ++++ toppler-1.1.6/toppler.desktop.in 2013-01-16 18:52:38.058438256 -0500 +@@ -1,12 +1,11 @@ + [Desktop Entry] +-Encoding=UTF-8 +-Categories=Application;Game;ArcadeGame; ++Categories=Game;ArcadeGame; + X-Desktop-File-Install-Version=0.2 + Name=@FULLNAME@ + Comment=A clone of the 'Nebulus' game on old 8 and 16 bit machines. + Comment[de]=Klon des alten Spiels 'Nebulus' + Comment[cs]=Klon hry 'Nebulus' z dob 8 a 16 bitovÃœch poÄÃtaÄů. +-Icon=@prefix@/pixmaps/@PACKAGE@.xpm ++Icon=@PACKAGE@ + Exec=@prefix@/bin/toppler +-Terminal=0 ++Terminal=false + Type=Application diff --git a/games-puzzle/toppler/metadata.xml b/games-puzzle/toppler/metadata.xml new file mode 100644 index 000000000000..fdbdf5d6a77b --- /dev/null +++ b/games-puzzle/toppler/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">toppler</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/toppler/toppler-1.1.6.ebuild b/games-puzzle/toppler/toppler-1.1.6.ebuild new file mode 100644 index 000000000000..7b0f24837021 --- /dev/null +++ b/games-puzzle/toppler/toppler-1.1.6.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Reimplementation of Nebulous using SDL" +HOMEPAGE="http://toppler.sourceforge.net/" +SRC_URI="mirror://sourceforge/toppler/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer[vorbis] + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/torrent/Manifest b/games-puzzle/torrent/Manifest new file mode 100644 index 000000000000..bab02eb018af --- /dev/null +++ b/games-puzzle/torrent/Manifest @@ -0,0 +1,5 @@ +DIST torrent-0.8.2.tar.gz 555686 SHA256 93890ed9287061f6b8d63993962c188013388fe7cf4d3d334ca7e72cc3209a67 SHA512 da7fbb21252a76fcd41c0b22ae4c0835e2fcabc4da5ce60ad04880c3fb633b6aaa951532ac0ce69d93f03b7608e4b110a23ed6f9f8839d053cd4a0d9500d1692 WHIRLPOOL b2a360bc6a20d8de67cbeec9808c914f4b1120b029e5367658ebf9ee46195fa63c9ca70fa41f5ec4adf3da744175aa31ea720564a5ed4ccb01e464ab274fc423 +EBUILD torrent-0.8.2.ebuild 717 SHA256 6e67fa6033c843c6bacbd1b45080292ae90404937da502a8b4890c6bc39a76f9 SHA512 d23b090b3aaf70e0a2c2d91ce849a7edd78bcb72a1814967cbf039e2334b8cb1239062b0692dd286cd793bd61e2b394b82a6e7b15487f758174178e90f1f55b4 WHIRLPOOL 71b13ec2a2280a4eadbfd7e684894de8d9683210ee512837ebf0035b2daa721b47feb46c0bbad229550c9e281c6bfae99dfd0bd043de8fc92b8a4f49326a0a73 +MISC ChangeLog 2431 SHA256 1f658bf2e36f42716d45748c393fa69aa40fd127a7bbb38d261512a045d28086 SHA512 a7243e57dcf201a3db91a732240ced07937b59321d5d7af3c9d610ce6b7e503fd1b5f330baed332024f9fcb375e45d3cdc1d0531e42dd7c64b550af5de9ea752 WHIRLPOOL 72fa86b1b6e89353451e8b6d08352ec50ff8cdc59bad3ece577b3ea4faa3ac1428cf3946c12e4785d3fce84d4d6e0fbf44204466a78d385839490422694f182e +MISC ChangeLog-2015 1063 SHA256 bbb3de4bc3f58117769bb11f53e2043f43e3d46bddf073f388ce35a65074828a SHA512 7f7038dbb8ded68f4cd73b18e8ac9ba49b221e73ec922730a42c08813ea47a3c8369bf00873c8db4416d0872442a61825d68ccefdeaf811321be48b64eb2c462 WHIRLPOOL efc6b90549faa141b0cb0a7b045317a5fea61db0a507953640b3307e770ec816948d69a76f3e4c4d1eb221570e2df3b594d257e48c72a4187e4cd9bc23a93fbe +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/torrent/metadata.xml b/games-puzzle/torrent/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/torrent/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> diff --git a/games-puzzle/torrent/torrent-0.8.2.ebuild b/games-puzzle/torrent/torrent-0.8.2.ebuild new file mode 100644 index 000000000000..ca645a95b595 --- /dev/null +++ b/games-puzzle/torrent/torrent-0.8.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="Match rising tiles to score as many points as possible before the tiles touch the top of the board" +HOMEPAGE="http://www.shiftygames.com/torrent/torrent.html" +SRC_URI="http://www.shiftygames.com/torrent/${P}.tar.gz" + +KEYWORDS="amd64 x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.4 + >=media-libs/sdl-mixer-1.2 + >=media-libs/sdl-image-1.2 + media-libs/sdl-ttf" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e 's/inline void SE_CheckEvents/void SE_CheckEvents/' \ + src/torrent.c \ + || die "sed failed" +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/triptych-demo/Manifest b/games-puzzle/triptych-demo/Manifest new file mode 100644 index 000000000000..4dba88586e5a --- /dev/null +++ b/games-puzzle/triptych-demo/Manifest @@ -0,0 +1,5 @@ +DIST triptych.tar.gz 1748316 SHA256 2d583edc1b974fc346087ab73adb24d476cee040fb59912e28fbf7a8467db5a8 SHA512 614de78c9f90dd2145ff3dfa6f7a799a069c5add80bc8b0494a752346a163ab0eff7b707292b815adbffa34e4fec446035cfb65df4dd6cf284f270bb732b6daa WHIRLPOOL 53fb746b02c91a4434042a21b5b36f27b17528ac51ea9a3dcf4339cdf75c3ff93db2ffe71fb0c3123e3fbe9720264a18e183558cfda14c0320440e010c21b78d +EBUILD triptych-demo-0.ebuild 1085 SHA256 9d614a368e0f67b136e6751827822db8305356561ada06750f3bf9352937c323 SHA512 c2442ed3b689a6ff24b5a219bcb4e51b78cffe3eae6ac18cee6b3fa1ae79757360a25ad2e62d4d63c3b7033de2c0fa5108dd6990b28a08d20bf10b1dfa4a0a97 WHIRLPOOL a87d5a36a41646bdb5d5103dc46f96f52b2497a0c126141e1676ef9426106a1808cedf4e19efbd055749eb0125d76d02c45d7420276fbd0514e67f5dc841ef81 +MISC ChangeLog 2441 SHA256 3b58955d69eb4cf175278fb4980f5fa90794ae2971baeb4e45d5c21424b68b19 SHA512 d45f6169cb677f105f5cf59a3a567380250fefb772b73f5dad3660fb758c8fc07c55efa08cb6c2e00295b898c864b841d3dc2f75d29565c8689373c5abbbcf8b WHIRLPOOL a216df9719fd1c540b421a90af9eb49ae91a08bc35d48e7d388a149d0a1660a66ca0ec9cc0a68f83389a6e9d95334921278bd625d29ecee9675fb6f74d325b0b +MISC ChangeLog-2015 1482 SHA256 3ec6cc72f131261bfc7b39332283e6e570c6435a8110819bf0e0fa96a6b09976 SHA512 a7b031d9ce847c239b22a65f484a64334a4a81a340aa3a4306df0a2ef94ffe1f04f05b34c9ab2c3a3aecfc219913e688e675ae925d871029da6ed0bb4392598f WHIRLPOOL a8902444dc60eb72426362479afaeca372aa97c298e9c833a515aa049d6b50480a1b246b8eb8de403163cf4b7206c772db6cac9bf60de852b700a8f0cb29a344 +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/triptych-demo/metadata.xml b/games-puzzle/triptych-demo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/triptych-demo/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> diff --git a/games-puzzle/triptych-demo/triptych-demo-0.ebuild b/games-puzzle/triptych-demo/triptych-demo-0.ebuild new file mode 100644 index 000000000000..7f9c192fd0ef --- /dev/null +++ b/games-puzzle/triptych-demo/triptych-demo-0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="fast-paced tetris-like puzzler" +HOMEPAGE="http://www.chroniclogic.com/triptych.htm" +SRC_URI="http://s159260531.onlinehome.us/demos/triptych.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* x86" +IUSE="" +RESTRICT="mirror bindist strip" + +DEPEND="x11-libs/libXext + media-libs/libsdl[opengl,sound,video] + virtual/opengl" +RDEPEND=${DEPEND} + +QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/triptych ${GAMES_PREFIX_OPT}/${PN}/setup" + +S=${WORKDIR}/triptych + +src_install() { + local dir=${GAMES_PREFIX_OPT}/${PN} + dodir "${dir}" + + cp -pPR * "${D}"/${dir}/ || die + games_make_wrapper triptych ./triptych "${dir}" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + # Fix perms on status files #74217 + local f + for f in triptych.{clr,cnt,scr} ; do + f="${ROOT}/${GAMES_PREFIX_OPT}/${PN}/${f}" + if [[ ! -e ${f} ]] ; then + touch "${f}" \ + && chmod 660 "${f}" \ + && chown ${GAMES_USER}:${GAMES_GROUP} "${f}" \ + || die + fi + done +} diff --git a/games-puzzle/twindistress/Manifest b/games-puzzle/twindistress/Manifest new file mode 100644 index 000000000000..5d54e1b0c148 --- /dev/null +++ b/games-puzzle/twindistress/Manifest @@ -0,0 +1,7 @@ +AUX twindistress-1.1.0-ldflags.patch 372 SHA256 73760cc2d2e0b4a1d9ca3d763d2485e7127386d7139a06413f50012bea951f2f SHA512 5c19ffcfe2e9a451e95ac4d03da20cf54bf46ddc7bd369cc9e6c49a3215f8c39f50632d9e60167389859156c4df35ed7b813e1beb7a884c8ec0198f56a8d9f56 WHIRLPOOL 957c90d6202138accbf05056ea6eef217125db981f5c5e03ddcc8511cfb8a9ef40fb699ed82c71b40c8e15490bff68521275a702c08d8862470c93a82dd0324e +AUX twindistress-1.1.0-warnings.patch 3342 SHA256 d94d8af1faa83596c43873388846632207a5daaf7b9c28695bf39b44d1c2d884 SHA512 20bb973c6dea47436333f9449c7b924c38744e74b8eed6646062e4a48c74156cba8fd17150f5a4f8dc19de68ee1c394eee8aa0f2f867a72bddbbb32278e9c304 WHIRLPOOL 9b36aae6a0fbc75e2429705405560b01e979cf57b01b7abb95fe713cf7de6e043740ece5bc0d053ab9f14a38e4e0308def4bca780ccd203f06411636ed90733e +DIST twind-1.1.0.tar.gz 2837845 SHA256 392a09e92862cf8a89a9b8c6f5ed7255c15c7f058a89d889c32f59ed8da73382 SHA512 f1b3be3e5706ce244dd291b6fba2160605593e51b60344521025daf882509e164aa5c201c8d696e56a64d6f3525d16ecd3fd78cc1b86f39f401d4137b615fe8f WHIRLPOOL bd6c54f7d558d7a099c26aaa420908b2cbaecec7244f7e4ed2e3b1703ce7f433af88e70201a856e55e2d9c8644298c4ae7adae91b467f50507e7cf61a9be4a71 +EBUILD twindistress-1.1.0.ebuild 1377 SHA256 adfe889aa53740c342e028f10da200466004e25d3c7335adcb54b2c92ea322c5 SHA512 9782bf13433dbb7bd6a63636597dfb7f95e89cae6b8fe89e4a0f69194583060fafd32f67198da90640373cf3bde17728eeadef1716567d500ec8ed7e93a14412 WHIRLPOOL 4d6575148a1b9b2831a952e229b5f75440011d1d8d50005c81a3d8e8124d8d97d01a25c7db9acb8e84e5cc40ee38c8f6600a5ff49c9bca02781ab5e6b5a3bc49 +MISC ChangeLog 2533 SHA256 0092fb247ee961bfedef1b9ea742bc68370c054d3c09410e5491374ab87906cb SHA512 c16222d71cc516989091ec9045d6b3b982d8a1bcfe3bf8c7de723a79e37c1b606adb27072ddcb8b6b5c710c77f00ee0f809583107ae428c541cdef9daf949fa6 WHIRLPOOL 2f7c027e461c4222d5fece2b7c02278b44b7254711072ff9d43ddaf135e3ae05ec5198909b9c378d85124e624087e39eaeb17098a275124cc845dee73dd0b89f +MISC ChangeLog-2015 1732 SHA256 fd7c12f0101cb58f5013c3f84d86211ea0495a77f2589eaf32859dbe2d82a32a SHA512 f77cf9e4aab58d7a4be644e8bdcbb5e6b546cbdbb838d36112ff77a13ad8602cbd429ae97d114ec2ab02ecdce5d9fe17eb0268ceeea16d70e00de7bd77ae704b WHIRLPOOL 04ee12615247c5011969de687d929bc23932de898fb9b9254fa90fc244a4981ab4625307b690f87f0ff07cd88d5f8c41b776f869ee897412addd6abbd8c895e6 +MISC metadata.xml 328 SHA256 f552c99d117a6809ea57c4cbae16b96cadee1aea4e9471185e731b21f0e85b0d SHA512 a7244b86047c6854bbec72296e625cc10aefa30a2e901dbc2f15083ab1532dc7b3e5fe91ae344fe8b4f0d1019b6f4c91def98cbeffb8fe4a044cc34cd9b03e38 WHIRLPOOL d0f74d1c10226c6968dc52d2ebf4fb8cfff12650be2bd84307ae0814f3d181cb5efb27e78ec05c6991c25998a53f5e2a81ff71c23c2d57e4976d008cfe5cd416 diff --git a/games-puzzle/twindistress/files/twindistress-1.1.0-ldflags.patch b/games-puzzle/twindistress/files/twindistress-1.1.0-ldflags.patch new file mode 100644 index 000000000000..0ac589d88368 --- /dev/null +++ b/games-puzzle/twindistress/files/twindistress-1.1.0-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2010-10-19 09:06:48.000000000 +0200 ++++ Makefile 2010-10-19 09:06:59.000000000 +0200 +@@ -50,7 +50,7 @@ + make twind MIXER_LIB= AUDIOFLAG=NOAUDIO + + twind: twind.o +- $(CC) twind.o $(LIBS) $(SDL_LIBS) $(MIXER_LIB) -o twind ++ $(CC) $(LDFLAGS) twind.o $(LIBS) $(SDL_LIBS) $(MIXER_LIB) -o twind + + twind.o: twind.c + $(CC) $(CFLAGS) $(SDL_CFLAGS) -c twind.c diff --git a/games-puzzle/twindistress/files/twindistress-1.1.0-warnings.patch b/games-puzzle/twindistress/files/twindistress-1.1.0-warnings.patch new file mode 100644 index 000000000000..67ee19149ec8 --- /dev/null +++ b/games-puzzle/twindistress/files/twindistress-1.1.0-warnings.patch @@ -0,0 +1,61 @@ +diff -ru twind-1.1.0.orig/twind.c twind-1.1.0/twind.c +--- twind-1.1.0.orig/twind.c 2004-07-15 21:44:50.000000000 -0400 ++++ twind-1.1.0/twind.c 2010-10-19 03:32:44.372280497 -0400 +@@ -674,10 +674,10 @@ + if (event.button.x >= MENULX && event.button.x < MENURX && event.button.y >= starty && event.button.y < (starty + height)) { + current_menu_high = (event.button.y - starty) / game.font[font].height; + /* re-assign current_menu_high if blank option */ +- if (menu_items[game.menu][current_menu_high] == "") ++ if (*menu_items[game.menu][current_menu_high] == '\0') + current_menu_high = game.last_menu_high; + if (game.last_menu_high != current_menu_high) { +- if (menu_items[game.menu][current_menu_high] != "") { ++ if (*menu_items[game.menu][current_menu_high] != '\0') { + #ifndef NOAUDIO + if (game.audio_enabled) Mix_PlayChannel(MENU_OPTION, game.sound[MENU_OPTION], 0); + #endif +@@ -697,7 +697,7 @@ + if (event.button.x >= MENULX && event.button.x < MENURX && event.button.y >= starty && event.button.y < (starty + height)) { + current_menu_high = (event.button.y - starty) / game.font[font].height; + /* make sure the option isn't blank */ +- if (menu_items[game.menu][current_menu_high] != "") { ++ if (*menu_items[game.menu][current_menu_high] != '\0') { + #ifndef NOAUDIO + if (game.audio_enabled) Mix_PlayChannel(OPTION_CHOICE, game.sound[OPTION_CHOICE], 0); + #endif +@@ -917,7 +917,7 @@ + #endif + current_menu_high--; + /* if option blank, go to previous */ +- while (menu_items[game.menu][current_menu_high] == "") ++ while (*menu_items[game.menu][current_menu_high] == '\0') + current_menu_high--; + /* wrap around to the bottom entry */ + if (current_menu_high == -1) +@@ -930,7 +930,7 @@ + #endif + current_menu_high++; + /* if option blank, go to next */ +- while (menu_items[game.menu][current_menu_high] == "") ++ while (*menu_items[game.menu][current_menu_high] == '\0') + current_menu_high++; + /* wrap around to the top entry */ + if (current_menu_high == game.menu_item_cnt) +@@ -1536,7 +1536,7 @@ + if (level_time && game.stop_timer + game.added_time < game.best_time) + game.best_time = game.stop_timer + game.added_time; + /* subtract a set amount of time after level 11 */ +- if (game.current_level > 11) ++ if (game.current_level >= 11) + game.level_time -= 10; + else + game.level_time = times[level_time]; +@@ -1546,7 +1546,7 @@ + break; + } + /* increase time for next level */ +- if (level_time != 12) ++ if (level_time != 10) + level_time++; + } + if (game.exit_game != NEW_GAME) { diff --git a/games-puzzle/twindistress/metadata.xml b/games-puzzle/twindistress/metadata.xml new file mode 100644 index 000000000000..b3a48cd60dea --- /dev/null +++ b/games-puzzle/twindistress/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">twind</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/twindistress/twindistress-1.1.0.ebuild b/games-puzzle/twindistress/twindistress-1.1.0.ebuild new file mode 100644 index 000000000000..ef170aadb82c --- /dev/null +++ b/games-puzzle/twindistress/twindistress-1.1.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +MY_P="twind-${PV}" +DESCRIPTION="Match and remove all of the blocks before time runs out" +HOMEPAGE="http://twind.sourceforge.net/" +SRC_URI="mirror://sourceforge/twind/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer + media-libs/sdl-image[png]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i \ + -e '/^CC/d' \ + -e "/^CFLAGS/s:-g:${CFLAGS}:" \ + -e "/^DATA_PREFIX/s:/.*$:${GAMES_DATADIR}/${PN}/:" \ + -e "/^HIGH_SCORE_PREFIX/s:/.*$:${GAMES_STATEDIR}/${PN}/:" \ + Makefile || die "sed failed" + epatch \ + "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-warnings.patch +} + +src_install() { + dogamesbin twind + + insinto "${GAMES_DATADIR}/${PN}" + doins -r graphics music sound + + doicon graphics/twind.png + make_desktop_entry twind "Twin Distress" + + dodoc AUTHORS ChangeLog CREDITS NEWS README TODO + + dodir "${GAMES_STATEDIR}/${PN}" + touch "${D}/${GAMES_STATEDIR}/${PN}/twind.hscr" + fperms 660 "${GAMES_STATEDIR}/${PN}/twind.hscr" + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if ! has_version "media-libs/sdl-mixer[vorbis]" ; then + ewarn "Music support will be disabled since sdl-mixer" + ewarn "wasn't built with USE=vorbis" + fi +} diff --git a/games-puzzle/wakkabox/Manifest b/games-puzzle/wakkabox/Manifest new file mode 100644 index 000000000000..93275537e1c9 --- /dev/null +++ b/games-puzzle/wakkabox/Manifest @@ -0,0 +1,6 @@ +AUX wakkabox-1.1.0-gentoo.patch 1756 SHA256 cda9c29af872b28c08e669ce97335398ada99d3175be1630d8def7f162aa48a1 SHA512 63bc980bc88fcaefbea76e93ccd6e8c4628a005a0b3166c78f90a905892c64de52b75b99bd05d715f86d5b2db0f3500aa95b2a5003e59549957115d1832c9ff9 WHIRLPOOL 43491e1302cd5979fb8854dfab9d8f943ba531295e4b949135b2fc300cdfeb4491b4c4b00044579022bce3d8b9dad939a5f678b8361a1842cf43e7df2689724a +DIST wakkabox-1.1.0.tar.gz 158231 SHA256 21c94bf994ffb3e4567538f6982091f3fc63e032cab08df37ac17547f47b5f8e SHA512 a97fcf382c3703fa59d6c2159397cb795b698d2a28253a7e60690b24b3d72b4950b9a7c569600bac0dc637b9d9a52577a45944036518cf5e79c601b377a092be WHIRLPOOL 4e76b1ad49bf437be90db864ebb1334e56f09d1014a7ec8997f4c181cbaacdc466c079cf2988aac282ef1d357d16977a32625b99a3fdc12b994a995436d273a8 +EBUILD wakkabox-1.1.0.ebuild 518 SHA256 c6e65e110a07b3c5044b3aaf11d9a303cc02c5d3cc3456c1c58f5a61f6666738 SHA512 f6cf252d85030139b3e499da1b3251b84e923018886cca24f2e7c0a2c57ae7b0eefeba84f798f14b1a4fe19a2253b97c51698a35ea64ef71a87abf8f05de8537 WHIRLPOOL 6eed61b891d8a0048d583afa9511279edfc14bef4571c7925fb313d9a0392bb8018d14c7e5908fa491dc5715b2a1cdf8c4dbbe1c3d190b0fd519dafc9008794c +MISC ChangeLog 2470 SHA256 17eb0d4cb871b015385efc96591a0d496392255825cea4703b32c788586e8732 SHA512 a42d74125f560aa37ff7a49ccc5541b39ad8c72f397c27dd318f68c1388a5d25dd6bae343fa83b16bdaac29d477d7dc22fbaecc8d4da31ec5a2a870dd1d2bbed WHIRLPOOL e7accc3d70a2d495fff9210956584e6f21ed5e7bdae4691c0347d598561dda470a436c911f61b59718a5436d6f62372a00ff3ef0a6a8f6fe45ee3793a3be7bf6 +MISC ChangeLog-2015 850 SHA256 a2254baf0b43508a2988101a22a8d852e6f7b980eb1b5f23d3c15bc2442ed25e SHA512 bf866248a098dc35f2407dd9071d0706ec3d24b4bc78005ef5174c85daf6191c4ede583758af17a15ab4ab3223688a7ff831b4f4e0c6f809b904b333fa7b27ec WHIRLPOOL 41537a023d4a2a8e17e670bc23e59accbc686e5beda46554a3c6fe4dd499bb17fd426ca04e75c3ee5b9b38f13853271e08487f67ca9f0f1e67f83d5823bf9f8c +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch b/games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch new file mode 100644 index 000000000000..0be83307fa91 --- /dev/null +++ b/games-puzzle/wakkabox/files/wakkabox-1.1.0-gentoo.patch @@ -0,0 +1,53 @@ +--- configure.ac.old 2015-02-26 23:25:34.146334845 +0100 ++++ configure.ac 2015-02-26 23:25:47.978312858 +0100 +@@ -17,6 +17,7 @@ + CFLAGS="$CFLAGS $SDL_CFLAGS" +-LIBS="$LIBS $SDL_LIBS" ++LIBS="$LIBS -lm $SDL_LIBS" + +-AC_SUBST(CFLAGS LIBS) ++AC_SUBST(CFLAGS) ++AC_SUBST(LIBS) + + AC_OUTPUT( Makefile ) +--- configure.ac.old 2015-02-26 23:33:25.801552821 +0100 ++++ configure.ac 2015-02-26 23:33:47.509542361 +0100 +@@ -1,4 +1,4 @@ +-AC_INIT( wakkabox.c ) ++AC_INIT([[wakkabox.c]]) + AC_CANONICAL_HOST + AC_CANONICAL_TARGET + +--- wakkabox.c.old 2015-02-26 23:43:26.146386413 +0100 ++++ wakkabox.c 2015-02-26 23:44:39.647389816 +0100 +@@ -249,22 +249,22 @@ + printf("Loading bmp files from %s...", DATADIR); + + smallblockFname = (char*)malloc( strlen("smallblock.bmp") +- + strlen(DATADIR) ); ++ + strlen(DATADIR) + 2); + medblockhFname = (char*)malloc( strlen("medblockh.bmp") +- + strlen(DATADIR) ); ++ + strlen(DATADIR) + 2); + medblockvFname = (char*)malloc( strlen("medblockv.bmp") +- + strlen(DATADIR) ); ++ + strlen(DATADIR) + 2); + bigblockFname = (char*)malloc( strlen("bigblock.bmp") +- + strlen(DATADIR) ); ++ + strlen(DATADIR) + 2); + + smallblockLocalName = (char*)malloc( strlen("smallblock.bmp") +- + strlen(".") ); ++ + strlen(".") + 2); + medblockhLocalName = (char*)malloc( strlen("medblockh.bmp") +- + strlen(".") ); ++ + strlen(".") + 2); + medblockvLocalName = (char*)malloc( strlen("medblockv.bmp") +- + strlen(".") ); ++ + strlen(".") + 2); + bigblockLocalName = (char*)malloc( strlen("bigblock.bmp") +- + strlen(".") ); ++ + strlen(".") + 2); + + + sprintf( smallblockFname, "%s/smallblock.bmp", DATADIR ); diff --git a/games-puzzle/wakkabox/metadata.xml b/games-puzzle/wakkabox/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/wakkabox/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> diff --git a/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild b/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild new file mode 100644 index 000000000000..c3536395bdbf --- /dev/null +++ b/games-puzzle/wakkabox/wakkabox-1.1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="A simple block-pushing game" +HOMEPAGE="http://kenn.frap.net/wakkabox/" +SRC_URI="http://kenn.frap.net/wakkabox/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.0.1" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + rm aclocal.m4 + eautoreconf +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-puzzle/wizznic/Manifest b/games-puzzle/wizznic/Manifest new file mode 100644 index 000000000000..60e81cb16ea7 --- /dev/null +++ b/games-puzzle/wizznic/Manifest @@ -0,0 +1,7 @@ +DIST Wizznic_src_build_306.tar.bz2 37019286 SHA256 864b51e20f97b918950d20631c8498e44ea55b8a79a64041ae60b73fa9a5926d SHA512 499b43bf8d1fe4b187e0a3c1f186fbd629ae7a7b3fa993d581b4db2a7f5025d44381f001fe5f3ca769d882040c4ae07d30f53025f119502cfa6f5a97e109ae54 WHIRLPOOL 6fd49bb67dd76a3ac7f8528a98961f1723fd097e9d8bb327edba34d921a711841f5a40c1788ddfc8e3db1ece1c1e0054054002deb462abb80c1e226055dac7f4 +DIST Wizznic_src_build_369.tar.bz2 38118227 SHA256 8eac5fbdfdeae70f22cde84eea4c57ab9576e99db3d38b75aae795d32f64dee5 SHA512 61c6ced873403bbd14e8c376321ae0c92a7333bb59409615de1e1305da3e4b3cb023af36e002d732877fd1371a322796df3e4050e5afe699e03f01039d7f7ead WHIRLPOOL f9a40898a8c830fa55b1fb278baa0d9dcf874427ea2b7216d0ec10e4334936c979cafd61f6e4551d351c4f97803f0ce47ecbf2b061e641c2cb1142ddec956f84 +EBUILD wizznic-306.ebuild 1253 SHA256 97fd272e219c3f31c42e15f019c6d3c8499d763305d98179f397a3cf8b94cd7d SHA512 cadc2203a619225c8a3775bb981eb5835267264f1f2cbff3209a944febfc9f774d0f1d531f12a06111b2d15688c7529c013e4544670293082f0b55c13a0bc1f1 WHIRLPOOL 0a81b82647efdace507021d0b401fb9caf5cf8202de235964cd0f1db84dbb0f27db0e3ba4152b940638e2ebadbfda7a52897ca5e8bdffcc950e8bbffbc4d87c6 +EBUILD wizznic-369.ebuild 1059 SHA256 40c82ecb3ffd836cc9b0240fcc6744010867a0a5277a054d41a53e7aa8e27e8b SHA512 dbd4a14335810f91bb87fb025ef32696d3a375f70723bb2f3001c1f3435aac4d9ffa7a4cfa0b2a87a06488084e57b717914979869b870f64a18131c0608ab345 WHIRLPOOL 3c2ce72ed6525fe9ef920e7f4f0395a2844f5cd50084a48d04d74fc540d50729f43ef2d798eaea174ff0dd773147b44efc9d17f3c4fd4e9ac6b73a44de04fca3 +MISC ChangeLog 3342 SHA256 87af3dd51543fe20f600a6eabdaa1f80862c3ab0f9c8766f69203b7e007f380e SHA512 836ffd628849be40b26222ed92460eb38ce568b3426ede8efb34547f31d9f5c84369968f02c1d6b1fd1cb12db0d81da4e41ad9168dac13a93ec21e026c97f689 WHIRLPOOL fe09d7f81fc73d2e999df91fa96dd2b9cc14ccf53397de99c0c21f7a1e97b0e6b66523745ed1f09185bae9d539a7aab067df198d2c4c869111d860ff14e1cd7c +MISC ChangeLog-2015 1146 SHA256 999c47f9915d54607224a90c2ada0923babfd442a295cc8c80b076c3739dc68c SHA512 98a8eb34b37cb2065af04366f12b3db98bb34fa804a5979793ce543d3cbbcc88d7988c7924826ad81206e320b2df30ebf15882d96f3b63e635cb3269d98195bd WHIRLPOOL c0aa456403146e91709c79278485c984bf59f5c8404c885a74b530707941aa3c0cddcf1bcdd9efcba8df3f826554d358e613a00135a9236f5d226be9d9c2d759 +MISC metadata.xml 330 SHA256 d073bfd6110fe37f30fe2f9dad7bf7e30ffc609c5f412f4f8ec0cabbbb3ce69f SHA512 3cce7ff11dff9f3552a3e073a0ceb96d1032e9c87347554fb74b2a313a2f0a24774fe94debd1caef26cc0d57e051ff0fd616203f0e0bdae425bc1af834010580 WHIRLPOOL 96ebc9df66a20b98d5a56a3d97d3decfbb7ebd903780631e88dafaf45ed0be843754de7c3a93c78791afbc2d96012f5d46be360d54f34177237e9cc9a6ce0da2 diff --git a/games-puzzle/wizznic/metadata.xml b/games-puzzle/wizznic/metadata.xml new file mode 100644 index 000000000000..6b1e64c0e478 --- /dev/null +++ b/games-puzzle/wizznic/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">wizznic</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/wizznic/wizznic-306.ebuild b/games-puzzle/wizznic/wizznic-306.ebuild new file mode 100644 index 000000000000..fbf0c09b3450 --- /dev/null +++ b/games-puzzle/wizznic/wizznic-306.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils flag-o-matic games + +DESCRIPTION="Block-clearing puzzle game" +HOMEPAGE="http://wizznic.org/" +SRC_URI="mirror://sourceforge/wizznic/Wizznic_src_build_${PV}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,opengl,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/Wizznic_src_build_${PV} + +src_prepare() { + sed \ + -e '/^\(CC\|LD\|STRIP\)/d' \ + -e 's/(LD)/(CC)/g' \ + -e '/man1/s/1/6/g' \ + -e '/CFLAGS.*=/d' \ + Makefile.linux > Makefile || die + mv doc/wizznic.1 doc/wizznic.6 || die + sed -i \ + -e '/Dt WIZZNIC/s/1/6/' \ + doc/wizznic.6 || die + append-cflags -std=gnu89 # build with gcc5 (bug #574100) +} + +src_compile() { + emake \ + DATADIR="${GAMES_DATADIR}/${PN}/" \ + BINDIR="${GAMES_BINDIR}" \ + STRIP=true +} + +src_install() { + emake \ + DESTDIR="${D}" \ + DATADIR="${GAMES_DATADIR}/${PN}/" \ + BINDIR="${GAMES_BINDIR}" \ + install + dodoc doc/{changelog.txt,credits.txt,media-licenses.txt,ports.txt,readme.txt} + newicon data/wmicon.png ${PN}.png + make_desktop_entry wizznic "Wizznic!" + prepgamesdirs +} diff --git a/games-puzzle/wizznic/wizznic-369.ebuild b/games-puzzle/wizznic/wizznic-369.ebuild new file mode 100644 index 000000000000..be178a846336 --- /dev/null +++ b/games-puzzle/wizznic/wizznic-369.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Block-clearing puzzle game" +HOMEPAGE="http://wizznic.org/" +SRC_URI="mirror://sourceforge/wizznic/Wizznic_src_build_${PV}.tar.bz2" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,opengl,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + virtual/opengl" +RDEPEND=${DEPEND} + +S=${WORKDIR}/Wizznic_src_build_${PV} + +src_prepare() { + sed \ + -e '/^\(CC\|LD\|STRIP\)/d' \ + -e 's/(LD)/(CC)/g' \ + -e '/CFLAGS.*=/d' \ + Makefile.linux > Makefile || die +} + +src_compile() { + emake \ + DATADIR="${GAMES_DATADIR}/${PN}/" \ + BINDIR="${GAMES_BINDIR}" \ + STRIP=true +} + +src_install() { + emake \ + DESTDIR="${D}" \ + DATADIR="${GAMES_DATADIR}/${PN}/" \ + BINDIR="${GAMES_BINDIR}" \ + install + dodoc doc/{changelog.txt,credits.txt,media-licenses.txt,ports.txt,readme.txt} + newicon data/wmicon.png ${PN}.png + make_desktop_entry wizznic "Wizznic!" + prepgamesdirs +} diff --git a/games-puzzle/wmpuzzle/Manifest b/games-puzzle/wmpuzzle/Manifest new file mode 100644 index 000000000000..16ce8031cf2f --- /dev/null +++ b/games-puzzle/wmpuzzle/Manifest @@ -0,0 +1,5 @@ +DIST wmpuzzle-0.5.2.tar.gz 87373 SHA256 b48b9ddb0b0bb85fd9fa3aef859984bce77b5f5faa6dad9366d00c1862a74b9b SHA512 7d171d307e3829005dff4d718161655785e87129b07917d494bb498eff904adafc7c6f83e71f996759ee9e365fe70c67858a5ec9d2647fe573e0a1505126f6c0 WHIRLPOOL 8d91e237b85ccc46ca27308f7c4e69b1cc00d9602d7e679fe6340d7442dc4c7a47c8b2bef07ae1ccc4c0998fdee0b54d55ccfa9c9dfe85eb55ec3a7a5ba93508 +EBUILD wmpuzzle-0.5.2.ebuild 842 SHA256 170f0ea598e6398094991decd4ccfdcbe138b28a3a7d39bea82589c3a2a47202 SHA512 f2a1c0a9753987fe760dcdae460592db17e8971b1aca61a049e643420af4b2d166a56cb421b95b37b19cc3e71c2324fe84e70dfb5f695d6c20d198a79fba6250 WHIRLPOOL 8adbc307253f6470834a006c0af825fb1f67914a1641f66d5d34eba3721be72156102633bc85aaddb1a8341ec9787925a1b9573c981c9132141fe8af341a96ea +MISC ChangeLog 2892 SHA256 1edefcd1cd3171598971f91d03b27cf3374849113ecad2e4aa2887f337785049 SHA512 8a9ee3250af5fff9146717345b5c67c662e753fffc117ccc5797a17ae946856cf6480f7165c21ab5de1cfcba91de468f786eb5a1b6a39e74b2499e7d1540da9d WHIRLPOOL eaa54bdb7c8bd4181f1450594307f1714143d1ac8fb42aa41583d710374decca89c54c08006827d7d40ab91f97b28a4bc63676260f52a013459e312931000f2d +MISC ChangeLog-2015 1928 SHA256 781b496ffe9ced9cf5570aff0dedbf8b87d0398ea859636e16f55f02c9924a4d SHA512 cd05d5ba44d732ea32a53e190bd7e673ab9a7343e62b67554e17c1cdcdc4df02709a06c9cb781d6b47b1cb6bd29d947bf662d3a8db6d53cc9ea46807d1121b33 WHIRLPOOL 98f86aa53673800d155ed44df961d84ea20ce8a4d3489494b0bf7d8b67eec202888bad833af8a9503044111f66c05289a3232432eb0b23eec1dc4edfda60859f +MISC metadata.xml 441 SHA256 97f91267f9174e32d56739d20af74905f113165e36dfcf9dc427ba1ff9cb4d32 SHA512 12d6a5472ef0f13f5703f22b584bdb75364db3018f0d280b18d2813f741d2820aa1daf3dec24e64e88c1df27822695680a269169ef682ebd95af26d130401714 WHIRLPOOL 8f32c1a7c535e0150adc73cdb76b2f31ef548bab100c5e8e1fc8c2cc0c8fe4f97083e0b9a6cb18148a75113f8892a02bc3f57a8d95a4737791f0bc4b9972eb28 diff --git a/games-puzzle/wmpuzzle/metadata.xml b/games-puzzle/wmpuzzle/metadata.xml new file mode 100644 index 000000000000..7e50655eda28 --- /dev/null +++ b/games-puzzle/wmpuzzle/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>voyageur@gentoo.org</email> + <name>Bernard Cafarelli</name> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="freecode">wmpuzzle</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/wmpuzzle/wmpuzzle-0.5.2.ebuild b/games-puzzle/wmpuzzle/wmpuzzle-0.5.2.ebuild new file mode 100644 index 000000000000..ce0f7e1d992e --- /dev/null +++ b/games-puzzle/wmpuzzle/wmpuzzle-0.5.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils gnome2-utils games + +DESCRIPTION="wmpuzzle provides a 4x4 puzzle on a 64x64 mini window" +HOMEPAGE="http://freecode.com/projects/wmpuzzle" +SRC_URI="http://people.debian.org/~godisch/wmpuzzle/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm" +DEPEND="${RDEPEND} + x11-proto/xextproto" + +S=${WORKDIR}/${P}/src + +src_install() { + dogamesbin ${PN} + + dodoc ../{CHANGES,README} + newicon -s 48 numbers.xpm ${PN}.xpm + doman ${PN}.6 + make_desktop_entry ${PN} + + prepgamesdirs +} + +pkg_preinst() { + gnome2_icon_savelist + games_pkg_preinst +} + +pkg_postinst() { + gnome2_icon_cache_update + games_pkg_postinst +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-puzzle/world-of-goo-demo/Manifest b/games-puzzle/world-of-goo-demo/Manifest new file mode 100644 index 000000000000..a99edb2b0be7 --- /dev/null +++ b/games-puzzle/world-of-goo-demo/Manifest @@ -0,0 +1,5 @@ +DIST WorldOfGooDemo.1.41.tar.gz 34729052 SHA256 3177b5561c843182613621a3b69800e431d9e1c8cc36fbf42192edc9428fac59 SHA512 5dcaf7cdacedf0df92133284c4781e1d4ad14abbeddd623a35e59129fc5c1cbb3782d570ac83bc6201f3212c15195e5ca637400839e87fe95edddc5ca671077a WHIRLPOOL 519c60c1715ec7a69c03381383ad30f5a73cc6b7de28d9b6e1a76f6119232fcd1dc46432b51cba285a3f7f1f0abc93bbd6029d2b8f9c5e14cf22bd27d613a238 +EBUILD world-of-goo-demo-1.41-r1.ebuild 1400 SHA256 0007b1d8ab0f4caaccd460f77eb997bc38746fb99cc4e88e066c89875a1bc9c5 SHA512 224cd922ebd377cbce60ca8d01ec24e9af75e8d102660e9d0f5f61bce8f91e3dc7949e71cd7b0b24da7bc4b6b7dd3594262edab87b142eae5353062fa00717d9 WHIRLPOOL 163662474c29906afb3dff481fd669bc6473340c7ee1d1383ca7e8a9cdf30927bb94ee291293737c0653d261d1138539eba092272bc9ba2b965fafef23ed12e5 +MISC ChangeLog 2465 SHA256 c182fcfdedce5be7678c0415685fe4e0009d2b12b1922fc547be556031e10e51 SHA512 3d0e946bfe9e1a66a21455f8cf705c46630428efbca9aabd358406cbd313435ac3eeadce00421240edd5c91f3182d3e1890384198053df77598313f3c9f48983 WHIRLPOOL 7a49a1f994679bb07fabb4d80bcbb174c532461f28d12d8bb9c1be504a466b93eda040d530bfa48b80d24cf23e0b287e20d8cb835f80e2807caec4673ab2613a +MISC ChangeLog-2015 1462 SHA256 826e11a62f82a3dfeee35b32a27f1852300ed6c267fc9c95b5ed6e3bdf049f2d SHA512 fb24477c2387b43e5e11e5c7abf99613095eef723fac26799403240752b4c2e949c6741f104a37a698a1264ec5215143d7c1aa0f630239d20ba938d90e52ad85 WHIRLPOOL 84c3b9a199c91af82860374614e8e09abbb0c1b6fc7a66d78340e0fb64eb5045bb217ce86abc811a841f7baacd510fa217fadaa1dd476e21cdf26dbc04ef317b +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/world-of-goo-demo/metadata.xml b/games-puzzle/world-of-goo-demo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/world-of-goo-demo/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> diff --git a/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.41-r1.ebuild b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.41-r1.ebuild new file mode 100644 index 000000000000..cabfdd297efe --- /dev/null +++ b/games-puzzle/world-of-goo-demo/world-of-goo-demo-1.41-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A puzzle game with a strong emphasis on physics" +HOMEPAGE="http://2dboy.com/" + +if [[ ${PN} == *-demo ]] ; then + MY_PN="WorldOfGooDemo" + SRC_URI="${MY_PN}.${PV}.tar.gz" +else + MY_PN="WorldOfGoo" + SRC_URI="${MY_PN}Setup.${PV}.tar.gz" +fi + +LICENSE="2dboy-EULA" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="fetch strip" + +RDEPEND="media-libs/libsdl[sound,opengl,video] + media-libs/sdl-mixer[vorbis] + sys-libs/glibc + virtual/opengl + virtual/glu + >=sys-devel/gcc-3.4" +DEPEND="" + +S=${WORKDIR}/${MY_PN} +dir=${GAMES_PREFIX_OPT}/${PN} + +QA_PREBUILT="${dir:1}/${MY_PN%Demo}.bin32 + ${dir:1}/${MY_PN%Demo}.bin64" + +pkg_nofetch() { + if [[ ${PN} == *-demo ]] ; then + elog "To download the demo, visit http://worldofgoo.com/dl2.php?lk=demo" + elog "and download ${A} and place it in ${DISTDIR}" + else + elog "Download ${A} from ${HOMEPAGE} and place it in ${DISTDIR}" + fi +} + +src_install() { + exeinto "${dir}" + doexe ${MY_PN%Demo}* + + games_make_wrapper ${PN} "${dir}"/${MY_PN%Demo} + + insinto "${dir}" + doins -r icons properties res + newicon icons/scalable.svg ${PN}.svg + + if [[ ${PN} == *-demo ]] ; then + make_desktop_entry ${PN} "World of Goo (Demo)" + else + make_desktop_entry ${PN} "World of Goo" + fi + + dodoc linux-issues.txt + dohtml readme.html + + prepgamesdirs +} diff --git a/games-puzzle/world-of-goo/Manifest b/games-puzzle/world-of-goo/Manifest new file mode 100644 index 000000000000..63743cc74970 --- /dev/null +++ b/games-puzzle/world-of-goo/Manifest @@ -0,0 +1,5 @@ +DIST WorldOfGooSetup.1.41.tar.gz 66428181 SHA256 675a8a11bed6c9d810cd222bac5e9834f82acc31c2afc6990da40b45ba564566 SHA512 278dfb983cf9cf4de87f13d94f5e75b3830af07523e2ddc7a443d5afb6fead130ed50440357554986b5b0d99c17651f77ae11298f51f9f1072ebd40287cad396 WHIRLPOOL 784192ec8161faad3bfab8f0e94bb77b8b900922b7df90b10c887e9fc111e895b859a9dd111cc170523de0a32c0d0fae9e4418c7b27d68f08425939d6bb2da4f +EBUILD world-of-goo-1.41-r1.ebuild 1433 SHA256 87e10dd7136a66294d24cc210fde3507747a8df18e9e06b62f07906311b0d5fe SHA512 b6c5ae27ef2c5ab528eaa5720b0c6b4cdf1bf7281ed2bab2787d3c7384a19bc48d3ac85e9f2cc3ce08833cbca7c282d5732d8c2dbe032e0b924ef7097a9734e4 WHIRLPOOL 634b104ec00dd9e1d065098de7d018208c8edec371c64f9ddc6118072e6521fabfec59143c02069441c0a3cb99ad8049b0be8a3aa594f938d985308c2cb05fc9 +MISC ChangeLog 2450 SHA256 ebf11107a4516675b4e0c3c721e9c735e9f238d1c7b87c7feb17a741c1c41218 SHA512 2dae11a8b7839f7f10cf79b2d681191d071a7587f2cc045365ee4ed2b1cedf99470c823b36bee808ddd73211e692fcb31152a4b509429db58689cfa460aa0bc1 WHIRLPOOL 13fda1a00d7c62cee0b9d0fde288f0c54a2f4f02f93403119daf3bc32be2db526a619f0cc405dabef7d9c1a208dda5f0ef29405cc9a2200d2a3c38cfac55c369 +MISC ChangeLog-2015 1702 SHA256 0c41c19375984cf6014d90235771854519bae9b8d7024a1a8ac62e1721a46179 SHA512 a0e067cc3b4c5a84b21ff0520b6ca6bcc717f574c161829721f090b6579ca17b08de9b3ce12b3c70fbc1892c1d4a646816302dedeb076629fe5b493a53612d99 WHIRLPOOL 040daf0666ab95af289ffdfc568963f795e2dc2d03bba2c00da2b4a5e81127b9f518fd2cbcfa36d3fe493fbeaab5e8ee49ae2e78d72e73024c7552f9377c8aae +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/world-of-goo/metadata.xml b/games-puzzle/world-of-goo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/world-of-goo/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> diff --git a/games-puzzle/world-of-goo/world-of-goo-1.41-r1.ebuild b/games-puzzle/world-of-goo/world-of-goo-1.41-r1.ebuild new file mode 100644 index 000000000000..cb73e6244b4d --- /dev/null +++ b/games-puzzle/world-of-goo/world-of-goo-1.41-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A puzzle game with a strong emphasis on physics" +HOMEPAGE="http://2dboy.com/" + +if [[ ${PN} == *-demo ]] ; then + MY_PN="WorldOfGooDemo" + SRC_URI="${MY_PN}.${PV}.tar.gz" +else + MY_PN="WorldOfGoo" + SRC_URI="${MY_PN}Setup.${PV}.tar.gz" +fi + +LICENSE="2dboy-EULA" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" +RESTRICT="fetch strip" + +RDEPEND="media-libs/libsdl[alsa,sound,opengl,video] + media-libs/sdl-mixer[vorbis] + sys-libs/glibc + virtual/opengl + virtual/glu + >=sys-devel/gcc-3.4" +DEPEND="" + +S=${WORKDIR}/${MY_PN} +dir=${GAMES_PREFIX_OPT}/${PN} + +QA_PREBUILT="${dir:1}/${MY_PN%Demo}.bin32 + ${dir:1}/${MY_PN%Demo}.bin64" + +pkg_nofetch() { + if [[ ${PN} == *-demo ]] ; then + elog "To download the demo, visit http://worldofgoo.com/dl2.php?lk=demo" + elog "and download ${A} and place it in ${DISTDIR}" + else + elog "Download ${A} from ${HOMEPAGE} and place it in ${DISTDIR}" + fi +} + +src_install() { + exeinto "${dir}" + doexe ${MY_PN%Demo}{,.$(usex amd64 bin64 bin32)} + + games_make_wrapper ${PN} "${dir}"/${MY_PN%Demo} + + insinto "${dir}" + doins -r icons properties res + newicon icons/scalable.svg ${PN}.svg + + if [[ ${PN} == *-demo ]] ; then + make_desktop_entry ${PN} "World of Goo (Demo)" + else + make_desktop_entry ${PN} "World of Goo" + fi + + dodoc linux-issues.txt + dohtml readme.html + + prepgamesdirs +} diff --git a/games-puzzle/xblockout/Manifest b/games-puzzle/xblockout/Manifest new file mode 100644 index 000000000000..cddaf2edda78 --- /dev/null +++ b/games-puzzle/xblockout/Manifest @@ -0,0 +1,6 @@ +AUX xblockout-1.1.6-font.patch 1531 SHA256 fd1707ce1775804469fec94d71ec97263686324164f50be7aeb3f88e1402e9be SHA512 adfc6ad87048c4c021e8989886011c8dfa8736778ac12fefacbbffc114272f4a5ee60a997f35d817d22bbd9eb348c7e40701bd25bc1cf0d5924add71fc77e450 WHIRLPOOL 8add3633f33d6d38c59a7449984509e5bed151d65d3ce6ebe7199c7ffabadc157ca2f77e6bbad0628621f47b8768cdc7900f399b1fa38d60973acaf5f395c758 +DIST xbl-1.1.6.tar.gz 136504 SHA256 85f456b6aca15f1642bbd233872250918432f0b5252d4b0d681bc2394fda5f84 SHA512 96bf0460863698136a61b43260feed0e90e7ca5b6613d54c8ca98f51557a3d235597eeab46141cd6771aa0bf4fe019c5e4291dd826338e186cc905e3837531e0 WHIRLPOOL 94f3bd29f13d2e0774e491f0624b7b5d912e37c071fb9490d2b5a5320990731193cd78235aa49e860c2e7b976ced5223c5875a82baaaa846492154ebc5fe2a20 +EBUILD xblockout-1.1.6.ebuild 1127 SHA256 67befca1509eb057617397d8f36ef2c69d618f3cd01004524fae9be0216c8afe SHA512 c774a1d3856738ce485fcef51030e929130786160501d6531560247b04d09534d8b6303d3dd8cf0bdc041013a128f1622a35aa270f7b49734ec2b86d56c35901 WHIRLPOOL deb80537bf610ee411cbd127136fa3ec4239ca4a149fc2e53a593e1fe0199167546d28bec6ceab011953a0df09e444cf7eef11eeb390022ad7d76a07f0d3eb3a +MISC ChangeLog 2472 SHA256 ad5c0bcbe77fcbd148500e62bfa2904c80e59f6167e8339c3c41e70c6087e55d SHA512 b3c466264db87d78432e3c81a87e65ba427b299a6450381f9371f272834b211c24f4cb8e9c1d045a8da9d870f7dac76cb10f7de57d76294bfdd07c27c1ed4f73 WHIRLPOOL 2c482fbf317c1c183435198ba06405e7e3ae59b26b7991424186ea5ac9171b609dde609f1ce8ddc137d0455077a1df991d52b9dcab3d3b62d291a5a0c3ac0165 +MISC ChangeLog-2015 3968 SHA256 7937ed3af3207bff5dadb8ede1d2f4b2f2db2eff19446e6040112afc4db824ea SHA512 43d1a3dd58347b04b1451311d4336ee675251a1ddbcca2d7040ba2e551b92b90f3fb02eaf395465166dac1ac2ad010946f2c108ad24acff9be207e7e5305b5e7 WHIRLPOOL 05156cc50bbb0dd26b9d9824f817817626022380b795b7ffe9470a40bc7b939582dbc140aa6e31c47e8c28e4db85ed98348b789f6b32b74165cc5dc4c3a467fa +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/xblockout/files/xblockout-1.1.6-font.patch b/games-puzzle/xblockout/files/xblockout-1.1.6-font.patch new file mode 100644 index 000000000000..bb0302963bdc --- /dev/null +++ b/games-puzzle/xblockout/files/xblockout-1.1.6-font.patch @@ -0,0 +1,46 @@ +--- initmenu.c.old 2008-10-27 23:23:43.000000000 +0100 ++++ initmenu.c 2008-10-27 23:22:52.000000000 +0100 +@@ -408,19 +408,17 @@ + XCharStruct overall_return ; + + m->xfont = XLoadQueryFont( x->display , opt->thefont ) ; +- m->font = XLoadFont( x->display , opt->thefont ) ; + if ( opt->verbose ) + { + fprintf(stderr,"font=%s\n", opt->thefont) ; + } +- if ( m->font==BadAlloc || m->font==BadName || m->xfont==0 ) ++ if ( m->xfont==0 ) + { + fprintf(stderr,"Some problems when loading a font... trying others\n") ; + m->xfont = XLoadQueryFont( x->display , + "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" ) ; +- m->font = XLoadFont( x->display , +- "-*-*-*-*-*-*-*-*-*-*-*-*-*-*" ) ; +- if ( m->font==BadAlloc || m->font==BadName || m->xfont==0 ) ++ m->font = m->xfont->fid; ++ if ( m->xfont==0 ) + { + fprintf(stderr,"You haven't -*-*-*-*-*-*-*-*-*-*-*-*-*-*\n"); + fprintf(stderr,"Have you A font?\n"); +@@ -428,17 +426,17 @@ + exit(1) ; + } + } ++ m->font = m->xfont->fid; + m->xfont2 = XLoadQueryFont( x->display , opt->thefont2 ) ; +- m->font2 = XLoadFont( x->display , opt->thefont2 ) ; + if ( opt->verbose ) + { + fprintf(stderr,"font2=%s\n", opt->thefont2) ; + } +- if ( m->font2==BadAlloc || m->font2==BadName || m->xfont2==0 ) ++ if ( m->xfont2==0 ) + { +- m->font2 = m->font ; + m->xfont2 = m->xfont ; + } ++ m->font2 = m->xfont2->fid; + + xgc.background = x->back_pixel ; + xgc.foreground = opt->backcolor!=7 ? x->white_pixel : x->black_pixel; diff --git a/games-puzzle/xblockout/metadata.xml b/games-puzzle/xblockout/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/xblockout/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> diff --git a/games-puzzle/xblockout/xblockout-1.1.6.ebuild b/games-puzzle/xblockout/xblockout-1.1.6.ebuild new file mode 100644 index 000000000000..a2d04f528c41 --- /dev/null +++ b/games-puzzle/xblockout/xblockout-1.1.6.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools flag-o-matic eutils games + +DESCRIPTION="X Window block dropping game in 3 Dimension" +HOMEPAGE="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/" +SRC_URI="http://perso.univ-lyon1.fr/thierry.excoffier/XBL/xbl-${PV}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXext" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/xbl-${PV} + +src_prepare() { + epatch "${FILESDIR}"/${P}-font.patch + sed -i \ + -e '/^CC/d' \ + -e 's:-lm:-lm -lX11:' \ + -e '/DGROUP_GID/d' \ + -e "s:-g$:${CFLAGS}:" \ + Makefile.in || die + # Don't know about other archs. --slarti + use amd64 && filter-flags "-fweb" + eautoreconf +} + +src_compile() { + emake \ + USE_SETGID= \ + SCOREDIR="${GAMES_DATADIR}/${PN}" \ + RESOURCEDIR="${GAMES_DATADIR}/${PN}" \ + LDOPTIONS="${LDFLAGS}" +} + +src_install() { + newgamesbin bl xbl + + insinto "${GAMES_DATADIR}"/${PN} + newins Xbl.ad Xbl + + newman xbl.man xbl.6 + dodoc README xbl-README + dohtml *.html *.gif + make_desktop_entry xbl XBlockOut + prepgamesdirs +} diff --git a/games-puzzle/xbomb/Manifest b/games-puzzle/xbomb/Manifest new file mode 100644 index 000000000000..3560e39803d3 --- /dev/null +++ b/games-puzzle/xbomb/Manifest @@ -0,0 +1,7 @@ +AUX xbomb-2.2b-DESTDIR.patch 871 SHA256 228e6a4dd935a7176a2e03b03dc6275e4563bad8a2569c85b5fc4f9988eae823 SHA512 98135eb5927b4bd92bc1a6ac6fb86bf8c1f7387949c1ac419e3f78cc84184e1c8b2b8b6fb5d23089b6fdd8a7a8dca05733821180d1316d30edc53f487a16e4c8 WHIRLPOOL 24ed49a723778743e2ba6ba396f7e61218aab10191bfd9eda6a9ef084f770f4d7c2cc9efbd26e767657ddf74e55819e57b53112c87475a3f88cf88a701f867ae +AUX xbomb-2.2b-ldflags.patch 177 SHA256 1425280668b2ac8a779b2334d7edfe0828ffba6c49204235019174e9d0d0c3e2 SHA512 21c7d9c57ec972ae49dd20a94041378a53dcd310685c8c3755571243d51b0b0e1664b30c0ce9013ad289d8589e7e219bafdcbcc31503ccc25052f2c3dbc2df82 WHIRLPOOL d94f7ff90a96609267c6bfd75d21288a4dd232b99a232b06c386ee5912afbcaf5c31808f7dec895feeb0e7a12dfd184a248ff42bbabcac9883363a0456dbf148 +DIST xbomb-2.2b.tgz 24774 SHA256 350d8443c0f6339ef463effbb17c9347f669b8641a159a2447706324b87c2219 SHA512 7315cc08bff1ef14cc376ea3ad4913c4286e2e33e92ca1d924e4703fba2f58e5aa9df0db760cd0d9a83f2f1730cc65281403f5b198f32a30d0c5e736add8c2e1 WHIRLPOOL 0db3088207bb14548d300b3c19aa5310b71f81d05068de8070bd1195524849cdf47ea82f585b2461db0259a543d323d6a15f93be1dcf43c482fb84b90c2c1059 +EBUILD xbomb-2.2b.ebuild 998 SHA256 533e62e030b6398d7cfee72b7c090b6039cfc7f7c6992e8dd31908643f86f05c SHA512 658bca020e53bcaa332b10611354a5a28ba73c60069571b49559030c19536cdba60fb11af206a2a9e2f0b1f9e996c3d47fa1346625ae90917cd7c536c646c610 WHIRLPOOL 95813b82ab0d81997ee87be1a2b0f84218bfb54b6a1b57c75f3ad23ddd7610feb926693d68e8c6a1bc276f864f6e9d0383975ef3c8eba9923db61b5f1b8a8eba +MISC ChangeLog 3964 SHA256 b1b4aa5fb08a44b8e0f2b4e9331081b8b204341e1155cde768afcf2854a38680 SHA512 c04a2187d47c342fd7e5318945c105cdd086a633bb9c037c484196d1ba676c15905acae7c6d580d3c28e556c733f9acee5bfb27e00be5aa2c5f649e3ce298bb7 WHIRLPOOL 0599f59318a20c11672d60d860a13dba3f4ff82063a35e3784930a8b044d9311d443171853d7999fc9d14a4e0de3bbddb6364b1703c0a606878af5d49ea68090 +MISC ChangeLog-2015 2702 SHA256 1004d43d4f5dd50ad47531f0d69fdca7e0f2626f59dcd50489499dad0e5736ed SHA512 7a9caac8aab6c3969e72e7a399edf7f6b8235694e030f4a2e09e09a2540a70b67931fb88ece04b7db98eec8656112ebfb5eb9d3241373c32ee8ad8a7ca50cc8b WHIRLPOOL 2965be4a4084e41e2b2ee1e3b736bf334935f939976a5724fa77b3b0c20f9788a1184057839838f419d65f1c1e78c1bdb0dd2c669c4de680d70cd94a4a18913a +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/xbomb/files/xbomb-2.2b-DESTDIR.patch b/games-puzzle/xbomb/files/xbomb-2.2b-DESTDIR.patch new file mode 100644 index 000000000000..2ee8edd4ec91 --- /dev/null +++ b/games-puzzle/xbomb/files/xbomb-2.2b-DESTDIR.patch @@ -0,0 +1,34 @@ +*** xbomb-2.1/Makefile 1996-01-20 16:02:46.000000000 -0500 +--- xbomb-2.1.new/Makefile +*************** +*** 27,34 **** + + OBJ=xbomb.o xwindow.o hiscore.o + +- INSTDIR=/usr/local +- + ######## + + xbomb : $(OBJ) +--- 27,32 ---- +*************** +*** 52,60 **** + + install : + strip xbomb +! install -d $(INSTDIR)/bin +! install -d $(INSTDIR)/man/man6 +! install -d $(INSTDIR)/lib/app-defaults +! install -m 755 xbomb $(INSTDIR)/bin +! install -m 644 xbomb.6 $(INSTDIR)/man/man6 +! install -m 644 xbomb.ad $(INSTDIR)/lib/app-defaults/XBomb +--- 50,58 ---- + + install : + strip xbomb +! install -d $(DESTDIR)/usr/bin +! install -d $(DESTDIR)/usr/share/man/man6 +! install -d $(DESTDIR)/etc/X11/app-defaults +! install -m 755 xbomb $(DESTDIR)/usr/bin +! install -m 644 xbomb.6 $(DESTDIR)/usr/share/man/man6 +! install -m 644 xbomb.ad $(DESTDIR)/etc/X11/app-defaults/XBomb diff --git a/games-puzzle/xbomb/files/xbomb-2.2b-ldflags.patch b/games-puzzle/xbomb/files/xbomb-2.2b-ldflags.patch new file mode 100644 index 000000000000..a320b0900c53 --- /dev/null +++ b/games-puzzle/xbomb/files/xbomb-2.2b-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old ++++ Makefile +@@ -30,7 +30,7 @@ + ######## + + xbomb : $(OBJ) +- $(LINK) $(OBJ) -o $@ $(LIB) $(XLIB) ++ $(LINK) $(LDFLAGS) $(OBJ) -o $@ $(LIB) $(XLIB) + + ######## + diff --git a/games-puzzle/xbomb/metadata.xml b/games-puzzle/xbomb/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/xbomb/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> diff --git a/games-puzzle/xbomb/xbomb-2.2b.ebuild b/games-puzzle/xbomb/xbomb-2.2b.ebuild new file mode 100644 index 000000000000..9391ceb6455b --- /dev/null +++ b/games-puzzle/xbomb/xbomb-2.2b.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Minesweeper clone with hexagonal, rectangular and triangular grid" +HOMEPAGE="http://www.gedanken.org.uk/software/xbomb/" +SRC_URI="http://www.gedanken.org.uk/software/xbomb/download/${P}.tgz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc64 x86" +IUSE="" + +DEPEND="x11-libs/libXaw" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-DESTDIR.patch \ + "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e '/strip/d' \ + -e '/^CC=/d' \ + -e "/^CFLAGS/ { s:=.*:=${CFLAGS}: }" \ + -e "s:/usr/bin:${GAMES_BINDIR}:" \ + Makefile || die + sed -i \ + -e "s:/var/tmp:${GAMES_STATEDIR}/${PN}:g" \ + hiscore.c || die +} + +src_install() { + default + dodir "${GAMES_STATEDIR}"/${PN} + touch "${D}/${GAMES_STATEDIR}"/${PN}/${PN}{3,4,6}.hi || die "touch failed" + fperms 660 "${GAMES_STATEDIR}"/${PN}/${PN}{3,4,6}.hi + make_desktop_entry xbomb XBomb + prepgamesdirs +} diff --git a/games-puzzle/xlogical/Manifest b/games-puzzle/xlogical/Manifest new file mode 100644 index 000000000000..15941215d094 --- /dev/null +++ b/games-puzzle/xlogical/Manifest @@ -0,0 +1,8 @@ +AUX xlogical-1.0.7-gcc41.patch 1121 SHA256 d70f35be5bbf65e7511d239d2449e332c71f93a5af632169c95a3262448fcc4a SHA512 eb98b351ae14f9c3f4f5783ef48633957c21ddb3debd7ba00e9c651be395cb11a30b6109bd26fef12845111ff320c71ef2b43bee6ec1b8748ac6ac34dd8cb87b WHIRLPOOL 0f62826cc0ccf91c6636fb5f651716b5a1f29b23b994bedd729d7709a58ca1932afe3260227fe48b3c89e94b1d8fe41da98ee5ac3d3f28be5439483426122040 +AUX xlogical-1.0.7-gcc43.patch 915 SHA256 fd8394829ba2a3726b25f0bb5d651e3920e5c945f023fca57d2044227e4e8ec7 SHA512 59cc10ec999aff4c8f5630e534ea834ff9a8b2d27e45752abdc46df812841e40de27ca406a45278f28a3a609c021c7753a6980edfaffd3c79b1bb7cf97336209 WHIRLPOOL 334e58b6503a20a71e0fe4b792b56af84ea0279081286e966f609a74d213536495b56b7264a2ea1fc96e89d991b663a1333feb637e802be6b28eb307516c530f +DIST xlogical-1.0-7.tar.bz2 1853575 SHA256 166d227770dcb7d94138f844a8a81380eff3fac7f564274bb2c66ae974e8e7ca SHA512 b47aadff91a7d3057fe8657bdda5c16a910f84f6d324bee82f1beba55de7faf6a599231c8d53ed68cc30f9edfe18f57f31dfc9fe06b8e03fa6120905f37c290d WHIRLPOOL 97c4b236156257a368b7687731da147f17643ca99c729e520e18fde3837c943e990009c7fe951cb1f7739bcfe6587162b0edd7a8773f1c1af7da0cc699788c96 +DIST xlogical_gfx.zip 347801 SHA256 1d6f97ad3cbcb7b78d3e3594643195d6457ab7ca613ccabd6256a5fe13a98f49 SHA512 14322ae1c8fb7f50513ef47e05372c5dc1ec1b658b33c53477e6b05bbee1de0250b21127891f205d16adc386e7ce37c4b834a62794ee105754b97e49eb5d2a42 WHIRLPOOL 5b33c7603b709c97975d28b264417e1645eeebfb9112d4ec6a84c689fd4bff0ade77188896615b77ec8ab764f61ca1e01ef6075acb25d82a114af32638ad1a6c +EBUILD xlogical-1.0.7.ebuild 1456 SHA256 b3f110b34ea58a1642aab61933b1a74d955ebbfdd2657ed2e28757009b7ebf77 SHA512 0a9b9481d89a3b07c91e7a80a5be0f6d6fc6bab46ae3a9e352dbfd3dc071efe3155a1afdcdd9e2115d7884f35d6fe3e455984237ba6bbd9ef23d98bf4bd9531a WHIRLPOOL 63b51b2c3bbd5ba30983a296e7ae5abfd2edf4bbb79a179a01f94ddfe41048cd240d55b3382888342b80f648a8bb618f0a14030f27cc07cf376775f60377a913 +MISC ChangeLog 2506 SHA256 a36ee3654168108bc387135ad5d27e0bc1450dfbc7bd1e39f480ca072683b30e SHA512 8273ec16fb68ecfed1708630cb569c8b6b51b36bdb315459095d27f79a2744caedfcde772931de452ef54d6f4143fea56d7419c73644728fab2b1c1457d8b1ae WHIRLPOOL 0663b7f5cfe18b2927e477bcaa9718df6073196937be5b89f903681088e5426a10b8c043fd1f68b6d9d7667c6c7f4cffb3698645eb69d3aaa1fa04206fc053fa +MISC ChangeLog-2015 1211 SHA256 974fb49de8186eee2619cc42a8a0f897e0ad85e745b305ed34e04cd21d36151a SHA512 a494f13f92602d71f5a71d3379aff5113439521b93828f342b4d8b783650ce91298864eca868f2981cdb0ef0835bf9468efb63545714b9502a32080e0e1892fb WHIRLPOOL 734d55753686394b67ed85cdbb897fd0b515f16197751209723f0c15de62dfaed0187d6fa77ae107a9cb220cbe3b1c6c49db0d725c2b41cf307e1ea9a639bb36 +MISC metadata.xml 554 SHA256 a0164879d498bd0bea60303800f83319f068f3dda286fc48f7c2e96ba3bafac5 SHA512 538cff1d408baf95b2d172490a3a038a8fd79edef5b8c1b64e3c495307b632870548dc0f33b6ed6bc77599d20e883a73a2c2d658b6ca85e131e404bc72e018ee WHIRLPOOL dd60778808e9e8c08932e5bf0efd38abfeb77e0739e013387e6583559f7a37cbbfc4dc4bbc38ead2cd134845efca6982b909d533c4c99a7a908fb55128430339 diff --git a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch new file mode 100644 index 000000000000..19cd188b0e0e --- /dev/null +++ b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc41.patch @@ -0,0 +1,49 @@ +--- properties.h.old 2007-01-11 17:33:45.000000000 +0100 ++++ properties.h 2007-01-11 17:34:32.000000000 +0100 +@@ -33,9 +33,7 @@ + #include <map> + #include <string> + +-#ifdef WIN32 + using namespace std; +-#endif + + #include "defs.h" + +--- anim.h.old 2007-01-11 17:36:20.000000000 +0100 ++++ anim.h 2007-01-11 17:36:37.000000000 +0100 +@@ -27,9 +27,7 @@ + // Language Includes + #include <list> + +-#ifdef WIN32 + using namespace std; +-#endif + + // Application Includes + #include "graph.h" +--- exception.h.old 2007-01-11 17:37:37.000000000 +0100 ++++ exception.h 2007-01-11 17:38:21.000000000 +0100 +@@ -27,10 +27,9 @@ + + // Language Includes + #include <string> ++#include <iostream> + +-#ifdef WIN32 + using namespace std; +-#endif + + #define CatchEx(aEx) catch( CXLException aEx ) + #define ThrowEx(aError) throw CXLException(aError,__FILE__,__LINE__) +--- gamelogic.cpp.old 2007-01-11 17:38:52.000000000 +0100 ++++ gamelogic.cpp 2007-01-11 17:39:12.000000000 +0100 +@@ -154,7 +154,7 @@ + levelFile = NULL; + } + +- currentMap = NULL; ++ currentMap = gameLevels.begin(); + + playerName = new char[32+1]; + strcpy( playerName, "nobody" ); diff --git a/games-puzzle/xlogical/files/xlogical-1.0.7-gcc43.patch b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc43.patch new file mode 100644 index 000000000000..4b64fcd67783 --- /dev/null +++ b/games-puzzle/xlogical/files/xlogical-1.0.7-gcc43.patch @@ -0,0 +1,51 @@ +--- gamelogic.cpp ++++ gamelogic.cpp +@@ -25,6 +25,7 @@ + #include<fstream> + #include<cstdio> + #include<cctype> ++#include <cstdlib> + + #ifndef WIN32 + #include<unistd.h> +--- levelmap.cpp ++++ levelmap.cpp +@@ -21,6 +21,7 @@ + ////////////////////////////////////////////////////////////////////////
+
+ // Language Includes
++#include <cstdlib> + #include <cstdio>
+ #include <cctype>
+ #include <cstring>
+--- mapedit.cpp ++++ mapedit.cpp +@@ -26,6 +26,8 @@ + #include<cstdio>
+ #include<list>
+ #include<vector>
++#include <cstdlib> ++#include <cstring> +
+ #ifndef WIN32
+ #include<unistd.h>
+--- modlist.cpp ++++ modlist.cpp +@@ -22,6 +22,7 @@ +
+ #include <iostream>
+ #include <fstream>
++#include <cstdlib>
+
+ #ifdef WIN32
+ #include <afxwin.h>
+--- tile_spinner.cpp ++++ tile_spinner.cpp +@@ -24,6 +24,7 @@ + + + // Application Includes ++#include <cstdlib> + #include "audio.h" + #include "properties.h" + #include "defs.h" diff --git a/games-puzzle/xlogical/metadata.xml b/games-puzzle/xlogical/metadata.xml new file mode 100644 index 000000000000..e2b7cea129a5 --- /dev/null +++ b/games-puzzle/xlogical/metadata.xml @@ -0,0 +1,15 @@ +<?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> +<longdescription lang="en"> +XLogical is a puzzle game based on the Logical! game that was originally +released by Rainbow Arts on the Commodore Amiga computer. +</longdescription> + <use> + <flag name="alt_gfx">Use alternate graphics which are closer to the original Amiga version</flag> + </use> +</pkgmetadata> diff --git a/games-puzzle/xlogical/xlogical-1.0.7.ebuild b/games-puzzle/xlogical/xlogical-1.0.7.ebuild new file mode 100644 index 000000000000..b458c13e81eb --- /dev/null +++ b/games-puzzle/xlogical/xlogical-1.0.7.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools versionator eutils games + +MY_PV=$(replace_version_separator 2 '-' ) +MY_P=${PN}-${MY_PV} +DESCRIPTION="SDL logical clone" +HOMEPAGE="http://changeling.ixionstudios.com/xlogical/" +SRC_URI="http://changeling.ixionstudios.com/xlogical/downloads/${MY_P}.tar.bz2 + alt_gfx? ( http://changeling.ixionstudios.com/xlogical/downloads/xlogical_gfx.zip )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="alt_gfx" + +RDEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[jpeg] + media-libs/sdl-mixer[mod]" +DEPEND="${RDEPEND} + alt_gfx? ( app-arch/unzip )" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) + +src_unpack() { + unpack ${MY_P}.tar.bz2 + if use alt_gfx ; then + cd "${S}/images" + unpack xlogical_gfx.zip + fi +} + +src_prepare() { + sed -i '/^CXXFLAGS/d' Makefile.am || die + edos2unix properties.h anim.h exception.h + epatch \ + "${FILESDIR}"/${P}-gcc41.patch \ + "${FILESDIR}"/${P}-gcc43.patch + mv configure.in configure.ac + eautoreconf +} + +src_install() { + dogamesbin ${PN} + + insinto "${GAMES_DATADIR}"/${PN} + doins -r ${PN}.{properties,levels} music sound images + find "${D}" -name "Makefile*" -exec rm -f '{}' + + + insinto "${GAMES_STATEDIR}"/${PN} + doins ${PN}.scores + fperms 0660 "${GAMES_STATEDIR}"/${PN}/${PN}.scores + + dodoc AUTHORS ChangeLog NEWS README TODO + make_desktop_entry ${PN} "Xlogical" + prepgamesdirs +} diff --git a/games-puzzle/xpired/Manifest b/games-puzzle/xpired/Manifest new file mode 100644 index 000000000000..5b2426645c5d --- /dev/null +++ b/games-puzzle/xpired/Manifest @@ -0,0 +1,6 @@ +AUX xpired-1.22-ldflags.patch 868 SHA256 3c528e9d093c547bf68e77e6d9b9e881deaf4dd6a9c87318ee13c59f60ffc3b7 SHA512 81987d60466c459a98ac03b8f4bdf8da7c6004a716a83051b58ec35657ab3a93672305ff9a8edcf9e056784919c9ea235f81c71176bf6d4b75d5dabc72b1b7f9 WHIRLPOOL 18cfafd2ef2c82601fe02e5aa5fcd1482edf9b64f874982fd71e3b0ec46a65fa49d9841b64f38571c6089bdc83b98df200ed74c8218a3c4ffc74ef6420fc59eb +DIST xpired-1.22-linux_source.tar.gz 478593 SHA256 7a2c0dd8bab0dc2b937684bbb3d213754921bf2d6bd891d9be00bf2db7bbb505 SHA512 08e506e6206be9346bde083a9cdd25a890c0100826a7fb2b515b60180cfd0b885712261db2e7a5d589078c0b74f2b9ad659b39d9378cb3dc92af111ab499ee10 WHIRLPOOL 166f0149290c7bcd3ae24d26152f502b157a84439c79fbcd4a34e425b857dc8965584e60c455de2b387427e3f89c841f5a52c7f1ae20ee02bc9d5c0e17d77e2a +EBUILD xpired-1.22.ebuild 903 SHA256 6b32417350307665c3cbdec4969ffb83bf1e0d9f67f492a7b84b7af216fbd014 SHA512 7aef2e27472755ddfa6db55df90463491ae534083c2e7b33041b420b00da6da8971b6255ec7a94963da9dd7cdec5313b050d3529e5e02e726106df034951c476 WHIRLPOOL c4c3eb6bb71a29abcefc8737b97c5e1fb5c4e812f24fef98b8eadbb1217648977d140ea39b1d22fc9137219a50f01e7e5fb2c8ec24574b27d741e97d56585ab8 +MISC ChangeLog 2601 SHA256 bdae208eefd5c99d9153bdc9dd43a300a2b7091108ec016ecd0f431864b69ea0 SHA512 4e23ad772b12098081fb40cfb993263d87d7e552091986b795c982961c2a6962fef8f4f872ddd8de4893f3a6a50f14032fe1526ef7ac897d77dade40e7e9dca7 WHIRLPOOL 0d8433a442beb2733360935befb50ad89bdf8ec7f0c8d7d6f597d8bde29366b3baa115d7118447ceb1f34540bd3c573f07ca33ae523548dac842eaa00cc5d885 +MISC ChangeLog-2015 1183 SHA256 a500a4815c36ece446aaf434f0699eb6dab4820a02198d73646cc6950cf9aab3 SHA512 c9487c851413b30dcd33731774fcfa80badcee1f63964eef75d7c4be01606da47896f6f5bb9d5845625861468117b55a406c09f87f24a61db3a440042c0ab672 WHIRLPOOL dbc9fe869b821fe22eecd8d9aca268e0ff9d4965748ffda414f746559a81b45a386c56cc236593df28ba49bb5a0dc694cd07e18c52a7135367b8d8cf9c15e5ed +MISC metadata.xml 329 SHA256 86295dabf74c46cea61d7093559673174b610573f965541f23c7ff8d2e007a08 SHA512 457c612953cc30db620e0315c75ecb20619ee537692e0a871d0c60e8cedaa547bc9e50eb922bf995eb68bde526c641e901d3bfc9d88a097263f5bd90c68f257e WHIRLPOOL 343ea7d76a599f99ad0c932dfbdb8a13b89899dd014f840fc1c717b2aebfc0576e838c300def03a60425ce1345119780e2c05fd783fed083f0162a1978907f93 diff --git a/games-puzzle/xpired/files/xpired-1.22-ldflags.patch b/games-puzzle/xpired/files/xpired-1.22-ldflags.patch new file mode 100644 index 000000000000..f3a1e6839cf4 --- /dev/null +++ b/games-puzzle/xpired/files/xpired-1.22-ldflags.patch @@ -0,0 +1,26 @@ +diff -ru src.orig/Makefile src/Makefile +--- src.orig/Makefile 2002-08-01 14:42:51.000000000 -0400 ++++ src/Makefile 2010-10-13 19:31:21.944183145 -0400 +@@ -1,18 +1,17 @@ + PREFIX=/usr/local + SHARE_PREFIX=$(PREFIX)/share/xpired +-CFLAGS=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" +-LDFLAGS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx +-CC=gcc ++CFLAGS+=`sdl-config --cflags` -DUNIX -DPREFIX=\"$(PREFIX)\" -DSHARE_PREFIX=\"$(SHARE_PREFIX)\" ++LDLIBS=`sdl-config --libs` -lSDL -lSDL_mixer -lSDL_image -lSDL_gfx + + BINARIES = xpired xpiredit + + all: $(BINARIES) + + xpired: xpired.o +- $(CC) -o xpired xpired.o $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o xpired xpired.o $(LDLIBS) + + xpiredit: xpiredit.o xpired_unix.h +- $(CC) -o xpiredit xpiredit.o $(LDFLAGS) ++ $(CC) $(LDFLAGS) -o xpiredit xpiredit.o $(LDLIBS) + + .PHONY: clean + diff --git a/games-puzzle/xpired/metadata.xml b/games-puzzle/xpired/metadata.xml new file mode 100644 index 000000000000..bcec96319239 --- /dev/null +++ b/games-puzzle/xpired/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">xpired</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/xpired/xpired-1.22.ebuild b/games-puzzle/xpired/xpired-1.22.ebuild new file mode 100644 index 000000000000..2c1622689198 --- /dev/null +++ b/games-puzzle/xpired/xpired-1.22.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A Sokoban-styled puzzle game with lots more action" +HOMEPAGE="http://xpired.sourceforge.net" +SRC_URI="mirror://sourceforge/xpired/${P}-linux_source.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/sdl-gfx + media-libs/sdl-image[jpeg] + media-libs/sdl-mixer[mod]" +RDEPEND=${DEPEND} + +S=${WORKDIR}/src + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + emake \ + PREFIX=/usr/games \ + SHARE_PREFIX=/usr/share/games/xpired +} + +src_install() { + emake \ + PREFIX="${D}/usr/games" \ + SHARE_PREFIX="${D}/usr/share/games/${PN}" \ + install + newicon img/icon.bmp ${PN}.bmp + make_desktop_entry xpired Xpired /usr/share/pixmaps/${PN}.bmp + make_desktop_entry xpiredit "Xpired Level Editor" + prepgamesdirs +} diff --git a/games-puzzle/xtris/Manifest b/games-puzzle/xtris/Manifest new file mode 100644 index 000000000000..fdde33c3b54f --- /dev/null +++ b/games-puzzle/xtris/Manifest @@ -0,0 +1,6 @@ +AUX xtris.xpm 1403 SHA256 60dc5ec114d394f6c9e7b69e93fad11213100148aa02ee51f7ba91f8f7500749 SHA512 1956a02d844b517df41a5cc82e236a04ec9609849c4d7b097af5bbb4b03c1e16bc8d6f0491c6cb1c8920bec578beab07381b15cee468079c5e474c80c07d30a3 WHIRLPOOL 6fa31269796c17ee7c61bf589b7733f19592adba71a5cb2cd321003ce3d75c54b38670c9584334acff35c1eee6add6295617179583cfd964870e601cf5ee9bed +DIST xtris-1.15.tar.gz 52130 SHA256 5791b30795382a18536201c95c686f62ade6975fc4e63c651bff36226c933d68 SHA512 a5d5c32a7e1650561464f0fda08c7040ca0061e59b374359894e7f181a2e9dfece7f6bee6ed82295779f3e4ac8e7a607c668c31eeb017d6b641c1fe09dea4791 WHIRLPOOL 2a183a7eadc062fe658ca45b414067b117476386c47d3b9b4791fc32e0c35ada8ea2aa9dfb3928155c08ab29e1eaea86193c457d65b8248a7849fce45cda15fa +EBUILD xtris-1.15.ebuild 781 SHA256 ddb665e45de00081388a4b377895bf35768e3f70e2cd5fcea9e56552c4ce1dd1 SHA512 f34f8de227a2ec80fcc6ba619c51c3b8fef62099f5939a6042479c3a80e65183346116a94d476c6e17dd5c24fb3c005e3c5ceda572f9ac384729f0bfc636b5a6 WHIRLPOOL 52a73859179aa966d2be469fe60ca065788695a5a88025ad3b433ce308dace6f41476e27c55f5953bb0dbed0e61cb9889488bad8fb738f73e19cd4e77706c79c +MISC ChangeLog 2441 SHA256 c684576b74f2e5d05d24f0d43a04154c495e18b1bdd29897c9f530a5cf9cdbfd SHA512 a3584c25bf1eee8196362aaee6ef7ea15d2b07be9362346df30f6692ff8e891ef95d20cf99484349fbee7dbf9cb60e6004dc774ab227caf3b8f691c67f103cbb WHIRLPOOL 1adaba7936c704de62fb9a2a0cb3e60e85e841247337d69a3e654f733a47db90104ca001a5f136d09c59a2a2b6265d89a28d432a01439849cd16a16634156c5b +MISC ChangeLog-2015 1198 SHA256 e8ed319fc807e6f0a52e00bf155bb370829dbe814070779ec80943da7eb5181e SHA512 e25ec0ddd596d9801d5fc7161b5c608e66b6aad4f5b82116fc54131ebdb5de9ecceb07dde5264b1d2f3a0075aa52e27a99eb0c207f1086ad961b54cd2821c794 WHIRLPOOL 2e5eadb3a3e13c8db9b8bb3bc6dfc668f7079277e24e3dcb2efc7e95aeb4afd8f2ea3d9277359c63322fed7e725abe34dd1caede543cd1fd8522ca9b1d079c5c +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/xtris/files/xtris.xpm b/games-puzzle/xtris/files/xtris.xpm new file mode 100644 index 000000000000..27ed16ef5ed7 --- /dev/null +++ b/games-puzzle/xtris/files/xtris.xpm @@ -0,0 +1,41 @@ +/* XPM */ +static char * xtris_xpm[] = { +"34 34 4 1", +" c None", +". c #00F000", +"+ c #007000", +"@ c #00A800", +" ", +" ................................ ", +" ...............+...............+ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" .+++++++++++++++.+++++++++++++++ ", +" ++++++++++++++++++++++++++++++++ ", +" ................................ ", +" ...............+...............+ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" ..@@@@@@@@@@@@++..@@@@@@@@@@@@++ ", +" .+++++++++++++++.+++++++++++++++ ", +" ++++++++++++++++++++++++++++++++ ", +" "}; diff --git a/games-puzzle/xtris/metadata.xml b/games-puzzle/xtris/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/xtris/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> diff --git a/games-puzzle/xtris/xtris-1.15.ebuild b/games-puzzle/xtris/xtris-1.15.ebuild new file mode 100644 index 000000000000..6d07bb9f00ff --- /dev/null +++ b/games-puzzle/xtris/xtris-1.15.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs games + +DESCRIPTION="a networked Tetris-like game" +HOMEPAGE="http://www.iagora.com/~espel/xtris/xtris.html" +SRC_URI="http://www.iagora.com/~espel/xtris/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="x11-libs/libX11" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + BINDIR="${GAMES_BINDIR}" \ + MANDIR=/usr/share/man \ + CFLAGS="${CFLAGS}" \ + EXTRALIBS="${LDFLAGS}" +} + +src_install() { + dogamesbin xtris xtserv xtbot + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry ${PN} xtris ${PN} + doman xtris.6 xtserv.6 xtbot.6 + dodoc ChangeLog PROTOCOL README + prepgamesdirs +} diff --git a/games-puzzle/xwelltris/Manifest b/games-puzzle/xwelltris/Manifest new file mode 100644 index 000000000000..e3064b47e750 --- /dev/null +++ b/games-puzzle/xwelltris/Manifest @@ -0,0 +1,5 @@ +DIST xwelltris-1.0.1.src.tar.gz 422822 SHA256 c7b6321a9a6e735d4e57ec350adc7a6eabf76b8e9fb9d4cf9d91243da2adb38b SHA512 6b1080c6e6d1b579c441d1f42bb6454dafed62a63790d5798e83cf137db7ff2ddc07db7e89b34402a5249770697cc3f8ad5e6222266142c7b43f6936828f2536 WHIRLPOOL 88e968bcafb8742e17d61532d564a9497cdfc5fc1ade1baa6015ef0c0a19f73cb4c281f03f355e34640033f9e45e142f37103316fcc16bbbf85bf02ab7722b2a +EBUILD xwelltris-1.0.1.ebuild 972 SHA256 2983e494c4502e1fe4c7243cb2a4a10a75921e28bbb97cfb5c90bc6ca1e7c907 SHA512 6cafbc1d5f8d67b07bfe1a06fdf095008e53dd609b903fd9fdf7b7207afc46752bbdb086a30211ce3128615fb7f63578c4c1444d4ca044ff7364f5fab355e071 WHIRLPOOL c950edbec04b567ef50627bd1bec5a0f3d1a83cd9fd8f62d477e0dee5cec42a8ab3055813da7be46b7590f9aa0e7fabb37cf64aabd1bae2af00cbf0b8ac3adbd +MISC ChangeLog 2566 SHA256 9a99992cc564fe8d20bdc8a7c726d3e595b22e87d93fc716852518f86478133a SHA512 0651554bcf038045b0fef7ffa664393cc25f237c87424be55fa61a570f0320dc6e24af6c8d874dd22ca6e7180b2f79f1926f8bf99f860710782ef989e943bf34 WHIRLPOOL 768bfb8a51c9448d67210dc01295fccfd3565be8837afa5af133bed8e4a5996a6d61f0ea730ad4497d518a95154e27bbfcedf725c60f71d4a8905e8c50c84706 +MISC ChangeLog-2015 1662 SHA256 57ab26345078db79c7e65805b852502b2839073ec51691b7a9150c2dd46c902f SHA512 32bd966ceaaeef1c7eac6546921bc5ce7bd14bb89eaecc68517235a71c14533e4c3be1fafc05bf16c3e03b93dbcd45632c786003e28a6bf9e3b7f363828cb5f1 WHIRLPOOL 74f262f8c89d61c01793ef2a4d36611c8da590c49b712ca07db5962aa7cf032c57c958a76174437214f02c1d9a3e401151fa440ab7e37a906f9c1f426979323a +MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088 diff --git a/games-puzzle/xwelltris/metadata.xml b/games-puzzle/xwelltris/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-puzzle/xwelltris/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> diff --git a/games-puzzle/xwelltris/xwelltris-1.0.1.ebuild b/games-puzzle/xwelltris/xwelltris-1.0.1.ebuild new file mode 100644 index 000000000000..356cf57dc20d --- /dev/null +++ b/games-puzzle/xwelltris/xwelltris-1.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit games + +DESCRIPTION="2.5D tetris like game" +HOMEPAGE="http://xnc.jinr.ru/xwelltris/" +SRC_URI="http://xnc.jinr.ru/xwelltris/src/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-image[gif]" +RDEPEND=${DEPEND} + +src_prepare() { + sed -i \ + -e '/INSTALL_PROGRAM/s/-s //' \ + src/Make.common.in || die + sed -i \ + -e "/GLOBAL_SEARCH/s:\".*\":\"${GAMES_DATADIR}/${PN}\":" \ + src/include/globals.h.in || die +} + +src_configure() { + # configure/build process is pretty messed up + egamesconf --with-sdl +} + +src_compile() { + emake -C src +} + +src_install() { + dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" /usr/share/man + emake install \ + INSTDIR="${D}/${GAMES_BINDIR}" \ + INSTLIB="${D}/${GAMES_DATADIR}/${PN}" \ + INSTMAN=/usr/share/man + dodoc AUTHORS Changelog README* + prepgamesdirs +} diff --git a/games-puzzle/xye/Manifest b/games-puzzle/xye/Manifest new file mode 100644 index 000000000000..c2895b62cd08 --- /dev/null +++ b/games-puzzle/xye/Manifest @@ -0,0 +1,8 @@ +AUX xye-0.12.2-fix-buildsystem.patch 1020 SHA256 652f7abe2a0bedc46507758a3c3855f1880313cb779b0eacd908561e19fcfb89 SHA512 d4b08db4eb5ee4b3e1e98e9faeda87aafe17ae444cb0a8400c9206c2871b56801040bddeffb13dfed0170094d48ffac593209b2ad69896f8993521d0b0929cf1 WHIRLPOOL d6cdc172a27d7bba389e2c7f04676ff9354b30b4ff94873c261f978386e3f01e2d07655d67afddc642ca60a5a6356a42a947c2fc4ff0804dfdff9fa0fc43d94c +AUX xye-0.12.2-fix-c++14.patch 502 SHA256 789cc5ccaa00f37c30680af5e4e3a604f2a47d27b2522eed8ad4b80af39bfa43 SHA512 c9dcc309b5e451f1608174de4f6016d006879d2267627eebe8ff524af293137af90f4761c8eacbc5ebd9ee633cc7d087e23eb3e7c4970f5484e065dfa8dff3af WHIRLPOOL 3727592b8148c52f3d9def2cf3cfe1bca728f3e46515c02cad5c872ee24cfbc2779e3ac86490e005a8f794dbecfa6912aac8e7312f91143cf1bc951616bbb365 +AUX xye-0.12.2-fix-desktop-file.patch 414 SHA256 e162becad7f3069f564b687b200eb4c2af59a02a232bf7577098b8012dd4eeda SHA512 c798ed5da4e45b0a8d5aaa4dd77fe09d9cb08837a33b44a5c69f89e4d2456fb5964c4fc5646a83fd6166d315200924944ab6dd7eea3f983e4be403a8f14f8c9e WHIRLPOOL b0bb683976a00445eec9da104431beac60559c45e778f1300c6879e9eee691e4d0866fa5f508c76e0ce53d1fdf1974b9453ebda8d5f782aae4b7afa623f0e940 +DIST xye-0.12.2.tar.gz 2860290 SHA256 5d7c04f37d6b4a1821594512c7ddbc8189f968e08ecfd5af55231302f2f917d8 SHA512 a31d922e0a0660d269d30430fbaf1d00924b0271db697f3cbc89b78815e597e11743bd9018fbf3f2f9e7561ad3469e9cca28687efaae7fc6dcba40ada2b5effa WHIRLPOOL 0f4d9105435adab0055cdd8966aa542fd0a231203562bd96ff8b2dff275675233ec1ca541f93e23787d8bf610cb29430f0b97e9f447ba63a695127e670788fc4 +EBUILD xye-0.12.2.ebuild 930 SHA256 4dd3b2f323a5bb9c27938bd56e6d3fef61b5fc8794073d914eb50477a12ea5b2 SHA512 4a2bd11babc7dd881deb73cf57281cc4f295045a04db215ecdec6e161488e6b04a6870c33408b7956e309fef6d0e021ad27a423c185d5bf6daf29504835e03bb WHIRLPOOL e634019c03e114c6d97dfb6c52b23879e6c4d31363c1b652e36cec5d3bbb2dabf41e5ba3006943d75baa3998090ca9fe4c80855a99598ca80d2dfc39833675d7 +MISC ChangeLog 2452 SHA256 6129fafde2a5a784a71f43c9248348e5e0f752a25f4994cec91e31e958b6f1dc SHA512 820077e28129d6d33512820f5008cdabd51eb05f65ae120b70a55cf31e64a54ed87cc7665f0a6cb0c6c92b9c09c157d46de1abbb2c105ce03575aedc7959243e WHIRLPOOL 55860f300f7c4aec059c1e0d75389186a28fa28f17123a58fb6cb9bfa38296b2611a7bd8c0a67b92ce7c3dbfd46e785229c4a474aa5ecb6b465a646ec512294e +MISC ChangeLog-2015 4570 SHA256 01644f568ac3088a9fc233580181c836ad2421f957d7c4c183516b99902705a8 SHA512 0027114a3fb8e9b84a09c3a262ae2114a06b944a4fb9431e0b62d56c2bfee7a54e76dfad53cbcf556d4fb36357d031affa9328384ba2252a161760fe53113bcc WHIRLPOOL 08f80c6c933d0e5ab624d9d00b2ae6c82845acc67d4bb9c174e4981756c7095ae5cae1784ef375664826e69559677c0554c6a3da22673ed6783261d5b5024985 +MISC metadata.xml 326 SHA256 53ad2c31ad316390c07baeb517007dcfa8597da35603dcdfd2785469c988f9e9 SHA512 05084d9dcce50a1d4302a83cb89abd67519143384ff6c1ca3f84e10db468483cf90e4d10c240dc58f47b10df747725c86514db303efaeca048d44a3085bb7fe6 WHIRLPOOL fcd494aa6b0a57bd7ba0b8a7600523c782219fced3817d0a69d5a6d0dcf607647329c69bb507e96c78841fc55aad4865963fdfe76f1de3d5682bec9fd72ba17c diff --git a/games-puzzle/xye/files/xye-0.12.2-fix-buildsystem.patch b/games-puzzle/xye/files/xye-0.12.2-fix-buildsystem.patch new file mode 100644 index 000000000000..c96d42e34681 --- /dev/null +++ b/games-puzzle/xye/files/xye-0.12.2-fix-buildsystem.patch @@ -0,0 +1,45 @@ +Fix build system to respect correct paths +and install files in correct paths. + +--- a/Makefile.am ++++ b/Makefile.am +@@ -4,13 +4,11 @@ + + + bin_PROGRAMS = xye +-xye_LDFLAGS = + ++doc_DATA = NEWS ChangeLog AUTHORS ++html_DATA = ReadMe.html + +-docedir = $(datadir)/@PACKAGE@ +-doce_DATA = ReadMe.html NEWS ChangeLog AUTHORS +- +-levelsdir= $(datadir)/@PACKAGE@/levels ++levelsdir= $(datadir)/$(PACKAGE)/levels + levels_DATA = levels/5levels.xye \ + levels/levels.xye \ + levels/logo.xye \ +@@ -25,12 +23,10 @@ + levels/xyester.xye \ + levels/SuperJustin.xye + +-resdir= $(datadir)/@PACKAGE@/res ++resdir= $(datadir)/$(PACKAGE)/res + res_DATA = res/default.xml \ + res/xye.png \ + res/xye_luminosity.png \ +-res/DejaVuSans.ttf \ +-res/DejaVuSans-Bold.ttf \ + res/fon.bmp \ + res/fon_bold.bmp \ + res/clean40.xml \ +@@ -103,7 +99,7 @@ + src/skins.cpp \ + src/skins.h + +-EXTRA_DIST = ${EXTRA_DIST1} ${xye_SOURCES} ${res_DATA} ${levels_DATA} ${doce_DATA} ++EXTRA_DIST = ${EXTRA_DIST1} ${xye_SOURCES} ${res_DATA} ${levels_DATA} + + DEFS=@data_path_flag@ + diff --git a/games-puzzle/xye/files/xye-0.12.2-fix-c++14.patch b/games-puzzle/xye/files/xye-0.12.2-fix-c++14.patch new file mode 100644 index 000000000000..f2083b871a82 --- /dev/null +++ b/games-puzzle/xye/files/xye-0.12.2-fix-c++14.patch @@ -0,0 +1,14 @@ +Add explicit cast to silence C++14 -Wnarrowing conversion warnings. +See also: https://bugs.gentoo.org/show_bug.cgi?id=600298 + +--- a/src/xsb_level.cpp ++++ b/src/xsb_level.cpp +@@ -784,7 +784,7 @@ +
+ bool FromXyeDFS(int* mem, unsigned char x, unsigned char y)
+ {
+- static const unsigned char dx[4] = {0,0,-1,1}, dy[4] = {-1,1,0,0};
++ static const unsigned char dx[4] = {0,0,(unsigned char)-1,1}, dy[4] = {(unsigned char)-1,1,0,0};
+ int &res = mem[y*XYE_HORZ+x];
+ if( res==0)
+ {
diff --git a/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch b/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch new file mode 100644 index 000000000000..99558ef28732 --- /dev/null +++ b/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch @@ -0,0 +1,18 @@ +Fix .desktop file to comply with FDO specifications. + +--- a/xye.desktop ++++ b/xye.desktop +@@ -4,11 +4,11 @@ + Encoding=UTF-8 + Exec=xye + Type=Application +-Categories=Application;Game;PuzzleGame ++Categories=Game + Name=Xye + GenericName=Xye + Comment=Solve puzzles and action challenges in order to get all the gems in the room. + Terminal=false + StartupNotify=false +-Icon=xye.png ++Icon=xye + MimeType=application/xye-xml diff --git a/games-puzzle/xye/metadata.xml b/games-puzzle/xye/metadata.xml new file mode 100644 index 000000000000..136b7508becd --- /dev/null +++ b/games-puzzle/xye/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">xye</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/xye/xye-0.12.2.ebuild b/games-puzzle/xye/xye-0.12.2.ebuild new file mode 100644 index 000000000000..826aa6152c33 --- /dev/null +++ b/games-puzzle/xye/xye-0.12.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="Free version of the classic game Kye" +HOMEPAGE="http://xye.sourceforge.net/" +SRC_URI="mirror://sourceforge/xye/${P}.tar.gz" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + media-fonts/dejavu + media-libs/libsdl[video] + media-libs/sdl-ttf + media-libs/sdl-image[png]" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.12.2-fix-buildsystem.patch + "${FILESDIR}"/${PN}-0.12.2-fix-c++14.patch + "${FILESDIR}"/${PN}-0.12.2-fix-desktop-file.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + + # create symlinks for previously bundled fonts + dosym /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/res/DejaVuSans.ttf + dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/res/DejaVuSans-Bold.ttf +} diff --git a/games-puzzle/zaz/Manifest b/games-puzzle/zaz/Manifest new file mode 100644 index 000000000000..0b8159d01be7 --- /dev/null +++ b/games-puzzle/zaz/Manifest @@ -0,0 +1,6 @@ +AUX zaz-1.0.0-build.patch 402 SHA256 c7ea6c23d84938c82444705c1e9b99b9d3bbd66b8f1be02f91f2b8d1d74279ad SHA512 4c7b8659407295b1a2003ecfe74f57dad73964666920a1f25fab87518fc6fb4f74285f051bf5df81c205faea5054908fb6da8e427d79ed4cd91f82212be2daa6 WHIRLPOOL b59b7ac671303acc55ef46396640ff447d6e81094e25bb99f9e6296766909eff6ab8a0289817ae220fe563cd0b387dfcfcd80a0407a896b837c39bb28fa6d92a +DIST zaz-1.0.0.tar.bz2 25170073 SHA256 e332cc1a6559e18a2b632940c53d20e2f2d2b583ba9dc1fd02a586437f9f0397 SHA512 8383732aefb1f83623af35c85fc90e0468ca15e2ffb5577d22a5a1b1c60154d3829c58c04bba675c49a7e4b4d14b6fec920c67c6a820a927d2ab5f80b5d694cb WHIRLPOOL 09e596a903a35378068005123388c6fcd981133ce27823d424574f1a35a8d243e79f05edf76ebf42d8bf7e93155c43af71c5f81554c92b6cf75fceb04ee31bea +EBUILD zaz-1.0.0.ebuild 1184 SHA256 c118f2376dc7560459e9edae3e92f4b087891381fba5f28c7707ddd783eb1780 SHA512 f448499510c16a228a9c6a7f9326df0e30cc2b5ef4c25da85fc71a5a54ec74563a7c9fdff8d5c922f91ccef03812b7a6439bf04b44759ea1d8f3611adad1ed23 WHIRLPOOL 03a9f8183d9894b1b76df977066afe0813340265b828fbca94341dd1b9fc45c2838cf394fc24e45401bba3e383c115defbd9b5de47232136c6bb2246e4d5a7e4 +MISC ChangeLog 2557 SHA256 c377472a9a03f7793a4be5645c2e13c9d8a33ad78057159876d4e8455bfd4740 SHA512 7e6a9ebfeed649d973c2d75353e85439faec89d4fc3d2b7bb99351204799be8cb8ed019701b724a1ebec174fc95ff4e99ea4e899dd9bd8ad0149d6ec9801efa3 WHIRLPOOL 70b36042d00de10304f20edde81a71f26f407b35ceacb2ef93a9584182e4af0c4e02fb65acbbbe891cd3f5ea193874463f8a40ed9cccb13bf3cec94f20c7ae09 +MISC ChangeLog-2015 2606 SHA256 013b787b620817815e8b9a0b030a4272e837eb55b91b18fb9db3c22f25042a1a SHA512 291d16a9b9e71729f92aa43a2dca9f757e3c83dedcce0ae20e4c3c090b5c5e8fefaa478a81b0539c120e95ddd71c8c30c20b9c747eb65fe9898ea2bc7ad2f1fe WHIRLPOOL c2c8ea1921e811d9dd0c934158bfe1915376817aebffc1fd4b6b13689ef31d30da7710efae5be6d2c27281b2d6e152b14ce8d27db948f434d33653f4a50defb3 +MISC metadata.xml 326 SHA256 f9fc7ae8b18d27dec7fb93743a5c848875036ace1037517b329dc3ed6b8a1e9c SHA512 c96c9c7a3ff21d49bcaf2418c5c21e2f83070d2d148d8a8faaeb790ca3dbc522ecab9d28a1df884e5e47543fb8067ce538e6ba62c04da8f43e6f6241cb0134ba WHIRLPOOL 2adacbc16e8fdd1732b4dbc06b86a665e4e7ba6b0ea63d54c17f7cddf6deeb7efc8f5347a6c3d0c5edc47c6a035aa63dd58dd2c253f2e749ab3e8fe841e05837 diff --git a/games-puzzle/zaz/files/zaz-1.0.0-build.patch b/games-puzzle/zaz/files/zaz-1.0.0-build.patch new file mode 100644 index 000000000000..bef2954bf088 --- /dev/null +++ b/games-puzzle/zaz/files/zaz-1.0.0-build.patch @@ -0,0 +1,19 @@ +diff -ru zaz-0.7.0.orig/Makefile.am zaz-0.7.0/Makefile.am +--- zaz-0.7.0.orig/Makefile.am 2009-10-14 18:20:14.000000000 -0400 ++++ zaz-0.7.0/Makefile.am 2010-05-13 15:49:59.404464060 -0400 +@@ -2,15 +2,6 @@ + + SUBDIRS = po src data extra + +-dist_doc_DATA = \ +- README\ +- COPYING\ +- AUTHORS\ +- ChangeLog\ +- INSTALL\ +- NEWS +- +- + EXTRA_DIST = config.rpath m4/ChangeLog\ + $(shared_data_DATA) \ + zaz.anjuta\ diff --git a/games-puzzle/zaz/metadata.xml b/games-puzzle/zaz/metadata.xml new file mode 100644 index 000000000000..58fcbb5f8ac8 --- /dev/null +++ b/games-puzzle/zaz/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <upstream> + <remote-id type="sourceforge">zaz</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-puzzle/zaz/zaz-1.0.0.ebuild b/games-puzzle/zaz/zaz-1.0.0.ebuild new file mode 100644 index 000000000000..b5d985d25b3f --- /dev/null +++ b/games-puzzle/zaz/zaz-1.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools flag-o-matic eutils games + +DESCRIPTION="A puzzle game where the player has to arrange balls in triplets" +HOMEPAGE="https://sourceforge.net/projects/zaz/" +SRC_URI="mirror://sourceforge/zaz/${P}.tar.bz2" + +LICENSE="GPL-3 GPL-3+ CC-BY-SA-3.0 OFL" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="nls" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/libsdl[X,sound,video] + media-libs/sdl-image[jpeg,png] + media-libs/libvorbis + media-libs/libtheora + media-libs/ftgl + virtual/libintl" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + local x=/usr/share/gettext/po/Makefile.in.in + [[ -e $x ]] && cp -f $x po/ #336119 + + epatch "${FILESDIR}"/${P}-build.patch + eautoreconf +} + +src_configure() { + append-libs -lvorbis + append-cflags $(pkg-config sdl --cflags) + append-cxxflags $(pkg-config sdl --cflags) + egamesconf \ + --disable-dependency-tracking \ + --with-applicationdir=/usr/share/applications \ + --with-icondir=/usr/share/pixmaps \ + --localedir=/usr/share/locale \ + $(use_enable nls) +} + +src_install() { + default + prepgamesdirs +} |