diff options
Diffstat (limited to 'games-arcade')
703 files changed, 15229 insertions, 1616 deletions
diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz Binary files differindex 0642128770ee..4a4fdff16902 100644 --- a/games-arcade/Manifest.gz +++ b/games-arcade/Manifest.gz diff --git a/games-arcade/abe-1.1-r1 b/games-arcade/abe-1.1-r1 deleted file mode 100644 index 08ecb58c8e4b..000000000000 --- a/games-arcade/abe-1.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=configure install prepare unpack -DEPEND=media-libs/libsdl[sound,video] x11-libs/libXi media-libs/sdl-mixer[vorbis] -DESCRIPTION=A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game -EAPI=6 -HOMEPAGE=http://abe.sourceforge.net/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] x11-libs/libXi media-libs/sdl-mixer[vorbis] -SLOT=0 -SRC_URI=mirror://sourceforge/abe/abe-1.1.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=a7620659099894ea7e3a63d7cbb3f913 diff --git a/games-arcade/abe/Manifest b/games-arcade/abe/Manifest new file mode 100644 index 000000000000..db8c3ca31be0 --- /dev/null +++ b/games-arcade/abe/Manifest @@ -0,0 +1,7 @@ +AUX abe-1.1-doublefree.patch 250 BLAKE2B 8d39ae1dd2ba1cc77f3bddc726f6811c232ee30a094531b394e54e6be96af73e280ee4934344d980a7638a545e0e1817ff7b6296f3820475e3394f2b546228eb SHA512 ca3091783c409a02a0aedf22e41829ff9198b2385cf474f9b365d4acdc2806a1ee952741816df7e658e5c48282b45d5e7577db9def01eb24448d5c579c5985ca +AUX abe-1.1-format-security.patch 2601 BLAKE2B b918881d0de19eafca8da7a9cc47efdc52bfdc68e5f5c75591093db3045fe2bd47872b0f7e73b3c734de49e38b6d45ec9b268c60bfe14cf0690bac321469232e SHA512 9750a765fc46d70c9b322a7ddc363b4680a6f16ebc9a9ccd0c164d7cb61fa4618969db31d9fdf26d5fa993ac2a285db09a67563c5b286131981bc7f3e9a37712 +AUX abe-1.1-format.patch 506 BLAKE2B 9c91f56e58701d26b3a5809b6a764bd1acc38f4628849171f06d61e2eec1f9ffb3076f0e35c4dd26199f110c679a8c66c4a05d297a1d62d3845cb28e47ee642c SHA512 e0ddbaad3034ab28198ddf8fd7cbebc0648c1a4d30e4d597c90fe3c9327194de579da92d5acbd1a6ab99a50f11c8967f4a5cdda00776f404175f060f8e210c24 +AUX abe-1.1-settings.patch 336 BLAKE2B 093ab417049ce54d012557fd7df9dc59ebd6e6095b0983d465aba0813ae6bfbd2c1c76e5d82bd734481781289c26619ef4bd4cb3651b08655030d36adbb35e4e SHA512 a609ec800165859854a132cca4dc1a12407746b832eae2326889212bcf155076f89ceb980e9cf6c678cdd9f160368c915e617d72b7d26bde2ec7fb23a7c05218 +DIST abe-1.1.tar.gz 3321075 BLAKE2B 2ab51bd9103e8954bbc27eceb81b4bb845ec84ee249f21aaefdc59df87689f865d3b62a8c2db9584b8361303028174b1a96b60e0caf88ee857f8ad0d3cd3d920 SHA512 6106fce9c72554596ac3f94551326381e98c0d40f7a5aa8ae7aeadaa234c113733e8df717bd1b18d2ba835f689982e859607c9d88ab2d59790ec00833a4e48c7 +EBUILD abe-1.1-r1.ebuild 1625 BLAKE2B f7a432819a6ab0f18979e394b21ddab7a720dac6d6170286def241e5c362e719ce9d14b19b262114fe33cb76dcc400d8261ec52334942438f3fcdcde519b21fc SHA512 99c54f52d343cc759ce3238e56b96e743d1c7f03ecabe4d088326a3fd31234947024c563722b3db0c88696ea53875721e8d2ba34ef1115a0bd7e1679192594f2 +MISC metadata.xml 326 BLAKE2B a19b06620dabc908c6b71603bf229a0bbfb5fc8cd604580394c13ddd522ef52261985942321a18b8ce643fee8ad5ff15c915aac3861264111f4dcbefe8406d56 SHA512 85695bf3253d22818b913db2dad61277afe8062258c1b5b80ab9604261304b9f5dd39a50a9565ee4361ea793eff0fa23562c4a20bb9ea63a3296514c33ec1788 diff --git a/games-arcade/abe/abe-1.1-r1.ebuild b/games-arcade/abe/abe-1.1-r1.ebuild new file mode 100644 index 000000000000..25fb312e3b54 --- /dev/null +++ b/games-arcade/abe/abe-1.1-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop toolchain-funcs + +DESCRIPTION="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game" +HOMEPAGE="http://abe.sourceforge.net/" +SRC_URI="mirror://sourceforge/abe/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + x11-libs/libXi + media-libs/sdl-mixer[vorbis]" +RDEPEND=${DEPEND} + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./images/images.tar +} + +PATCHES=( + # From Fedora: + # Enable changing the video settings. Sent upstream 2 Apr 2006: + # https://sourceforge.net/tracker/?func=detail&aid=1463202&group_id=70141&atid=526743 + "${FILESDIR}"/${P}-settings.patch + + # Fix a double free() bug. Sent upstream 15 Mar 2011: + # https://sourceforge.net/tracker/?func=detail&aid=3214269&group_id=70141&atid=526745 + "${FILESDIR}"/${P}-doublefree.patch + + # Fix an incorrect printf format specifier. Sent upstream 15 Mar 2011: + # https://sourceforge.net/tracker/?func=detail&aid=3214270&group_id=70141&atid=526745 + "${FILESDIR}"/${P}-format.patch + + # Fix build failure with -Werror=format-security + "${FILESDIR}"/${P}-format-security.patch +) + +src_prepare() { + default + sed -i \ + -e "/^TR_CFLAGS/d" \ + -e "/^TR_CXXFLAGS/d" \ + configure || die +} + +src_configure() { + econf --with-data-dir=/usr/share/${PN} +} + +src_install() { + dobin src/abe + insinto /usr/share/${PN} + doins -r images sounds maps + newicon tom1.bmp abe.bmp + make_desktop_entry abe "Abe's Amazing Adventure" /usr/share/pixmaps/abe.bmp + einstalldocs +} diff --git a/games-arcade/abe/files/abe-1.1-doublefree.patch b/games-arcade/abe/files/abe-1.1-doublefree.patch new file mode 100644 index 000000000000..ce7389d97100 --- /dev/null +++ b/games-arcade/abe/files/abe-1.1-doublefree.patch @@ -0,0 +1,11 @@ +--- a/src/Main.c.orig 2005-03-05 09:20:04.000000000 -0700 ++++ b/src/Main.c 2011-03-14 10:08:31.846413904 -0600 +@@ -35,8 +35,6 @@ + for(i = 0; modes[i]; ++i) + printf("\t%d x %d\n", modes[i]->w, modes[i]->h); + } +- +- free(modes); + } + + void diff --git a/games-arcade/abe/files/abe-1.1-format-security.patch b/games-arcade/abe/files/abe-1.1-format-security.patch new file mode 100644 index 000000000000..ad88b4b60486 --- /dev/null +++ b/games-arcade/abe/files/abe-1.1-format-security.patch @@ -0,0 +1,87 @@ +--- ./src/Game.c.orig 2005-03-05 09:20:04.000000000 -0700 ++++ ./src/Game.c 2013-11-20 12:30:00.000000000 -0700 +@@ -6,21 +6,14 @@ Game game; + + // path_sprintf should not be used by other .c files, as it does not fit for them. + static void +-path_sprintf(char *path, char *formatted_name, int version) ++path_sprintf(char *path, const char *name, int version) + { +- +- int len; +- +- printf("path_sprintf (%p, %s, %d)\n", path, formatted_name, version); +- +- strcpy(path, getSaveGameDir()); +- +- len = strlen(path); +- + if(1 == version) { +- sprintf(path + len, formatted_name); ++ printf("path_sprintf (%p, %s.dat, %d)\n", path, name, version); ++ sprintf(path, "%s%s.dat", getSaveGameDir(), name); + } else { +- sprintf(path + len, formatted_name, version); ++ printf("path_sprintf (%p, %s%d.dat, %d)\n", path, name, version, version); ++ sprintf(path, "%s%s%d.dat", getSaveGameDir(), name, version); + } + + } +@@ -30,14 +23,14 @@ deleteSavedGame() + { + char path[PATH_SIZE]; + // version 2 +- path_sprintf(path, "save%d.dat", GAME_VERSION); ++ path_sprintf(path, "save", GAME_VERSION); + remove(path); +- path_sprintf(path, "savedmap%d.dat", GAME_VERSION); ++ path_sprintf(path, "savedmap", GAME_VERSION); + remove(path); + // version 1 +- path_sprintf(path, "save.dat", 1); ++ path_sprintf(path, "save", 1); + remove(path); +- path_sprintf(path, "savedmap.dat", 1); ++ path_sprintf(path, "savedmap", 1); + remove(path); + } + +@@ -51,7 +44,7 @@ saveGame() + + mkshuae(); + +- path_sprintf(path, "save%d.dat", GAME_VERSION); ++ path_sprintf(path, "save", GAME_VERSION); + + if(!(fp = fopen(path, "wb"))) { + err = strerror(errno); +@@ -79,7 +72,7 @@ saveGame() + SDL_RWclose(rwop); + + // save the map +- path_sprintf(path, "savedmap%d.dat", GAME_VERSION); ++ path_sprintf(path, "savedmap", GAME_VERSION); + saveMapPath(path); + } + +@@ -96,7 +89,7 @@ loadGame() + version = (int) GAME_VERSION; + + // load the map +- path_sprintf(path, "savedmap%d.dat", GAME_VERSION); ++ path_sprintf(path, "savedmap", GAME_VERSION); + if(!loadMapPath(path, 0)) { + // if can't find saved map load static map + fprintf(stderr, +@@ -112,9 +105,9 @@ loadGame() + // try to find a saved game of any version + while(version > 0) { + if(version > 1) { +- path_sprintf(path, "save%d.dat", version); ++ path_sprintf(path, "save", version); + } else { // By Pedro: version==1 +- path_sprintf(path, "save.dat", version); ++ path_sprintf(path, "save", version); + } + fprintf(stderr, "Trying to load saved game: %s\n", path); + fflush(stderr); diff --git a/games-arcade/abe/files/abe-1.1-format.patch b/games-arcade/abe/files/abe-1.1-format.patch new file mode 100644 index 000000000000..529534745712 --- /dev/null +++ b/games-arcade/abe/files/abe-1.1-format.patch @@ -0,0 +1,11 @@ +--- a/src/MapIO.c.orig 2005-03-05 09:20:04.000000000 -0700 ++++ b/src/MapIO.c 2011-03-14 10:15:33.166949366 -0600 +@@ -93,7 +93,7 @@ + // compression step 1: read compressed data from disk + // FIXME: what would be nicer is to only allocate as much mem as used on disk. + size = LEVEL_COUNT * map.w * map.h; +- printf("size %u\n", size); ++ printf("size %zu\n", size); + fflush(stdout); + if(!(read_buff = (Uint16 *) malloc(sizeof(Uint16) * size))) { + fprintf(stderr, "Out of memory on map read."); diff --git a/games-arcade/abe/files/abe-1.1-settings.patch b/games-arcade/abe/files/abe-1.1-settings.patch new file mode 100644 index 000000000000..ea5809f7386a --- /dev/null +++ b/games-arcade/abe/files/abe-1.1-settings.patch @@ -0,0 +1,12 @@ +diff -Naur --exclude '*.swp' abe-1.1/src/Menu.c abe-1.1.new/src/Menu.c +--- abe-1.1/src/Menu.c 2005-03-05 08:20:04.000000000 -0800 ++++ abe-1.1.new/src/Menu.c 2006-04-02 15:04:37.000000000 -0700 +@@ -116,7 +116,7 @@ + if(n == SOUND_ENABLED || n == MUSIC_ENABLED) + return sound_loaded; + else +- return 0; ++ return 1; + } + + void diff --git a/games-arcade/abe/metadata.xml b/games-arcade/abe/metadata.xml new file mode 100644 index 000000000000..e9edf695246f --- /dev/null +++ b/games-arcade/abe/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">abe</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/afternoonstalker-1.1.5-r1 b/games-arcade/afternoonstalker-1.1.5-r1 deleted file mode 100644 index 4ef68a920486..000000000000 --- a/games-arcade/afternoonstalker-1.1.5-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=>=dev-games/flatzebra-0.1.6 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Clone of the 1981 Night Stalker video game by Mattel Electronics -EAPI=6 -HOMEPAGE=http://perso.b2b2c.ca/sarrazip/dev/afternoonstalker.html -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=dev-games/flatzebra-0.1.6 -SLOT=0 -SRC_URI=http://perso.b2b2c.ca/sarrazip/dev/afternoonstalker-1.1.5.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=28c8e004b495cc9464ee5f13b881d6a7 diff --git a/games-arcade/afternoonstalker/Manifest b/games-arcade/afternoonstalker/Manifest new file mode 100644 index 000000000000..517abd31b285 --- /dev/null +++ b/games-arcade/afternoonstalker/Manifest @@ -0,0 +1,3 @@ +DIST afternoonstalker-1.1.5.tar.gz 202663 BLAKE2B 1572e5fa2b7ac0c9e24897cd8e31333c1a1819fc36576a3410cbb2ab6676ee505182dc71dd97e65ccaaff8218c470065bdc942a380aafb506f4c0032d4325df4 SHA512 ff08cc72385deddfaffabf98c3cc67f72f8c6db77de1feb4e19d2d3dcf6ca1018a71d6e052d2e2373dc758e119a4c068a3f4195cb6fbf1b01900bdedf193a7e0 +EBUILD afternoonstalker-1.1.5-r1.ebuild 813 BLAKE2B 2bad234cc4b69ec0638c0661cd656796a3cec74bab46d6be8979e23a0982a1ceafea1dd1f084a8bf1fe03a447b498fef19d0b19f45fddc7e0c16958c22952510 SHA512 186e838fc925db34b60f7ef8186c41c1e7751a176f992a7ef512200ac2117d0b02d9747e923c86b62b3cd018ed8197ad93272ccf7530ff3cd95c653d95bf084a +MISC metadata.xml 383 BLAKE2B 40ab8c4f0c3bbc162a20b7db8130b1d3d3a22dd8b0a828403000c58c1eb5c977ef6b93077f2f887828b6ca6809feefdf234605ca9c71170e13590e6e6f390410 SHA512 6ac1eca021c30af55b915f3d34d180ad429f9f16e7e942b3853d8f77f0ba82fa8bf97439209414e7541b0c0bfba29b49b1efc143e690ae7f8dbffd1fcaae9986 diff --git a/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild b/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild new file mode 100644 index 000000000000..f7f3afc9f23e --- /dev/null +++ b/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="Clone of the 1981 Night Stalker video game by Mattel Electronics" +HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/afternoonstalker.html" +SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-games/flatzebra-0.1.6" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + sed -i \ + -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \ + -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \ + -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \ + src/Makefile.am || die + eautoreconf +} + +src_install() { + emake -C src DESTDIR="${D}" install + doman doc/${PN}.6 + einstalldocs +} diff --git a/games-arcade/afternoonstalker/metadata.xml b/games-arcade/afternoonstalker/metadata.xml new file mode 100644 index 000000000000..418dc79f8c64 --- /dev/null +++ b/games-arcade/afternoonstalker/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> +<longdescription lang="en"> +Afternoon Stalker, a clone of the 1981 Night Stalker video game by Mattel +Electronics. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/alienwave-0.4.0-r1 b/games-arcade/alienwave-0.4.0-r1 deleted file mode 100644 index 2910fd69aa02..000000000000 --- a/games-arcade/alienwave-0.4.0-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=install -DEPEND=sys-libs/ncurses:0 -DESCRIPTION=An ncurses-based Xenon clone -EAPI=6 -HOMEPAGE=http://www.alessandropira.org/alienwave/aw.html -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0 -SLOT=0 -SRC_URI=http://www.alessandropira.org/alienwave/alienwave-0.4.0.tar.gz -_md5_=52dd0a543aabc845013a93b0f97ec0f3 diff --git a/games-arcade/alienwave/Manifest b/games-arcade/alienwave/Manifest new file mode 100644 index 000000000000..ad6934d9c279 --- /dev/null +++ b/games-arcade/alienwave/Manifest @@ -0,0 +1,4 @@ +AUX alienwave-0.4.0-gentoo.patch 497 BLAKE2B 22d3d200e24185e7b307658dad527f92e16f2ba3a050c9b1114f92b01150e9005d573d3729b281f0f02026557e37ef099fc1b72c2aeb103f911861d61c946fbf SHA512 2366807bf2f9f9ac8c7d38155bba31377c6175cff8b402d8f99ff2f64076f84c26c4156c5846a9e7125604d2bb72b0743f243d6cc1c2ab817c73edbe7b9f88d9 +DIST alienwave-0.4.0.tar.gz 21931 BLAKE2B d65701ba7dc94c5507b93c2fb0c5798c01e0298b9cdfdb96e2dbdecb994adea757046a1186b19dfed4aae80bfcc0d7cf86167d3d29ddbf7e53efde7a0f6087c5 SHA512 e3342facda85fb5fee8cb34569a60877d7f9110f23b543f16abe20d694556e1e33a45e1d39dec5c0fdf4cec7f10547c5974a629d29669da985456d8c0398e9bd +EBUILD alienwave-0.4.0-r1.ebuild 519 BLAKE2B 6dc37d43cc0d91f30e0d3a3f3f459a31c40a7877f788aa88493c94c161652ae9e32f644c13f490a921d55c6e5914fc0371122b423c56efd7b689ae9bb673e5bf SHA512 7a14d38fad220561c6239daede7494d2dd6c2f2a32c14bf2871bfd3f840f35f33f4f1d65c39a1c6c890fe96e09e19dbcea50a0cf4acfb85a4ded3a5858b78bef +MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild b/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild new file mode 100644 index 000000000000..eda16474a7f5 --- /dev/null +++ b/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="An ncurses-based Xenon clone" +HOMEPAGE="http://www.alessandropira.org/alienwave/aw.html" +SRC_URI="http://www.alessandropira.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="sys-libs/ncurses:0" +RDEPEND=${DEPEND} + +S="${WORKDIR}/${PN}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_install() { + dobin alienwave + dodoc TO_DO README STORY +} diff --git a/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch b/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch new file mode 100644 index 000000000000..bed5d38c0b8f --- /dev/null +++ b/games-arcade/alienwave/files/alienwave-0.4.0-gentoo.patch @@ -0,0 +1,22 @@ +--- alienwave.orig/Makefile ++++ alienwave/Makefile +@@ -1,9 +1,7 @@ + # This file is part of Alienwave, a game by Alessandro Pira + +-CC = gcc + OBJS = main.o blit.o aliens.o xzarna.o fire.o shield.o levels.o util.o + # CFLAGS = -c -O2 -Wall -DDEBUG_LEV +-CFLAGS = -c -O2 -Wall + LIB = -lncurses + + # Uncomment this if you want random waves +@@ -16,8 +14,7 @@ + + + alienwave: $(OBJS) +- $(CC) $(OBJS) $(LIB) -o alienwave +- strip alienwave ++ $(CC) $(OBJS) $(LDFLAGS) $(LIB) -o alienwave + + main.o: main.c + diff --git a/games-arcade/alienwave/metadata.xml b/games-arcade/alienwave/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-arcade/alienwave/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-arcade/amphetamine-0.8.10-r1 b/games-arcade/amphetamine-0.8.10-r1 deleted file mode 100644 index ab8d99f06868..000000000000 --- a/games-arcade/amphetamine-0.8.10-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=media-libs/libsdl[sound,video] x11-libs/libXpm -DESCRIPTION=a cool Jump'n Run game offering some unique visual effects -EAPI=6 -HOMEPAGE=http://homepage.hispeed.ch/loehrer/amph/amph.html -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] x11-libs/libXpm -SLOT=0 -SRC_URI=http://homepage.hispeed.ch/loehrer/amph/files/amphetamine-0.8.10.tar.bz2 http://homepage.hispeed.ch/loehrer/amph/files/amphetamine-data-0.8.6.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=e89726d03c801bb0d6e5255e92a51eee diff --git a/games-arcade/amphetamine/Manifest b/games-arcade/amphetamine/Manifest new file mode 100644 index 000000000000..e3a8e1119d30 --- /dev/null +++ b/games-arcade/amphetamine/Manifest @@ -0,0 +1,10 @@ +AUX amphetamine-0.8.10-64bit.patch 2708 BLAKE2B 6abc82e1758000b1fbb3e930f51873026a9e6ab0c1558b2f793a9fad75d240b5c31fec6d69f7144a9c3a91eca809fca6860fdb72a1211b8aefd0d4d64480774a SHA512 8216a5b59c52488f35416295256087771c82e8996787e74d03d416829b628267d17b47cc5f6d7bae2ff87b442bdb38aec4f78f14cd130fb045f5c8272f6b4c9d +AUX amphetamine-0.8.10-bugs.patch 1821 BLAKE2B 3b0870cecaa55879da3d5107e2c23d7c972e49b1289519b2107fa0da48376c562364b8d4c632812dd20a80e4e6a02fc9ddd157aa8e104a3a8e097f238c422ae9 SHA512 30cc93031152e3f244a30cb56430b451ddfb8ccfddde0fc6cd681cbc6bf0ffb4d4801df642b5330fc1462d68cb0fc3e8d8f97f7e4dc87925b5335f5b1707ff8e +AUX amphetamine-0.8.10-build.patch 700 BLAKE2B d63c5a73f065f181a6673feb3d90e852e85befb51446ac003eca6ea6076caa36cbd911ac0e33064b5aa549c9ffee8264c5a31a34bfa7ecc659f8c07687d12130 SHA512 c79c133bb6acfc666e557e09b0ca3b556203331d167b5266217a19880b5af2101776b651a420a81b53fc4fbf790de221d0b758979955632230226581dfa30ced +AUX amphetamine-0.8.10-missing-headers.patch 457 BLAKE2B 00c50c928487ff0e8fc4bf1c707d77b6ab28b064a9682e1d7f086e6b0555868c662dd68d5b474dca6346a23eb9bc91620b3f92ce18a6e7f0be597c14b41e0c5d SHA512 1f95ac463f600b0e3812afba10682657cdd8b95dd1e77f6a2fb93af7dab60fcb85c85e60613ee4c93421faf7492ca4663d2c94bc96172c52913effe63d259523 +AUX amphetamine-0.8.10-newline.patch 11906 BLAKE2B bf505f9f51d800b6b99b4a80d9c8cd30a91c97262e7984f371be16044328475ba5905145297019bc411c5c1394a81ee2c3cc3f753af46254cf4269f8e21449fe SHA512 9bb6e300f5c17a4ae2502162c3a7940a9574fcd6c09274454a6170c5b0cfdfdf3e4668d9c6e7876f7ea48119c94e098aef605836c866f8a475d81a15129d28b1 +AUX amphetamine-0.8.10-no-lxt.patch 504 BLAKE2B ab06ee2b2209b293d0a126127c5d0cbc0d51081295d9c53d4805cd386027cd77b94a8c8153c64da6bbf6d4bcf88c0cd79a4730d04d06be4785478ec5b39b8d7b SHA512 6c96aa314cc63de4b3472bfff6e0d0d25407f4f8e8a0974df5d20af9dc44fd95a70974cec3174c642ca01be70223c1a1eaea5d300d2026a35805e03e65028207 +DIST amphetamine-0.8.10.tar.bz2 72324 BLAKE2B 39d8f56066e7fbad853198be28375dfe7ee766d7c493a6faf0e2fa321ee2d2d757f5f294418208ac97a440d58bae03d40de2615e421bb8e9fad7a8ba5220d354 SHA512 eb3106df6070e207ffb3293ac4701bba8222603c0e399667505bad29b6f6433dc9ec008499b5180f713a724d3b686fead15536a20927195bc57780be16a860ef +DIST amphetamine-data-0.8.6.tar.bz2 928775 BLAKE2B 078de623c719ebaedae3137fe3876ecd7ba02ad7ec44a64b7775fd173a42b399d137a3862d3fe426780a234638b0876a1f0fc5a06d6ab8f4b3c4ca66df367a49 SHA512 0feb86f420b4816064594756bb30bb6e02ae5062f03ef175b3262a8f30043340933f6f1b1894e2b2cfad70befc76d3ed1e0d2777c2dc2f7461459e8a93efeaf1 +EBUILD amphetamine-0.8.10-r1.ebuild 1077 BLAKE2B de34c36beb4aa7d91013a545b4d27fc48b2cec791b45cc4109441aa2c6e0447f684e9420b9b6ef74beb2680abb3477bfa4bfcb6fe580909a7122e06ff3d3d10f SHA512 fb5958ad03a640ee0e2ffee5b6db758bd4694a99cd8638bd5e525bc7b254537506e47638e0e381566da6149491492ce633c8a857c7d17099cdc187908003cf12 +MISC metadata.xml 371 BLAKE2B 12bcfb84a083c0001e99fa3f002b259a5a448f895af66240422d951fc82e4d8635849b8604e588d977c99b47681bc9c3282217a81f107ba7a646fbdbc31f7bb1 SHA512 84d30e975d4eb430e73220b406c49c6d1015f0b449df73af8ff5aa4811a6634f5e90f2db52b28e4a39a1159cbdebc89d9dcb857821401a82156716ab94d5e8c5 diff --git a/games-arcade/amphetamine/amphetamine-0.8.10-r1.ebuild b/games-arcade/amphetamine/amphetamine-0.8.10-r1.ebuild new file mode 100644 index 000000000000..8df81545c760 --- /dev/null +++ b/games-arcade/amphetamine/amphetamine-0.8.10-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="a cool Jump'n Run game offering some unique visual effects" +HOMEPAGE="http://homepage.hispeed.ch/loehrer/amph/amph.html" +SRC_URI="http://homepage.hispeed.ch/loehrer/amph/files/${P}.tar.bz2 + http://homepage.hispeed.ch/loehrer/amph/files/${PN}-data-0.8.6.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + x11-libs/libXpm" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-64bit.patch + + # From Debian: + "${FILESDIR}"/${P}-no-lxt.patch + "${FILESDIR}"/${P}-bugs.patch + "${FILESDIR}"/${P}-missing-headers.patch + "${FILESDIR}"/${P}-newline.patch +) + +src_prepare() { + default + sed -i -e '55d' src/ObjInfo.cpp || die +} + +src_compile() { + emake INSTALL_DIR=/usr/share/${PN} +} + +src_install() { + newbin amph ${PN} + insinto /usr/share/${PN} + doins -r ../amph/* + newicon amph.xpm ${PN}.xpm + make_desktop_entry ${PN} Amphetamine ${PN} + einstalldocs +} diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-64bit.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-64bit.patch new file mode 100644 index 000000000000..b7588face714 --- /dev/null +++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-64bit.patch @@ -0,0 +1,72 @@ +--- amphetamine-0.8.10.orig/src/Shape.cpp ++++ amphetamine-0.8.10/src/Shape.cpp +@@ -56,12 +56,12 @@ + */ + #ifdef __OPT_MEM_ACCESS__ + +-#define GET_LONG(adr) *(unsigned long *)adr +-#define SET_LONG(adr, l) *(unsigned long *)adr = l ++#define GET_LONG(adr) *(uint32_t *)adr ++#define SET_LONG(adr, l) *(uint32_t *)adr = l + + #else + +-#define GET_LONG(adr) ((long)((unsigned char *)(adr))[0] << 24) + ((long)((unsigned char *)(adr))[1] << 16) + ((long)((unsigned char *)(adr))[2] << 8) + ((long)((unsigned char *)(adr))[3]) ++#define GET_LONG(adr) ((uint32_t)((unsigned char *)(adr))[0] << 24) + ((uint32_t)((unsigned char *)(adr))[1] << 16) + ((uint32_t)((unsigned char *)(adr))[2] << 8) + ((uint32_t)((unsigned char *)(adr))[3]) + #define SET_LONG(adr, l) ((unsigned char *)adr)[0] = (unsigned char)((l) >> 24); \ + ((unsigned char *)adr)[1] = (unsigned char)((l) >> 16); \ + ((unsigned char *)adr)[2] = (unsigned char)((l) >> 8); \ +@@ -116,7 +116,7 @@ + { + // store the location of this line start + lineStartPtr = destPtr; +- destPtr += sizeof( unsigned long ); ++ destPtr += sizeof( uint32_t ); + + // at the beginning of each row we are not in any run + drawRunFlag = kFalse; +@@ -160,7 +160,7 @@ + // create the skip token + //*( ( unsigned long * )destPtr ) = ( kSkipPixelsToken << 24 ) + runCounter; + SET_LONG(destPtr, ( kSkipPixelsToken << 24 ) + runCounter); +- destPtr += sizeof( unsigned long ); ++ destPtr += sizeof( uint32_t ); + } + + // are we in a draw run +@@ -179,7 +179,7 @@ + + // save the location of the token (so we can fill it in later) + runTokenPtr = destPtr; +- destPtr += sizeof( unsigned long ); ++ destPtr += sizeof( uint32_t ); + + // copy the pixel + *destPtr = *srcPtr; +@@ -215,7 +215,7 @@ + + // create the end of shape token + SET_LONG(destPtr, kEndShapeToken << 24); +- destPtr += sizeof( unsigned long ); ++ destPtr += sizeof( uint32_t ); + + // Resize the handle to match the real size of the shape + //SetHandleSize( shapeHandle, destPtr - ( unsigned char * )( *shapeHandle ) ); +@@ -280,7 +280,7 @@ + // get a token + tokenOp = GET_LONG(srcPtr ) >> 24; + tokenData = GET_LONG(srcPtr ) & 0x00ffffff; +- srcPtr += sizeof( unsigned long ); ++ srcPtr += sizeof( uint32_t ); + + // depending on the token + switch( tokenOp ) +@@ -435,7 +435,7 @@ + // get a token + tokenOp = GET_LONG(srcPtr) >> 24; + tokenData = GET_LONG(srcPtr) & 0x00ffffff; +- srcPtr += sizeof( unsigned long ); ++ srcPtr += sizeof( uint32_t ); + + // depending on the token + switch( tokenOp ) diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-bugs.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-bugs.patch new file mode 100644 index 000000000000..40a8345516c5 --- /dev/null +++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-bugs.patch @@ -0,0 +1,56 @@ +description: fix issues in collision detection +Index: amphetamine-0.8.10/src/Appl.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Appl.cpp 2006-05-15 19:16:56.000000000 +0200 ++++ amphetamine-0.8.10/src/Appl.cpp 2006-05-15 19:17:02.000000000 +0200 +@@ -183,7 +183,7 @@ + + firstPlayRound = 1; + command = kCmdNoCommand; +- syncTime = gSystem->GetTicks(); ++ syncTime = gSystem->GetTicks() - 20; + aveTime = 20; + + while (command == kCmdNoCommand) { +@@ -256,7 +256,7 @@ + + if (gSystem->KeyPressed(kKeyEscape)) { + command = gGUI->RunUserInterface(kMainPage); +- syncTime = gSystem->GetTicks(); ++ syncTime = gSystem->GetTicks() - aveTime; + } + + if (command >= kSaveGameSlot0 && command <= kSaveGameSlot5) { +Index: amphetamine-0.8.10/src/Object.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Object.cpp 2006-05-15 19:18:21.000000000 +0200 ++++ amphetamine-0.8.10/src/Object.cpp 2006-05-15 19:18:33.000000000 +0200 +@@ -70,10 +70,13 @@ + { + if (ABS(forcex) > ABS(forcey)) { + sx += SIGN(forcex); +- sy += forcey / ABS(forcex); ++ if (forcex != 0) ++ sy += forcey / ABS(forcex); + }else{ + sy += SIGN(forcey); +- sx += forcex / ABS(forcey); ++ /* Avoid SIGFE on alpha on divide by zero. -- JEH */ ++ if (forcey != 0) ++ sx += forcex / ABS(forcey); + } + } + +Index: amphetamine-0.8.10/src/Pltform.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Pltform.cpp 2006-05-15 19:18:25.000000000 +0200 ++++ amphetamine-0.8.10/src/Pltform.cpp 2006-05-15 19:18:33.000000000 +0200 +@@ -136,7 +136,7 @@ + + short CPlatform::Forces() + { +- short collisionObject, collisionCode; ++ short collisionObject = 0, collisionCode; + CObject *collObj; + + CObject::Forces(); diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-build.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-build.patch new file mode 100644 index 000000000000..185826c35c37 --- /dev/null +++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-build.patch @@ -0,0 +1,33 @@ +--- a/Makefile ++++ b/Makefile +@@ -26,8 +26,8 @@ + + # makemake variables + +-LINKER := g++ +-DEPENDFLAGS := -g ${SEARCHDIRS} ++LINKER = $(CXX) $(CXXFLAGS) ++DEPENDFLAGS := ${SEARCHDIRS} + TOUCHHEADERS := ${MYCODEDIR}/*.h + + # C +@@ -37,8 +37,8 @@ + + # C++ + +-CXX := g++ +-CXXFLAGS = ${DEPENDFLAGS} -O9 -funroll-loops -fomit-frame-pointer -ffast-math -Wcast-align ++CXX ?= g++ ++CXXFLAGS += ${DEPENDFLAGS} + + %.o : %.cpp + ${CXX} ${CPPFLAGS} -c $< ${CXXFLAGS} -o $@ +@@ -66,7 +66,7 @@ + LOADLIBES := $(LOADLIBES) -lXpm -lXt + endif + +-LDFLAGS = -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib ++LDFLAGS += -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib + + .PHONY : default + default : amph diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-missing-headers.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-missing-headers.patch new file mode 100644 index 000000000000..f9c1b9932b11 --- /dev/null +++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-missing-headers.patch @@ -0,0 +1,13 @@ +description: include string.h +Index: amphetamine-0.8.10/src/Surface.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Surface.cpp 2006-05-15 19:10:49.000000000 +0200 ++++ amphetamine-0.8.10/src/Surface.cpp 2006-05-15 19:11:01.000000000 +0200 +@@ -3,6 +3,7 @@ + #include "ShapeLd.hpp" + #include "Clut.hpp" + #include "ConstVal.hpp" ++#include <string.h> + #include <memory.h> + + const short kNoCharSpace = 20; diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-newline.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-newline.patch new file mode 100644 index 000000000000..36482ef30fb1 --- /dev/null +++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-newline.patch @@ -0,0 +1,358 @@ +description: fix newlines +Index: amphetamine-0.8.10/src/AmpHead.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/AmpHead.hpp 2002-03-25 11:38:15.000000000 +0100 ++++ amphetamine-0.8.10/src/AmpHead.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -185,4 +185,4 @@ + + #define MSG(message) if (logFile) fprintf(logFile, message); fflush(logFile) + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Appl.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Appl.cpp 2002-03-25 12:47:49.000000000 +0100 ++++ amphetamine-0.8.10/src/Appl.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -404,4 +404,4 @@ + if (preRenderQueue == remove) bulletList = bulletList->nextBullet; + if (remove->nextBullet) remove->nextBullet->prevBullet = remove->prevBullet; + if (remove->prevBullet) remove->prevBullet->nextBullet = remove->nextBullet; +-}*/ +\ No newline at end of file ++}*/ +Index: amphetamine-0.8.10/src/Appl.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Appl.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Appl.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -102,4 +102,4 @@ + + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Clut.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Clut.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Clut.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -84,4 +84,4 @@ + + void SwapBlackWhite(Graphic_file *gf); + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/ConstVal.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/ConstVal.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/ConstVal.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -271,4 +271,5 @@ + void GetStringConstant(FILE *f, char *constName, char *buffer) + { + GetValue(f, constName, buffer); +-} +\ No newline at end of file ++} ++ +Index: amphetamine-0.8.10/src/ConstVal.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/ConstVal.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/ConstVal.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -160,4 +160,4 @@ + short disableShapeModes; + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Creeper.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Creeper.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Creeper.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -4,4 +4,4 @@ + #include "Monster.hpp" + + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Element.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Element.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Element.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -373,4 +373,4 @@ + CElement::Read(f); + + OnAllocate(); +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/File.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/File.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/File.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -26,4 +26,4 @@ + long CFile::ReadData(void *data, long size) + { + return fread(data, size, 1, fileRef); +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/Graphfil.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Graphfil.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Graphfil.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -54,4 +54,4 @@ + Graphic_file *LoadGIF(FILE *fp, char *fname ); + Graphic_file *LoadPICTR(FILE *fp, char *fname ); + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Gui.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Gui.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Gui.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -796,4 +796,5 @@ + fclose(f); + } + +- +\ No newline at end of file ++ ++ +Index: amphetamine-0.8.10/src/Gui.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Gui.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Gui.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -183,4 +183,4 @@ + void DisplayInfotext(short num); + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Item.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Item.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Item.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -309,4 +309,4 @@ + + READDATA(pickedUp); + READDATA(type); +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/Item.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Item.hpp 2002-03-24 11:10:24.000000000 +0100 ++++ amphetamine-0.8.10/src/Item.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -84,4 +84,4 @@ + void Read(FILE *f); + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Level.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Level.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Level.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -29,4 +29,4 @@ + }; + + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Main.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Main.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Main.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -84,4 +84,4 @@ + delete gApplication; + + return 0; +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/Monster.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Monster.cpp 2002-03-25 11:53:27.000000000 +0100 ++++ amphetamine-0.8.10/src/Monster.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -372,4 +372,4 @@ + READDATA(health); + + if (dieFrame != -1) gApplication->Dequeue(&gApplication->collisionThingList, this); +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/Monster.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Monster.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Monster.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -86,4 +86,4 @@ + + + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Monstrxx.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Monstrxx.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Monstrxx.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -123,4 +123,4 @@ + void Read(FILE *f); + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/ObjInfo.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/ObjInfo.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/ObjInfo.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -97,4 +97,4 @@ + tWeaponInfo *FindWeapon(short ref); + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Player.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Player.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Player.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -527,4 +527,4 @@ + + READDATA(oxygen); + READDATA(lastOxygenDecTime); +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/Player.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Player.hpp 2002-03-24 11:10:24.000000000 +0100 ++++ amphetamine-0.8.10/src/Player.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -81,4 +81,4 @@ + + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Pltform.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Pltform.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Pltform.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -276,4 +276,4 @@ + fread(info, sizeof(tPlatformInfo), 1, f); + + OnAllocate(); +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/ShapeDes.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/ShapeDes.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/ShapeDes.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -376,4 +376,4 @@ + }; + + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/ShapeLd.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/ShapeLd.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/ShapeLd.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -93,4 +93,4 @@ + height = backgroundPicture->height; + + return backgroundPicture->bitmap; +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/SndSys.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/SndSys.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/SndSys.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -132,4 +132,5 @@ + playList->RemoveCurrent(); + } + } +-} +\ No newline at end of file ++} ++ +Index: amphetamine-0.8.10/src/SndSys.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/SndSys.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/SndSys.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -99,4 +99,5 @@ + + }; + +-#endif +\ No newline at end of file ++#endif ++ +Index: amphetamine-0.8.10/src/SoundList.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/SoundList.hpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/SoundList.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -55,4 +55,4 @@ + SoundState *first, *prev, *current;
+ };
+
+-#endif +\ No newline at end of file ++#endif
+Index: amphetamine-0.8.10/src/System.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/System.cpp 2002-03-25 10:31:27.000000000 +0100 ++++ amphetamine-0.8.10/src/System.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -554,4 +554,5 @@ + delete [] tmp;
+
+ return NULL; // failed
+-} +\ No newline at end of file ++}
++
+Index: amphetamine-0.8.10/src/Thing.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Thing.hpp 2002-03-24 17:16:00.000000000 +0100 ++++ amphetamine-0.8.10/src/Thing.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -64,4 +64,4 @@ + + }; + +-#endif +\ No newline at end of file ++#endif +Index: amphetamine-0.8.10/src/Weapon.cpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Weapon.cpp 2002-03-24 09:49:09.000000000 +0100 ++++ amphetamine-0.8.10/src/Weapon.cpp 2006-05-15 19:08:52.000000000 +0200 +@@ -467,4 +467,4 @@ + READDATA(dx); + READDATA(dy); + +-} +\ No newline at end of file ++} +Index: amphetamine-0.8.10/src/Weapon.hpp +=================================================================== +--- amphetamine-0.8.10.orig/src/Weapon.hpp 2002-03-24 17:16:14.000000000 +0100 ++++ amphetamine-0.8.10/src/Weapon.hpp 2006-05-15 19:08:52.000000000 +0200 +@@ -152,4 +152,4 @@ + short Shoot(double directionx, double directiony, double targetpos); + }; + +-#endif +\ No newline at end of file ++#endif diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-no-lxt.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-no-lxt.patch new file mode 100644 index 000000000000..1e654dc89203 --- /dev/null +++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-no-lxt.patch @@ -0,0 +1,14 @@ +description: don't link against Xt +Index: amphetamine-0.8.10/Makefile +=================================================================== +--- amphetamine-0.8.10.orig/Makefile 2006-11-08 11:05:57.000000000 +0100 ++++ amphetamine-0.8.10/Makefile 2006-11-08 11:06:01.000000000 +0100 +@@ -69,7 +69,7 @@ + LOADLIBES := -lm $(SDL_LIBS) + + ifeq ($(USE_LIB_XPM),TRUE) +- LOADLIBES := $(LOADLIBES) -lXpm -lXt ++ LOADLIBES := $(LOADLIBES) -lXpm + endif + + LDFLAGS = -L/usr/lib -L/usr/local/lib -L/usr/X11R6/lib diff --git a/games-arcade/amphetamine/metadata.xml b/games-arcade/amphetamine/metadata.xml new file mode 100644 index 000000000000..204e28ed3b7a --- /dev/null +++ b/games-arcade/amphetamine/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> +<longdescription lang="en"> +Amphetamine is a cool Jump'n Run game offering some unique visual effects. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/aop-0.6-r1 b/games-arcade/aop-0.6-r1 deleted file mode 100644 index ba012b2fdd13..000000000000 --- a/games-arcade/aop-0.6-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=sys-libs/ncurses:0 virtual/pkgconfig -DESCRIPTION=Ambassador of Pain is a curses based game with only 64 lines of code -EAPI=6 -HOMEPAGE=http://raffi.at/view/code/aop -KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0 -SLOT=0 -SRC_URI=http://www.raffi.at/code/aop/aop-0.6.tar.gz -_md5_=489e0f914cd7c6b436ce80a4d1beedc1 diff --git a/games-arcade/aop/Manifest b/games-arcade/aop/Manifest new file mode 100644 index 000000000000..17bf26f2798b --- /dev/null +++ b/games-arcade/aop/Manifest @@ -0,0 +1,4 @@ +AUX aop-0.6-as-needed.patch 207 BLAKE2B f2baabf390d7376b55a815c256d0c63194a16d822abfbbc7103cd08463e6b193d443c0404cd691085f8a8a849cc14de98c642ff177ce7b6dae5d0e250bc264fc SHA512 4da201cc444e943f21287208944dae0fa981697af97618268ff94699f1ec52c8fcabcbe2b609f3ab36f4c19fdfdf4c76f7acbcfebe6978bb2740ba02a6c8ecc7 +DIST aop-0.6.tar.gz 11811 BLAKE2B 9b8a278ac4afb33dc9bb79d92343f9cf0fb4968aae04898700c948d01788cf33523989583ef39661142e0078e31488b24f8bf1a6bd9586e00afc4f7248fc8ca1 SHA512 0ce37647a0832b17e23df409633952f902e02666fa536cc4393a35bf91b245a501feeb4f14fd16d1a1d5c4f39682dad18a8e671e107e96cf5ba9c89965f8a77c +EBUILD aop-0.6-r1.ebuild 673 BLAKE2B 635a6f335ecc03a1a84925b73a3dc2d24d071fd6d69bbcaf12a67f913e248e5bcffc78d603551763a8d964f78d6fc51d1595fa4dcfda9f5e3b38623aae758c3c SHA512 b15df56a050d264f05ca9c2d8c292e0a508443b12c730d07f463549b00397c78853e5351cba9a7411c8c6c22e109e0ae78959eaa42efbe584b50766feb566f9c +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/aop/aop-0.6-r1.ebuild b/games-arcade/aop/aop-0.6-r1.ebuild new file mode 100644 index 000000000000..751bc0e7fd13 --- /dev/null +++ b/games-arcade/aop/aop-0.6-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Ambassador of Pain is a curses based game with only 64 lines of code" +HOMEPAGE="http://raffi.at/view/code/aop" +SRC_URI="http://www.raffi.at/code/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="sys-libs/ncurses:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + sed -i \ + -e "s#/usr/local/share#${GAMES_DATADIR}#" \ + aop.c || die + eapply "${FILESDIR}"/${P}-as-needed.patch +} + +src_install() { + dobin aop + insinto "/usr/shate/${PN}" + doins aop-level-*.txt + einstalldocs +} diff --git a/games-arcade/aop/files/aop-0.6-as-needed.patch b/games-arcade/aop/files/aop-0.6-as-needed.patch new file mode 100644 index 000000000000..f172919553b4 --- /dev/null +++ b/games-arcade/aop/files/aop-0.6-as-needed.patch @@ -0,0 +1,9 @@ +--- a/Makefile.old 2009-01-30 17:00:58.000000000 +0100 ++++ b/Makefile 2009-01-30 17:01:15.000000000 +0100 +@@ -1,5 +1,5 @@ + +-LDFLAGS = -lncurses ++LDLIBS := $(shell pkg-config ncurses --libs) + + aop: aop.c + diff --git a/games-arcade/aop/metadata.xml b/games-arcade/aop/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/aop/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-arcade/apricots-0.2.6-r2 b/games-arcade/apricots-0.2.6-r2 deleted file mode 100644 index fcb8cec47bab..000000000000 --- a/games-arcade/apricots-0.2.6-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/openal media-libs/freealut >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Fly a plane around bomb/shoot the enemy. Port of Planegame from Amiga -EAPI=6 -HOMEPAGE=http://www.fishies.org.uk/apricots.html -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/openal media-libs/freealut -SLOT=0 -SRC_URI=http://www.fishies.org.uk/apricots-0.2.6.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=0d1b863024d1cae8dc325182e5f7fa42 diff --git a/games-arcade/apricots/Manifest b/games-arcade/apricots/Manifest new file mode 100644 index 000000000000..85580776e0e7 --- /dev/null +++ b/games-arcade/apricots/Manifest @@ -0,0 +1,5 @@ +AUX apricots-0.2.6-freealut.patch 1608 BLAKE2B 4437952b0fa7b177e02d36f0bd32578265e0d3c2bd7207c55824b1a25086f98a3ee3cb0f883d552d703ea1fdaaa7a61dd619ea92d569b45fd5c69c9de428f5a4 SHA512 cb29fea3ba109f5bae09ad1673aa0ccc81904f09cb2775cc2453c01ea839ad5f5b07639d81bb3804aa3b21a2d417597e2ab5377dcd944763a1de4b20ca68680c +AUX apricots-0.2.6-ldflags.patch 833 BLAKE2B 3d5f68a96673ef5ecfd022ff18dcf43ac3203e275b682f37aa9f42270e2a64d87f5b3cef24c2fa238aee66aa37d68a23aa0981230e8a56e5f9f2376097231134 SHA512 532c0912dbddd8890829e717d6a062df80cb2d3a51131370062c2cbfd358e987872c5a53948dd1339f0ec820e56fad0696969c286f2da72a956f2d7f01589a80 +DIST apricots-0.2.6.tar.gz 768568 BLAKE2B 82fa6d4be5f1a9ed86e968a4645822cbf558ea37df956d54d0f07e3260ca2e7ff561ae6ea357dabb2c35b7bfd4ff0d806dda5cf51cbb3a956ebdba52f6ef526a SHA512 cf8a988d316382469e4b13a86315c760b702b3d490398cf2fe96f119ba743c1ff707c09228dbbf4eb601189fece708913a621b04c44e9d93162639ccbd502cf5 +EBUILD apricots-0.2.6-r2.ebuild 1370 BLAKE2B b8beb3effe2c18b3b862700fd11ab6ec241f0fb57158ac3bf86f6a73751648ce4d1413a6657d4fe2ee291d885f307fc3e6b39a0e50d4e2410c08040d3cd69ce8 SHA512 e08f4aa491764b431de1a2a569fcda99363b6a70c0733e0da844e81a8172146d15eeba1133478a4abe9fd1c95740142c111dce1c2b29ba477d7f19de04bdef79 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/apricots/apricots-0.2.6-r2.ebuild b/games-arcade/apricots/apricots-0.2.6-r2.ebuild new file mode 100644 index 000000000000..b0a37bd7912b --- /dev/null +++ b/games-arcade/apricots/apricots-0.2.6-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="Fly a plane around bomb/shoot the enemy. Port of Planegame from Amiga" +HOMEPAGE="http://www.fishies.org.uk/apricots.html" +SRC_URI="http://www.fishies.org.uk/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/openal + media-libs/freealut" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eapply "${FILESDIR}"/${P}-freealut.patch \ + "${FILESDIR}"/${P}-ldflags.patch + + cp admin/acinclude.m4.in acinclude.m4 + + sed -i \ + -e 's:-DAP_PATH=\\\\\\"$prefix.*":-DAP_PATH=\\\\\\"/usr/share/${PN}/\\\\\\"":' \ + -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \ + configure.in || die + sed -i \ + -e "s:filename(AP_PATH):filename(\"/etc/${PN}/\"):" \ + ${PN}/init.cpp || die + sed -i \ + -e "s:apricots.cfg:/etc/${PN}/apricots.cfg:" \ + README apricots.html || die + sed -i \ + -e 's/-Wmissing-prototypes//' \ + acinclude.m4 || die + + mv configure.in configure.ac || die + eautoreconf +} + +src_compile() { + emake LIBTOOL="/usr/bin/libtool" +} + +src_install() { + HTML_DOCS="apricots.html" + einstalldocs + + cd ${PN} + dobin apricots + insinto /usr/share/${PN} + doins *.wav *.psf *.shapes + insinto /etc/${PN} + doins apricots.cfg + + make_desktop_entry ${PN} Apricots +} diff --git a/games-arcade/apricots/files/apricots-0.2.6-freealut.patch b/games-arcade/apricots/files/apricots-0.2.6-freealut.patch new file mode 100644 index 000000000000..d2e1b27f6f34 --- /dev/null +++ b/games-arcade/apricots/files/apricots-0.2.6-freealut.patch @@ -0,0 +1,65 @@ +--- a/apricots/apricots.cpp ++++ b/apricots/apricots.cpp +@@ -16,6 +16,7 @@ + int main(int, char**){
+ #endif
+
++atexit(SDL_Quit);
+ // Initialize data
+ gamedata g;
+ init_data(g);
+ +--- a/apricots/sampleio.cpp ++++ b/apricots/sampleio.cpp +@@ -74,12 +74,9 @@ + alListenerfv(AL_ORIENTATION, front );
+
+ // Load in samples
+- ALvoid* data = malloc(5 * (512 * 3) * 1024);
+ alGenBuffers(numsamples, samples);
+
+ for (int i = 0; i < numsamples; i++){
+- ALsizei freq;
+- ALboolean fileok;
+ // Evil OpenAL portability fix done here
+ #ifdef _WIN32
+ ALenum format;
+@@ -87,15 +84,12 @@ + alutLoadWAVFile(filenames[i],&format,&data,&filelen,&freq,&trash);
+ fileok = (alGetError() == AL_NO_ERROR);
+ #else
+- ALsizei format;
+- ALsizei trash;
+- fileok = alutLoadWAV(filenames[i],&data,&format,&filelen,&trash,&freq);
++ samples[i] = alutCreateBufferFromFile(filenames[i]);
+ #endif
+- if (!fileok){
++ if (samples[i] == AL_NONE){
+ cerr << "sampleio: could not open " << filenames[i] << endl;
+ exit(1);
+ }
+- alBufferData(samples[i], format, data, filelen, freq);
+ }
+
+ // Generate Sources
+@@ -107,7 +101,6 @@ + alSourcefv(sources[j], AL_ORIENTATION, back );
+ }
+
+- free(data);
+
+ }
+
+ +--- a/configure.in ++++ b/configure.in +@@ -100,7 +100,8 @@ + + dnl Check for OpenAL + AC_CHECK_HEADER(AL/al.h,[CXXFLAGS="$CXXFLAGS -DAP_AUDIO_OPENAL"]) +-AC_CHECK_LIB( openal, alutInit) ++AC_CHECK_LIB( openal, alGetError) ++AC_CHECK_LIB( alut, alutInit) + + KDE_CHECK_EXTRA_LIBS + all_libraries="$all_libraries $USER_LDFLAGS" diff --git a/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch b/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch new file mode 100644 index 000000000000..8a7b4a9f9a8c --- /dev/null +++ b/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch @@ -0,0 +1,20 @@ +--- a/apricots/Makefile.am.old 2010-10-11 15:58:18.000000000 +0200 ++++ b/apricots/Makefile.am 2010-10-11 15:59:21.000000000 +0200 +@@ -4,7 +4,8 @@ + ## INCLUDES were found outside kdevelop specific part + + apricots_SOURCES = SDLfont.cpp shape.cpp setup.cpp sampleio.cpp init.cpp game.cpp finish.cpp fall.cpp drawall.cpp drak.cpp collide.cpp apricots.cpp all.cpp ai.cpp +-apricots_LDADD = ++apricots_LDADD = $(all_libraries) ++ + + SUBDIRS = docs + +@@ -68,7 +69,3 @@ + ####### kdevelop will overwrite this part!!! (end)############ + # set the include path found by configure + INCLUDES= $(all_includes) +- +-# the library search path. +-apricots_LDFLAGS = $(all_libraries) +- diff --git a/games-arcade/apricots/metadata.xml b/games-arcade/apricots/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/apricots/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-arcade/aquaria-1.1.3-r1 b/games-arcade/aquaria-1.1.3-r1 deleted file mode 100644 index 6aa6defc29f5..000000000000 --- a/games-arcade/aquaria-1.1.3-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install nofetch postinst preinst prepare setup unpack -DEPEND=app-arch/unzip -DESCRIPTION=A 2D scroller set in a massive ocean world -EAPI=5 -HOMEPAGE=http://www.bit-blot.com/aquaria/ -KEYWORDS=-* ~amd64 ~x86 -LICENSE=all-rights-reserved -RDEPEND=>=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)] >=media-libs/openal-1.15.1[abi_x86_32(-)] games-misc/games-envd -RESTRICT=strip fetch bindist -SLOT=0 -SRC_URI=aquaria-lnx-humble-bundle.mojo.run -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 unpacker 87633b2194cdb56adaa1f5a5c8862c44 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=6e1bee5ff8a3839289bd62d1126f0172 diff --git a/games-arcade/aquaria/Manifest b/games-arcade/aquaria/Manifest new file mode 100644 index 000000000000..c34fa6805a20 --- /dev/null +++ b/games-arcade/aquaria/Manifest @@ -0,0 +1,3 @@ +DIST aquaria-lnx-humble-bundle.mojo.run 209499691 BLAKE2B e592e451f192136b419281b2e55244d9baaae39bf462cd30a1bc4ad26a5ca825634309423ef3e51ae18f35023169417b1d7d78a19a3f4abf9415072d947586dd SHA512 4ae491ade644df73f676c7bd7c36aa79140aa7c4a312ecd613ba1c900506123ae37c644200433c0045713bb8f3f88e90e58be64d2fea6eee4e7015cd3e157738 +EBUILD aquaria-1.1.3-r1.ebuild 1089 BLAKE2B 80cdf759fb8652fe6b9e1fbb6f8b4465f8662495bcbd990583a81d0ddda20b2cee87ded4ef866528cc44d5329bdee8529bd0f67ec3dc3d87217a8ca4c3f87061 SHA512 7013cb6feb1fb6c38c419fdb1af8cae57d9f33a726a7626f25c5e2bf44963c4a29b0f7ac980d5ee934ccfcab8dfacf6c687d14951e34362f35e7c827a2edde1b +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild b/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild new file mode 100644 index 000000000000..e4546e584a1f --- /dev/null +++ b/games-arcade/aquaria/aquaria-1.1.3-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit unpacker eutils games + +DESCRIPTION="A 2D scroller set in a massive ocean world" +HOMEPAGE="http://www.bit-blot.com/aquaria/" +SRC_URI="aquaria-lnx-humble-bundle.mojo.run" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip fetch bindist" + +DEPEND="app-arch/unzip" +RDEPEND=" + >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)] + >=media-libs/openal-1.15.1[abi_x86_32(-)]" + +S=${WORKDIR}/data + +dir=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${dir#/}/aquaria" + +pkg_nofetch() { + echo + elog "Download ${SRC_URI} from ${HOMEPAGE} and place it in ${DISTDIR}" + echo +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + insinto "${dir}" + exeinto "${dir}" + + doins -r *.xml */ + doexe "${PN}" + doicon "${PN}.png" + + dodoc README-linux.txt + mv "${ED}/${dir}"/docs "${ED}/usr/share/doc/${PF}/html" || die + dosym /usr/share/doc/${PF}/html "${dir}"/docs + + games_make_wrapper "${PN}" "./${PN}" "${dir}" + make_desktop_entry "${PN}" "Aquaria" + + prepgamesdirs +} diff --git a/games-arcade/aquaria/metadata.xml b/games-arcade/aquaria/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/aquaria/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-arcade/ascii-invaders-0.1b-r1 b/games-arcade/ascii-invaders-0.1b-r1 deleted file mode 100644 index d1b5a0d3cfb5..000000000000 --- a/games-arcade/ascii-invaders-0.1b-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=sys-libs/ncurses:0 virtual/pkgconfig -DESCRIPTION=Space invaders clone, using ncurses library -EAPI=6 -HOMEPAGE=https://packages.gentoo.org/package/games-arcade/ascii-invaders -KEYWORDS=~alpha ~amd64 ~mips ~ppc64 ~x86 ~x86-fbsd ~ppc-macos -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0 -SLOT=0 -SRC_URI=mirror://gentoo/invaders0.1b.tgz -_md5_=06e31bf7144ebfb3ee5988b150f0fc4b diff --git a/games-arcade/ascii-invaders/Manifest b/games-arcade/ascii-invaders/Manifest new file mode 100644 index 000000000000..fdd800a3cdd3 --- /dev/null +++ b/games-arcade/ascii-invaders/Manifest @@ -0,0 +1,3 @@ +DIST invaders0.1b.tgz 14597 BLAKE2B ecccca6636c4d8dffbc57b8cec82471efc2fd1a256648b9ac46fd256ef99d884205f1c86ff2bf0aedb7bb5996a59a7af3f301339944c6a4753355a8a4db23190 SHA512 3ac9dee0c532384e2849fdc8910bce885e3fdef362b629e8637df1cc0d82eba52c02a836a4925d811b339e9232f20caa7c761dbc1feeddc74e9b6f09e97046b8 +EBUILD ascii-invaders-0.1b-r1.ebuild 658 BLAKE2B 2184d7e5a6fa443f4d877a00a827d2e2639851a0925d05f486830cdfd9e57bab1a1fa0461d38d3057fc72a2c4501c47bb2ae879b941bd1b31bb7022281486669 SHA512 19ebec94c24244bc79b1a399ba79818ea985d4c94c1fb281d86607c684e1abe6a0f7e945d83e0bd77797b8772b278e6099b90c96a263b16242c696ae440c7d6f +MISC metadata.xml 480 BLAKE2B 519e21066bfdbcb2dfa258e4c7533f217c5aa97ded13d3cb6afc0db83995ad99ffe709410f224cb9e88d19394cc8ec693993d600cb33986fb57428a0a36cfb08 SHA512 fcaa81ee096f7b5e478d8e0e21c81d3dc23e1d50c4a760515a6ab0bacf8e87adec52582726aebe4b288896c1e2403b9050d510fa3a989596d6f37e2d4df63d64 diff --git a/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild new file mode 100644 index 000000000000..5c6a25c0ed44 --- /dev/null +++ b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Space invaders clone, using ncurses library" +HOMEPAGE="https://packages.gentoo.org/package/games-arcade/ascii-invaders" +SRC_URI="mirror://gentoo/invaders${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~mips ~ppc64 ~x86 ~x86-fbsd ~ppc-macos" +IUSE="" + +RDEPEND="sys-libs/ncurses:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/invaders" + +src_prepare() { + default + rm -f Makefile +} + +src_compile() { + emake LDLIBS="$(pkg-config ncurses --libs)" invaders +} + +src_install() { + newbin invaders ${PN} + einstalldocs +} diff --git a/games-arcade/ascii-invaders/metadata.xml b/games-arcade/ascii-invaders/metadata.xml new file mode 100644 index 000000000000..13dd7d1a5ea3 --- /dev/null +++ b/games-arcade/ascii-invaders/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> +<longdescription> +Ascii-Invaders is a clone of Space Invaders for text-terminals using the +curses library. It compiles and runs on MacOS X, GNU/Linux and probably +any other system with a curses implementation. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/asteroid-1.2.1 b/games-arcade/asteroid-1.2.1 deleted file mode 100644 index 76ba19680a7d..000000000000 --- a/games-arcade/asteroid-1.2.1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=virtual/opengl media-libs/freeglut virtual/glu media-libs/libsdl media-libs/sdl-mixer x11-libs/gtk+:2 sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=A modern version of the arcade classic that uses OpenGL -EAPI=6 -HOMEPAGE=https://chazomaticus.github.io/asteroid/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=virtual/opengl media-libs/freeglut virtual/glu media-libs/libsdl media-libs/sdl-mixer x11-libs/gtk+:2 -SLOT=0 -SRC_URI=https://github.com/chazomaticus/asteroid/archive/1.2.1.tar.gz -> asteroid-1.2.1.tar.gz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=69d65d2c60ed9521160f1a0ff982b38c diff --git a/games-arcade/asteroid/Manifest b/games-arcade/asteroid/Manifest new file mode 100644 index 000000000000..7b1e2cb6bc27 --- /dev/null +++ b/games-arcade/asteroid/Manifest @@ -0,0 +1,4 @@ +AUX asteroid-1.2.1-libm.patch 956 BLAKE2B c9d29ea30deb543bb0358ca4dfcc65eb94c9912022849e073d17f9057b1882de18b55a89d0ce8814623ab8ed2b7c36ff657523972c4889f19571936d73ec8f78 SHA512 d421eae4fc4ee5e7f5c00b5e6797f10e17030632a6224ed847d82e19b09e7dcac74d4fa84a19812eeeed9add4af3228f18e4d457b683a3adf73ed62d2671ca22 +DIST asteroid-1.2.1.tar.gz 307596 BLAKE2B c3f5363a0939cc4644425adfa9c3f2ca47ec04ae1beb9dd381fba912ee5e9d3330727fa82d4749b4f6402254988feaaaaef10f7f72aeea691656a1dd188ad5e2 SHA512 a88e0b85264d72bd40add0f3fc8b2b727b1acc0c190de6a60d4e1c79adcc484b17d0ed3537309b704667a6617f387219144cbec93df4fbff585d1237a9823b37 +EBUILD asteroid-1.2.1.ebuild 593 BLAKE2B 1348f0d27b03faa94045350aa47f6afebd3b55bd29fbe4dfd20135afc760e3b74175c6b000a21bff4525a54f620b0d950f8ea6381be2d902d1a34b1a3d1043ef SHA512 a1cd6c861856e8421fee6461272f1c19532edfa1c40d68edc664b293dca267c61cf469531d1f9b912e069ca0c387b08d20fdad17ce8ae2e88073a777a82eac24 +MISC metadata.xml 334 BLAKE2B 651b210093aa77df8209cebb3e4cdb6c03064453e3ac2fa2f974388cdd8102cd2ab548d4b88bbb18052321360edf0d395395fb36e6c2ba1ce038932046c165c9 SHA512 e69632cf70047993dd2924f1bc7c42b428f6e2059482708c2b5cd72ae90263c11b76d4846c457d7f597dbff01ca6bb8296c2cff3e859551a9f5f57ea5ed7c794 diff --git a/games-arcade/asteroid/asteroid-1.2.1.ebuild b/games-arcade/asteroid/asteroid-1.2.1.ebuild new file mode 100644 index 000000000000..b9ac3b5e3501 --- /dev/null +++ b/games-arcade/asteroid/asteroid-1.2.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils + +DESCRIPTION="A modern version of the arcade classic that uses OpenGL" +HOMEPAGE="https://chazomaticus.github.io/asteroid/" +SRC_URI="https://github.com/chazomaticus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + virtual/opengl + media-libs/freeglut + virtual/glu + media-libs/libsdl + media-libs/sdl-mixer + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-libm.patch ) diff --git a/games-arcade/asteroid/files/asteroid-1.2.1-libm.patch b/games-arcade/asteroid/files/asteroid-1.2.1-libm.patch new file mode 100644 index 000000000000..cb6e7aaafe29 --- /dev/null +++ b/games-arcade/asteroid/files/asteroid-1.2.1-libm.patch @@ -0,0 +1,24 @@ +From 4efc7fc0a1246f023d6f96b94081678e302ab430 Mon Sep 17 00:00:00 2001 +From: Charles Lindsay <chaz@chazomatic.us> +Date: Mon, 23 May 2016 18:50:34 -0700 +Subject: [PATCH] Add libm to link command + +Without it, some systems (and now mine!) would give a linker error about +missing libm. +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 29fd714..ab9a7ec 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -39,7 +39,7 @@ include_directories("${PROJECT_BINARY_DIR}/include") + file(GLOB asteroid_SRCS "src/*.c") + add_executable(asteroid ${asteroid_SRCS}) + include_directories(${OPENGL_INCLUDE_DIR} ${GLUT_INCLUDE_DIR}) +-target_link_libraries(asteroid ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) ++target_link_libraries(asteroid m ${OPENGL_LIBRARIES} ${GLUT_LIBRARIES}) + if(Asteroid_BUILD_GTK) + include_directories(${GTK2_INCLUDE_DIRS}) + target_link_libraries(asteroid ${GTK2_LIBRARIES}) diff --git a/games-arcade/asteroid/metadata.xml b/games-arcade/asteroid/metadata.xml new file mode 100644 index 000000000000..d86be3eb5292 --- /dev/null +++ b/games-arcade/asteroid/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">chaoslizard</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/balloonchase-0.9.6-r1 b/games-arcade/balloonchase-0.9.6-r1 deleted file mode 100644 index 4906996145bb..000000000000 --- a/games-arcade/balloonchase-0.9.6-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[video] -DESCRIPTION=Fly a hot air balloon and try to blow the other player out of the screen -EAPI=6 -HOMEPAGE=http://makegho.mbnet.fi/c/bchase/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] -SLOT=0 -SRC_URI=http://makegho.mbnet.fi/c/bchase/balloonchase-0.9.6.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=1b835598566c112f11445778d80ade2d diff --git a/games-arcade/balloonchase/Manifest b/games-arcade/balloonchase/Manifest new file mode 100644 index 000000000000..c85d80474641 --- /dev/null +++ b/games-arcade/balloonchase/Manifest @@ -0,0 +1,4 @@ +AUX 0.9.6-gentoo.patch 6154 BLAKE2B a8729b678e4d8ece1ad327e0d35b63fddef5b28f9878efc89802ee8c4263dd9a758f1d13f66ce7125d069dc1874de680ff96888461516f142716b668a46ec687 SHA512 a16b70a3c1ba071b8e058e252843827e8a5b63d5b87e2332a93cb8d43e00ccbfd6b7aa13406275980c7a7cffd32b1b1453bf5d1f9c9c0b585cc969f5b9c6ae81 +DIST balloonchase-0.9.6.tar.bz2 523085 BLAKE2B 50e453327d51da3fe40f52850cb2fbb7a10e897f59bac5d6f4a676d3211d3dcdae00359304ad119252ebf98e9f46482ad801078762f16ddc609bc94b68c3fc18 SHA512 ab5617713c96187564926fd5ecbdbf5186f78c23cfb43b26b28b9d18e71330efd77700cf7cd02e04be7fd8e33f2d30bf59f64954135ac82802d1d839dc2e7767 +EBUILD balloonchase-0.9.6-r1.ebuild 823 BLAKE2B 8fe0e1701765087731667d8a6fbbf97c4151fcbbca003f21c6ffbdf4306b35dd26f52b4313ebc862609d981793113957094fad8e2017208b4bf013c6a8f98178 SHA512 86eea2e2b37420a01a4bc9993c0b7e81590a2331fb702dbf57a8bbdad0d14cf5c8aaaa43267301987862552f5d8b584c18697f6f040ba5427532e8097f7efd90 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild new file mode 100644 index 000000000000..36976cc63a40 --- /dev/null +++ b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop toolchain-funcs + +DESCRIPTION="Fly a hot air balloon and try to blow the other player out of the screen" +HOMEPAGE="http://makegho.mbnet.fi/c/bchase/" +SRC_URI="http://makegho.mbnet.fi/c/bchase/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}"/${PV}-gentoo.patch + sed -i "s:g++:$(tc-getCXX):" Makefile || die + sed -i \ + -e "s:GENTOODIR:/usr/share/${PN}:" src/main.c || die +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r images + newicon images/kp2b.bmp ${PN}.bmp + make_desktop_entry ${PN} "Balloon Chase" /usr/share/pixmaps/${PN}.bmp + einstalldocs +} diff --git a/games-arcade/balloonchase/files/0.9.6-gentoo.patch b/games-arcade/balloonchase/files/0.9.6-gentoo.patch new file mode 100644 index 000000000000..ff232693422b --- /dev/null +++ b/games-arcade/balloonchase/files/0.9.6-gentoo.patch @@ -0,0 +1,183 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,4 +1,3 @@ +-LDFLAGS= -lSDL -lpthread -s + CFLAGS= -Wall # -DDEBUG + PKG_BCDIR=balloonchase-`cat src/ver` + PKG_BCVER=`cat src/ver` +@@ -9,8 +8,8 @@ + clean: + rm balloonchase src/*.o + main: src/main.c +- g++ -c -o src/main.o `sdl-config --cflags` src/main.c +- g++ -o balloonchase src/main.o `sdl-config --libs` ++ g++ $(CXXFLAGS) -c -o src/main.o `sdl-config --cflags` src/main.c ++ g++ $(LDFLAGS) -o balloonchase src/main.o `sdl-config --libs` + pkg: + @echo $(PKG_BCVERSION) >VERSION + rm balloonchase src/*.o +--- a/src/main.c ++++ b/src/main.c +@@ -333,47 +333,47 @@ + + int InitImages() + { +- back = SDL_LoadBMP("images/back.bmp"); ++ back = SDL_LoadBMP("GENTOODIR/images/back.bmp"); + +- num3 = SDL_LoadBMP("images/num3.bmp"); ++ num3 = SDL_LoadBMP("GENTOODIR/images/num3.bmp"); + SDL_SetColorKey(num3, SDL_SRCCOLORKEY, SDL_MapRGB(num3->format, 0xFF, 0xFF, 0xFF)); +- num2 = SDL_LoadBMP("images/num2.bmp"); ++ num2 = SDL_LoadBMP("GENTOODIR/images/num2.bmp"); + SDL_SetColorKey(num2, SDL_SRCCOLORKEY, SDL_MapRGB(num2->format, 0xFF, 0xFF, 0xFF)); +- num1 = SDL_LoadBMP("images/num1.bmp"); ++ num1 = SDL_LoadBMP("GENTOODIR/images/num1.bmp"); + SDL_SetColorKey(num1, SDL_SRCCOLORKEY, SDL_MapRGB(num1->format, 0xFF, 0xFF, 0xFF)); +- num0 = SDL_LoadBMP("images/num0.bmp"); ++ num0 = SDL_LoadBMP("GENTOODIR/images/num0.bmp"); + SDL_SetColorKey(num0, SDL_SRCCOLORKEY, SDL_MapRGB(num0->format, 0xFF, 0xFF, 0xFF)); +- numv = SDL_LoadBMP("images/num-.bmp"); ++ numv = SDL_LoadBMP("GENTOODIR/images/num-.bmp"); + SDL_SetColorKey(numv, SDL_SRCCOLORKEY, SDL_MapRGB(numv->format, 0xFF, 0xFF, 0xFF)); + +- menu = SDL_LoadBMP("images/menu.bmp"); +- menu_onoff = SDL_LoadBMP("images/menu_onoff.bmp"); ++ menu = SDL_LoadBMP("GENTOODIR/images/menu.bmp"); ++ menu_onoff = SDL_LoadBMP("GENTOODIR/images/menu_onoff.bmp"); + + +-// arrow[0] = SDL_LoadBMP("images/down.bmp"); ++// arrow[0] = SDL_LoadBMP("GENTOODIR/images/down.bmp"); + // SDL_SetColorKey(arrow[0], SDL_SRCCOLORKEY, SDL_MapRGB(arrow[0]->format, 0x00, 0x00, 0x00)); +-// arrow[1] = SDL_LoadBMP("images/down.bmp"); ++// arrow[1] = SDL_LoadBMP("GENTOODIR/images/down.bmp"); + // SDL_SetColorKey(arrow[1], SDL_SRCCOLORKEY, SDL_MapRGB(arrow[1]->format, 0x00, 0x00, 0x00)); + +- kp1 = SDL_LoadBMP("images/kp1.bmp"); ++ kp1 = SDL_LoadBMP("GENTOODIR/images/kp1.bmp"); + SDL_SetColorKey(kp1, SDL_SRCCOLORKEY, SDL_MapRGB(kp1->format, 0xFF, 0xFF, 0xFF)); +- kp1b = SDL_LoadBMP("images/kp1b.bmp"); ++ kp1b = SDL_LoadBMP("GENTOODIR/images/kp1b.bmp"); + SDL_SetColorKey(kp1b, SDL_SRCCOLORKEY, SDL_MapRGB(kp1b->format, 0xFF, 0xFF, 0xFF)); + +- kp2 = SDL_LoadBMP("images/kp2.bmp"); ++ kp2 = SDL_LoadBMP("GENTOODIR/images/kp2.bmp"); + SDL_SetColorKey(kp2, SDL_SRCCOLORKEY, SDL_MapRGB(kp2->format, 0xFF, 0xFF, 0xFF)); +- kp2b = SDL_LoadBMP("images/kp2b.bmp"); ++ kp2b = SDL_LoadBMP("GENTOODIR/images/kp2b.bmp"); + SDL_SetColorKey(kp2b, SDL_SRCCOLORKEY, SDL_MapRGB(kp2b->format, 0xFF, 0xFF, 0xFF)); + +- font2 = SDL_LoadBMP("images/font.bmp"); ++ font2 = SDL_LoadBMP("GENTOODIR/images/font.bmp"); + font = SDL_CreateRGBSurface(SDL_SWSURFACE, 1288, 100, 32, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF); + SDL_SetColorKey(font, SDL_SRCCOLORKEY, SDL_MapRGB(font->format, 0x00, 0x00, 0x00)); + DrawIMG (font, font2, 0, 0); + +- blobtrox = SDL_LoadBMP("images/blobtrox.bmp"); ++ blobtrox = SDL_LoadBMP("GENTOODIR/images/blobtrox.bmp"); + //SDL_SetColorKey(blobtrox, SDL_SRCCOLORKEY, SDL_MapRGB(blobtrox->format, 0x01, 0x01, 0x01)); + +- balloonchase = SDL_LoadBMP("images/balloonchase.bmp"); ++ balloonchase = SDL_LoadBMP("GENTOODIR/images/balloonchase.bmp"); + + TMP = SDL_CreateRGBSurface(SDL_SWSURFACE, 259, 200, 32, 0xFF000000, 0x00FF0000, 0x0000FF00, 0x000000FF); + blursurface = SDL_CreateRGBSurface(SDL_SWSURFACE, 640, 480, 32, 0x00000000, 0x00000000, 0x00000000, 0x00000000); +@@ -578,7 +578,7 @@ + + void createdat(int winsneed, int option_wave_effect) + { +- FILE *OPTFILE=fopen ("balloonchase.dat", "w+"); ++ FILE *OPTFILE=fopen (".balloonchaserc", "w+"); + char datmsg[60]; + sprintf (datmsg, "Balloon Chase settings file -- Do not edit manually!"); + char tmp2; +@@ -588,52 +588,32 @@ + } + fputc (winsneed, OPTFILE); + fputc (option_wave_effect+2, OPTFILE); +- fprintf (stderr, "Saved configuration to balloonchase.dat\n"); ++ fprintf (stderr, "Saved configuration to .balloonchaserc\n"); + fclose (OPTFILE); + } + + void checkfiles() + { +- char found=0; +- #ifdef WIN32 +- WIN32_FIND_DATA fileinfo; +- BOOL rc = 0; +- HANDLE hFile; +- hFile = FindFirstFile("*", &fileinfo); +- while(rc) +- { +- rc = FindNextFile(hFile, &fileinfo); +- if (strcmp (fileinfo.cFileName, "balloonchase.dat")==0) +- { +- fprintf(stderr, "Found balloonchase.dat\n"); +- found = 1; +- _findclose(hFile); +- #endif +- #ifndef WIN32 +- struct dirent *filelist[255]; +- int i=0; +- int j=0; + DIR *dp; +- dp=opendir("./"); +- int filenum=0; +- while( filelist[filenum]=readdir(dp) ) +- filenum++; +- closedir(dp); +- if (filenum>=2) +- for (i=0;i<filenum;i++) +- { +- if (strcmp(filelist[i]->d_name,"balloonchase.dat")==0) +- { +- fprintf (stderr, "Found balloonchase.dat\n"); +- found=1; +- } ++ ++ if (getenv("HOME")) { ++ chdir(getenv("HOME")); ++ } ++ if ((dp = opendir("./"))) { ++ struct dirent *f; ++ ++ while(f=readdir(dp)) { ++ if (strcmp(f->d_name, ".balloonchaserc") == 0) { ++ fprintf (stderr, "Found .balloonchaserc\n"); ++ closedir(dp); ++ return; + } +- #endif +- if (found==0) +- { +- fprintf (stderr, "Balloonchase.dat not found!\nCreating new...\n"); +- if (found==0) createdat(2, 1); + } ++ closedir(dp); ++ fprintf (stderr, ++ "Balloonchase.dat not found!\nCreating new...\n"); ++ createdat(2, 1); ++ } + } + + Uint32 rgb(Uint8 r, Uint8 g, Uint8 b) +@@ -1257,7 +1237,7 @@ + SDL_WM_SetCaption ("Balloon Chase", 0); + checkfiles(); + +- FILE *OPTFILE=fopen ("balloonchase.dat", "r"); ++ FILE *OPTFILE=fopen (".balloonchaserc", "r"); + char datmsg[60]; + char varmistus[60]; + +@@ -1275,7 +1255,7 @@ + { + winsneeded=fgetc(OPTFILE); + option_wave_effect=fgetc(OPTFILE)-2; +- fprintf (stderr, "Successfully loaded balloonchase.dat\n"); ++ fprintf (stderr, "Successfully loaded .balloonchaserc\n"); + } + else + { diff --git a/games-arcade/balloonchase/metadata.xml b/games-arcade/balloonchase/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/balloonchase/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-arcade/barbarian-bin-1.01-r1 b/games-arcade/barbarian-bin-1.01-r1 deleted file mode 100644 index edabf12a6733..000000000000 --- a/games-arcade/barbarian-bin-1.01-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=app-arch/unzip -DESCRIPTION=Save Princess Mariana through one-on-one battles with demonic barbarians -EAPI=5 -HOMEPAGE=http://www.tdbsoft.com/ -KEYWORDS=-* ~amd64 ~x86 -LICENSE=CC-BY-NC-ND-2.0 -RDEPEND=sys-libs/libstdc++-v3:5 amd64? ( sys-libs/libstdc++-v3:5[multilib] ) >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)] games-misc/games-envd -RESTRICT=strip -SLOT=0 -SRC_URI=http://www.pcpages.com/tomberrr/downloads/barbarian101_linux.zip -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=18ee40e9cf5abc19def1e7303c33dc9f diff --git a/games-arcade/barbarian-bin/Manifest b/games-arcade/barbarian-bin/Manifest new file mode 100644 index 000000000000..e8b6478ba6fb --- /dev/null +++ b/games-arcade/barbarian-bin/Manifest @@ -0,0 +1,3 @@ +DIST barbarian101_linux.zip 925199 BLAKE2B d8552b7fb03836ec75943b5b754489c345c70c9534301f16a64cdd21ea262fcff19ae6916bcd469b26dd088676079df2190bda369ca085d6c4285d84ebc12616 SHA512 9b46c75666359ed5102a89d29e8b6afacf07ccfa6175f6df27b5acc48b0e0119106f1c1376b124ff761d373bf04145e804659b81503b2834ba09ac05fad5c4f4 +EBUILD barbarian-bin-1.01-r1.ebuild 1242 BLAKE2B 41a093a2be3ede578059fedaf70cc979efc8fc55d4b3c4c9cf93c1134d27916411b405167ca633251da04b5d2097f7dc643a7acb5e9a1fa70cec2c1742e866ad SHA512 97e5d5d20421f666ccd9aa9bf162a649fe2b04202fe0559e6d41052c1eae993d452f78060ee99638fe647cf7cb6a230e96b79a95a2e84dec4259d9967880b8b7 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.ebuild new file mode 100644 index 000000000000..555f99dd3acb --- /dev/null +++ b/games-arcade/barbarian-bin/barbarian-bin-1.01-r1.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 + +MY_PN=${PN/-bin/} +DESCRIPTION="Save Princess Mariana through one-on-one battles with demonic barbarians" +HOMEPAGE="http://www.tdbsoft.com/" +SRC_URI="http://www.pcpages.com/tomberrr/downloads/${MY_PN}${PV/./}_linux.zip" + +LICENSE="CC-BY-NC-ND-2.0" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="strip" +IUSE="" + +DEPEND="app-arch/unzip" +RDEPEND="sys-libs/libstdc++-v3:5 + amd64? ( sys-libs/libstdc++-v3:5[multilib] ) + >=media-libs/libsdl-1.2.15-r4[abi_x86_32(-)]" + +game_dest="${GAMES_PREFIX_OPT}/${MY_PN}" +QA_PREBUILT="${game_dest:1}/Barbarian" + +S=${WORKDIR} + +src_install() { + dodir "${game_dest}" + cp -r gfx sounds "${D}${game_dest}/" || die + + exeinto "${game_dest}" + doexe Barbarian + + dohtml Barbarian.html + + games_make_wrapper barbarian ./Barbarian "${game_dest}" + + # High-score file + dodir "${GAMES_STATEDIR}" + touch "${D}${GAMES_STATEDIR}/heroes.hoh" + fperms 660 "${GAMES_STATEDIR}/heroes.hoh" + dosym "${GAMES_STATEDIR}/heroes.hoh" "${game_dest}/heroes.hoh" + newicon gfx/sprites/player_attack_2_1.bmp barbarian.bmp + make_desktop_entry barbarian "Barbarian" /usr/share/pixmaps/barbarian.bmp + prepgamesdirs +} diff --git a/games-arcade/barbarian-bin/metadata.xml b/games-arcade/barbarian-bin/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/barbarian-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-arcade/batrachians-0.1.6-r1 b/games-arcade/batrachians-0.1.6-r1 deleted file mode 100644 index 1d1d0991fb53..000000000000 --- a/games-arcade/batrachians-0.1.6-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare -DEPEND=>=dev-games/flatzebra-0.1.5 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 app-arch/xz-utils >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info -DESCRIPTION=A fly-eating frog video game -EAPI=6 -HOMEPAGE=http://perso.b2b2c.ca/sarrazip/dev/batrachians.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=dev-games/flatzebra-0.1.5 -SLOT=0 -SRC_URI=http://perso.b2b2c.ca/sarrazip/dev/batrachians-0.1.6.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=e989f540e94f19311f03e8bec7d02ef1 diff --git a/games-arcade/batrachians/Manifest b/games-arcade/batrachians/Manifest new file mode 100644 index 000000000000..e4a5d891bbc2 --- /dev/null +++ b/games-arcade/batrachians/Manifest @@ -0,0 +1,4 @@ +AUX batrachians-0.1.6-makefile.patch 1083 BLAKE2B 9660401bf833700f353a1ab8ee065d94c585c2ee8ad3ac04318f7d81a17a367c0f81e540fa4e442b75c368d79bb49758795e51507a98f4cb06a087d019d3608b SHA512 9fb3d84f864b7cad0ace0e288969871824cae110f879ba8fe512969c7b1aef370c375bde57caedf5bf2bc7e5f00a9f2819fdc7de6d710c989bb474382a84e77a +DIST batrachians-0.1.6.tar.gz 198088 BLAKE2B 446e2fd77068dc8c58e801fca6544ea825529240a79e1b14fac6962d26d78f6f4e977f6965751ba5d09ea790679dfa820e5cdb1ed667bd0af46f8c89180a38bf SHA512 d3022712627061f9828e1f3baa7207053884f1f4c0348768d4ac073673ff1bcf14c95cedf01031b8bd36a6b684bf239af0f381df41aa18d49218320a8bea3b68 +EBUILD batrachians-0.1.6-r1.ebuild 602 BLAKE2B 4a65dc982992ba02fdd7a69414c9bb50e129b2223dd66a7cd1992efad3b5359d435774c9aa9be035d56d19a7af260916225d07724126f2d456648d831bc82400 SHA512 d1e6569181add23e144f1ed71ed576dae19d00b6559ae3fb4c12cf7e6383fea3d42d5546b57c7521d5653b7f8f055e8d45089ddd38b62e07af9c10cd3aeb694a +MISC metadata.xml 383 BLAKE2B 40ab8c4f0c3bbc162a20b7db8130b1d3d3a22dd8b0a828403000c58c1eb5c977ef6b93077f2f887828b6ca6809feefdf234605ca9c71170e13590e6e6f390410 SHA512 6ac1eca021c30af55b915f3d34d180ad429f9f16e7e942b3853d8f77f0ba82fa8bf97439209414e7541b0c0bfba29b49b1efc143e690ae7f8dbffd1fcaae9986 diff --git a/games-arcade/batrachians/batrachians-0.1.6-r1.ebuild b/games-arcade/batrachians/batrachians-0.1.6-r1.ebuild new file mode 100644 index 000000000000..87491afe0f23 --- /dev/null +++ b/games-arcade/batrachians/batrachians-0.1.6-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GNOME2_EAUTORECONF="yes" + +inherit autotools gnome2 + +DESCRIPTION="A fly-eating frog video game" +HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/batrachians.html" +SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-games/flatzebra-0.1.5" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) + +src_install() { + emake -C src DESTDIR="${D}" install + doman doc/${PN}.6 + einstalldocs +} diff --git a/games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch b/games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch new file mode 100644 index 000000000000..f01fdfb0da8d --- /dev/null +++ b/games-arcade/batrachians/files/batrachians-0.1.6-makefile.patch @@ -0,0 +1,35 @@ +diff -ru batrachians-0.1.6.orig/src/Makefile.am batrachians-0.1.6/src/Makefile.am +--- batrachians-0.1.6.orig/src/Makefile.am 2011-04-18 21:25:53.000000000 -0400 ++++ batrachians-0.1.6/src/Makefile.am 2014-10-27 23:19:58.292260669 -0400 +@@ -20,7 +20,7 @@ + -DPACKAGE_FULL_NAME_EN=\"$(PACKAGE_FULL_NAME_EN)\" \ + -DPKGSOUNDDIR=\"$(pkgsounddir)\" + +-pkgsounddir = $(datadir)/sounds/$(PACKAGE) ++pkgsounddir = $(datadir)/$(PACKAGE)/sounds + pkgsound_DATA = \ + sounds/game-starts.wav \ + sounds/game-ends.wav \ +@@ -29,18 +29,18 @@ + sounds/frog-jumps.wav \ + sounds/tongue-out.wav + +-desktopentrydir = $(datadir)/applications ++desktopentrydir =/usr/share/applications + desktopentry_DATA = $(PACKAGE).desktop + +-pixmapdir = $(datadir)/pixmaps ++pixmapdir =/usr/share/icons/hicolor/48x48/apps/ + pixmap_DATA = images/$(PACKAGE).png + + + check: all + if HAVE_GETOPT_LONG + test "`./$(PACKAGE) --version`" = "$(PACKAGE) $(VERSION)" +- ./$(PACKAGE) --version >& /dev/null +- ./$(PACKAGE) --help >& /dev/null ++ ./$(PACKAGE) --version > /dev/null 2>&1 ++ ./$(PACKAGE) --help > /dev/null 2>&1 + endif + + diff --git a/games-arcade/batrachians/metadata.xml b/games-arcade/batrachians/metadata.xml new file mode 100644 index 000000000000..418dc79f8c64 --- /dev/null +++ b/games-arcade/batrachians/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> +<longdescription lang="en"> +Afternoon Stalker, a clone of the 1981 Night Stalker video game by Mattel +Electronics. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/berusky-1.7.1-r1 b/games-arcade/berusky-1.7.1-r1 deleted file mode 100644 index 0e10afb8d461..000000000000 --- a/games-arcade/berusky-1.7.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare -DEPEND=media-libs/libsdl[X,video] media-libs/sdl-image[png] x11-libs/gtk+:2 virtual/pkgconfig >=app-portage/elt-patches-20170422 app-arch/xz-utils >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info -DESCRIPTION=Free logic game based on an ancient puzzle named Sokoban -EAPI=6 -HOMEPAGE=http://anakreon.cz/?q=node/1 -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[X,video] media-libs/sdl-image[png] x11-libs/gtk+:2 -SLOT=0 -SRC_URI=http://www.anakreon.cz/download/berusky-1.7.1.tar.gz http://www.anakreon.cz/download/berusky-data-1.7.tar.gz https://dev.gentoo.org/~hasufell/distfiles/berusky.png -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=b90a41e4c8c5fbf303a525c89588673e diff --git a/games-arcade/berusky/Manifest b/games-arcade/berusky/Manifest new file mode 100644 index 000000000000..2a96470e7f2e --- /dev/null +++ b/games-arcade/berusky/Manifest @@ -0,0 +1,5 @@ +DIST berusky-1.7.1.tar.gz 483794 BLAKE2B 8e1d6f6c2c47d72fdba73506f8d3ea231649b4eb4fae3e663e9111ed99fbf300b2a160573d54781f9dcb3f9bf62bcb57634d0b3e8abb77f8baffc70254b4640e SHA512 0b0c4d736bfd9b0b62accf11d932271e355cbcbf911e35adb0ccd0bb1b45e06c392d60830bddef04a24689ccfcee7302f2653f6357474ccceba4fd66c44d4383 +DIST berusky-data-1.7.tar.gz 5366663 BLAKE2B 88dbb0063be83b2cc60208e9e5d95ee3014ad381ba1a070d5e781b527324d9d1d4d8a8a56da64e76672995e09f9b57630cd7ba282e2da543dbc6773628362403 SHA512 1ccae352b8033df0dd8fe6f09b1daa83b0e25a67999d41a0f21019014620825551a4e22827f96bc28ccdf0958df85c9f3cfd2e8f1e83dd7edac5b0479413d438 +DIST berusky.png 1714 BLAKE2B 31c8c9c820fa030c5329c3a990bd2430797794e460c22301bb8f7f9577a4d5cfaae23e1ba0640389ffea7dad0146afd5d20ff2ca0fa3d65085207af1a0f625df SHA512 a8a5f7f8dca8d686bc05239adda10673e937361514b1aea07dc9fe66f2e009ae7c20b75ab63fd4db8ed206026a009d8620af3471bbb966b5e9b576ce89f66e54 +EBUILD berusky-1.7.1-r1.ebuild 744 BLAKE2B 0175d17f9d04d05ac36b8d646788509e358f663312a1001160a36c8d30673d026fa55e55bfb067a8b71b3037579eaf9aa4aa200e714f100c4156552f84cdb83c SHA512 40031b87dd26eacdd5180709eb60e22cd3a04a8246b23e889163c550b735e8e2307d5ee98a14ebdb875e6c33bc7e8f138b113bb325a119c362eb37f97a745cf9 +MISC metadata.xml 763 BLAKE2B 8aca8e43b681e917a1746a8e8932dee1aeaf0485f32a5e253874c28765b85e90c7a13c722d1c959a12ab5a419936df968f6e5d99fe54d6c4b432a8ae09441f4b SHA512 07baeac7dc22893b3e6bdf8c7ab687ba05ea622bd044e92d364d32358b2961bced3ea1263fb3434cb4ca386d9f90818834a5a3bc8d016cdc69a06e248d694ee1 diff --git a/games-arcade/berusky/berusky-1.7.1-r1.ebuild b/games-arcade/berusky/berusky-1.7.1-r1.ebuild new file mode 100644 index 000000000000..d56b0203f7d5 --- /dev/null +++ b/games-arcade/berusky/berusky-1.7.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop gnome2 + +DATAFILE="${PN}-data-1.7" +DESCRIPTION="Free logic game based on an ancient puzzle named Sokoban" +HOMEPAGE="http://anakreon.cz/?q=node/1" +SRC_URI="http://www.anakreon.cz/download/${P}.tar.gz + http://www.anakreon.cz/download/${DATAFILE}.tar.gz + https://dev.gentoo.org/~hasufell/distfiles/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl[X,video] + media-libs/sdl-image[png] + x11-libs/gtk+:2 +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_install() { + gnome2_src_install + rm -rf "${ED}"/usr/doc + doicon -s 32 "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} +} diff --git a/games-arcade/berusky/metadata.xml b/games-arcade/berusky/metadata.xml new file mode 100644 index 000000000000..d0959ece3c93 --- /dev/null +++ b/games-arcade/berusky/metadata.xml @@ -0,0 +1,19 @@ +<?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"> +Berusky is a free logic game, published under GNU Public License and it's based +on an ancient puzzle named Sokoban. + +An old idea of moving boxes in a maze has been expanded with new logic items +such as explosives, stones, special gates and so on. In addition, up to five +bugs can cooperate and be controlled by the player. + +In order to leave each level (there's about 120 levels in the game) it is +necessary to own five keys and also to have a free way to the exit. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/betna-0.9.7 b/games-arcade/betna-0.9.7 deleted file mode 100644 index efdb782165db..000000000000 --- a/games-arcade/betna-0.9.7 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[video] -DESCRIPTION=Defend your volcano from the attacking ants by firing rocks/bullets at them -EAPI=5 -HOMEPAGE=http://koti.mbnet.fi/makegho/c/betna/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] games-misc/games-envd -SLOT=0 -SRC_URI=http://koti.mbnet.fi/makegho/c/betna/betna-0.9.7.tgz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=165015bf5f6ed96808ae54c52f323272 diff --git a/games-arcade/betna/Manifest b/games-arcade/betna/Manifest new file mode 100644 index 000000000000..11f6fa28860a --- /dev/null +++ b/games-arcade/betna/Manifest @@ -0,0 +1,3 @@ +DIST betna-0.9.7.tgz 684723 BLAKE2B 1bef53f216faea681bb4e5dd64ef4eba8ce52f62acf5c1ab8af4890cc97f4d3c529cb3e33633b906990e628cc63c7282367fd31c473954a9c258ff1c4fd43286 SHA512 01a979b3bd5adf1581293db8a066a4db1b4818f5986d8954d0da5d1e1eb394201c2affcee8c679b7cd23b4d255f718619dc00183b59fe7be280f18db0c0548d5 +EBUILD betna-0.9.7.ebuild 1004 BLAKE2B 74536b10ae4d24b234ed6e31b11b7141755646bafc493db330ace0eb24d9b1dabe8cda43ca1b4956ba0c29117650f4468d90864bcdde1d90c0118acd91b5fe8b SHA512 fb48c44f9630c496c1e26c5c405321b1a6f3fc92bc05d648160161ca7682b294657fc47c659d385c800d1f8e8d5f8216a1241798a58f1e0fbcd9949849521730 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/betna/betna-0.9.7.ebuild b/games-arcade/betna/betna-0.9.7.ebuild new file mode 100644 index 000000000000..5ec01c5aec8c --- /dev/null +++ b/games-arcade/betna/betna-0.9.7.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="Defend your volcano from the attacking ants by firing rocks/bullets at them" +HOMEPAGE="http://koti.mbnet.fi/makegho/c/betna/" +SRC_URI="http://koti.mbnet.fi/makegho/c/betna/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e '/blobprintf.*char msg/s/char msg/const char msg/' \ + -e "s:images/:${GAMES_DATADIR}/${PN}/:" \ + src/main.cpp || die + + sed -i \ + -e '/^LDFLAGS/d' \ + -e '/--libs/s/-o/$(LDFLAGS) -o/' \ + -e 's:-O2:$(CXXFLAGS):g' \ + -e 's/g++/$(CXX)/' \ + Makefile || die +} + +src_compile() { + emake clean + emake +} + +src_install() { + dogamesbin betna + insinto "${GAMES_DATADIR}"/${PN} + doins images/* + newicon images/target.bmp ${PN}.bmp + make_desktop_entry ${PN} Betna /usr/share/pixmaps/${PN}.bmp + dodoc README Q\&A + prepgamesdirs +} diff --git a/games-arcade/betna/metadata.xml b/games-arcade/betna/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/betna/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-arcade/blobby-1.0 b/games-arcade/blobby-1.0 deleted file mode 100644 index b8a620211119..000000000000 --- a/games-arcade/blobby-1.0 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=>=dev-games/physfs-2[zip] media-libs/libsdl[sound,joystick,opengl,video,X] virtual/opengl app-arch/zip dev-libs/boost virtual/pkgconfig sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=Beach ball game with blobs of goo -EAPI=6 -HOMEPAGE=https://sourceforge.net/projects/blobby/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=dev-games/physfs-2[zip] media-libs/libsdl[sound,joystick,opengl,video,X] virtual/opengl -SLOT=0 -SRC_URI=mirror://sourceforge/blobby/blobby2-linux-1.0.tar.gz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=33f7d51c85899e7285cdf1210e0829bf diff --git a/games-arcade/blobby/Manifest b/games-arcade/blobby/Manifest new file mode 100644 index 000000000000..5e888a5d2dff --- /dev/null +++ b/games-arcade/blobby/Manifest @@ -0,0 +1,6 @@ +AUX blobby-1.0-compile.patch 953 BLAKE2B c946783dd30b7f10c5f8cd4db932ef1c913fc10dbb8d83d23c0985d07cd2e96a4dda242914a96a2925ed7d8510035c0014641077278fb5600acab54b574d7bc7 SHA512 da389d12f388cfd48a4259be72e076bfff65258e6ff27c9d8ea815e9c04ce99520fc321b17cfcc95241e1ec7b5f70dee7d6a5dd05c36e351648c67ee5226d078 +AUX blobby-1.0-install.patch 669 BLAKE2B c23270394ce98e271713da8af60d8b8f510d1a6f69950485af060eacae977942b2490eb9450faaea25c6adb29a5e216356f68cfd48cb13aca97e9b4eb582d294 SHA512 ed31fd4a8f6e5c0f30bfbaf331c5b4dc51250c72481d38b556bceed673de5ee8c1fe89c5002e15125202551023e3d836937eeb1de1121e78f60c15132b5850c9 +AUX blobby-1.0-paths.patch 1237 BLAKE2B 77199702e08216ce741698b7435288f4536e6304a3fec09f2ef57bd73004d3306d9430230a2d8fdb1fc3a8018765c3a7d7662501eb6eb1caa6b29a858a96a798 SHA512 63c0ea107197ec2bed46b34d6cebbd0df1cc09477d6253ee8f325a554608456b0a34b301201e4d774c985df0512ba330105a5ec2be29ba34250a3a7311437793 +DIST blobby2-linux-1.0.tar.gz 1772918 BLAKE2B ee2231d5c2a287f812debf43a95b6ffe4abdcd87fec41eea5e528253d83190f20d4b2245b5e530f1b8b9df310ce2757b06377f7305f8cf60e6d51db9964ea239 SHA512 b9e36de4a44e482c9d0742b95034c2979d7a51512ac5e3fd8f4933655132028dfc9642c3580e5523b5b95d38acc169932d24808cee236710731c2571321337fa +EBUILD blobby-1.0.ebuild 802 BLAKE2B c3eef011c49da2d3476e62b6baa7b9abd79d672699dbd8aa7eed95b60b1336b20fec157dfd8899a8bbdbb1949f4d588c84434486cb1f865f127a1ef17b47733d SHA512 3b493fb652e2aadf44972c007dc0506a68c7e9af33d47a04c8650fcaf1500c822f5a203b7ae59c990190c4115beb1e5deb37dd69338ed59dad7ce3e7a35e2d46 +MISC metadata.xml 329 BLAKE2B 57c87f4ead15774d9253ee14454b3316e1ca30eef93f18066c039a25137258555ec8788dfab78f94be77c38bb2ebe03ce42f1046896fb323653ce04760e7b8f6 SHA512 a46248ffada14ff8459d5a6949e8d437d7fc72036c04f0c8f28b3cca614ccdb3116875f741d0dd248e172431d292761c6c1d230f1a07499b2d6cc63208ccc740 diff --git a/games-arcade/blobby/blobby-1.0.ebuild b/games-arcade/blobby/blobby-1.0.ebuild new file mode 100644 index 000000000000..413ea74b1024 --- /dev/null +++ b/games-arcade/blobby/blobby-1.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils desktop + +DESCRIPTION="Beach ball game with blobs of goo" +HOMEPAGE="https://sourceforge.net/projects/blobby/" +SRC_URI="mirror://sourceforge/${PN}/${PN}2-linux-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-games/physfs-2[zip] + media-libs/libsdl[sound,joystick,opengl,video,X] + virtual/opengl" +DEPEND="${RDEPEND} + app-arch/zip + dev-libs/boost + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-compile.patch + "${FILESDIR}"/${P}-paths.patch + "${FILESDIR}"/${P}-install.patch +) + +src_install() { + cmake-utils_src_install + + newicon data/Icon.bmp ${PN}.bmp + make_desktop_entry ${PN} "Blobby Volley" /usr/share/pixmaps/${PN}.bmp +} diff --git a/games-arcade/blobby/files/blobby-1.0-compile.patch b/games-arcade/blobby/files/blobby-1.0-compile.patch new file mode 100644 index 000000000000..f41601d56375 --- /dev/null +++ b/games-arcade/blobby/files/blobby-1.0-compile.patch @@ -0,0 +1,29 @@ +From eaa17d2ad90de2024fc3a7a59575597d1dc0b171 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Sat, 21 Jan 2017 18:01:14 +0100 +Subject: [PATCH] Fix compilation + +--- + src/NetworkMessage.cpp | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/NetworkMessage.cpp b/src/NetworkMessage.cpp +index 9178e74..0c3163b 100644 +--- a/src/NetworkMessage.cpp ++++ b/src/NetworkMessage.cpp +@@ -109,6 +109,11 @@ bool operator == (const ServerInfo& lval, const ServerInfo& rval) + + std::ostream& operator<<(std::ostream& stream, const ServerInfo& val) + { +- return stream << val.name << " (" << val.hostname << ":" << val.port << ")"; ++ return stream ++ << std::string(val.name) ++ << std::string(" (") ++ << std::string(val.hostname) ++ << std::string(":") << std::to_string(val.port) ++ << std::string(")"); + } + +-- +2.11.0 + diff --git a/games-arcade/blobby/files/blobby-1.0-install.patch b/games-arcade/blobby/files/blobby-1.0-install.patch new file mode 100644 index 000000000000..5bd95c121ed9 --- /dev/null +++ b/games-arcade/blobby/files/blobby-1.0-install.patch @@ -0,0 +1,29 @@ +From 0a3ebb368242ed379f4ff7d5eca24be79841d968 Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Sat, 21 Jan 2017 18:55:47 +0100 +Subject: [PATCH] Install missing files + +--- + data/CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt +index a2454cd..5a2a661 100644 +--- a/data/CMakeLists.txt ++++ b/data/CMakeLists.txt +@@ -25,10 +25,12 @@ set(install_files + ${CMAKE_CURRENT_BINARY_DIR}/backgrounds.zip + ${CMAKE_CURRENT_BINARY_DIR}/rules.zip + config.xml ++ Icon.bmp + inputconfig.xml + server/server.xml + lang_de.xml + lang_en.xml ++ lang_it.xml + lang_fr.xml) + + if (WIN32) +-- +2.11.0 + diff --git a/games-arcade/blobby/files/blobby-1.0-paths.patch b/games-arcade/blobby/files/blobby-1.0-paths.patch new file mode 100644 index 000000000000..6ddc76877e7d --- /dev/null +++ b/games-arcade/blobby/files/blobby-1.0-paths.patch @@ -0,0 +1,37 @@ +From 3dbc91fcfe5412598201e33de80db7b1b01e4ffb Mon Sep 17 00:00:00 2001 +From: Sebastian Pipping <sebastian@pipping.org> +Date: Sat, 21 Jan 2017 18:49:04 +0100 +Subject: [PATCH] Use system installation path + +--- + data/CMakeLists.txt | 2 +- + src/main.cpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt +index d9029b3..a2454cd 100644 +--- a/data/CMakeLists.txt ++++ b/data/CMakeLists.txt +@@ -34,5 +34,5 @@ set(install_files + if (WIN32) + install(FILES ${install_files} DESTINATION data) + elseif (UNIX) +- install(FILES ${install_files} DESTINATION share/blobby) ++ install(FILES ${install_files} DESTINATION /usr/share/blobby) + endif (WIN32) +diff --git a/src/main.cpp b/src/main.cpp +index 2628990..15bddf2 100644 +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -78,7 +78,7 @@ void setupPHYSFS() + std::string separator = fs.getDirSeparator(); + // Game should be playable out of the source package on all + // relevant platforms. +- std::string baseSearchPath("data" + separator); ++ std::string baseSearchPath("/usr/share/blobby/"); + // Android and iOS are needing a special path + #ifdef __ANDROID__ + baseSearchPath = SDL_AndroidGetExternalStoragePath() + separator; +-- +2.11.0 + diff --git a/games-arcade/blobby/metadata.xml b/games-arcade/blobby/metadata.xml new file mode 100644 index 000000000000..503a13f4e202 --- /dev/null +++ b/games-arcade/blobby/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">blobby</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/blobwars-2.00 b/games-arcade/blobwars-2.00 deleted file mode 100644 index dad4a6219d4d..000000000000 --- a/games-arcade/blobwars-2.00 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install postinst postrm preinst prepare -DEPEND=media-libs/libsdl2 media-libs/sdl2-mixer media-libs/sdl2-ttf media-libs/sdl2-image media-libs/sdl2-net sys-libs/zlib virtual/libintl sys-devel/gettext >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info -DESCRIPTION=Platform game about a blob and his quest to rescue MIAs from an alien invader -EAPI=6 -HOMEPAGE=https://sourceforge.net/projects/blobwars/ https://sourceforge.net/apps/mediawiki/blobwars/index.php?title=Main_Page -KEYWORDS=~amd64 ~x86 -LICENSE=BSD CC-BY-SA-3.0 CC-BY-3.0 GPL-2 LGPL-2.1 fairuse public-domain -RDEPEND=media-libs/libsdl2 media-libs/sdl2-mixer media-libs/sdl2-ttf media-libs/sdl2-image media-libs/sdl2-net sys-libs/zlib virtual/libintl -SLOT=0 -SRC_URI=mirror://sourceforge/blobwars/blobwars-2.00.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=fd091e4ab84e13e8bb902b905c469e98 diff --git a/games-arcade/blobwars/Manifest b/games-arcade/blobwars/Manifest new file mode 100644 index 000000000000..7eb71f33d23c --- /dev/null +++ b/games-arcade/blobwars/Manifest @@ -0,0 +1,3 @@ +DIST blobwars-2.00.tar.gz 66982603 BLAKE2B 273b5eab5a569f7f4b78982499a85daf63e6fdfb7d4348290d64bbcbeb9be830bb7cf81a0a387df0daa176e7a2a82d62404e88c95f02d6af485bae054170ad38 SHA512 412afd029554e59e7947466f36b51ef863faf1712898397498d5497e9a38dced92777b7684c1fb231998d893a6ce2c435b8f4278429df41168385de8fa18725b +EBUILD blobwars-2.00.ebuild 1091 BLAKE2B 2757fcc3fef4acd23c0be5d7aae7ee59628de526f2487faad7e31b2387cd9a1f4b1cb0d0feb337d0bba64cdd5ea9e90dbee123c76ac33f035887f7ea7dea540c SHA512 6c5f30ed57dfccd062f2e9c8b6496f0cbb83f22008fc250d4c078d692b15b42cd1d36d65ddbdee7553fdb6deb132e5603acd021899e712d2fb3ddb032e349313 +MISC metadata.xml 435 BLAKE2B 068333d0c08571d1786efe5ed571a2382b51df890ae8a9c800c19f043b563475ffb98ed6a3347a7772fccc7812af1c7cd6db092ea74214e5b97909e2a8e90d8c SHA512 774b29f812036b56f80241d3fa85e93097cbda2492a0a68f8b7c1e0ebad5f7e4ff48532d8cbf96df5c5a200c8c5dc747c78fc36aa130b6def0f35309b29e9420 diff --git a/games-arcade/blobwars/blobwars-2.00.ebuild b/games-arcade/blobwars/blobwars-2.00.ebuild new file mode 100644 index 000000000000..c8e537631e83 --- /dev/null +++ b/games-arcade/blobwars/blobwars-2.00.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils xdg + +DESCRIPTION="Platform game about a blob and his quest to rescue MIAs from an alien invader" +HOMEPAGE="https://sourceforge.net/projects/blobwars/ https://sourceforge.net/apps/mediawiki/blobwars/index.php?title=Main_Page" +SRC_URI="mirror://sourceforge/blobwars/${P}.tar.gz" + +LICENSE="BSD CC-BY-SA-3.0 CC-BY-3.0 GPL-2 LGPL-2.1 fairuse public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl2 + media-libs/sdl2-mixer + media-libs/sdl2-ttf + media-libs/sdl2-image + media-libs/sdl2-net + sys-libs/zlib + virtual/libintl +" +DEPEND="${RDEPEND} + sys-devel/gettext +" + +src_prepare() { + default + sed -i -e "/-Werror/d" Makefile || die +} + +src_compile() { + emake \ + RELEASE="1" \ + USEPAK="1" +} + +src_install() { + emake \ + BINDIR="/usr/bin/" \ + USEPAK="1" \ + DESTDIR="${D}" \ + DOCDIR="/usr/share/doc/${PF}/html/" \ + install + + mv -vf \ + "${D}"/usr/share/doc/${PF}/html/{changes,hacking,porting,readme} \ + "${D}"/usr/share/doc/${PF}/ +} diff --git a/games-arcade/blobwars/metadata.xml b/games-arcade/blobwars/metadata.xml new file mode 100644 index 000000000000..d94e97a50ae6 --- /dev/null +++ b/games-arcade/blobwars/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>pacho@gentoo.org</email> + <name>Pacho Ramos</name> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">blobwars</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/blockrage-0.2.3 b/games-arcade/blockrage-0.2.3 deleted file mode 100644 index 33206b1a9d0f..000000000000 --- a/games-arcade/blockrage-0.2.3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[video] -DESCRIPTION=Falling-blocks arcade game with a 2-player hotseat mode -EAPI=5 -HOMEPAGE=http://blockrage.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/blockrage/blockrage-0.2.3.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=26afc8aeb4a500fde8771c2fcdeaba58 diff --git a/games-arcade/blockrage/Manifest b/games-arcade/blockrage/Manifest new file mode 100644 index 000000000000..1dd46bccc691 --- /dev/null +++ b/games-arcade/blockrage/Manifest @@ -0,0 +1,4 @@ +AUX blockrage-0.2.3-config.patch 949 BLAKE2B c45af2acebc7e4c1f0bed710cec317f88e7a40fdcba1420f4349c1bf20aec95bc1f72b8d95411129bb05c51ffae373e87449ca974bca922b906915ac3bc0e4d1 SHA512 41b9446bbd0f1a5f0c9c740a3208ed01ec0f6b80bbce0c68e4e24b05b6e5c3bd22a308bc2ef72969dab95faffe20a9456a07e62e110378b4ad2034f9f7676f16 +DIST blockrage-0.2.3.tar.gz 75620 BLAKE2B f54e0f2e30e36b9c9692c28a4cb894305cb9e0eaae31873073899aeafaa1a032c56533840c5094ff60e3e9eb09587fc9cc83b8469f39952ce483369243f5fcc1 SHA512 20ad63cb75f6f3afe482b54c5dc0487615ed9ac9a43fa3819b1da43f343c8dde6c3eb817b46b586bbfdca6ad9c9e9cb3c220f5ab536397e407250daf9fd61aa2 +EBUILD blockrage-0.2.3.ebuild 618 BLAKE2B 805c5fc2794b9f6d6534422f8978425341ea8c250ce6b44779e091de79790bbec6629a10b2380c097f1356579318e02c1351610a4caca8123e28c85ea961ed42 SHA512 66e66aea0193e31aaa72eaf85d647370057c657960370a2181330349a69eec1e83c37a4737b0d9fccf85d8f442c2d44ce97b0a93a1f6d5ba0feb6163c2fd2b6e +MISC metadata.xml 448 BLAKE2B 6a4517bcb8f863902cc85d8ca2fa678035b1dce32f554593428107258c41c39f21612859e48688e82ecd65bd463be00f5619af2ac144ed2e2622d66423e502c8 SHA512 803f6a13513f89d982db1995fc96d8a9f430b2fd23fedc7dd63da2a2b864326108ce2156ae0a7432afb1fbffe8588db9b3b3b81f8ede2e3c62eb8675e2356101 diff --git a/games-arcade/blockrage/blockrage-0.2.3.ebuild b/games-arcade/blockrage/blockrage-0.2.3.ebuild new file mode 100644 index 000000000000..62aa1d3692a6 --- /dev/null +++ b/games-arcade/blockrage/blockrage-0.2.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Falling-blocks arcade game with a 2-player hotseat mode" +HOMEPAGE="http://blockrage.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[video]" +RDEPEND=${DEPEND} + +# Removing error due to wrong detection of cross-compile mode +DOCS=( ChangeLog KNOWN_BUGS README TODO ) + +src_prepare() { + epatch "${FILESDIR}/${P}"-config.patch +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-arcade/blockrage/files/blockrage-0.2.3-config.patch b/games-arcade/blockrage/files/blockrage-0.2.3-config.patch new file mode 100644 index 000000000000..dc1875fc28e8 --- /dev/null +++ b/games-arcade/blockrage/files/blockrage-0.2.3-config.patch @@ -0,0 +1,30 @@ +--- configure ++++ configure +@@ -40,7 +40,7 @@ + SOUND_OPT= + + MYCC=gcc +-MYCFLAGS='-s -O2 -Wall `sdl-config --cflags`'" $SOUND_OPT -DSYSCONFDIR=\\\"\${sysconfdir}/\${progname}\\\"" ++MYCFLAGS='-Wall `sdl-config --cflags`'" $SOUND_OPT -DSYSCONFDIR=\\\"\${sysconfdir}/\${progname}\\\"" + + if test -z "$CC" ; then + CC="$MYCC"; +@@ -75,7 +75,6 @@ + --build=*) build_alias="$cfg_optarg";; + --host=*) if test ."$build_alias" != ."$cfg_optarg" ; then + printf "configure: cross-compiling not supported\n" >&2 +- exit 1 + fi;; + + --bindir=*) bindir="$cfg_optarg";; +--- src/Makefile.in ++++ src/Makefile.in +@@ -1,7 +1,7 @@ + OBJS = main.o gfxout.o gfxlib.o menus.o keyboard.o bg.o sound.o global.o timer.o + + $(progname)$(XSUF): $(OBJS) +- gcc -s -o $(progname)$(XSUF) $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) -o $(progname)$(XSUF) $(OBJS) $(LIBS) $(LDFLAGS) + + bg.o: bg.c bg.h global.h main.h + gfxlib.o: gfxlib.c gfxlib.h global.h gfxout.h diff --git a/games-arcade/blockrage/metadata.xml b/games-arcade/blockrage/metadata.xml new file mode 100644 index 000000000000..13e8bd0d6026 --- /dev/null +++ b/games-arcade/blockrage/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="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <longdescription lang="en"> +An arcade game with addictive gameplay and a 2-player hotseat mode. +</longdescription> + <upstream> + <remote-id type="sourceforge">blockrage</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/bomns-0.99.2 b/games-arcade/bomns-0.99.2 deleted file mode 100644 index c47cda02f175..000000000000 --- a/games-arcade/bomns-0.99.2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[video] media-libs/sdl-mixer gtk? ( x11-libs/gtk+:2 ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=A fast-paced multiplayer deathmatch arcade game -EAPI=5 -HOMEPAGE=http://greenridge.sourceforge.net -IUSE=gtk editor -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-mixer gtk? ( x11-libs/gtk+:2 ) games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/greenridge/bomns-0.99.2.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 games 2bb3ede665927a68ffdb7c41eec7efde libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=241339af8b7662dbfaa9cef7d3c6cce5 diff --git a/games-arcade/bomns/Manifest b/games-arcade/bomns/Manifest new file mode 100644 index 000000000000..3d1c444e58e4 --- /dev/null +++ b/games-arcade/bomns/Manifest @@ -0,0 +1,4 @@ +AUX bomns-0.99.2-fpe.patch 350 BLAKE2B c80f7e73861a458c31df12db2cae3a6776b1d2b512a30927e76ed6277523173e8fbc03bb24a851db428b58910c331cc084ca063bac86ccef23f3e41c6bd3a4a6 SHA512 0e8aad5ebcfc536051c59b7d44c125a82d98ee8963df4fbc2cb0edf879be2e6898b7938aa26cd8f535355e4c2dfa7f95f232b506850fd5a6105ef84f5a37c092 +DIST bomns-0.99.2.tar.gz 1079850 BLAKE2B 7d7eb5a55455fc300d265b5efa652310d0e08b1c4a688221ca0ad8d578b423efac1bd00cd637f1918d1ba9fe903c5890e63c1ce3dab80e9e8f312083be824898 SHA512 db4a2352af0cb220dc0c12de8796d17bbfb71e1aa7de1743dfe534fe4f54c38217f893f0fcaef1dc97509198eec7446d352e92077644664d4bf48acbc2a7897f +EBUILD bomns-0.99.2.ebuild 1048 BLAKE2B f995b3d1b74f5a0daad3adbb7302c7f251624ab18803c3ad5792f580cb0d53c1bea60f3ce68e465d6ae17575e2159856dd843a47a00275887a1f3cdd74b91c6d SHA512 f87b99997603d23848ac07c83e0aeb975490cf9be70f9d79586cc67f1ece3ef803685194ceca79d9a002fa3c81a8ca0db042239c2082bbfe57e0d69ad21c1f94 +MISC metadata.xml 425 BLAKE2B fced594d29b6f96ad3ec46d47640cf06d62bf20fdcc4849120c189d9dfc84dbc883756c38cb91f972d8d29184e1483393bf55f8c122702032e533d15b44690c9 SHA512 2fce22d02ab3c395d452d3a1312b3f01cc1791177749931b2d20fda56437f38229da616b0993deaf42561d563fdb953305de886e92fbff14a94a7cec19ae2b73 diff --git a/games-arcade/bomns/bomns-0.99.2.ebuild b/games-arcade/bomns/bomns-0.99.2.ebuild new file mode 100644 index 000000000000..98b2d87716e9 --- /dev/null +++ b/games-arcade/bomns/bomns-0.99.2.ebuild @@ -0,0 +1,48 @@ +# 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="A fast-paced multiplayer deathmatch arcade game" +HOMEPAGE="http://greenridge.sourceforge.net" +SRC_URI="mirror://sourceforge/greenridge/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="gtk editor" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer + gtk? ( x11-libs/gtk+:2 )" +RDEPEND=${DEPEND} + +src_prepare() { + sed -i \ + -e "/appicondir/s:\$(prefix):/usr:" \ + -e "/desktopdir/s:\$(prefix):/usr:" \ + $(find icons -name Makefile.am) \ + Makefile.am || die + sed -i \ + -e "s:\$*[({]prefix[})]/share:${GAMES_DATADIR}:" \ + configure.in \ + graphics/Makefile.am \ + levels/Makefile.am \ + sounds/Makefile.am || die + epatch "${FILESDIR}"/${P}-fpe.patch + eautoreconf +} + +src_configure() { + filter-flags -fforce-addr + egamesconf \ + --disable-launcher1 \ + $(use_enable gtk launcher2) \ + $(use_enable editor) +} + +src_install() { + default + prepgamesdirs +} diff --git a/games-arcade/bomns/files/bomns-0.99.2-fpe.patch b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch new file mode 100644 index 000000000000..3a9e39c241af --- /dev/null +++ b/games-arcade/bomns/files/bomns-0.99.2-fpe.patch @@ -0,0 +1,14 @@ +--- src/bomns.cpp.old 2015-01-03 18:44:59.947689613 +0100 ++++ src/bomns.cpp 2015-01-03 18:47:29.854777276 +0100 +@@ -432,7 +432,10 @@ + if(g_bShowFps) + { + dwFpsTimer = SDL_GetTicks() - dwFpsTimer; +- nFps = 1000l / dwFpsTimer; ++ if (dwFpsTimer) ++ nFps = 1000l / dwFpsTimer; ++ else ++ nFps = 1000l; + } + + diff --git a/games-arcade/bomns/metadata.xml b/games-arcade/bomns/metadata.xml new file mode 100644 index 000000000000..bbfb3927e5f4 --- /dev/null +++ b/games-arcade/bomns/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="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="editor">enables building the level editor</flag> + </use> + <upstream> + <remote-id type="sourceforge">greenridge</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/briquolo-0.5.7 b/games-arcade/briquolo-0.5.7 deleted file mode 100644 index 98c41b7ec033..000000000000 --- a/games-arcade/briquolo-0.5.7 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=virtual/opengl virtual/glu media-libs/libsdl[joystick,sound,video] media-libs/sdl-mixer media-libs/sdl-ttf media-libs/libpng:0 nls? ( virtual/libintl ) nls? ( sys-devel/gettext ) -DESCRIPTION=Breakout with 3D representation based on OpenGL -EAPI=5 -HOMEPAGE=http://briquolo.free.fr/en/index.html -IUSE=nls -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=virtual/opengl virtual/glu media-libs/libsdl[joystick,sound,video] media-libs/sdl-mixer media-libs/sdl-ttf media-libs/libpng:0 nls? ( virtual/libintl ) games-misc/games-envd -SLOT=0 -SRC_URI=http://briquolo.free.fr/download/briquolo-0.5.7.tar.bz2 -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=fbd21c55a80c6c4fe4e05b7e95b590d7 diff --git a/games-arcade/briquolo/Manifest b/games-arcade/briquolo/Manifest new file mode 100644 index 000000000000..e62eac1e331f --- /dev/null +++ b/games-arcade/briquolo/Manifest @@ -0,0 +1,5 @@ +AUX briquolo-0.5.7-gcc43.patch 2954 BLAKE2B 40661c665dadefa60d7b08f0b7a2873beb291a4f4feafe3c3c3807d236ff8bbc743ad600843e19086d16e5eb40f23fe59ec3df14b28bb35c8a7bf7f134648ef4 SHA512 fdee3f69b425591969a351001722a8820d1b78b0107a358c6f60b6c40636a88f1ad657020ed80edd5403f804e3db7af181ba89235e08f660768e4b53f59f499a +AUX briquolo-0.5.7-libpng14.patch 1058 BLAKE2B d34416489d59adbcbc2d406a6f5983056f1f7c36f2de506ddf881796c8717e471c4c043d9292604ed8f36b1a02642c281827d432e6b3723b2af1e5f374985760 SHA512 0d936eaf6bcb4de420ac45d2d0f41cee8b5b533e329946ddb656da689397e435ceec036ecba53abdec01a52964d56e23dce63d858c4caf77a7e997072ab4da13 +DIST briquolo-0.5.7.tar.bz2 2588084 BLAKE2B 4ec87a161df72f9cc0df592a5b18cdf7a42e9f66675b6eeec20f57f6be599942940eb341dc4927405a1402f1356f52bdd1bea2a6b72c5f36abf229c1ef42e5be SHA512 4ef78193c80ac3554b72149b8da9b5cfd5b8fd68932e5b52666d74642e94a7a3a596dbb6d2865cba526929dd6d9be89743847d5e77b6fbc687c32394bc3be3d2 +EBUILD briquolo-0.5.7.ebuild 1135 BLAKE2B a40a56a0540fe4d9dec44f629aa71851daf79b0d8101ebaa73c0461c8d650cfba48918045a9a8296c749af034065d8ea288c823cd8cbf71f717e17a96aedc94f SHA512 7cf0ea9fcf2b481e71af9973aa7d658771b4fcccb0dc314b545d9a7af4927cd1d3fd9155110b43e342ea67a3306d7c0957076417a231ee2ad6685e57b54c4165 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/briquolo/briquolo-0.5.7.ebuild b/games-arcade/briquolo/briquolo-0.5.7.ebuild new file mode 100644 index 000000000000..07776ecc7735 --- /dev/null +++ b/games-arcade/briquolo/briquolo-0.5.7.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="Breakout with 3D representation based on OpenGL" +HOMEPAGE="http://briquolo.free.fr/en/index.html" +SRC_URI="http://briquolo.free.fr/download/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND="virtual/opengl + virtual/glu + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/libpng:0 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-libpng14.patch + # no thanks we'll take care of it. + sed -i \ + -e '/^SUBDIRS/s/desktop//' \ + Makefile.in || die + sed -i \ + -e "/CXXFLAGS/s:-O3:${CXXFLAGS}:" \ + -e 's:=.*share/locale:=/usr/share/locale:' \ + configure || die + sed -i \ + -e 's:$(datadir)/locale:/usr/share/locale:' \ + po/Makefile.in.in || die +} + +src_configure() { + egamesconf $(use_enable nls) +} + +src_install() { + default + doicon desktop/briquolo.svg + make_desktop_entry briquolo Briquolo + prepgamesdirs +} diff --git a/games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch b/games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch new file mode 100644 index 000000000000..13e932a1c69e --- /dev/null +++ b/games-arcade/briquolo/files/briquolo-0.5.7-gcc43.patch @@ -0,0 +1,81 @@ +diff -ru src.orig/Constante.cpp src/Constante.cpp +--- src.orig/Constante.cpp 2008-03-22 05:40:33.000000000 -0400 ++++ src/Constante.cpp 2008-06-11 23:16:46.000000000 -0400 +@@ -27,6 +27,7 @@ + #define DATADIR_BRIQUOLO "./" + #define PACKAGE "briquolo" + #endif ++#include <cstdlib> + + #ifdef WIN32 + #define WIN32_LEAN_AND_MEAN +diff -ru src.orig/MOGL/MOGL_EnsembleObjet.cpp src/MOGL/MOGL_EnsembleObjet.cpp +--- src.orig/MOGL/MOGL_EnsembleObjet.cpp 2008-03-24 09:12:36.000000000 -0400 ++++ src/MOGL/MOGL_EnsembleObjet.cpp 2008-06-11 23:17:11.000000000 -0400 +@@ -24,7 +24,8 @@ + #include "MOGL_Armature.h" + #include "MOGL_Peau.h" + //#include +-#include <stdio.h> ++#include <cstdio> ++#include <cstring> + + //#include <mmsystem.h> + +diff -ru src.orig/MOGL/MOGL_GestionnaireObjet.cpp src/MOGL/MOGL_GestionnaireObjet.cpp +--- src.orig/MOGL/MOGL_GestionnaireObjet.cpp 2008-03-24 08:56:13.000000000 -0400 ++++ src/MOGL/MOGL_GestionnaireObjet.cpp 2008-06-11 23:18:45.000000000 -0400 +@@ -21,6 +21,7 @@ + *****************************************************************************/ + #include "../I18n.h" + #include "MOGL_GestionnaireObjet.h" ++#include <cstring> + + bool MOGL_GestionnaireObjet::ChargerObjetASCTriangle(const char * p_NomFichier, const MOGL_GestionnaireTexture & p_GM, + MOGL_Objet & p_Objet) +diff -ru src.orig/MOGL/MOGL_GestionnaireObjet.h src/MOGL/MOGL_GestionnaireObjet.h +--- src.orig/MOGL/MOGL_GestionnaireObjet.h 2006-03-07 15:31:24.000000000 -0500 ++++ src/MOGL/MOGL_GestionnaireObjet.h 2008-06-11 23:20:07.000000000 -0400 +@@ -24,7 +24,8 @@ + + #include <vector> + #include <iostream> +-#include <stdio.h> ++#include <cstdio> ++#include <cstring> + + #include "MOGL_Triangle.h" + #include "MOGL_Objet.h" +diff -ru src.orig/MOGL/MOGL_Image.h src/MOGL/MOGL_Image.h +--- src.orig/MOGL/MOGL_Image.h 2006-03-07 15:53:11.000000000 -0500 ++++ src/MOGL/MOGL_Image.h 2008-06-11 23:20:51.000000000 -0400 +@@ -24,6 +24,7 @@ + + #include "MOGL_Structure.h" + #include <string> ++#include <cstring> + + using namespace std; + +diff -ru src.orig/MOGL/MOGL_Objet.cpp src/MOGL/MOGL_Objet.cpp +--- src.orig/MOGL/MOGL_Objet.cpp 2006-03-07 15:31:24.000000000 -0500 ++++ src/MOGL/MOGL_Objet.cpp 2008-06-11 23:21:05.000000000 -0400 +@@ -20,6 +20,7 @@ + * + *****************************************************************************/ + #include "MOGL_Objet.h" ++#include <cstdlib> + + //MOGL_Objet::MOGL_Objet(): MOGL_ObjetAbstrait(), MOGL_ElementArbre() + MOGL_Objet::MOGL_Objet(): MOGL_Noeud(), _ModifieTriangle(true), _ModifieStrip(true), +diff -ru src.orig/MOGL/MOGL_Peau.cpp src/MOGL/MOGL_Peau.cpp +--- src.orig/MOGL/MOGL_Peau.cpp 2006-03-07 15:31:24.000000000 -0500 ++++ src/MOGL/MOGL_Peau.cpp 2008-06-11 23:21:17.000000000 -0400 +@@ -20,6 +20,7 @@ + * + *****************************************************************************/ + #include "MOGL_Peau.h" ++#include <cstdlib> + + MOGL_Peau::MOGL_Peau(): MOGL_Noeud(), _ModifieTriangle(true) + { diff --git a/games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch b/games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch new file mode 100644 index 000000000000..d325bac02578 --- /dev/null +++ b/games-arcade/briquolo/files/briquolo-0.5.7-libpng14.patch @@ -0,0 +1,31 @@ +http://bugs.gentoo.org/show_bug.cgi?id=308667 + +--- src/MOGL/MOGL_Image.cpp ++++ src/MOGL/MOGL_Image.cpp +@@ -183,7 +183,7 @@ bool MOGL_Image::ChargerPNG(const char * + info_ptr = png_create_info_struct(png_ptr); + if (info_ptr == NULL) + { +- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, NULL, NULL); + return false; + } + +@@ -191,7 +191,7 @@ bool MOGL_Image::ChargerPNG(const char * + if (setjmp(png_jmpbuf(png_ptr))) + { + // On libère la mémoire +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + return false; + } + +@@ -235,7 +235,7 @@ bool MOGL_Image::ChargerPNG(const char * + /* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */ + if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) + { +- png_set_gray_1_2_4_to_8(png_ptr); ++ png_set_expand_gray_1_2_4_to_8(png_ptr); + } + + /* Expand paletted or RGB images with transparency to full alpha channels diff --git a/games-arcade/briquolo/metadata.xml b/games-arcade/briquolo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/briquolo/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-arcade/bub-n-bros-1.6.2 b/games-arcade/bub-n-bros-1.6.2 deleted file mode 100644 index 58f75740e287..000000000000 --- a/games-arcade/bub-n-bros-1.6.2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] -DESCRIPTION=A multiplayer clone of the famous Bubble Bobble game -EAPI=5 -HOMEPAGE=http://bub-n-bros.sourceforge.net/ -IUSE=python_targets_python2_7 -KEYWORDS=~alpha ~amd64 ~x86 ~x86-fbsd -LICENSE=MIT Artistic-2 -RDEPEND=dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] games-misc/games-envd -REQUIRED_USE=python_targets_python2_7 -SLOT=0 -SRC_URI=mirror://sourceforge/bub-n-bros/bubbros-1.6.2.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=127e7ecffdf2bc15359f0bbe185d36a3 diff --git a/games-arcade/bub-n-bros/Manifest b/games-arcade/bub-n-bros/Manifest new file mode 100644 index 000000000000..b4fd9a384f67 --- /dev/null +++ b/games-arcade/bub-n-bros/Manifest @@ -0,0 +1,4 @@ +AUX bub-n-bros-1.6.2-home.patch 2035 BLAKE2B c88722cd81e358658c751efc05953db01c68f59868181f1f4984a496e93da5f54b963b5edfdd3adb509764ed54315797e881164355cf4c69beaf13b7759913e4 SHA512 77362d4b1daa02f59daa34bc31f6a68506a14eaa4633d04ee3f21f9c8244089e35568bff001a997659de07a4640af84d2ed14807242561e876634d7192f8ab34 +DIST bubbros-1.6.2.tar.gz 11568771 BLAKE2B f1add409c510b0f57817080e4e5bd0beec6c619c849e885c3a203be237f36cf00f34aa2d009d4be183e9d6d25c7fed18565178c9685a2c11fc0880eb242b6c85 SHA512 a05fca8e31655e4bade60cd085f29796d789b349f005c715bf0e37e51f0bacb9d8b9650f3b10470917ee25421d32443e01132816a2f508e359302aa2c6d18ddb +EBUILD bub-n-bros-1.6.2.ebuild 1452 BLAKE2B 85525d5046ab8b4cdf57ae60e26c208a1a2cdff1bd6da550941f62896287344ec5aefbfd509a4a501ff451c2061bba14d0b2fca7163654c01688dab653a8d52d SHA512 4cab910ae29d57230b2cae223d5e9022a6e99dc89eafae6a7b14502d72828e3fae54c7e6ba9feef6449e1cf62c63a0180e4bdac091a89730cbc079f2b348cec8 +MISC metadata.xml 333 BLAKE2B 094c2346ec43b216c3d2a0ece7ee9a90b81a747f8265b725859dece1bace34c245b9685b696c41447b3e9d1a7377fc0c8391ee3108b6c58d194dadd1086030b3 SHA512 ff711e95f012d2e24741f74d91bcce9871303186b15daae6e254be786329b53d1b6acf3c4c403b85a1d83f22423f95b404cb20725042425d309d1fe06fd04edb diff --git a/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild b/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild new file mode 100644 index 000000000000..a930f12a9b08 --- /dev/null +++ b/games-arcade/bub-n-bros/bub-n-bros-1.6.2.ebuild @@ -0,0 +1,69 @@ +# 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 + +MY_P=${P/-n-} +DESCRIPTION="A multiplayer clone of the famous Bubble Bobble game" +HOMEPAGE="http://bub-n-bros.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="MIT Artistic-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-python/pygame[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +RDEPEND=${DEPEND} + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + ecvs_clean + epatch "${FILESDIR}"/${P}-home.patch + python_fix_shebang . +} + +src_compile() { + # Compile the "statesaver" extension module to enable the Clock bonus + cd "${S}"/bubbob + ${EPYTHON} setup.py build_ext -i || die + + # Compile the extension module required for the X Window client + cd "${S}"/display + ${EPYTHON} setup.py build_ext -i || die + + # Build images + cd "${S}"/bubbob/images + ${EPYTHON} buildcolors.py || die +} + +src_install() { + local dir=$(games_get_libdir)/${PN} + + exeinto "${dir}" + doexe *.py + + insinto "${dir}" + doins -r bubbob common display java http2 metaserver + + dodir "${GAMES_BINDIR}" + dosym "${dir}"/BubBob.py "${GAMES_BINDIR}"/bubnbros + + python_optimize "${D}${dir}" + + newicon http2/data/bob.png ${PN}.png + make_desktop_entry bubnbros Bub-n-Bros + + prepgamesdirs +} diff --git a/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch b/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch new file mode 100644 index 000000000000..4d2cc317aba3 --- /dev/null +++ b/games-arcade/bub-n-bros/files/bub-n-bros-1.6.2-home.patch @@ -0,0 +1,51 @@ +--- bubbob/images.py 2007-09-08 17:03:41.000000000 +0200 ++++ bubbob/images.py 2007-09-08 17:57:45.000000000 +0200 +@@ -454,7 +454,6 @@ + # check and maybe regenerate the colored image files + file = os.path.join('images', 'buildcolors.py') + g = {'__name__': '__auto__', '__file__': file} +- execfile(file, g) + # replace the entries 'filename_%d.ppm' by a family of entries, + # one for each color + sprmap = {} +--- display/pclient.py 2007-09-08 17:03:41.000000000 +0200 ++++ display/pclient.py 2007-09-08 17:57:45.000000000 +0200 +@@ -162,8 +162,8 @@ + if mode[-1].has_key('cfgfile'): + self.trackcfgfile = mode[-1]['cfgfile'] + else: +- self.trackcfgfile = os.path.join(DataChunk.SOURCEDIR, +- 'http2', 'config.txt') ++ self.trackcfgfile = os.path.join(os.environ.get('HOME'), ++ '.bubnbros') + self.udpsock = None + self.udpsock_low = None + self.udpsock2 = None +--- http2/httppages.py 2007-09-08 17:03:41.000000000 +0200 ++++ http2/httppages.py 2007-09-08 17:57:45.000000000 +0200 +@@ -38,7 +38,7 @@ + + + class PageServer: +- CONFIGFILE = 'config.txt' ++ CONFIGFILE = '.bubnbros' + localservers = None + + def __init__(self, Game): +@@ -46,7 +46,7 @@ + self.seed = hex(random.randrange(0x1000, 0x10000)) + #self.unique_actions = {} + self.localhost = gamesrv.HOSTNAME +- self.filename = os.path.join(LOCALDIR, self.CONFIGFILE) ++ self.filename = os.path.join(os.environ.get('HOME'), self.CONFIGFILE) + data = self.loadoptionfile() + self.globaloptions = Options(data.get('*', {})) + self.localoptions = Options(data.get(self.localhost, {})) +@@ -333,7 +333,6 @@ + 'buildcolors.py') + if os.path.exists(file): + g = {'__name__': '__auto__', '__file__': file} +- execfile(file, g) + + if port: + address = '%s:%s' % (host, port) diff --git a/games-arcade/bub-n-bros/metadata.xml b/games-arcade/bub-n-bros/metadata.xml new file mode 100644 index 000000000000..349a63e580ba --- /dev/null +++ b/games-arcade/bub-n-bros/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">bub-n-bros</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/bumprace-1.5.3 b/games-arcade/bumprace-1.5.3 deleted file mode 100644 index 02682325f153..000000000000 --- a/games-arcade/bumprace-1.5.3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer[mod] virtual/jpeg:0 sys-libs/zlib media-libs/sdl-image[gif,jpeg,png] -DESCRIPTION=simple arcade racing game -EAPI=5 -HOMEPAGE=http://www.linux-games.com/bumprace/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer[mod] virtual/jpeg:0 sys-libs/zlib media-libs/sdl-image[gif,jpeg,png] games-misc/games-envd -SLOT=0 -SRC_URI=http://user.cs.tu-berlin.de/~karlb/bumprace/bumprace-1.5.3.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=032a36e4c64b7aa08e7ff4be5052da63 diff --git a/games-arcade/bumprace/Manifest b/games-arcade/bumprace/Manifest new file mode 100644 index 000000000000..d5b2a5b8cef6 --- /dev/null +++ b/games-arcade/bumprace/Manifest @@ -0,0 +1,3 @@ +DIST bumprace-1.5.3.tar.gz 906459 BLAKE2B d08d1760cfb01eb7426c012233152007ba196e1ae6774d0474d3b9dcfa45608d08d6f18b9ea5c337c6f7f78eb13e887d1e2a4b92e48792f5f481a7efb123fbc2 SHA512 35bc35e82f587dce9f096f68b74f4fe0c0020f7ee2f972f9c0a99473a2dfbd9e61412c030a93194165d9d5968f6b68a6d1656f8e77dd46352f00a53e47ad94c6 +EBUILD bumprace-1.5.3.ebuild 579 BLAKE2B 7a52e95aec1c81daa9a5c2d5f914303e0320c8b047886a441f40713cc0b859f353c86a8e1310536a9214a971a75d22182b5017535cb38c2ad53051c0603ddbbc SHA512 e4bb5036da6f2651af562fb54996662889232c85659a73addbce678a338b315c580da32723778d6eb56ee6c3943363cd26ec0e564f365523f3c925439cb0f7eb +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/bumprace/bumprace-1.5.3.ebuild b/games-arcade/bumprace/bumprace-1.5.3.ebuild new file mode 100644 index 000000000000..cd28a4e023c1 --- /dev/null +++ b/games-arcade/bumprace/bumprace-1.5.3.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="simple arcade racing game" +HOMEPAGE="http://www.linux-games.com/bumprace/" +SRC_URI="http://user.cs.tu-berlin.de/~karlb/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer[mod] + virtual/jpeg:0 + sys-libs/zlib + media-libs/sdl-image[gif,jpeg,png]" +RDEPEND=${DEPEND} + +src_install() { + default + make_desktop_entry bumprace BumpRace + prepgamesdirs +} diff --git a/games-arcade/bumprace/metadata.xml b/games-arcade/bumprace/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/bumprace/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-arcade/burgerspace-1.9.2 b/games-arcade/burgerspace-1.9.2 deleted file mode 100644 index f12552dc5d62..000000000000 --- a/games-arcade/burgerspace-1.9.2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=>=dev-games/flatzebra-0.1.6 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Clone of the 1982 BurgerTime video game by Data East -EAPI=5 -HOMEPAGE=http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html -IUSE=network -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=dev-games/flatzebra-0.1.6 games-misc/games-envd -RESTRICT=test -SLOT=0 -SRC_URI=http://perso.b2b2c.ca/sarrazip/dev/burgerspace-1.9.2.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=4e196da848234ddba3e4d5b0402f1823 diff --git a/games-arcade/burgerspace/Manifest b/games-arcade/burgerspace/Manifest new file mode 100644 index 000000000000..7538e75563cb --- /dev/null +++ b/games-arcade/burgerspace/Manifest @@ -0,0 +1,3 @@ +DIST burgerspace-1.9.2.tar.gz 505314 BLAKE2B 8a6de753e41de791fdc3a2ceb106f193da3de6c04c80c19b9f84cb03f569982ae8f3fe2e5541c1c389e16085d51867733d4911f04266497420eafd170d085095 SHA512 b2af53d6fcf1d52164870147aa8a5b08941ecb62f3d9bbce5c2872885923057481c21bc34f1e19b8aeb8a76acadd9a11c11fa7b6304438610e8a23e043b7deee +EBUILD burgerspace-1.9.2.ebuild 1085 BLAKE2B 8e84976eb6ac203a905c54f68400aebec155ba00fcc99678777a27684821cc9821161477de22fe4e7fd6fbf21af0f1b341c7042b2a12a5d9ee4eed20b5c75cf5 SHA512 8bf38338818089276d071e45477521f15b2945c21c4b6c8c628fd2033d4b60a3f2ee9d4f05fbfa2423b1bc8b14f67a01956b8eeb327c44ba076b31985760fe04 +MISC metadata.xml 335 BLAKE2B 5b9037f7c7ada3f92d51b965d65b0f47af853b60c4409d1e04522485eeb3a3783f58c4e6e5cb1dfb759d27d09254fae5593f0d12947ae3eb286d7867a6b7ca99 SHA512 78b9833542c259f024f8041b1e26710f42ab792919970e8d5e73c8da539c74e62bec318f5ee18d09b26baee3c17bc49f14f3e70a1032da46acd587c934407cd4 diff --git a/games-arcade/burgerspace/burgerspace-1.9.2.ebuild b/games-arcade/burgerspace/burgerspace-1.9.2.ebuild new file mode 100644 index 000000000000..6eb8eafc4737 --- /dev/null +++ b/games-arcade/burgerspace/burgerspace-1.9.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools games + +DESCRIPTION="Clone of the 1982 BurgerTime video game by Data East" +HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/burgerspace.html" +SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="network" +RESTRICT="test" # doesn't really test anything + +RDEPEND=">=dev-games/flatzebra-0.1.6" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \ + -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \ + -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \ + src/Makefile.am \ + || die + sed -i \ + -e "/Categories/s:Application;::" \ + -e "/Icon/s:\..*::" \ + -e "/Terminal/s:0:false:" \ + src/burgerspace.desktop.in \ + || die + eautoreconf +} + +src_configure() { + egamesconf \ + $(use_with network) +} + +src_install() { + emake -C src DESTDIR="${D}" install + doman doc/${PN}.6 + dodoc AUTHORS NEWS README THANKS + prepgamesdirs +} diff --git a/games-arcade/burgerspace/metadata.xml b/games-arcade/burgerspace/metadata.xml new file mode 100644 index 000000000000..0f35d2dd16cf --- /dev/null +++ b/games-arcade/burgerspace/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="network">Enable client-server support</flag> + </use> +</pkgmetadata> diff --git a/games-arcade/cavezofphear-0.5.1 b/games-arcade/cavezofphear-0.5.1 deleted file mode 100644 index 8ebb63edc1d1..000000000000 --- a/games-arcade/cavezofphear-0.5.1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=>=sys-libs/ncurses-5:0 virtual/pkgconfig -DESCRIPTION=A boulder dash / digger-like game for console using ncurses -EAPI=5 -HOMEPAGE=http://www.x86.no/cavezofphear/ -KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd -LICENSE=GPL-3 -RDEPEND=>=sys-libs/ncurses-5:0 games-misc/games-envd -SLOT=0 -SRC_URI=http://www.x86.no/cavezofphear/phear-0.5.1.tar.bz2 -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=16a17e77921439c6cf74a264b426f098 diff --git a/games-arcade/cavezofphear/Manifest b/games-arcade/cavezofphear/Manifest new file mode 100644 index 000000000000..90dd5d2e3e56 --- /dev/null +++ b/games-arcade/cavezofphear/Manifest @@ -0,0 +1,4 @@ +AUX cavezofphear-0.5.1-gentoo.patch 876 BLAKE2B fe2ff1ff1b1698ecbe06492bd80b8104908def9b1d4810b2c6b569e55d71a420a70a2d731555cee3a42adb40fa76b2964e2ba57105a1b47c00f54ca48851b213 SHA512 ee3d37644d1b94b39db2274eac0eadd3a823736177da317a2476238dbebe1a8a5af466f01771249e59aed838c684c9fd59fe7868aac3f1e1b89a75863bc49af4 +DIST phear-0.5.1.tar.bz2 25750 BLAKE2B 0b2c4a6f51fadd48a1e01dd5ac2072984368b3314fd3df01d4ad8adfdc0d031d443ac5f950651d4fff4ff5019b61868532eff0ed3d31bd6b2ba0f97893391d6a SHA512 23326a63acc06e77a1dd3505345940f8ef31b671282e00f623b181fe1cdbdf1b7e4b37a6e91ea430348a02239ed1450736dc075ea3af3eee0e8acb115aa89f3b +EBUILD cavezofphear-0.5.1.ebuild 786 BLAKE2B e65d12cc486465e7e2eb95e08e303ef32cde37826134d2a8c1023e214fa926bac81e757df3b57c618041283046548243ff5bc6b13d7768d8aa6153a8d15fd969 SHA512 0ac69f98da352351119afe16354aab827ab2b199dd6422e92cf0cd9993553e8ac37e10f793d56d66ea45cd82ef7b562ce87fd75b64b5e88ca60b72977dcbffc3 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild b/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild new file mode 100644 index 000000000000..d8b152e2fbfe --- /dev/null +++ b/games-arcade/cavezofphear/cavezofphear-0.5.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A boulder dash / digger-like game for console using ncurses" +HOMEPAGE="http://www.x86.no/cavezofphear/" +SRC_URI="http://www.x86.no/${PN}/${P/cavezof}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5:0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${P/cavezof/} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i \ + -e "s:get_data_dir(.):\"${GAMES_DATADIR}/${PN}/\":" \ + src/{chk.c,main.c,gplot.c} \ + || die +} + +src_install() { + dogamesbin src/phear + insinto "${GAMES_DATADIR}"/${PN} + doins -r data/* + dodoc ChangeLog README* TODO + prepgamesdirs +} diff --git a/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch new file mode 100644 index 000000000000..fbf79af44519 --- /dev/null +++ b/games-arcade/cavezofphear/files/cavezofphear-0.5.1-gentoo.patch @@ -0,0 +1,36 @@ +diff -ru phear-0.5.1.orig/Makefile phear-0.5.1/Makefile +--- phear-0.5.1.orig/Makefile 2007-02-27 06:21:55.000000000 -0500 ++++ phear-0.5.1/Makefile 2013-01-18 02:09:56.403224104 -0500 +@@ -2,7 +2,7 @@ + DESTDIR_DATA = /usr/local/share + + make: +- cd src && make ++ $(MAKE) -C src phear + clean: + rm -f phear editor + install: +diff -ru phear-0.5.1.orig/src/Makefile phear-0.5.1/src/Makefile +--- phear-0.5.1.orig/src/Makefile 2011-12-12 07:26:03.000000000 -0500 ++++ phear-0.5.1/src/Makefile 2013-01-18 02:10:48.218423433 -0500 +@@ -2,10 +2,8 @@ + + DESTDIR = .. + +-CC = gcc + INSTALL = install +-CFLAGS ?= -s -Wall -O2 +-LDFLAGS += -lncurses ++LDLIBS = `pkg-config ncurses --libs` + + all: phear install clean + +@@ -13,7 +11,7 @@ + $(CC) $(CFLAGS) -c $^ -o $@ + + phear: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS} ++ $(CC) $(CFLAGS) -o $@ $^ ${LDFLAGS} $(LDLIBS) + + install: install-game + diff --git a/games-arcade/cavezofphear/metadata.xml b/games-arcade/cavezofphear/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/cavezofphear/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-arcade/cdogs-sdl-0.4-r1 b/games-arcade/cdogs-sdl-0.4-r1 deleted file mode 100644 index 92f755869c6d..000000000000 --- a/games-arcade/cdogs-sdl-0.4-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[video] media-libs/sdl-mixer -DESCRIPTION=A port of the old DOS arcade game C-Dogs -EAPI=5 -HOMEPAGE=http://lumaki.com/code/cdogs -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2+ -RDEPEND=media-libs/libsdl[video] media-libs/sdl-mixer games-misc/games-envd -SLOT=0 -SRC_URI=http://icculus.org/cdogs-sdl/files/src/cdogs-sdl-0.4.tar.bz2 http://icculus.org/cdogs-sdl/files/data/cdogs-data-2007-07-06.tar.bz2 -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=ae9f617e33e30044fd81b6bde2e34280 diff --git a/games-arcade/cdogs-sdl/Manifest b/games-arcade/cdogs-sdl/Manifest new file mode 100644 index 000000000000..237864c149df --- /dev/null +++ b/games-arcade/cdogs-sdl/Manifest @@ -0,0 +1,5 @@ +AUX cdogs-sdl-0.4-64bit.patch 1047 BLAKE2B daf0cd53da4acfde31a1a26f5f2a676dafe1d4caa9d8ff7929a18c207f9b67406058bfa25a2d96fc2d72a87ff44c3b856bfbe1931b18031e8b0e7e8d3a2f2b29 SHA512 6a0c474d1bac65400cf1078a3b49cb2ea147fa460d6f361482a3a340bdedec9816976e235b57facabb7327be770796be8cf45b9a5a1891ecd44f1a090a4bcf54 +DIST cdogs-data-2007-07-06.tar.bz2 218810 BLAKE2B fb788ed11ef220b4f244a74be838536281a87a5c8055cb9674b4269f0a63cb07120b31af113fab63f820c1b293c97b310e91d3638bc41d5d3ef4a12472481aaa SHA512 9e645d64bcc0b99df9fb113f7103590eb8045ca9439700279c8ea55a6277d10fc38aff38bb1137887bc5697c505fe18e15d6c62eaf2790c065b1261fa7418a84 +DIST cdogs-sdl-0.4.tar.bz2 164804 BLAKE2B 91498d981b2318d4f1d68112fe8d574b447290f9cad7b232a56cd6d516ca2fd3983b01789c87914f81eaa6d1c593dac95fe88ec1cd2823e6769d9f5980c6c2d5 SHA512 69fbac533207e38c85cf0f71db47df50405a5ff220a6662f7e186d1f54c4181ee56e1ff8049a427acec7fcf0529b8df66db36a693978bb0aa04eb0594a8b5adc +EBUILD cdogs-sdl-0.4-r1.ebuild 1261 BLAKE2B 0bdc892706823e514c7bfa9a6ad2113ef8505986960550eaba76d3997c2fc5a3943bffe93db1b825b5b4bf76be6e43608572d2729bf48ee093b578b70dd16d70 SHA512 e90e30c1079458c48bef0927e78e891356ef56ab4168931ac319ccb86f09d29604f4464a666cb21a3d52ce47c4a29e9457c901c004d96dd6a1a228e6a9a35053 +MISC metadata.xml 559 BLAKE2B e0c0e67efaa3883d573482c8ae9e0eefd8a2315c8e021b32fa7f92cb01518ba75212e8b25cdc9464fd6c98af855eb2f658003ec180355eab57d5c0bf17654e78 SHA512 c3a7ca1efeffa6465e89a8bd1c8460a6345406c52281190ae4d63cad3896f08cab7808732658bb26425850032888010f6c5abc6ce2833bd14c5ef80c25a1b29c diff --git a/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.ebuild new file mode 100644 index 000000000000..04c64376691c --- /dev/null +++ b/games-arcade/cdogs-sdl/cdogs-sdl-0.4-r1.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 + +CDOGS_DATA="cdogs-data-2007-07-06" +DESCRIPTION="A port of the old DOS arcade game C-Dogs" +HOMEPAGE="http://lumaki.com/code/cdogs" +SRC_URI="http://icculus.org/cdogs-sdl/files/src/${P}.tar.bz2 + http://icculus.org/cdogs-sdl/files/data/${CDOGS_DATA}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-mixer" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${P}/src + +src_unpack() { + unpack ${A} + mv ${CDOGS_DATA} ${P}/data || die +} + +src_prepare() { + sed -i \ + -e "/^CF_OPT/d" \ + -e "/^CC/d" \ + Makefile || die + sed -i -e "/\bopen(/s/)/, 0666)/" files.c || die + epatch "${FILESDIR}"/${P}-64bit.patch + append-cflags -std=gnu89 # build with gcc5 (bug #571112) +} + +src_compile() { + emake I_AM_CONFIGURED=yes \ + SYSTEM="\"linux\"" \ + STRIP=true \ + DATADIR="${GAMES_DATADIR}/${PN}" \ + cdogs +} + +src_install() { + dogamesbin cdogs + insinto "${GAMES_DATADIR}/${PN}" + doins -r ../data/* + newicon ../data/cdogs_icon.png ${PN}.png + dodoc ../doc/{README,AUTHORS,ChangeLog,README_DATA,TODO,original_readme.txt} + make_desktop_entry "cdogs -fullscreen" C-Dogs + prepgamesdirs +} diff --git a/games-arcade/cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch new file mode 100644 index 000000000000..bcab13c0ebfd --- /dev/null +++ b/games-arcade/cdogs-sdl/files/cdogs-sdl-0.4-64bit.patch @@ -0,0 +1,48 @@ +--- src/grafx.c ++++ src/grafx.c +@@ -216,12 +216,6 @@ + SDL_VideoQuit(); + } + +-typedef struct _Pic { +- short int w; +- short int h; +- char *data; +-} Pic; +- + int ReadPics(const char *filename, void **pics, int maxPics, + color * palette) + { +@@ -241,12 +235,12 @@ + fread(&size, sizeof(size), 1, f); + swap16(&size); + if (size) { +- Pic *p = sys_mem_alloc(size); ++ unsigned char *p = sys_mem_alloc(size); + +- f_read16(f, &p->w, 2); +- f_read16(f, &p->h, 2); ++ f_read16(f, &p[0], 2); // w ++ f_read16(f, &p[2], 2); // h + +- f_read(f, &p->data, size - 4); ++ f_read(f, &p[4], size - 4); // data + + pics[i] = p; + +@@ -278,11 +272,11 @@ + fread(&size, sizeof(size), 1, f); + swap16(&size); + if (size) { +- Pic *p = sys_mem_alloc(size); ++ unsigned char *p = sys_mem_alloc(size); + +- f_read16(f, &p->w, 2); +- f_read16(f, &p->h, 2); +- f_read(f, &p->data, size - 4); ++ f_read16(f, &p[0], 2); // w ++ f_read16(f, &p[2], 2); // h ++ f_read(f, &p[4], size - 4); // data + + pics[i] = p; + diff --git a/games-arcade/cdogs-sdl/metadata.xml b/games-arcade/cdogs-sdl/metadata.xml new file mode 100644 index 000000000000..8332a46990b6 --- /dev/null +++ b/games-arcade/cdogs-sdl/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="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> +</maintainer> +<longdescription lang="en"> +C-Dogs is an arcade shoot-em-up which lets players work alone and +cooperatively during missions or fight against each other in the "dogfight" +deathmatch mode. The DOS version of C-Dogs came with severla built in missions +and dogfight maps. This version does too. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/ceferino-0.97.8-r2 b/games-arcade/ceferino-0.97.8-r2 deleted file mode 100644 index 1473a71b68d4..000000000000 --- a/games-arcade/ceferino-0.97.8-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=configure install postinst prepare -DEPEND=>=media-libs/libsdl-1.2[video] >=media-libs/sdl-image-1.2 >=media-libs/sdl-mixer-1.2 nls? ( virtual/libintl ) nls? ( sys-devel/gettext ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Super-Pang clone (destroy bouncing balloons with your grapnel) -EAPI=6 -HOMEPAGE=http://www.loosersjuegos.com.ar/juegos/ceferino -IUSE=nls -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2+ -RDEPEND=>=media-libs/libsdl-1.2[video] >=media-libs/sdl-image-1.2 >=media-libs/sdl-mixer-1.2 nls? ( virtual/libintl ) -SLOT=0 -SRC_URI=mirror://debian/pool/main/c/ceferino/ceferino_0.97.8+svn37.orig.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=d59ce4172f81a0bed1edd27cb3613ec6 diff --git a/games-arcade/ceferino/Manifest b/games-arcade/ceferino/Manifest new file mode 100644 index 000000000000..1f30ebe0fb64 --- /dev/null +++ b/games-arcade/ceferino/Manifest @@ -0,0 +1,3 @@ +DIST ceferino_0.97.8+svn37.orig.tar.gz 2104956 BLAKE2B b3cb68d37e383223def569a333950511e4506b1bea1337189dda36e4c04fd6261c45d532bb2ad3691e73989e8ce5544f7d5e750d035081441f8241401d62217b SHA512 83bccb39f0ecd9f41767c4d94cebb3266c77f11eb22d6cf517f6488af384bad88bdd538b5746e0a3c6e1a57481a4c946ec03afb97a000cd21664d3f179e1a9b6 +EBUILD ceferino-0.97.8-r2.ebuild 1170 BLAKE2B e39d6e3ec277c2f9ae1af4e3e770d43b980e8c34af8a3640a5606c7f20d7ef44b0334b5b1ed149821037199bdb7cd2597b74272e5a7b27486b896f2a7f842659 SHA512 3cbfe58c7ee27c3cd10a0bc3b8fb21a282eaa5bd42c8a6f4e3a66754408c08953fafda36d513d272762f4faa80377d884671e6ba0e2339d4071d85fd2eacd7ff +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild b/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild new file mode 100644 index 000000000000..736477bbe141 --- /dev/null +++ b/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="Super-Pang clone (destroy bouncing balloons with your grapnel)" +HOMEPAGE="http://www.loosersjuegos.com.ar/juegos/ceferino" +SRC_URI="mirror://debian/pool/main/c/ceferino/${PN}_${PV}+svn37.orig.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=" + >=media-libs/libsdl-1.2[video] + >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2 + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) +" + +S="${WORKDIR}/${P}+svn37" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-latin1.patch + sed -i \ + -e '/^INCLUDES/s:\$(datadir)/locale:/usr/share/locale:' \ + src/Makefile.am || die + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + newicon data/ima/icono.png ${PN}.png + make_desktop_entry ceferino "Don Ceferino Hazaña" +} + +pkg_postinst() { + if ! has_version "media-libs/sdl-mixer[mod]" ; then + ewarn + ewarn "To hear music, you will have to rebuild media-libs/sdl-mixer" + ewarn "with the \"mod\" USE flag turned on." + ewarn + fi +} diff --git a/games-arcade/ceferino/metadata.xml b/games-arcade/ceferino/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/ceferino/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-arcade/circuslinux-1.0.3-r1 b/games-arcade/circuslinux-1.0.3-r1 deleted file mode 100644 index 3ef76fe43cc2..000000000000 --- a/games-arcade/circuslinux-1.0.3-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl media-libs/sdl-image[png] media-libs/sdl-mixer[mod] -DESCRIPTION=clone of the Atari 2600 game "Circus Atari" -EAPI=6 -HOMEPAGE=http://www.newbreedsoftware.com/circus-linux/ -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl media-libs/sdl-image[png] media-libs/sdl-mixer[mod] -SLOT=0 -SRC_URI=ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/circuslinux-1.0.3.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=12bd2147479b280a9c24883e81f135b2 diff --git a/games-arcade/circuslinux/Manifest b/games-arcade/circuslinux/Manifest new file mode 100644 index 000000000000..89267782775d --- /dev/null +++ b/games-arcade/circuslinux/Manifest @@ -0,0 +1,3 @@ +DIST circuslinux-1.0.3.tar.gz 1253839 BLAKE2B 1f0b57e417144b88688b2f900efebd95d35d7656a16a1b074197e0bd1fb33de3434582ac66e3bf996e7f1fbaafaefadc5091967696eecfcbbdf4a1c2316e0d17 SHA512 292bcaad39342ad69862f1add36b11505ca5f2601637a8db6fad438c5a4b32d7801bc7e6c08b903b0fb8bf68dcb3ec8d968fb913cde65941b9b9ac64b5a5266f +EBUILD circuslinux-1.0.3-r1.ebuild 779 BLAKE2B a0fb16d476f708bdac79382cceced694b8fdc03abbb8417985d04523d1443c325640d89502709cd22bedb58f8ce6017495c4cb54b29516638d9d34ec812e9f0d SHA512 8b87bf86f8819e5965ba73716063dc435fdb69330c2b891132ab599e8fafaae6c0833fb5085680a8915db3b8d86566e87b96c5bf371e507df29c26149f18c5b1 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild new file mode 100644 index 000000000000..bc3c43f34833 --- /dev/null +++ b/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="clone of the Atari 2600 game \"Circus Atari\"" +SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/${P}.tar.gz" +HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i \ + -e "/^install-data-am/d" \ + Makefile.in \ + || die + sed -i \ + -e 's/\$(pkgdatadir)/$(DESTDIR)&/' \ + data/Makefile.in \ + || die +} + +src_install () { + default + newicon data/images/${PN}-icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Circus Linux!" +} diff --git a/games-arcade/circuslinux/metadata.xml b/games-arcade/circuslinux/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/circuslinux/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-arcade/cob-0.9-r1 b/games-arcade/cob-0.9-r1 deleted file mode 100644 index 111bdade6476..000000000000 --- a/games-arcade/cob-0.9-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=media-libs/libsdl[joystick,sound,video] -DESCRIPTION=Cruising on Broadway: a painting-type game -EAPI=6 -HOMEPAGE=http://www.autismuk.freeserve.co.uk/ -KEYWORDS=~alpha ~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[joystick,sound,video] -SLOT=0 -SRC_URI=http://www.autismuk.freeserve.co.uk/cob-0.9.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=727ed4585e15cd0f86f580fc9ae34047 diff --git a/games-arcade/cob/Manifest b/games-arcade/cob/Manifest new file mode 100644 index 000000000000..cddbae98481e --- /dev/null +++ b/games-arcade/cob/Manifest @@ -0,0 +1,5 @@ +AUX cob-0.9-gcc43.patch 618 BLAKE2B 211bc0f4221b05ed761b8d214ebb11e6cf4262d89ba01beba75a10297d70547ea0d66c6c85d313fdc0826706bd8270e5741ae5e44ad5e97b4a078e25163eac32 SHA512 15cdb6cfacdd49e37fd41e337f425e9f3f020f9d019ea8d1fb860d14b0cebb04dab558c0bb1aa923d0d58fac56c6d579398b0ca7c18e70989c3efd924452d7e5 +AUX cob-0.9-gcc44.patch 1147 BLAKE2B 01a069e45b39b2d4bdd3d066ff295a2e99d2d782c5e924ab2aa5a4614e9b9482acf52735a0f48e6d7d312d101ba3652987fad9fa675897d1b49054fec85d0ffa SHA512 169559f882eba5f34558f845c44c09ba6821db689ae5a73dc6e8cd14ae12d4299fbad3e67b4c828fa3de435c20e948fb8c0266e3267b52b5bb87302047d4034d +DIST cob-0.9.tar.gz 712618 BLAKE2B f73bec711f4e2c7907cf987fdd12207556752e05f5cf98f9818ef470c2bc2fa95f03c8c4a2f6c114b87d5c00cf3b17da3a1d127869b7ee548d5bd0d05d4c4114 SHA512 1a329bb06a25137c1dc9d65cff949ed1b0ca7445ecf897375be71581c35f0bc563008fc7607d650a660a405f2282b0329148487bd29b6a053478b61d932bdf4d +EBUILD cob-0.9-r1.ebuild 593 BLAKE2B 25c5e8a97fe40c204f0208405433b184de2bcd62c09c89a0542580a7d44cfb5533068c3e51bcd948d9c8633271098dadbf31cfe7320b697c09b70ae07ab8c413 SHA512 351d45bcee92b810c7196d7844470d06699c1ac089eed506308aff172d202964633fc16d67e41a47f275f5d2d9bacf4668a5f8bd1d9613e48d9862566f3a58cd +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/cob/cob-0.9-r1.ebuild b/games-arcade/cob/cob-0.9-r1.ebuild new file mode 100644 index 000000000000..26d73169d352 --- /dev/null +++ b/games-arcade/cob/cob-0.9-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Cruising on Broadway: a painting-type game" +HOMEPAGE="http://www.autismuk.freeserve.co.uk/" +SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[joystick,sound,video]" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc44.patch +) + +src_install() { + default + make_desktop_entry ${PN} "Cruising on Broadway" +} diff --git a/games-arcade/cob/files/cob-0.9-gcc43.patch b/games-arcade/cob/files/cob-0.9-gcc43.patch new file mode 100644 index 000000000000..bc7e6fb3e02c --- /dev/null +++ b/games-arcade/cob/files/cob-0.9-gcc43.patch @@ -0,0 +1,26 @@ +--- a/cob/menu.cpp ++++ b/cob/menu.cpp +@@ -16,6 +16,7 @@ + ***************************************************************************/ + + #include "cob.hxx" ++#include <cstring> + + // ************************************************************************************************************************** + // +--- a/cob/sdw.hxx ++++ b/cob/sdw.hxx +@@ -19,6 +19,7 @@ +
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ namespace SDLWrapper // It's all nicely in a namespace SDLWrapper
+ {
+@@ -192,4 +193,4 @@ + AudioNoise(int l) : AudioBeep(0,l) { }
+ };
+
+-};
++}
diff --git a/games-arcade/cob/files/cob-0.9-gcc44.patch b/games-arcade/cob/files/cob-0.9-gcc44.patch new file mode 100644 index 000000000000..02b4842617f2 --- /dev/null +++ b/games-arcade/cob/files/cob-0.9-gcc44.patch @@ -0,0 +1,30 @@ +--- a/cob/game.cpp ++++ b/cob/game.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "cob.hxx" + + // ************************************************************************************************************************** +--- a/cob/main.cpp ++++ b/cob/main.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "cob.hxx" + + // ************************************************************************************************************************** +--- a/cob/map.cpp ++++ b/cob/map.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "cob.hxx" + + // ************************************************************************************************************************** diff --git a/games-arcade/cob/metadata.xml b/games-arcade/cob/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/cob/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-arcade/commandergenius-1.8.3 b/games-arcade/commandergenius-1.8.3 deleted file mode 100644 index 9abddd9ae14e..000000000000 --- a/games-arcade/commandergenius-1.8.3 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup test unpack -DEPEND=media-libs/libsdl2[X,opengl?,sound,video] media-libs/sdl2-image opengl? ( virtual/opengl ) tremor? ( media-libs/tremor ) !tremor? ( media-libs/libvorbis ) dev-libs/boost virtual/pkgconfig sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=Open Source Commander Keen clone (needs original game files) -EAPI=5 -HOMEPAGE=http://clonekeenplus.sourceforge.net -IUSE=opengl tremor -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl2[X,opengl?,sound,video] media-libs/sdl2-image opengl? ( virtual/opengl ) tremor? ( media-libs/tremor ) !tremor? ( media-libs/libvorbis ) games-misc/games-envd -RESTRICT=mirror -SLOT=0 -SRC_URI=https://github.com/gerstrong/Commander-Genius/archive/v183release.tar.gz -> commandergenius-1.8.3.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=23f052c8f78301470e9d8b09cbd31950 diff --git a/games-arcade/commandergenius/Manifest b/games-arcade/commandergenius/Manifest new file mode 100644 index 000000000000..81acbd597a87 --- /dev/null +++ b/games-arcade/commandergenius/Manifest @@ -0,0 +1,4 @@ +AUX commandergenius-wrapper 450 BLAKE2B 6baf65533f64f398628bdd33f3e9a5f36225b0817a8a9fee61719fb63fcb7f9d2445a7187def831c68422626eac78899721dbf9c93da0d76971ffa3622f66cf6 SHA512 7c3eb80389dfcae1345cbf7dae614c392dfa4ad3c6cbe02b850055df6d43f4e5531bc8fab8703804ce78ae882ed6322c9e4adf0c0f516235e1af17a8c29d7f1f +DIST commandergenius-1.8.3.tar.gz 71446309 BLAKE2B 01f54e3deb4189e103d9ae23efadfe82363893b48e31d4b5b505f961191b5afe36440b67f0da55d59b6fceeadb15659503d3326975cb131f131b9a630ac35ae8 SHA512 821a356751629b7f3b122f52a31588f2174580fa6450699f8a03bcd78e305c649c7b36bb21dd2d222411c648b78c3bb02c11e9691e8cb2459380e6a70c2dbe2a +EBUILD commandergenius-1.8.3.ebuild 2157 BLAKE2B 113e8381fd4d1099ee692a888bc1fd1027cdff5fe812d3bd23a56e431069e069f25727b63aeaf80ce447851aa428086eddd611860ec7711d1491af972d82e07f SHA512 7171cd0d82c83ad3d9409d89482aa5416f2d2034bd378f7e38537ce390999ec899457f312c9d2b0d013811c3573526001079173c78d3666615bc6a9c3cd9bef2 +MISC metadata.xml 547 BLAKE2B f23ffc9a4f2fad2c93dd1009c01cf85b458137a847e8e80b61b7831fd35d27f5edb4d4f69663ac6123ea7303dd675fd08910c85f4acf3f6b648a219d67198c1b SHA512 cd0eba4defa145cacddef5596483c9665a5f1c7dd940dc98ad7b7dec578d6b149f53d6540a0c7610b1976bee91cd2f33eb03b12a466cec15aef8d092f9eb82ba diff --git a/games-arcade/commandergenius/commandergenius-1.8.3.ebuild b/games-arcade/commandergenius/commandergenius-1.8.3.ebuild new file mode 100644 index 000000000000..435c937ccf64 --- /dev/null +++ b/games-arcade/commandergenius/commandergenius-1.8.3.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CMAKE_IN_SOURCE_BUILD=1 +inherit cmake-utils eutils games + +MY_P=CGenius-${PV}-Release-Source +DESCRIPTION="Open Source Commander Keen clone (needs original game files)" +HOMEPAGE="http://clonekeenplus.sourceforge.net" +SRC_URI="https://github.com/gerstrong/Commander-Genius/archive/v${PV//./}release.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="opengl tremor" +RESTRICT="mirror" # contains keen files, but we do not install them + +RDEPEND="media-libs/libsdl2[X,opengl?,sound,video] + media-libs/sdl2-image + opengl? ( virtual/opengl ) + tremor? ( media-libs/tremor ) + !tremor? ( media-libs/libvorbis )" +DEPEND="${RDEPEND} + dev-libs/boost + virtual/pkgconfig" + +S=${WORKDIR}/Commander-Genius-${PV//./}release + +src_prepare() { + cmake-utils_src_prepare + + rm -rf vfsroot || die + sed -i -e '/INCLUDE(package.cmake)/d' CMakeLists.txt || die + cp version.h src/ || die # Workaround buggy neard package - bug #558160 +} + +src_configure() { + local mycmakeargs=( + -DAPPDIR="${GAMES_BINDIR}" + -DSHAREDIR="/usr/share" + -DGAMES_SHAREDIR="${GAMES_DATADIR}" + -DDOCDIR="/usr/share/doc/${PF}" + -DBUILD_TARGET="LINUX" + $(cmake-utils_use opengl OPENGL) + $(cmake-utils_use tremor TREMOR) + $(cmake-utils_use !tremor OGG) + -DUSE_SDL2=1 + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + newicon src/CGLogo.png ${PN}.png + newgamesbin "${FILESDIR}"/commandergenius-wrapper commandergenius + if [[ -e "${ED}${GAMES_BINDIR}"/CGeniusExe ]] ; then + mv "${ED}${GAMES_BINDIR}"/CGeniusExe \ + "${ED}${GAMES_BINDIR}"/CommanderGenius || die + fi + + make_desktop_entry commandergenius + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + elog "Check your settings in ~/.CommanderGenius/cgenius.cfg" + elog "after you have started the game for the first time." + use opengl && elog "You may also want to set \"OpenGL = true\"" + elog + elog "Run the game via:" + elog " 'commandergenius [path-to-keen-data]'" + elog "or add your keen data dir to the search paths in cgenius.cfg" +} diff --git a/games-arcade/commandergenius/files/commandergenius-wrapper b/games-arcade/commandergenius/files/commandergenius-wrapper new file mode 100644 index 000000000000..0fa5243a5df0 --- /dev/null +++ b/games-arcade/commandergenius/files/commandergenius-wrapper @@ -0,0 +1,18 @@ +#!/bin/sh + +# CommanderGenius by default searches pwd for keen data which can cause +# massive load/lag depending on which dir you are currently in. +# This wrapper cd's into ~/.CommanderGenius unless you pass a directory +# on the command line which is used as additional search path then. +# +# use: commandergenius [path-to-keen-dir] + +if [ -z $1 ] ; then + SEARCHDIR=~/.CommanderGenius +else + SEARCHDIR="$1" +fi + +cd ${SEARCHDIR} + +exec CommanderGenius "$@" diff --git a/games-arcade/commandergenius/metadata.xml b/games-arcade/commandergenius/metadata.xml new file mode 100644 index 000000000000..1f862355f14e --- /dev/null +++ b/games-arcade/commandergenius/metadata.xml @@ -0,0 +1,18 @@ +<?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="tremor"> + Use <pkg>media-libs/tremor</pkg> as ogg decoder + instead of <pkg>media-libs/libvorbis</pkg> + </flag> + </use> + <upstream> + <remote-id type="sourceforge">clonekeenplus</remote-id> + <remote-id type="github">gerstrong/Commander-Genius</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/conveysdl-1.3-r1 b/games-arcade/conveysdl-1.3-r1 deleted file mode 100644 index 7ff87973966a..000000000000 --- a/games-arcade/conveysdl-1.3-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer -DESCRIPTION=Guide the blob along the conveyer belt collecting the red blobs -EAPI=6 -HOMEPAGE=http://www.cloudsprinter.com/software/conveysdl/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer -SLOT=0 -SRC_URI=http://www.cloudsprinter.com/software/conveysdl/conveysdl.1.3.tar -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=5e473b952280b7732a958ee87b834947 diff --git a/games-arcade/conveysdl/Manifest b/games-arcade/conveysdl/Manifest new file mode 100644 index 000000000000..457772c0e250 --- /dev/null +++ b/games-arcade/conveysdl/Manifest @@ -0,0 +1,5 @@ +AUX conveysdl-1.3-arrays.patch 997 BLAKE2B 6a243b48ee809c86a02a6c49117a0e86a1b0dbce80cb9c761e693b66a576536b92ffb1c61e0bb3676d2b6850f1b8985d52d0c0d67de4bf9e6aaf186fed2e1bac SHA512 c4d52d0da7bedb4941d7438203e7c1d25d72960ab739e1a4c359628424a95f95001340b74b7926ae22c7c837f2f7a241891381f16c3a15f75e51ad908cc6b56e +AUX conveysdl-1.3-speed.patch 1410 BLAKE2B 2e0716f1a40e2a42cd9e30e3154f3b79dd4691e97a530761d8f4b6d3f1069382c5e430b56df5f60928f1c249257652c8c4b5800ba08a5d6881bd9d8267dfd378 SHA512 8766d4c522b58f9def8d7f1a9b928287643068daf6594fde91ba1fe9aa6363eea36958d98ca3aa40eead761eda7a253209cf74143b4a6333f2e0ed9bdc116fbf +DIST conveysdl.1.3.tar 429568 BLAKE2B 950952ad311bb51855bbd1cf3bf25b750d067db1cef8333f44ac3a96f30033f700efb9771d3050be6a3acc63c79b49fa8d64a1a11a088a777a13f21fb82a4c81 SHA512 fe6f91cdd63ae1019cb99613618e44ceeddb4080ad5e50bd8ce0abf27e057617d3658a29b2faf668cbc3b0887f1a4a05cadadb060f69d850c3d85c9e7190dd8a +EBUILD conveysdl-1.3-r1.ebuild 1193 BLAKE2B 38abb28c4be7f04bb8274b67f7f11fca9c6cd3ebd21d7f3fae58bbca584e6c340c03cbc19610a74b20a62a74a7dc75201a941c0fad30ad1d4af39b3b87439b21 SHA512 d4cbf98bb28f849369a83e4a6bec021d5c9ab1b01b19d51a2c35b88b178226e237671461097941769219d58a34cecea23c44e576e8f03db98eb86d9dd4a97731 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/conveysdl/conveysdl-1.3-r1.ebuild b/games-arcade/conveysdl/conveysdl-1.3-r1.ebuild new file mode 100644 index 000000000000..5c39dd327ee7 --- /dev/null +++ b/games-arcade/conveysdl/conveysdl-1.3-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop toolchain-funcs + +DESCRIPTION="Guide the blob along the conveyer belt collecting the red blobs" +HOMEPAGE="http://www.cloudsprinter.com/software/conveysdl/" +SRC_URI="http://www.cloudsprinter.com/software/conveysdl/${P/-/.}.tar" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +RDEPEND=${DEPEND} + +S="${WORKDIR}" + +src_prepare() { + default + + # Incomplete readme + sed -i \ + -e 's:I k:use -nosound to disable sound\n\nI k:' \ + readme || die + + sed -i \ + -e 's:SDL_Mi:SDL_mi:' \ + main.c || die + + eapply \ + "${FILESDIR}"/${P}-arrays.patch \ + "${FILESDIR}"/${P}-speed.patch +} + +src_compile() { + emake main \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS} $(sdl-config --cflags) \ + -DDATA_PREFIX=\\\"/usr/share/${PN}/\\\" \ + -DENABLE_SOUND" \ + LDLIBS="-lSDL_mixer $(sdl-config --libs)" +} + +src_install() { + newbin main ${PN} + insinto /usr/share/${PN} + doins -r gfx sounds levels + newicon gfx/jblob.bmp ${PN}.bmp + make_desktop_entry ${PN} Convey /usr/share/pixmaps/${PN}.bmp + einstalldocs +} diff --git a/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch b/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch new file mode 100644 index 000000000000..a6286d96f145 --- /dev/null +++ b/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch @@ -0,0 +1,29 @@ +--- a/main.c.org 2010-07-28 13:16:20.552161148 +0300 ++++ b/main.c 2010-07-29 20:43:14.714543259 +0300 +@@ -22,7 +22,7 @@ + + SDL_Surface *bletters; + SDL_Surface *letters[100]; +-SDL_Surface *tiles[9]; ++SDL_Surface *tiles[10]; + SDL_Surface *btiles; + SDL_Surface *blob; + SDL_Surface *jblob; +@@ -51,7 +51,7 @@ + FILE *file_ptr; + + +-int bpointx,bpointy,pointx,pointy,jug,death,goose,jump,jumpf,blibs,spr[1000][8],leveldone,level,lives,totallevels,blobx[7],bloby[7],blobp[7],score,bak,bok,buk,bik,start,blibo,blibs,die,jumpoo=12,speed=4,arse,highscore; ++int bpointx,bpointy,pointx,pointy,jug,death,goose,jump,jumpf,blibs,spr[1000][8],leveldone,level,lives,totallevels,blobx[8],bloby[8],blobp[8],score,bak,bok,buk,bik,start,blibo,blibs,die,jumpoo=12,speed=4,arse,highscore; + /* Keys */ + int quit = 0; + int spacebar = 0; +@@ -452,7 +452,7 @@ + static void info(void) + { + int monkey=70,munk; +- char scoremonkey[10]; ++ char scoremonkey[16]; + if (lives>1) { + for (munk=1 ; munk<lives ; munk++ ) + { diff --git a/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch b/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch new file mode 100644 index 000000000000..6d6d13eb11be --- /dev/null +++ b/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch @@ -0,0 +1,56 @@ +--- a/main.c 2010-07-30 10:41:21.392783010 +0300 ++++ b/main.c 2010-07-30 10:44:35.791690958 +0300 +@@ -52,6 +52,7 @@ + + + int bpointx,bpointy,pointx,pointy,jug,death,goose,jump,jumpf,blibs,spr[1000][8],leveldone,level,lives,totallevels,blobx[8],bloby[8],blobp[8],score,bak,bok,buk,bik,start,blibo,blibs,die,jumpoo=12,speed=4,arse,highscore; ++int realspeed; + /* Keys */ + int quit = 0; + int spacebar = 0; +@@ -140,6 +141,7 @@ + char path[256],jib[50]; + int lvspx,lvspy; + bpointx=200;bpointy=400;pointx=200;pointy=400;jug=1;death=0;jump=0;jumpf=0;jug=0;blibs=0;blibo=0;die=0;speed=4; ++ realspeed=speed; + strcpy(path, DATA_PREFIX); + sprintf(jib,"levels/level%d",level); + strcat(path, jib); +@@ -212,15 +214,16 @@ + if (jumpf==jumpoo) { jump=0; } + if (jumpf==jumpoo*2) { jumpf=0; } + } +- score+=speed; ++ score+=realspeed; + /*crap*/ + } + + static void plotfloor(void) + { ++ if (bpointy==400) realspeed=speed; + int nob,nx,nobx=48,ek,ej,el; +- bpointx-=speed*2; +- bpointy+=speed; ++ bpointx-=realspeed*2; ++ bpointy+=realspeed; + pointx=bpointx; + pointy=bpointy; + imageplot(bb, blobx[6], bloby[6] ); +@@ -542,7 +545,7 @@ + } + while ( jump_down==0 ); + leveldone=3; +- speed=4; ++ speed=4; realspeed=speed; + blankscreen(); + } + +@@ -563,7 +566,7 @@ + if (quit>0) break; + } + while ( jump_down==0 ); +- speed=4; ++ speed=4; realspeed=speed; + lives+=1; + level+=1; + getlevel(); diff --git a/games-arcade/conveysdl/metadata.xml b/games-arcade/conveysdl/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/conveysdl/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-arcade/cosmosmash-1.4.7-r1 b/games-arcade/cosmosmash-1.4.7-r1 deleted file mode 100644 index aa3ada86b61e..000000000000 --- a/games-arcade/cosmosmash-1.4.7-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=>=dev-games/flatzebra-0.1.6 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=A space rock shooting video game -EAPI=6 -HOMEPAGE=http://perso.b2b2c.ca/sarrazip/dev/cosmosmash.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=dev-games/flatzebra-0.1.6 -RESTRICT=test -SLOT=0 -SRC_URI=http://perso.b2b2c.ca/sarrazip/dev/cosmosmash-1.4.7.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=0786de6c086d9ed4a15bf627e74b5bc1 diff --git a/games-arcade/cosmosmash/Manifest b/games-arcade/cosmosmash/Manifest new file mode 100644 index 000000000000..a6c271ccbe14 --- /dev/null +++ b/games-arcade/cosmosmash/Manifest @@ -0,0 +1,3 @@ +DIST cosmosmash-1.4.7.tar.gz 906213 BLAKE2B 58117881e8f705d85c40cf5d0c56a734b80ebf7a84909c98a085aa5d880247c72af8a84d54fe11a4f02c8af226005c561802d93e7a747ff4a836feefde1cafde SHA512 1eaf8b05550c6f96e6392f6ba4565700cd4a9cac66dd57d634569caf9b4dfaf4917b3b9973153d4e6e0ddcd65c68d5242faae7c4f516c07c2e07d1b2f3b838b9 +EBUILD cosmosmash-1.4.7-r1.ebuild 850 BLAKE2B fc96196f483153e9b375f4d86da63b7bbbd27077323fa653c57ab5aa6d792472b21cb0720d853b8f65cadffd59cc1bc10ee36b9b7e73ed14660dadf6e1ba5b38 SHA512 762fb1ac7353ba31a658f0749f4c0e8721ee0ca940cddab811ea121891c04686e351355acb53d94fba712e8bcc2133b49a055f126d738a17d1cde908962ac869 +MISC metadata.xml 383 BLAKE2B 40ab8c4f0c3bbc162a20b7db8130b1d3d3a22dd8b0a828403000c58c1eb5c977ef6b93077f2f887828b6ca6809feefdf234605ca9c71170e13590e6e6f390410 SHA512 6ac1eca021c30af55b915f3d34d180ad429f9f16e7e942b3853d8f77f0ba82fa8bf97439209414e7541b0c0bfba29b49b1efc143e690ae7f8dbffd1fcaae9986 diff --git a/games-arcade/cosmosmash/cosmosmash-1.4.7-r1.ebuild b/games-arcade/cosmosmash/cosmosmash-1.4.7-r1.ebuild new file mode 100644 index 000000000000..b8b44c33ea54 --- /dev/null +++ b/games-arcade/cosmosmash/cosmosmash-1.4.7-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="A space rock shooting video game" +HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/cosmosmash.html" +SRC_URI="http://perso.b2b2c.ca/sarrazip/dev/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="test" # uses the sound card which portage user might not be available. + +RDEPEND=">=dev-games/flatzebra-0.1.6" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + sed -i \ + -e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \ + -e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \ + -e "/^pixmapdir/ s:=.*:=/usr/share/pixmaps:" \ + src/Makefile.am \ + || die + eautoreconf +} + +src_install() { + emake -C src DESTDIR="${D}" install + einstalldocs + doman doc/${PN}.6 +} diff --git a/games-arcade/cosmosmash/metadata.xml b/games-arcade/cosmosmash/metadata.xml new file mode 100644 index 000000000000..418dc79f8c64 --- /dev/null +++ b/games-arcade/cosmosmash/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> +<longdescription lang="en"> +Afternoon Stalker, a clone of the 1981 Night Stalker video game by Mattel +Electronics. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/crack-attack-1.1.14-r2 b/games-arcade/crack-attack-1.1.14-r2 deleted file mode 100644 index 264f88af477d..000000000000 --- a/games-arcade/crack-attack-1.1.14-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=configure install prepare -DEPEND=media-libs/freeglut sdl? ( media-libs/libsdl media-libs/sdl-mixer ) gtk? ( >=x11-libs/gtk+-2.6:2 ) virtual/pkgconfig -DESCRIPTION=Addictive OpenGL-based block game -EAPI=6 -HOMEPAGE=http://www.nongnu.org/crack-attack/ -IUSE=gtk sdl -KEYWORDS=~amd64 ~arm ~hppa ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/freeglut sdl? ( media-libs/libsdl media-libs/sdl-mixer ) gtk? ( >=x11-libs/gtk+-2.6:2 ) -SLOT=0 -SRC_URI=https://savannah.nongnu.org/download/crack-attack/crack-attack-1.1.14.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=1d3cdd51c63d4fb0eea0fa7ab552d661 diff --git a/games-arcade/crack-attack/Manifest b/games-arcade/crack-attack/Manifest new file mode 100644 index 000000000000..d10de329e972 --- /dev/null +++ b/games-arcade/crack-attack/Manifest @@ -0,0 +1,5 @@ +AUX crack-attack-1.1.14-gcc43.patch 176 BLAKE2B 31ae3d2ada1212633ded026c9fbbdd517e7a7cc9742ad24036698c474a4b173cb7521857f6a41b7fe72cfff78f5db89236cc7ef3920658c7b3dc43a60cee793a SHA512 e9e5cc3c93bb00ad8e8b7d6bafd2035c13673fc27217fa6ba3d66ad285bd4d9f6048fbb933723d91e4c60495175fd065acc6663bcce0b2fb606f23f4ecbf4fb3 +AUX crack-attack-1.1.14-glut.patch 385 BLAKE2B 1f1b3830199c3488e71a6055b9db1092b1a730e194ed8f68974e6b8f867a8399b5d3f5b49011839a3e07a9265bca7e5e0f3d33ea634ffcb92fa68aa80dc4a3aa SHA512 d39bbd78172d9454a3f2244dff21e9f538c2235e86a3d8a53e855d0eb4f70403ff75b7fcaf774ad2054f77e9002786a802d1e3cfcc8d8dbb3ba082379e037949 +DIST crack-attack-1.1.14.tar.bz2 801404 BLAKE2B 78c6fa9ee16ddb341aa1f11d1964c7036c85d0b1f0145c6fe57d585eb4c237fdb33d351f0d5510eabaf7666a63e74f8afbe0f09952ec1d4c5713a87a89963b82 SHA512 1afc1a59e25359a82cabc33a1f999e1166dcf74c031c29a366f8414989bc7c32b9a40e467ee40a37901f2bd08f4569fed25c4d3021b1a75254614840410a7bfa +EBUILD crack-attack-1.1.14-r2.ebuild 946 BLAKE2B 2c67cf472dcfc489c32412e9685423ed355256654ebb3e1ffd96814efcec916eafdb2dfeae8931dfb2b1900bb2ea31c5041ddfe208d1007f5f405a7c43081228 SHA512 a39048eef58fb35ec783eb6836a7198e6550f191986ba25544f34c9138ba9971121a7b3324f61f888ce6f8cb7a21b3b3af732993c56317bd4bdaf77177765847 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/crack-attack/crack-attack-1.1.14-r2.ebuild b/games-arcade/crack-attack/crack-attack-1.1.14-r2.ebuild new file mode 100644 index 000000000000..eded2a71ead8 --- /dev/null +++ b/games-arcade/crack-attack/crack-attack-1.1.14-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Addictive OpenGL-based block game" +HOMEPAGE="http://www.nongnu.org/crack-attack/" +SRC_URI="https://savannah.nongnu.org/download/crack-attack/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~x86" +IUSE="gtk sdl" + +RDEPEND=" + media-libs/freeglut + sdl? ( media-libs/libsdl + media-libs/sdl-mixer ) + gtk? ( >=x11-libs/gtk+-2.6:2 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + eapply \ + "${FILESDIR}"/${P}-glut.patch \ + "${FILESDIR}"/${P}-gcc43.patch + sed -i 's/-lXmu//' src/gtk-gui/Makefile.in src/Makefile.in || die + touch -r . * */* +} + +src_configure() { + econf \ + --disable-binreloc \ + $(use_enable sdl sound) \ + $(use_enable gtk) +} + +src_install() { + HTML_DOCS="doc/*" + default + doicon data/crack-attack.xpm + make_desktop_entry crack-attack Crack-attack +} diff --git a/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch new file mode 100644 index 000000000000..8cabe7eb2574 --- /dev/null +++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch @@ -0,0 +1,10 @@ +--- a/src/Game.h ++++ b/src/Game.h +@@ -34,6 +34,7 @@ + #include <climits> + #include <cstdlib> + #include <cmath> ++#include <cstring> + + #ifdef __MINGW32__ + # include <windows.h> diff --git a/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch b/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch new file mode 100644 index 000000000000..430d4e742f31 --- /dev/null +++ b/games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch @@ -0,0 +1,14 @@ +Fix from upstream to work with newer freegluts. + +http://bugs.gentoo.org/97954 + +--- a/src/Attack.cxx ++++ b/src/Attack.cxx +@@ -83,6 +83,7 @@ + int height = -1, width = -1; + + player_name[0] = '\0'; ++ glutInit(&argc, argv); + parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width); + run_crack_attack(mode, port, host_name, player_name, height, width); + diff --git a/games-arcade/crack-attack/metadata.xml b/games-arcade/crack-attack/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/crack-attack/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-arcade/criticalmass-1.0.2-r1 b/games-arcade/criticalmass-1.0.2-r1 deleted file mode 100644 index 51a2183bb8a2..000000000000 --- a/games-arcade/criticalmass-1.0.2-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=configure install postinst prepare -DEPEND=media-libs/sdl-mixer media-libs/sdl-image[png] media-libs/libpng:0= virtual/opengl net-misc/curl >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=SDL/OpenGL space shoot'em up game -EAPI=6 -HOMEPAGE=http://criticalmass.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/sdl-mixer media-libs/sdl-image[png] media-libs/libpng:0= virtual/opengl net-misc/curl -SLOT=0 -SRC_URI=mirror://sourceforge/criticalmass/CriticalMass-1.0.2.tar.bz2 -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=acfdd86e6ee6baad342aea13b4196563 diff --git a/games-arcade/criticalmass/Manifest b/games-arcade/criticalmass/Manifest new file mode 100644 index 000000000000..f9612b200faa --- /dev/null +++ b/games-arcade/criticalmass/Manifest @@ -0,0 +1,8 @@ +AUX criticalmass-1.0.2-cflags.patch 868 BLAKE2B 5e4179592ab03bbc34e14e7649ebfca2268a8f22728f7afb92f4978aeb09461588b7daa6642fa07c8ce007597ee40296d28c44b9381bc734184c5c82f6eb2106 SHA512 545f822a3fb2709c52e4c9bbacc8ea56a7aee229acdaec1af3024928d67395de8f3f0014b5647bb48afa1a85478854945490c482c96486e908c5342eba2538e9 +AUX criticalmass-1.0.2-gcc43.patch 3150 BLAKE2B c039896207f59cc4e0c4c4e81ced2266ca91c4731cb853c6e4120b1962cef0b7ebce1094d0b38081fbec44c098d3e109fe3a2e2d294c483caf1008611c4a5209 SHA512 a3a23367de54d99b3e47951477c3c85fa861a6a48c3a2d81e2352e55d0a32d6c319f5fd37ff287c93a5b9b0dfa230c89a90a507219960bb72a567977058f3bd6 +AUX criticalmass-1.0.2-libpng14.patch 449 BLAKE2B e27405000136410be47bb241208c1321bbbf8540b8707244271e9368cfaaf7cd058172cc952ff0dd1d84a5e693f0373f2ec8ddd47db1b05b8768f242fa037488 SHA512 976cb237901945119fe54bf8b7e8856d70d7104ff7071b80cdeb7fdab64e783c3f69a6099bd1ee11aae2eb5bd94dcac681869328e44bb74c4808b3c67a23e975 +AUX criticalmass-1.0.2-libpng15.patch 686 BLAKE2B a96af03a21e1e12606acd4ea07631c9688d80b377d126b44e1ace016e5aa727446d2c8c18606983fa6b2288f83b19130488e96e4f3364dc1e2d42b543d1e3766 SHA512 c2a68f80f0f775e5b6acbb6ed3a565200f481c83f505320488073783a30265769ba32f545590f2756a1d4974b0cc65462f559f23237ce206cfb80be370195d97 +AUX criticalmass-1.0.2-system_curl.patch 976 BLAKE2B 8af3bae1f2653e882a8d2f0955ef7973af93058bcf646f2264ccacc7b804a622b6104c50cbfc5531775bd9da22660317d2fb00804566014f543ef8e5a1d231be SHA512 6ce040132b9b3a4d4cf7a14c48a3e33320cd95ae440512f8c1c78e78200e6936fe95140e1e16607a225ec0ed1421e03bc09ba065552bc5419cbb42ac74f44b47 +DIST CriticalMass-1.0.2.tar.bz2 5122126 BLAKE2B 91642309270aa9a76c1639b213b14f5b1feecce9a1bd9a516b84618e33d454542e31a34ffc974bb0e584b2ff5d5bad6b9112906a0c818662df7eb1ad0d812470 SHA512 af3200adc4b6ed9f24eaa89ef5b2f31e8d09e402d0c2eef8db604afcbb2d36bad48e76c3c11c1b2410d2d4e0ffd8554e2e9749a8c8cc4752b4636b8919a66037 +EBUILD criticalmass-1.0.2-r1.ebuild 1277 BLAKE2B 1d5b5a0b6941f8aab5ebcb29660e245d82a8db33046cf39b33efad6dbefb1d022413383540cb51f7948a8bbefea8057fafcd2afdc37c21e471e28a640e0c7064 SHA512 b0560a8d03dc9dc3b921d421949fcc3314055605d69af9ce20d354547a189819300fc36d01aaa919a8806f9ade279f5ef9660581b368be6405e01481eafc747f +MISC metadata.xml 335 BLAKE2B 5b324731ab938d41661d143e1c10f44dcf05579341e642b07eb955252737e49eca38fffe4a95651f5d822de780ced0b9570bc0285d656e61c2f38f5ea594e214 SHA512 ef6dcb84323c49c9a21a59eea375bd3c1419ba2c7490f3e20e9daeab88942b4574d3d8668c465e2b2fc4221dff97695ba122d6790ebade3202f873f890fef9e4 diff --git a/games-arcade/criticalmass/criticalmass-1.0.2-r1.ebuild b/games-arcade/criticalmass/criticalmass-1.0.2-r1.ebuild new file mode 100644 index 000000000000..5191beb0107f --- /dev/null +++ b/games-arcade/criticalmass/criticalmass-1.0.2-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop flag-o-matic + +DESCRIPTION="SDL/OpenGL space shoot'em up game" +HOMEPAGE="http://criticalmass.sourceforge.net/" +SRC_URI="mirror://sourceforge/criticalmass/CriticalMass-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/sdl-mixer + media-libs/sdl-image[png] + media-libs/libpng:0= + virtual/opengl + net-misc/curl +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/CriticalMass-${PV}" + +src_prepare() { + default + + eapply "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-system_curl.patch \ + "${FILESDIR}"/${P}-libpng14.patch \ + "${FILESDIR}"/${P}-cflags.patch \ + "${FILESDIR}"/${P}-libpng15.patch + + rm -rf curl + + mv configure.in configure.ac || die + eautoreconf +} + +src_configure() { + append-cxxflags -std=gnu++98 # Bug 612758 + default +} + +src_install() { + HTML_DOCS="Readme.html" + default + rm -f "${ED}/usr/bin/Packer" + newicon critter.png ${PN}.png + make_desktop_entry critter "Critical Mass" +} + +pkg_postinst() { + if ! has_version "media-libs/sdl-mixer[mod]" ; then + ewarn + ewarn "To hear music, you will have to rebuild media-libs/sdl-mixer" + ewarn "with the \"mod\" USE flag turned on." + ewarn + fi +} diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch new file mode 100644 index 000000000000..0d9063c37538 --- /dev/null +++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch @@ -0,0 +1,27 @@ +--- a/configure.in.orig 2011-07-20 11:23:19.849122541 -0400 ++++ b/configure.in 2011-07-20 11:24:28.169713094 -0400 +@@ -35,9 +35,6 @@ + AM_CONDITIONAL(APPLE,test "x$TARGET" = xAPPLE) + AM_CONDITIONAL(WIN32,test "x$TARGET" = xWIN32) + +-CFLAGS="" +-CXXFLAGS="" +- + if test "x$GCC" = xyes; then + CFLAGS="$CFLAGS -W -Wall" + CXXFLAGS="$CXXFLAGS -W -Wall -fno-exceptions" +@@ -51,14 +48,6 @@ + CXXFLAGS="$CXXFLAGS -g" + fi + +-AC_ARG_ENABLE(optimize, +-[ --enable-optimize=level Enable optimization [default=2]], +- enable_optmize=$enableval, enable_optimize=2) +-if test "x$enable_optimize" != "xno" ; then +- CFLAGS="$CFLAGS -O$enable_optimize" +- CXXFLAGS="$CXXFLAGS -O$enable_optimize" +-fi +- + AC_ARG_ENABLE(dyngl, + [ --enable-dyngl Load GL library dynamically [default=off]], + enable_dyngl=$enableval, enable_dyngl=off) diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch new file mode 100644 index 000000000000..e57c11f5af28 --- /dev/null +++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-gcc43.patch @@ -0,0 +1,101 @@ +--- CriticalMass-1.0.0.orig/tinyxml/tinyxml.cpp 2003-03-03 03:34:58.000000000 +0100 ++++ CriticalMass-1.0.0/tinyxml/tinyxml.cpp 2008-04-18 19:40:35.000000000 +0200 +@@ -21,10 +21,12 @@ + distribution.
+ */
+
+ #include "tinyxml.h"
+
++#include <cstring> ++ +
+ TiXmlNode::TiXmlNode( NodeType _type )
+ {
+ parent = 0;
+ type = _type;
+--- CriticalMass-1.0.0.orig/tinyxml/tinyxml.h 2003-03-03 03:34:58.000000000 +0100 ++++ CriticalMass-1.0.0/tinyxml/tinyxml.h 2008-04-18 19:40:35.000000000 +0200 +@@ -28,10 +28,11 @@ + #ifdef _MSC_VER
+ #pragma warning( disable : 4530 )
+ #pragma warning( disable : 4786 )
+ #endif
+
++#include <cstdlib> + #include <string>
+ #include <stdio.h>
+ #include <assert.h>
+
+ class TiXmlDocument;
+--- CriticalMass-1.0.0.orig/tinyxml/tinyxmlparser.cpp 2003-03-03 03:34:58.000000000 +0100 ++++ CriticalMass-1.0.0/tinyxml/tinyxmlparser.cpp 2008-04-18 19:40:35.000000000 +0200 +@@ -23,10 +23,12 @@ +
+
+ #include "tinyxml.h"
+ #include <ctype.h>
+
++#include <cstring> ++ + const char* TiXmlBase::SkipWhiteSpace( const char* p )
+ {
+ while ( p && *p &&
+ ( isspace( *p ) || *p == '\n' || *p == '\r' ) )
+ p++;
+--- CriticalMass-1.0.0.orig/utils/ResourceManager.cpp 2005-01-02 03:59:29.000000000 +0100 ++++ CriticalMass-1.0.0/utils/ResourceManager.cpp 2008-04-18 19:40:35.000000000 +0200 +@@ -20,10 +20,12 @@ + #include <ResourceManager.hpp> + #include <FindHash.hpp> + #include <Endian.hpp> + #include <WalkDirectory.hpp> + ++#include <cstring> ++ + #ifdef WIN32 + const char PATH_SEPERATOR = '\\'; + #else + const char PATH_SEPERATOR = '/'; + #endif +--- CriticalMass-1.0.0.orig/utils/Value.hpp 2004-12-18 03:41:24.000000000 +0100 ++++ CriticalMass-1.0.0/utils/Value.hpp 2008-04-18 19:40:35.000000000 +0200 +@@ -13,10 +13,11 @@ + // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details + // + #ifndef _Value_hpp_ + #define _Value_hpp_ + ++#include <cstdlib> + #include <stdio.h> + #include <string> + + #include <Trace.hpp> + +--- CriticalMass-1.0.0.orig/utils/zStreamBufferImplZLib.cpp 2005-07-31 22:06:14.000000000 +0200 ++++ CriticalMass-1.0.0/utils/zStreamBufferImplZLib.cpp 2008-04-18 19:40:35.000000000 +0200 +@@ -10,10 +10,11 @@ + // + // This program is distributed in the hope that it will be useful, but WITHOUT + // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details + // ++#include <cstdlib> + #include <Trace.hpp> + #include <zStreamBufferImplZLib.hpp> + + bool ziStreamBufferImplZLib::init( void) + { +--- CriticalMass-1.0.0.orig/utils/zStream.cpp 2005-07-31 22:06:14.000000000 +0200 ++++ CriticalMass-1.0.0/utils/zStream.cpp 2008-04-18 19:40:35.000000000 +0200 +@@ -10,10 +10,11 @@ + // + // This program is distributed in the hope that it will be useful, but WITHOUT + // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details + // ++#include <cstdlib> + #include <Trace.hpp> + #include <Endian.hpp> + #include <zStream.hpp> + #include <zStreamBufferImplLZMA.hpp> + #include <zStreamBufferImplZLib.hpp> diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch new file mode 100644 index 000000000000..f8a0eec2ad57 --- /dev/null +++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch @@ -0,0 +1,11 @@ +--- a/configure.in ++++ b/configure.in +@@ -99,7 +99,7 @@ if test "x$TARGET" = xWIN32; then + else + LIBS="-L/usr/local/lib -L/usr/X11R6/lib $LIBS" + CXXFLAGS="$CXXFLAGS -I/usr/X11R6/include" +- AC_CHECK_LIB(png12, main,, AC_MSG_ERROR(libpng is needed)) ++ AC_CHECK_LIB(png, main,, AC_MSG_ERROR(libpng is needed)) + AC_CHECK_LIB(z, main,, AC_MSG_ERROR(libz is needed)) + if test "x$TARGET" = xUNIX; then + if test "x$enable_dyngl" = xoff; then diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch new file mode 100644 index 000000000000..dbdfc9f32275 --- /dev/null +++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch @@ -0,0 +1,31 @@ +--- a/game/main.cpp ++++ b/game/main.cpp +@@ -28,6 +28,8 @@ + #include <sys/stat.h> + #include <sys/types.h> + ++#include <zlib.h> ++ + void migrateConfig( void) + { + //if onlineCheck is not set, default it to true +--- a/utilssdl/PNG.cpp ++++ b/utilssdl/PNG.cpp +@@ -45,7 +45,7 @@ + { + png_size_t 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-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch new file mode 100644 index 000000000000..1ab1a2d5ce52 --- /dev/null +++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch @@ -0,0 +1,33 @@ +--- a/configure.in ++++ b/configure.in +@@ -115,8 +115,6 @@ fi + AC_CHECK_LIB(m, sin,, + AC_MSG_ERROR(libm is needed)) + +-AC_CONFIG_SUBDIRS(curl) +- + AC_OUTPUT(Makefile utils/Makefile utilssdl/Makefile utilsgl/Makefile game/Makefile tools/Makefile data/Makefile data/music/Makefile tinyxml/Makefile) + + echo "Configuration: +--- a/game/Makefile.am ++++ b/game/Makefile.am +@@ -41,7 +41,7 @@ critter_SOURCES = \ + main.cpp + + LDADD = \ +- ../curl/lib/libcurl.a \ ++ -lcurl \ + ../utils/libutils.a \ + ../utilssdl/libutilssdl.a \ + ../utilsgl/libutilsgl.a \ +--- a/Makefile.am ++++ b/Makefile.am +@@ -4,7 +4,7 @@ + AUTOMAKE_OPTIONS = 1.4 + + ## Any directories that you want built and installed should go here. +-SUBDIRS = curl tinyxml utils utilssdl utilsgl tools data game ++SUBDIRS = tinyxml utils utilssdl utilsgl tools data game + + ## Any directories you want a part of the distribution should be listed + ## here, as well as have a Makefile generated at the end of configure.in diff --git a/games-arcade/criticalmass/metadata.xml b/games-arcade/criticalmass/metadata.xml new file mode 100644 index 000000000000..26c1c9ca5f2d --- /dev/null +++ b/games-arcade/criticalmass/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-arcade/defendguin-0.0.12-r1 b/games-arcade/defendguin-0.0.12-r1 deleted file mode 100644 index 2d6e8dce3bd9..000000000000 --- a/games-arcade/defendguin-0.0.12-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/sdl-mixer[mod] media-libs/libsdl[video] -DESCRIPTION=A clone of the arcade game Defender, but with a Linux theme -EAPI=6 -HOMEPAGE=http://www.newbreedsoftware.com/defendguin/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/sdl-mixer[mod] media-libs/libsdl[video] -SLOT=0 -SRC_URI=ftp://ftp.tuxpaint.org/unix/x/defendguin/src/defendguin-0.0.12.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=ba0255517a1b528dfd7bc089f6d16c07 diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest new file mode 100644 index 000000000000..9b957608744e --- /dev/null +++ b/games-arcade/defendguin/Manifest @@ -0,0 +1,3 @@ +DIST defendguin-0.0.12.tar.gz 2235694 BLAKE2B 4e694edb5a8e51948e343da8ba4555062505c1c7f2563e291cc4f421624b791630dec7b0c7ce08df0ca0db40070418cd67f750fbe525ef1b1d1577951a5224bd SHA512 3a62c7ac62b016eeb6fc63655e8a8c1ac6c5c7cae7eee03c4ab0b9951ba605c7634336d94adb538e94ccbf1d9f927ac530f58da87413a4b1555b2684681e4167 +EBUILD defendguin-0.0.12-r1.ebuild 921 BLAKE2B 81735673664173bda825eccd41f766ef89581fb98d911a111c71e07eb39091d5b96e6956eb57f89e1cffb7c0cc8fba9d967953b07c565d11690e4893ff535dfa SHA512 026d5689a5b60a046984efdbc25bee3641660edcce12d8cf2ea4e41ebfae326e38fd5be16541548941662ac72ce5d7e1d36776fbf59f4596e1b466ca6c733df7 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild new file mode 100644 index 000000000000..db692cd67f23 --- /dev/null +++ b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme" +HOMEPAGE="http://www.newbreedsoftware.com/defendguin/" +SRC_URI="ftp://ftp.tuxpaint.org/unix/x/${PN}/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/sdl-mixer[mod] + media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i \ + -e "s:\$(DATA_PREFIX):/usr/share/${PN}/:" \ + -e '/^CFLAGS=.*-O2/d' \ + -e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \ + Makefile \ + || die + rm -f data/images/*.sh +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r ./data/* + + newicon data/images/ufo/ufo0.bmp ${PN}.bmp + make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp + + doman src/${PN}.6 + dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt +} diff --git a/games-arcade/defendguin/metadata.xml b/games-arcade/defendguin/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/defendguin/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-arcade/diameter-0.4.0.3-r2 b/games-arcade/diameter-0.4.0.3-r2 deleted file mode 100644 index 4421a764974c..000000000000 --- a/games-arcade/diameter-0.4.0.3-r2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=install prepare setup -DEPEND=>=dev-games/guichan-0.8[opengl,sdl] media-libs/libpng:0= media-libs/libsdl[video] media-libs/sdl-image[gif,jpeg,png] media-libs/sdl-mixer[mod] virtual/opengl virtual/glu python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Arcade game with elements of economy and adventure -EAPI=6 -HOMEPAGE=http://gamediameter.sourceforge.net/ -IUSE=python_targets_python2_7 -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=dev-games/guichan-0.8[opengl,sdl] media-libs/libpng:0= media-libs/libsdl[video] media-libs/sdl-image[gif,jpeg,png] media-libs/sdl-mixer[mod] virtual/opengl virtual/glu python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] -REQUIRED_USE=python_targets_python2_7 -SLOT=0 -SRC_URI=mirror://sourceforge/gamediameter/diameter-0.4.0.3.tar.bz2 -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=2e6b6b3458660592684465251be42dde diff --git a/games-arcade/diameter/Manifest b/games-arcade/diameter/Manifest new file mode 100644 index 000000000000..37e8a02d485c --- /dev/null +++ b/games-arcade/diameter/Manifest @@ -0,0 +1,3 @@ +DIST diameter-0.4.0.3.tar.bz2 4729201 BLAKE2B e96989e0213bbea1c0e7c8d5bea155c2a561741c367220f5d0fb7a4630c076932a4393ad577573195e96945fc812e9a1fb6026089d601d96a22be5004c77877e SHA512 74491d49b233f16b44e4ea7c477fe5c6d71bc88c34b815f7992ea881558e2b4de98b10c5041cff6d0a6098dc4f440291825fb1746ff0282e3f538fac4ee4975d +EBUILD diameter-0.4.0.3-r2.ebuild 1298 BLAKE2B 3f585855da26aab2f7a9cc8de2dfa8fe97c9052420946c8192c14827fa4298f3f20d68f07f94493efa15346440fc36f0fa54dbbd55da0f92d840a679735fee75 SHA512 04dc2012aedd8b4149413f3f601ed4c4a8c5161a5f577aa86ab236b63a21d5d681fa78a817995996dfca777cc28db12438d18aee847ec54891bbb512fe1cdbc3 +MISC metadata.xml 637 BLAKE2B 013b8e33bef387c1dd5e8e8380e4cac93b3271c1e94178a2a0bc33b11371dce4c396f7402f4127a9266fae89ed1f7d3e18afb4fbf97cc5473f44e8c166ceef7f SHA512 307ba08fa4280af81002a0993f4539021afa6507c67dccf9c5a2eeedeb07e820f0c3ad5ce8a0bf19d71087e5fe41e6b86ff6ce097f355ff00f11e0374bd771dc diff --git a/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild new file mode 100644 index 000000000000..1f7c45b1a67f --- /dev/null +++ b/games-arcade/diameter/diameter-0.4.0.3-r2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils python-single-r1 + +DESCRIPTION="Arcade game with elements of economy and adventure" +HOMEPAGE="http://gamediameter.sourceforge.net/" +SRC_URI="mirror://sourceforge/gamediameter/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + >=dev-games/guichan-0.8[opengl,sdl] + media-libs/libpng:0= + media-libs/libsdl[video] + media-libs/sdl-image[gif,jpeg,png] + media-libs/sdl-mixer[mod] + virtual/opengl + virtual/glu + ${PYTHON_DEPS}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/gamediameter + +src_prepare() { + default + + sed -i \ + -e "s:gamediameter:diameter:" \ + configure.in || die + mv configure.in configure.ac || die + sed -i \ + -e '/for i in .*\/lib/s:".*:/usr/lib/ ; do:' \ + -e "/AC_SUBST.*LDFLAGS/s/\".*\"/\$PYTHON_LIBS/" \ + acinclude.m4 || die + # bug #336812 + sed -i \ + -e '/gui nebular3.gif/s/gui//' \ + data/texture/Makefile.am || die + eautoreconf + + # needed, otherwise -lpython2.7 will not be found + python_export PYTHON PYTHON_LIBS +} + +src_install() { + default + + newicon data/texture/gui/eng/main/logo.png ${PN}.png + make_desktop_entry ${PN} ${PN^} +} diff --git a/games-arcade/diameter/metadata.xml b/games-arcade/diameter/metadata.xml new file mode 100644 index 000000000000..ec2759fffab8 --- /dev/null +++ b/games-arcade/diameter/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"> +"Diameter" - is an arcade-style game with elements of economy and adventure. +Project's main objective is to make a distinctive game with a storm gameplay and +simultaneously alluring with its world. Plus, the main mood will be funny, but +thus be serious. +</longdescription> + <upstream> + <remote-id type="sourceforge">gamediameter</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/digger-20140423-r1 b/games-arcade/digger-20140423-r1 deleted file mode 100644 index b96f8474b100..000000000000 --- a/games-arcade/digger-20140423-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=media-libs/libsdl[X,video] x11-libs/libX11 -DESCRIPTION=Digger Remastered -EAPI=6 -HOMEPAGE=http://www.digger.org/ -KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[X,video] x11-libs/libX11 -SLOT=0 -SRC_URI=mirror://gentoo/digger-20140423.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=db4f020b11bb4ba4ac264dfab19c9425 diff --git a/games-arcade/digger/Manifest b/games-arcade/digger/Manifest new file mode 100644 index 000000000000..415121bd4e93 --- /dev/null +++ b/games-arcade/digger/Manifest @@ -0,0 +1,4 @@ +AUX digger-20140423-ldflags.patch 659 BLAKE2B f999cde34935ff2919327b4a6e1fa8ff9a8559507d97e504b0b6ff3f1958307a0aa03b4f0c93415e3056798ed555795079aeb36e830fa02da71962cfa957656e SHA512 69ebbe64576df62927389087f22f4871582bde0507be7cd80f1ea96abb14819c844d7adbbfd13c89e2e6921d1accd289e5cc2246a25a962639dc5bdf40b23fd1 +DIST digger-20140423.tar.gz 117375 BLAKE2B 39ec5a17c2a12c1d23ed8dbcecfcd1f8309d5309540cd6d50d92aeee056e60f31156016f7cbcdf35092690c0e4df9312feee0a686c8fb1afb6068181630aca59 SHA512 9277c6dc4d7f74aeede379b42aeeef881d8fd927ef0e6f6c0e1a5f76be257244c4353758557209647812b942d215dd992939b190ef11f854b41ee2ceaab7eece +EBUILD digger-20140423-r1.ebuild 535 BLAKE2B aa3873df30822fbd5ac37e329b148090a6643eec5b6d16fd9cfbeb1315f28d189123ec6c1aa67b6375c5938ee9a79fc554eee83dbeaa8360a1b7f0d78e87494b SHA512 d99c56e0e1130b2fea26963f05bf84e8b95b986f1268c899ee0b28cf2f77f771df06ece7dbea1ea87be95f9ca07d74c4e7f99d894b5144c5d0dde420dc26c86f +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/digger/digger-20140423-r1.ebuild b/games-arcade/digger/digger-20140423-r1.ebuild new file mode 100644 index 000000000000..716e33c57c1b --- /dev/null +++ b/games-arcade/digger/digger-20140423-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Digger Remastered" +HOMEPAGE="http://www.digger.org/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" + +DEPEND="media-libs/libsdl[X,video] + x11-libs/libX11" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}-${PN}" + +PATCHES=( "${FILESDIR}"/${P}-ldflags.patch ) + +src_install() { + dobin digger + dodoc digger.txt + make_desktop_entry digger Digger +} diff --git a/games-arcade/digger/files/digger-20140423-ldflags.patch b/games-arcade/digger/files/digger-20140423-ldflags.patch new file mode 100644 index 000000000000..fd1e9953b634 --- /dev/null +++ b/games-arcade/digger/files/digger-20140423-ldflags.patch @@ -0,0 +1,21 @@ +diff -ru digger-digger.orig/Makefile digger-digger/Makefile +--- digger-digger.orig/Makefile 2013-10-11 04:56:41.000000000 -0400 ++++ digger-digger/Makefile 2014-04-24 13:11:58.749211920 -0400 +@@ -26,7 +26,7 @@ + ifeq ($(ARCH),"LINUX") + OBJS += fbsd_sup.o # strup() + RCFLAGS += -DLINUX $(shell sdl-config --cflags) +-LIBS += $(shell sdl-config --libs) -lz ++LIBS += $(shell sdl-config --libs) -lX11 -lz + ESUFFIX = + endif + +@@ -40,7 +40,7 @@ + all: digger$(ESUFFIX) + + digger$(ESUFFIX): $(OBJS) +- $(CC) -o digger$(ESUFFIX) $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o digger$(ESUFFIX) $(OBJS) $(LIBS) + + $(OBJS): %.o: %.c + $(CC) -c $(RCFLAGS) $(CFLAGS) $< -o $@ diff --git a/games-arcade/digger/metadata.xml b/games-arcade/digger/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/digger/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-arcade/dynamitejack-1.0.23-r1 b/games-arcade/dynamitejack-1.0.23-r1 deleted file mode 100644 index 6521cca137ee..000000000000 --- a/games-arcade/dynamitejack-1.0.23-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install nofetch postinst preinst prepare setup unpack -DESCRIPTION=A stealth game with bombs in glorious 2D -EAPI=5 -HOMEPAGE=http://www.galcon.com/dynamitejack/ -KEYWORDS=-* ~amd64 ~x86 -LICENSE=all-rights-reserved -RDEPEND=>=virtual/opengl-7.0-r1[abi_x86_32(-)] >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)] >=media-libs/flac-1.2.1-r5[abi_x86_32(-)] >=media-libs/libogg-1.3.0[abi_x86_32(-)] >=media-libs/libsdl-1.2.15-r4[X,sound,joystick,opengl,video,abi_x86_32(-)] >=media-libs/libsndfile-1.0.25[abi_x86_32(-)] >=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)] >=media-sound/pulseaudio-2.1-r1[abi_x86_32(-)] >=virtual/glu-9.0-r1[abi_x86_32(-)] >=x11-libs/libICE-1.0.8-r1[abi_x86_32(-)] >=x11-libs/libSM-1.2.1-r1[abi_x86_32(-)] >=x11-libs/libX11-1.6.2[abi_x86_32(-)] >=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)] >=x11-libs/libxcb-1.9.1[abi_x86_32(-)] >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)] >=x11-libs/libXext-1.3.2[abi_x86_32(-)] >=x11-libs/libXi-1.7.2[abi_x86_32(-)] >=x11-libs/libXtst-1.2.1-r1[abi_x86_32(-)] games-misc/games-envd -RESTRICT=bindist fetch splitdebug -SLOT=0 -SRC_URI=dynamitejack-1.0.23.tgz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=cd5e0d3f5a7448b0cdb04e3452f13959 diff --git a/games-arcade/dynamitejack/Manifest b/games-arcade/dynamitejack/Manifest new file mode 100644 index 000000000000..02078bf0ecde --- /dev/null +++ b/games-arcade/dynamitejack/Manifest @@ -0,0 +1,3 @@ +DIST dynamitejack-1.0.23.tgz 54195417 BLAKE2B 5cb659be0a76617c6a09c2dd696daaaa23ec9d24918a842e1dcc2e5b294c4e4c19f80f4dff92a5e539469a048bda2f1f61f9240569f8c0d2fc8e0e2147b55d39 SHA512 57897194244ded8d41ef0e7704fd973a58fe52dbc01b7dceed2a47694f7cc3e75d732547532bc7be4dd7d510572dedb85188da413b5857f52182799427243c4d +EBUILD dynamitejack-1.0.23-r1.ebuild 1717 BLAKE2B 7230f789c65f9117560fa8d30fc8d34fb6803f67be8557c843183525a86401ff611639af095b74cd94e37c593cbecfd506a72d914a9f14f49be59dff437f21cb SHA512 3556deb20f703f0e1d86422d000d834363f104e3a36d863a314de89992ab728d0f50ca9b77402a9c14b2166d2b5f332820987b178b7d47d7a98be49769837ec0 +MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-arcade/dynamitejack/dynamitejack-1.0.23-r1.ebuild b/games-arcade/dynamitejack/dynamitejack-1.0.23-r1.ebuild new file mode 100644 index 000000000000..580c082224c1 --- /dev/null +++ b/games-arcade/dynamitejack/dynamitejack-1.0.23-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# TODO: icon + +EAPI=5 +inherit eutils games + +DESCRIPTION="A stealth game with bombs in glorious 2D" +HOMEPAGE="http://www.galcon.com/dynamitejack/" +SRC_URI="${P}.tgz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="bindist fetch splitdebug" + +MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${MYGAMEDIR#/}/bin/*" + +# linked to pulseaudio +RDEPEND=" + >=virtual/opengl-7.0-r1[abi_x86_32(-)] + >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)] + >=media-libs/flac-1.2.1-r5[abi_x86_32(-)] + >=media-libs/libogg-1.3.0[abi_x86_32(-)] + >=media-libs/libsdl-1.2.15-r4[X,sound,joystick,opengl,video,abi_x86_32(-)] + >=media-libs/libsndfile-1.0.25[abi_x86_32(-)] + >=media-libs/libvorbis-1.3.3-r1[abi_x86_32(-)] + >=media-sound/pulseaudio-2.1-r1[abi_x86_32(-)] + >=virtual/glu-9.0-r1[abi_x86_32(-)] + >=x11-libs/libICE-1.0.8-r1[abi_x86_32(-)] + >=x11-libs/libSM-1.2.1-r1[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)] + >=x11-libs/libxcb-1.9.1[abi_x86_32(-)] + >=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)] + >=x11-libs/libXext-1.3.2[abi_x86_32(-)] + >=x11-libs/libXi-1.7.2[abi_x86_32(-)] + >=x11-libs/libXtst-1.2.1-r1[abi_x86_32(-)]" + +S=${WORKDIR}/${PN} + +pkg_nofetch() { + einfo "Please buy & download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to ${DISTDIR}" +} + +src_prepare() { + rm run_me || die + mv LINUX.txt "${T}"/ || die +} + +src_install() { + dodoc "${T}"/LINUX.txt + + insinto "${MYGAMEDIR}" + doins -r * + + games_make_wrapper ${PN} "./main" "${MYGAMEDIR}/bin" + make_desktop_entry ${PN} + + fperms +x "${MYGAMEDIR}"/bin/main + prepgamesdirs +} diff --git a/games-arcade/dynamitejack/metadata.xml b/games-arcade/dynamitejack/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-arcade/dynamitejack/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-arcade/emilia-pinball-0.3.1-r1 b/games-arcade/emilia-pinball-0.3.1-r1 deleted file mode 100644 index 530c697cd201..000000000000 --- a/games-arcade/emilia-pinball-0.3.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=virtual/opengl x11-libs/libSM media-libs/libsdl[joystick,opengl,video,X] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) x11-libs/libXt >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=SDL OpenGL pinball game -EAPI=5 -HOMEPAGE=http://pinball.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=virtual/opengl x11-libs/libSM media-libs/libsdl[joystick,opengl,video,X] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 ) games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/pinball/pinball-0.3.1.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=528076a65f4023116cc782ed062c965a diff --git a/games-arcade/emilia-pinball/Manifest b/games-arcade/emilia-pinball/Manifest new file mode 100644 index 000000000000..d5cb610045d9 --- /dev/null +++ b/games-arcade/emilia-pinball/Manifest @@ -0,0 +1,7 @@ +AUX emilia-pinball-0.3.1-gcc46.patch 887 BLAKE2B 1b850fc066b2f33edde6c5f9e0ce58af86b4ae5eda7bb77b3d364e45548572b48f34a7e0a50f9ca660585ca0282e0ec9c3031449ca9ffa7b60d2c3cae920c794 SHA512 758d2d42f40b7d020aeeef75331b6a392c18eb9f9f34242d449ee233ef2f1b12900b69d572a40930a6dbd986e98be9258ccb2130746e36c8729c011ce294fda3 +AUX emilia-pinball-0.3.1-glibc210.patch 379 BLAKE2B 5eb1a6885265f7c5ca3ca73108ba54890e0f1551e8b0efcfca62637385b9700a900ce7181c7f5a7100f265c82df7b0ef98765bc6bd05ad079e7941b12d384541 SHA512 a949474aa76dc0b503635c40fb8b641daaab59b51d1d680fc9ac3f6e94566f9064526fe21107e5e549a02c3264dfa0fc6d94a5f8a833a88defd4e9b3a6bb9be0 +AUX emilia-pinball-0.3.1-libtool.patch 2371 BLAKE2B 625fc092dfe779ca1cb7b17c305e21de5113314f59ea7e2cd214b59a1c49b45668b3a76e9e56141d18df0e42eb72c295cf84aa4df50d7e070b6b1864250b506b SHA512 c60940620ba70c725774c9e0dfb930d2e5760fad9e64ec951ca3ab973f3e9f0884d88c0e7b4d8bf01f91651a7e5bd2111bcf5a38a63b46319436c7d2f270d71e +AUX emilia-pinball-0.3.1-parallel.patch 428 BLAKE2B 368bf4e511f362e3daff200bee164fc0fa5c8bedde5f81cbe8778159e5f5157ff7a48b611541942703cc76f78e85b8e1b8bc42b6a305770feaf4577204576071 SHA512 8c8d0ef2bbb59579cf3e0f12e624bc28c27e810cad2d140a4c85f998d482101d97bdb7109fd01fb4bb9f2e77369c503b51c5a704b2f0768e570e7eb094f4f3c6 +DIST pinball-0.3.1.tar.gz 6082982 BLAKE2B 307fd8fa6a6a64a15423f2cdacf6711affec4d0a94beca4c660316fa2db268b857fe80d3a672a078fd4454e858fdbf235ab3c62ba9695ee6df422b56536ba2d2 SHA512 d54f2635f583be8a7e4bf3463c69c1ab368e1c069dd7c4edffb95df0448faf7e82ddb8f8607d22a7336e2db176134555ca65b613e9d008b38fecb8ad5a818498 +EBUILD emilia-pinball-0.3.1-r1.ebuild 1480 BLAKE2B 52e56f3be42f2acff04ae8404d89709c40fb99b7d5979a5a42bf0befaa9cdf5452d60fde8ed101fd3c401e0d6db7e71ce72c363c46435f23442ca9e4fbb973c7 SHA512 0084ee59a4bddf993b55da586c70182d6f6f9a70c975e1cb1ae6527156e6286d38abaf09eb2189d7dd65b17fee2ffa4fd3353d4eb2c3ccdc4918e85e07c24984 +MISC metadata.xml 330 BLAKE2B 7deaad70c752f4c41009dfd6ec073f972e9ee484d4497c0b23d184cd48bdb5aaa45f2644c412ab2a885aea6655e1a737a612bb65b3d8147272f63a2de932825c SHA512 8432311fd9fb74150e0571245c2afda26de63a3a3671905cb7f221984933e5971c1f5f355517c54b7c31de3a3d3349d06116a4e67c57c44489147af5ae80e8cf diff --git a/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild new file mode 100644 index 000000000000..519b304f6840 --- /dev/null +++ b/games-arcade/emilia-pinball/emilia-pinball-0.3.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +MY_PN=${PN/emilia-/} +MY_P=${MY_PN}-${PV} +DESCRIPTION="SDL OpenGL pinball game" +HOMEPAGE="http://pinball.sourceforge.net/" +SRC_URI="mirror://sourceforge/pinball/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Drop the libtool dep once libltdl goes stable. +RDEPEND="virtual/opengl + x11-libs/libSM + media-libs/libsdl[joystick,opengl,video,X] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + || ( dev-libs/libltdl:0 <sys-devel/libtool-2.4.3-r2:2 )" +DEPEND="${RDEPEND} + x11-libs/libXt" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i -e '/dnl/d' {src,test}/Makefile.am || die #334899 + epatch "${FILESDIR}"/${P}-glibc210.patch \ + "${FILESDIR}"/${P}-libtool.patch \ + "${FILESDIR}"/${P}-gcc46.patch \ + "${FILESDIR}"/${P}-parallel.patch + rm -rf libltdl + eautoreconf +} + +src_configure() { + egamesconf --with-x +} + +src_compile() { + emake CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + default + dosym "${GAMES_BINDIR}"/pinball "${GAMES_BINDIR}"/emilia-pinball + mv "${D}/${GAMES_PREFIX}/include" "${D}/usr/" || die + dodir /usr/bin + mv "${D}/${GAMES_BINDIR}/pinball-config" "${D}/usr/bin/" || die + sed -i \ + -e 's:-I${prefix}/include/pinball:-I/usr/include/pinball:' \ + "${D}"/usr/bin/pinball-config || die + newicon data/pinball.xpm ${PN}.xpm + make_desktop_entry emilia-pinball "Emilia pinball" + prepgamesdirs +} diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch new file mode 100644 index 000000000000..d78779197fce --- /dev/null +++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-gcc46.patch @@ -0,0 +1,30 @@ +--- base/SignalSender.cpp.old 2011-04-26 09:39:24.303339444 +0200 ++++ base/SignalSender.cpp 2011-04-26 09:39:51.261063162 +0200 +@@ -11,6 +11,7 @@ + #include "SignalSender.h" + #include "Group.h" + #include "Behavior.h" ++#include <cstddef> + + SignalSender * SignalSender::p_SignalSender = NULL; + +--- base/Behavior.cpp.old 2011-04-26 09:36:27.129006665 +0200 ++++ base/Behavior.cpp 2011-04-26 09:36:48.855396752 +0200 +@@ -9,6 +9,7 @@ + #include "Private.h" + #include "Behavior.h" + #include "Group.h" ++#include <cstddef> + + Behavior::Behavior() { + //EM_COUT("Behavior::Behavior", 1); +--- base/BehaviorVisitor.cpp.old 2011-04-26 09:37:39.759653248 +0200 ++++ base/BehaviorVisitor.cpp 2011-04-26 09:37:54.481594952 +0200 +@@ -9,6 +9,7 @@ + #include "BehaviorVisitor.h" + #include "Behavior.h" + #include "Group.h" ++#include <cstddef> + + BehaviorVisitor * BehaviorVisitor::p_BehaviorVisitor = NULL; + diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch new file mode 100644 index 000000000000..800dbeae21a7 --- /dev/null +++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-glibc210.patch @@ -0,0 +1,13 @@ +--- base/Config.cpp ++++ base/Config.cpp +@@ -423,8 +423,8 @@ + m_sDataDir = string(EM_DATADIR) + "/"; + m_sExeDir = "./"; + if ( *( m_sDataDir.c_str() ) != '/' ) { +- char* ptr=0; +- char* ptrw = 0; ++ const char* ptr=0; ++ const char* ptrw = 0; + //cout<<"relative to exe file"<<endl; + ptr = (strrchr(argv0,'/')); // unix /cygwin / check win32 + #ifdef WIN32 diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch new file mode 100644 index 000000000000..437e4eb684a4 --- /dev/null +++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-libtool.patch @@ -0,0 +1,64 @@ +diff -ur pinball-0.3.1.orig/configure.ac pinball-0.3.1/configure.ac +--- pinball-0.3.1.orig/configure.ac 2003-11-21 09:40:18.000000000 +0200 ++++ pinball-0.3.1/configure.ac 2010-03-05 20:41:24.000000000 +0200 +@@ -14,18 +14,13 @@ + CFLAGS="-g -W -Wall -O2" + CXXFLAGS="-g -W -Wall -O2" + +-AC_CONFIG_SUBDIRS(libltdl) +- + dnl Checks for programs. + AC_PROG_CC + AC_PROG_CXX + AC_PROG_INSTALL +-AC_LIBTOOL_DLOPEN +-AC_LIBLTDL_CONVENIENCE +-AC_PROG_LIBTOOL + +-AC_SUBST(INCLTDL) +-AC_SUBST(LIBLTDL) ++LT_PREREQ([2.2.6]) ++LT_INIT([dlopen]) + + dnl ******************************************* + dnl PATHS AND DIRS **************************** +diff -ur pinball-0.3.1.orig/Makefile.am pinball-0.3.1/Makefile.am +--- pinball-0.3.1.orig/Makefile.am 2003-12-10 12:15:35.000000000 +0200 ++++ pinball-0.3.1/Makefile.am 2010-03-05 20:36:48.000000000 +0200 +@@ -1,6 +1,6 @@ + AUTOMAKE_OPTIONS = gnu + +-SUBDIRS = libltdl addon base data src test ++SUBDIRS = addon base data src test + + EXTRA_DIST = bootstrap pinball.spec clean pinball.desktop + +diff -ur pinball-0.3.1.orig/src/Makefile.am pinball-0.3.1/src/Makefile.am +--- pinball-0.3.1.orig/src/Makefile.am 2003-11-20 18:46:17.000000000 +0200 ++++ pinball-0.3.1/src/Makefile.am 2010-03-05 20:37:08.000000000 +0200 +@@ -7,9 +7,9 @@ + + pinlib_LIBRARIES = libemilia_pin.a + +-INCLUDES = -I../base -I../addon @INCLTDL@ ++INCLUDES = -I../base -I../addon + +-pinball_LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a @LIBLTDL@ ++pinball_LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl + pinball_LDFLAGS = -export-dynamic + + pinball_SOURCES = Pinball.cpp +diff -ur pinball-0.3.1.orig/test/Makefile.am pinball-0.3.1/test/Makefile.am +--- pinball-0.3.1.orig/test/Makefile.am 2003-11-20 18:46:17.000000000 +0200 ++++ pinball-0.3.1/test/Makefile.am 2010-03-05 20:36:38.000000000 +0200 +@@ -6,8 +6,8 @@ + noinst_PROGRAMS = scale simple light texture load explode collision signal billboard font thread menu joy sound trans math misc varray unittest + dnl noinst_PROGRAMS = unittest + +-INCLUDES = -I../base -I../addon -I../src @INCLTDL@ +-LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a @LIBLTDL@ ++INCLUDES = -I../base -I../addon -I../src ++LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl + + testlib_LTLIBRARIES = libModuleTest.la + diff --git a/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch new file mode 100644 index 000000000000..3dfef56090c9 --- /dev/null +++ b/games-arcade/emilia-pinball/files/emilia-pinball-0.3.1-parallel.patch @@ -0,0 +1,11 @@ +--- src/Makefile.am.old 2011-04-26 10:46:05.102070461 +0200 ++++ src/Makefile.am 2011-04-26 10:46:16.872813136 +0200 +@@ -9,7 +9,7 @@ + + INCLUDES = -I../base -I../addon + +-pinball_LDADD = ../src/libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl ++pinball_LDADD = libemilia_pin.a ../addon/libemilia_addon.a ../base/libemilia_base.a -lltdl + pinball_LDFLAGS = -export-dynamic + + pinball_SOURCES = Pinball.cpp diff --git a/games-arcade/emilia-pinball/metadata.xml b/games-arcade/emilia-pinball/metadata.xml new file mode 100644 index 000000000000..551a8380f3c8 --- /dev/null +++ b/games-arcade/emilia-pinball/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">pinball</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/epiar-0.5-r1 b/games-arcade/epiar-0.5-r1 deleted file mode 100644 index e3f708982daf..000000000000 --- a/games-arcade/epiar-0.5-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[video] media-libs/sdl-image[png] x11-libs/libX11 virtual/opengl app-arch/unzip -DESCRIPTION=A space adventure/combat game -EAPI=5 -HOMEPAGE=http://epiar.net/ -KEYWORDS=~x86 ~x86-fbsd -LICENSE=GPL-2 LGPL-2.1 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-image[png] games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/epiar/epiar-0.5.0-src.zip -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=d18f6f5e1a8ce4e7c7c93c9f5c05ed79 diff --git a/games-arcade/epiar/Manifest b/games-arcade/epiar/Manifest new file mode 100644 index 000000000000..e037d2973025 --- /dev/null +++ b/games-arcade/epiar/Manifest @@ -0,0 +1,7 @@ +AUX epiar-0.5-Makefile.linux.patch 682 BLAKE2B 0794a07f1f4beef8b16e8fc720930cabe3db40941be39c0ed3d1ef66b4a24bab68f9aeb6961b4a4429d4de7fc12dc395dbf7e34c7caf887aedee0cf7af94e584 SHA512 5219be09af0443a780d918306086f9c7792a9fd6e7051806c368db6808017ee9c2897b4093664f9c087e3fe987b22edeb50280f25f615cdbfcdf914c1cf4be47 +AUX epiar-0.5-gcc41.patch 332 BLAKE2B c3d34f29b2d9186d0f6ac14b14bb40e63578764f613b74bd670266dda3885c4542e48e3e95b06a668e01fccc9630a9d0e46f1918f1dda37e1e78840ca890dfb7 SHA512 29de0155e37696c1f2f66060aa6b08d01df13bcf36e2fc20a803bf664bd7a326d4ec70141376305771d2c188e67ddd32d19d5a864c3a8c9c7c5ea329a6e19060 +AUX epiar-0.5-paths.patch 2195 BLAKE2B 995f1d0a39b72be7e1e542a6e799b5d644d62cdb2ad1710f44bc73a82310c148b54113254c4502f499fceaada0aadb5944ec5d370b3ca79c72b208d6197e4c20 SHA512 4f6068f69b6f2367bbc665159f2612da86591d050e5296304b26d613c6579465c632a442251033fdb7803e6cb72c8f70e6118e8c1d43d33f0376863b91ebd037 +AUX epiar-0.5-underlink.patch 818 BLAKE2B 9ab04018e1051d905674b53154e4297be50e1954a79c28f7e70fd47381f9dcd4b452385d05dc38ad2cd117bb4b6b06d9d95727d61fdaf483f4d3940a2c8f6028 SHA512 ada142afdd3de71af454bd1a03c8c406d609deeff7a68a84b7066089761bebcb01dae8e69f7fccbd0cf4f0294789696e1181900c30f857c8b5197c24bab51b2a +DIST epiar-0.5.0-src.zip 8809392 BLAKE2B c29c541f5841da91d13f7ccddfa2d2175265a434ae03e2ed87a64cd5c177d7139ff2cf44ec679ec023fe783427868f0f234c6f5f49d0d52ab08be852d424ba59 SHA512 22d8655aefd3aa071de064aeeed40d8780fb32ee702e657c8b8a723c381b6825ae9b5820cf5b29991e14bc264c443d0b24f88656b4997a6270383aa080c15f3e +EBUILD epiar-0.5-r1.ebuild 1063 BLAKE2B 283af179cfd95d7afe7eefca643cdb6662563e2fbed24ee437033f1c90f3ee1823e6b9bc4b9d669488f290d3b89cdc1637219873ba6436dabcf1b2b9821972be SHA512 2c81c4665ee0df32f8ec9d5aea824760b2f8328315245d8953e460fac7369a3eebfc615acd5c708dc8f4806f4c05b4145eb0dceae9cefd2568d137138c84e167 +MISC metadata.xml 823 BLAKE2B 4ad0d0b974bd58a1d1edd77eb201fa2e236eb6b7a1efee030c8f106a6a016f3ecbf3de213b162a9d0f52d0e0751c4c3905acdaab4cd2d24292c6425620f7c88b SHA512 ef154f46f533f6b255bac62dcdffb84833fee98135e714b9a6b546a9128c3d3be0e7cfe7721ce1ccf302019b414ef1edb4ba92cc43b7024be6881a3cb0d6dffb diff --git a/games-arcade/epiar/epiar-0.5-r1.ebuild b/games-arcade/epiar/epiar-0.5-r1.ebuild new file mode 100644 index 000000000000..7ddbc3d9c668 --- /dev/null +++ b/games-arcade/epiar/epiar-0.5-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit flag-o-matic eutils games + +DESCRIPTION="A space adventure/combat game" +HOMEPAGE="http://epiar.net/" +SRC_URI="mirror://sourceforge/epiar/${P}.0-src.zip" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-image[png]" +DEPEND="${RDEPEND} + x11-libs/libX11 + virtual/opengl + app-arch/unzip" + +S=${WORKDIR} + +src_prepare() { + sed -i \ + -e "/^CFLAGS/s:-pg -g:${CFLAGS} ${LDFLAGS}:" \ + Makefile.linux || die + epatch \ + "${FILESDIR}"/${P}-paths.patch \ + "${FILESDIR}"/${P}-gcc41.patch \ + "${FILESDIR}"/${P}-Makefile.linux.patch \ + "${FILESDIR}"/${P}-underlink.patch + sed -i \ + -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}/:" \ + src/main.c || die +} + +src_compile() { + emake -f Makefile.linux +} + +src_install() { + dogamesbin epiar + insinto "${GAMES_DATADIR}"/${PN} + doins -r missions *.eaf + keepdir "${GAMES_DATADIR}"/${PN}/plugins + dodoc AUTHORS ChangeLog README + prepgamesdirs +} diff --git a/games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch b/games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch new file mode 100644 index 000000000000..3086bd13ef9a --- /dev/null +++ b/games-arcade/epiar/files/epiar-0.5-Makefile.linux.patch @@ -0,0 +1,20 @@ +--- Makefile.linux.old 2007-04-05 16:42:30 +0000 ++++ Makefile.linux 2007-04-05 16:42:47 +0000 +@@ -24,7 +24,7 @@ + @echo Building Epiar 0.5.0 ... + @$(CC) $(CFLAGS) -I/usr/X11R6/lib/ $(OBJS) -o epiar $(LIBS) + @echo Building plugins ... +- @make -f Makefile.linux plugin ++ @$(MAKE) -f Makefile.linux plugin + @echo Epiar 0.5.0 build complete. + @echo + @echo Type './epiar' to play. +@@ -33,7 +33,7 @@ + @echo Building Epiar 0.5.0 and linking statically ... + @$(CC) $(CFLAGS) -L/usr/X11R6/lib -L/opt/gnome-2.1/lib $(OBJS) -o epiar $(STATIC_LIBS) + @echo Building plugins ... +- @make plugin ++ @$(MAKE) plugin + @echo Epiar 0.5.0 build complete. + @echo + @echo Type './epiar' to play. diff --git a/games-arcade/epiar/files/epiar-0.5-gcc41.patch b/games-arcade/epiar/files/epiar-0.5-gcc41.patch new file mode 100644 index 000000000000..65f08b2691d1 --- /dev/null +++ b/games-arcade/epiar/files/epiar-0.5-gcc41.patch @@ -0,0 +1,10 @@ +--- src/game/game.h.old 2006-04-23 22:13:36.000000000 +0200 ++++ src/game/game.h 2006-04-23 22:13:50.000000000 +0200 +@@ -2,7 +2,6 @@ + #include "includes.h"
+
+ extern Uint32 average_loop_time;
+-extern Uint32 game_start_time;
+ extern Uint32 total_play_time, total_frames_drawn;
+ extern float average_session_fps, current_fps;
+
diff --git a/games-arcade/epiar/files/epiar-0.5-paths.patch b/games-arcade/epiar/files/epiar-0.5-paths.patch new file mode 100644 index 000000000000..41266c7272b1 --- /dev/null +++ b/games-arcade/epiar/files/epiar-0.5-paths.patch @@ -0,0 +1,86 @@ +--- src/input/input.c ++++ src/input/input.c +@@ -240,7 +240,10 @@ + *
+ ******************************************************************************/
+ int load_input_cfg(void) {
+- FILE *fp = fopen("./.epiar-input.ecf", "rb");
++ char filename[PATH_MAX]; ++ FILE *fp; ++ snprintf(filename, sizeof(filename), "%s/.epiar-input.ecf", getenv("HOME")); ++ fp = fopen(filename, "rb");
+
+ /* make sure all keys are enabled */
+ unlock_keys();
+@@ -282,7 +285,7 @@ + } else {
+ float file_version = 0.0f;
+ /* read the file into the struct */
+- fp = fopen("./.epiar-input.ecf", "rb");
++ fp = fopen(filename, "rb");
+
+ if (fp == NULL) {
+ fprintf(stdout, "Could not open \"./.epiar-input.ecf\" for reading, assuming default bindings.\n");
+@@ -472,10 +475,12 @@ + }
+
+ void save_keybindings(void) {
++ char filename[PATH_MAX]; + float file_version = 0.2f;
+ FILE *fp;
+
+- fp = fopen("./.epiar-input.ecf", "wb");
++ snprintf(filename, sizeof(filename), "%s/.epiar-input.ecf", getenv("HOME")); ++ fp = fopen(filename, "wb");
+ if (fp == NULL) {
+ fprintf(stdout, "Could not create '~/.epiar-input.ecf' to save keybindings\n");
+ return;
+--- src/main.c ++++ src/main.c +@@ -16,7 +16,7 @@ + unsigned char view_mode = 0;
+ int ship_to_follow = 0;
+ int desired_bpp = 16;
+-char *game_path;
++const char * const game_path = "GENTOO_DATADIR";
+ unsigned char use_ogl = 0;
+ unsigned char skip_intro = 0;
+ FILE *epiar_eaf = NULL, *main_eaf = NULL;
+@@ -78,8 +78,6 @@ +
+ parse_commandline(argc, argv);
+
+- get_absolute_path(argv[0]);
+-
+ init(desired_bpp);
+
+ menu();
+--- src/main.h ++++ src/main.h +@@ -1,2 +1,2 @@ + extern char epiar_version[6];
+-extern char *game_path;
++extern const char * const game_path;
+--- src/system/init.c ++++ src/system/init.c +@@ -89,9 +89,6 @@ + main_eaf = NULL;
+ }
+
+- assert(game_path != NULL);
+- free(game_path);
+- game_path = NULL;
+
+ if (average_loop_time == 0) average_loop_time = 18; /* in case they quit on menu */
+ #ifndef NDEBUG
+--- src/system/path.c ++++ src/system/path.c +@@ -45,7 +45,7 @@ + }
+ #endif
+
+-#ifdef LINUX
++#if 0
+ char *strip_path_of_binary(char *argv) {
+ int len = 0, i, blen = 0;
+ char *stripped = NULL;
diff --git a/games-arcade/epiar/files/epiar-0.5-underlink.patch b/games-arcade/epiar/files/epiar-0.5-underlink.patch new file mode 100644 index 000000000000..13146cb68b27 --- /dev/null +++ b/games-arcade/epiar/files/epiar-0.5-underlink.patch @@ -0,0 +1,10 @@ +--- Makefile.linux.old 2011-06-22 15:15:50.000000000 +0200 ++++ Makefile.linux 2011-06-22 15:17:01.000000000 +0200 +@@ -1,6 +1,6 @@ + CFLAGS=-W -Wall `sdl-config --cflags` -Isrc/ -DLINUX -DDEVEL -export-dynamic -I/usr/include/SDL -I/usr/local/include/SDL -DBLIT_METHOD_2 -DNAUDIO -O2 -march=pentium4 -pipe -mfpmath=sse -ggdb -Wl,-O1 -Wl,--as-needed + +-LIBS=-lm `sdl-config --libs` -lSDL_image ++LIBS=-lm `sdl-config --libs` -lSDL_image -ldl + STATIC_LIBS=-lm /usr/local/lib/libSDL.a /usr/local/lib/libSDL_image.a /usr/local/lib/libSDL_ttf.a /usr/local/lib/libopenal.a /usr/local/lib/libvorbisfile.a /usr/local/lib/libvorbis.a /usr/local/lib/libogg.a /usr/lib/libpng.a /usr/lib/libz.a -lpthread -ldl -lfreetype /usr/lib/libjpeg.a -lX11 -lXext -lesd + + OBJS=main.o init.o video.o backbuffer.o debug.o audio.o linux_video.o \ diff --git a/games-arcade/epiar/metadata.xml b/games-arcade/epiar/metadata.xml new file mode 100644 index 000000000000..9a42744eb0df --- /dev/null +++ b/games-arcade/epiar/metadata.xml @@ -0,0 +1,21 @@ +<?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> +Epiar is a space adventure/combat game written in C with SDL +(Simple DirectMedia Layer). It is absolutely free (released +under the General Public License v2). +In Epiar, you begin as a shuttle pilot in a galaxy generally +ruled by anarchy, with few stable governments and numerous +rebel factions. You start your adventure off doing whatever +you want, but generally trying to save up money for a new +starship, and your adventure takes off from there ... +</longdescription> + <upstream> + <remote-id type="sourceforge">epiar</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/excido-0.1.5c-r3 b/games-arcade/excido-0.1.5c-r3 deleted file mode 100644 index 5b54313eb2ac..000000000000 --- a/games-arcade/excido-0.1.5c-r3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=dev-games/physfs media-libs/libsdl[opengl] media-libs/sdl-mixer media-libs/sdl-ttf media-libs/sdl-image[png] media-libs/openal media-libs/freealut -DESCRIPTION=A fast paced action game -EAPI=6 -HOMEPAGE=http://icculus.org/excido/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=dev-games/physfs media-libs/libsdl[opengl] media-libs/sdl-mixer media-libs/sdl-ttf media-libs/sdl-image[png] media-libs/openal media-libs/freealut -SLOT=0 -SRC_URI=http://icculus.org/excido/excido-0.1.5c-src.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=603d42b17cd9fc3ec8b6684115771cfc diff --git a/games-arcade/excido/Manifest b/games-arcade/excido/Manifest new file mode 100644 index 000000000000..72a7e6885287 --- /dev/null +++ b/games-arcade/excido/Manifest @@ -0,0 +1,5 @@ +AUX excido-0.1.5c-build.patch 1033 BLAKE2B 171f87f9c08d51969af8e9171bbae2b177192afb9dad0dcf975fdc4a50ccfc961d5caa055830b929beadc3120f0a627c638371125ca93b4b8b642d4b3b1321d2 SHA512 9cd1b44ae83e9cf1171869124866df78f6d9bc2d18d80968937b7edf7d60dedef3cd0451fd3f81406e5b3b36960b3ac8f77032625e1c545f04d70998da8701ab +AUX excido-0.1.5c-freealut.patch 1204 BLAKE2B 1aa65ee8e91f01be2ed6af6e45d945d81b1d6b5714072701a8b189b30668a7ef430bb08d54c322c487f0748c0112499c32b52273bc94e2746b687acdd9ea6134 SHA512 11c41ba18f2b698fa4eedfb93d670a09ddd6d954d9504903f51f6df23096e3f72f2836193ca35a5aeb6e3524ad887e1cbf0eb879583988dd99b0b4c439997a1c +DIST excido-0.1.5c-src.tar.bz2 2981629 BLAKE2B 504c21861a4d966400a94ef6733794f72edbf950a84dcd935213244252b771e168f0bb5e21780c90d2cd1a1799cac821a502dbb558ffe6204d4b552e5af465d4 SHA512 9e1b98ed31eac735087f451c466d0e0d1b885ad5336f7994abf8f844b1c27cc24e90048306ffd62864fa5ab2bada6744b4b54991c6eb9b22624af20c645e02d7 +EBUILD excido-0.1.5c-r3.ebuild 789 BLAKE2B d4e7146161ecd604ff845b2de8b97e34633860cc38e32bf2e07b936db3dcaf79ab52b9e2ecee8a023fdbf07c0c11a8ac7008a979bbc8b82ad9ce063cd16966b1 SHA512 ace3ee24dbc3155db5f276922b1b5d570f0b15288711312711e9a7fb9bae8031c6e665673d005714807ddfcbf7fb799f58b78a0ac0fe28dbe8be271e8d04ee5a +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/excido/excido-0.1.5c-r3.ebuild b/games-arcade/excido/excido-0.1.5c-r3.ebuild new file mode 100644 index 000000000000..cea4558b0b61 --- /dev/null +++ b/games-arcade/excido/excido-0.1.5c-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A fast paced action game" +HOMEPAGE="http://icculus.org/excido/" +SRC_URI="http://icculus.org/excido/${P}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-games/physfs + media-libs/libsdl[opengl] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/sdl-image[png] + media-libs/openal + media-libs/freealut" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-freealut.patch + "${FILESDIR}"/${P}-build.patch +) + +src_compile() { + emake DATADIR=/usr/share/${PN}/ +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins data/* + dodoc BUGS CHANGELOG HACKING README TODO \ + keyguide.txt data/CREDITS data/*.txt +} diff --git a/games-arcade/excido/files/excido-0.1.5c-build.patch b/games-arcade/excido/files/excido-0.1.5c-build.patch new file mode 100644 index 000000000000..1735b51ccdfc --- /dev/null +++ b/games-arcade/excido/files/excido-0.1.5c-build.patch @@ -0,0 +1,29 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,8 @@ +-CC=g++ +-CFLAGS=`sdl-config --cflags` #-g -Wall #-O2 ++CXX?=g++ ++CXXFLAGS+=$(shell sdl-config --cflags) #-g -Wall #-O2 + #CFLAGS=`sdl-config --cflags` -I./physfs#-g -Wall #-O2 + OBJS := ${patsubst %.cpp, %.o, ${wildcard src/*.cpp}} +-LIBS = -s -Bstatic `sdl-config --static-libs` -lSDL_image -lSDL_ttf -L. -lphysfs -lopenal -Bdynamic -lGL -lGLU ++LIBS = $(shell sdl-config --libs) -lSDL_image -lSDL_ttf -lphysfs -lopenal -lalut -lGL -lGLU + #LIBS = -s -Bstatic `sdl-config --static-libs` SDL_image/*.o SDL_ttf/*.o -L. physfs/*.o openal/*.o -ljpeg -lpng -ltiff -lfreetype -Bdynamic -lGL -lGLU + PREFIX=/usr/local + BINDIR=$(PREFIX)/bin/ +@@ -16,12 +16,12 @@ + + + .cpp.o: +- $(CC) $(CFLAGS) $(DEFINES) -o ${patsubst %.cpp, %.o, $<} -c $< ++ $(CXX) $(CXXFLAGS) $(DEFINES) -o ${patsubst %.cpp, %.o, $<} -c $< + + all: $(TARGET) + + $(TARGET): $(OBJS) +- $(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS) + + clean: + rm -f $(OBJS) $(TARGET) diff --git a/games-arcade/excido/files/excido-0.1.5c-freealut.patch b/games-arcade/excido/files/excido-0.1.5c-freealut.patch new file mode 100644 index 000000000000..c29999fae25d --- /dev/null +++ b/games-arcade/excido/files/excido-0.1.5c-freealut.patch @@ -0,0 +1,38 @@ +--- a/src/SoundCore.cpp ++++ b/src/SoundCore.cpp +@@ -352,32 +352,13 @@ + + PHYSFS_close(filehandle); + +- ALenum format; +- ALvoid *data; +- ALsizei size,freq; +- ALboolean loop=AL_FALSE; + ALenum error; + + alGetError(); + +- alGenBuffers(1,&newsample.alid); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alGenBuffers\n"); +- PrintALError(error); +- } +- alutLoadWAVMemory((ALbyte*)filedata,&format,&data,&size,&freq,&loop); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alutLoadWAVMemory\n"); +- PrintALError(error); +- } +- alBufferData(newsample.alid,format,data,size,freq); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alBufferData\n"); +- PrintALError(error); +- } +- alutUnloadWAV(format,data,size,freq); +- if((error=alGetError())!=AL_NO_ERROR){ +- fprintf(stderr,"SoundCore::LoadSample: Error on alutUnloadWAV\n"); ++ newsample.alid=alutCreateBufferFromFileImage(filedata, filesize); ++ if(((error=alGetError())!=AL_NO_ERROR)||(newsample.alid==AL_NONE)){ ++ fprintf(stderr,"SoundCore::LoadSample: Error on alutCreateBufferFromFileImage\n"); + PrintALError(error); + } + diff --git a/games-arcade/excido/metadata.xml b/games-arcade/excido/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/excido/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-arcade/fishsupper-0.1.6-r1 b/games-arcade/fishsupper-0.1.6-r1 deleted file mode 100644 index e10a89bc1f27..000000000000 --- a/games-arcade/fishsupper-0.1.6-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video,opengl,X] media-libs/sdl-image[png] media-libs/sdl-mixer[wav] virtual/opengl dev-libs/boost >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=A simple arcade/puzzle game, loosely based on the retro classic Frogger -EAPI=6 -HOMEPAGE=https://sourceforge.net/projects/fishsupper/ -KEYWORDS=~amd64 ~x86 -LICENSE=CC-BY-SA-2.5 GPL-3 -RDEPEND=media-libs/libsdl[sound,video,opengl,X] media-libs/sdl-image[png] media-libs/sdl-mixer[wav] virtual/opengl -SLOT=0 -SRC_URI=mirror://sourceforge/fishsupper/fishsupper-0.1.6.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=ad7b9f2b13c17a7e5ccd699e03c5a44d diff --git a/games-arcade/fishsupper/Manifest b/games-arcade/fishsupper/Manifest new file mode 100644 index 000000000000..03add5472e32 --- /dev/null +++ b/games-arcade/fishsupper/Manifest @@ -0,0 +1,6 @@ +AUX fishsupper-0.1.6-asneeded.patch 297 BLAKE2B 18b749a0e6733ee92bbe38ef2fd65fc5acfdb440ccbce23c0d1ae78d7b3f7601ebd3c6f23d5fdd89cd95caac11a9acea2a217b1ef6bd0f1e938d49d7c0735311 SHA512 934d5a308ae6c25e34e437c773ed71d12ac146555848a21855116a848768edd8c4e30e1d789c20a75e8c89f2b5a586c75d9ef122a70e83206848919c7c275be5 +AUX fishsupper-0.1.6-gcc6.patch 1730 BLAKE2B 41317933789d096b9b00a184e15df47b8daf946e9730e6688895497a94bf3efe7d96adf1a39b016dd9874b97a2721472fe98650732689464283495e817d76223 SHA512 9dfaf5c9a5a9554c87e93a3876cb9fb858a638b2ead10a3a10e4c9d8a68fca1608f08c1920d506aa09bc2c965c93ffc748ef3b4e3dad3b24bb86bd1481703d48 +AUX fishsupper-0.1.6-ovflfix.patch 308 BLAKE2B 16d9956ad39c518c171a7d99151853329c0fe76a092494a04d0e4f549819fa07f29a4bc01cd0dcfac104c3dc1df9e25c835dec7fb834b8b9ded24b742e56dda9 SHA512 75501a6ca44c510d73859d4339ee041e71dd3d0bbde3e071cfe438b014b515e868e8788d14ddef461b6402c8ef6c67c14bc3ad94e9a06a553c3aadbba602013a +DIST fishsupper-0.1.6.tar.gz 1136893 BLAKE2B f07e5cc8fcfef4547fe2af029db1472ab0299fb5267e8f3a4fb29b9aa2cb39115101c217f509f35a4dc81a0e4f6c72f70bb2102c74c7c45981ced4e50230cd5c SHA512 a6b3df47010e8ac186ff4446db3659fd9173e9e3fc973ab376eed46da9cd13f7a4c0c02b25f3427232252e7fe5728036fa91ea773affe0948387a56f617fc7af +EBUILD fishsupper-0.1.6-r1.ebuild 835 BLAKE2B 47a77e1bbbd699277c5c29f9909041d613f4ef08d880f3babe1a1d8189b476c91e719dbc407cc83f6439c85f7b9592c59a550e3dbc23f4781e068e14495510ca SHA512 6097c550acfb2518cfd78937175a61ea6b3ef461aedf5c5618cb68a1bdccc5807143d33c1bad0df6abfffd0e0cf9aa5f751e240e16ce513b26ae269cbfc2c311 +MISC metadata.xml 333 BLAKE2B de23175a8ff9c7bd8f8e2d59072017d790d2594882ac5963acdf28e4bab252152c01754cf9c3b57122dbc37fc857f2e749bbc52333700d25b43ac4b0b1ecd165 SHA512 6a3a977950808ae8b79c2c34c17fe8e1dd9ae21b9f9a43a2f2808931a4569042825f381d4c10024480eb2e2635893de8433eacf94f5f755d086285e3fe6770b3 diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch new file mode 100644 index 000000000000..eae5ca15921a --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-asneeded.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am.old 2012-06-24 18:47:58.947143638 +0200 ++++ b/src/Makefile.am 2012-06-24 18:51:35.738921904 +0200 +@@ -1,7 +1,7 @@ + AM_CPPFLAGS = -DPKG_DATA_DIR=\"$(pkgdatadir)\" \ + @SDL_CFLAGS@ \ + -Wall +-AM_LDFLAGS = @SDL_LIBS@ ++LDADD = @SDL_LIBS@ + + bin_PROGRAMS = fishsupper + diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch new file mode 100644 index 000000000000..3ca63cb4a68b --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-gcc6.patch @@ -0,0 +1,49 @@ +Bug: https://bugs.gentoo.org/610660 + +--- a/src/Settings_screen.cpp ++++ b/src/Settings_screen.cpp +@@ -217,3 +217,7 @@ + + // ************************************************** + ++const float FS::Settings_screen::bold = 1.0; ++const float FS::Settings_screen::faded = 0.2; ++ ++// ************************************************** +--- a/src/Settings_screen.h ++++ b/src/Settings_screen.h +@@ -71,8 +71,8 @@ + static const int tick1_x = 252; + static const int tick_y_offset = 33; + static const int sprite_texture_start = FS_gfx::JOYSTICK; +- static const float bold = 1.0; +- static const float faded = 0.2; ++ static const float bold; ++ static const float faded; + + Settings* settings_ptr; + int current_option; +--- a/src/Star_particle_system.cpp ++++ b/src/Star_particle_system.cpp +@@ -137,6 +137,10 @@ + } // FS::Star_particle_system::launch_new_star + + // ************************************************** ++ ++const float FS::Star_particle_system::lifespan = 1500.0; ++ ++// ************************************************** + // ************************************************** + // ************************************************** + // ************************************************** +--- a/src/Star_particle_system.h ++++ b/src/Star_particle_system.h +@@ -77,7 +77,7 @@ + static const int STAR_WIDTH = 30; + static const int STAR_HEIGHT = 30; + // This is a float so that we get floating-point division in update. +- static const float lifespan = 1500.0; // in ms ++ static const float lifespan; // in ms + + // A particle is basically a lightweight sprite. + // Unlike a usual sprite, we don't need to worry about diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch new file mode 100644 index 000000000000..2be91b65a16d --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-ovflfix.patch @@ -0,0 +1,11 @@ +--- a/src/main.cpp.old 2012-06-24 18:35:27.661894094 +0200 ++++ b/src/main.cpp 2012-06-24 18:35:41.041954632 +0200 +@@ -293,7 +293,7 @@ + + if (!ok) + { +- fs_dir = new char[ strlen(".") ]; ++ fs_dir = new char[ strlen(".") + 1]; + strcpy(fs_dir, "."); + } // if ... else + diff --git a/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild new file mode 100644 index 000000000000..e73b4a0b1d7d --- /dev/null +++ b/games-arcade/fishsupper/fishsupper-0.1.6-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="A simple arcade/puzzle game, loosely based on the retro classic Frogger" +HOMEPAGE="https://sourceforge.net/projects/fishsupper/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="CC-BY-SA-2.5 GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl[sound,video,opengl,X] + media-libs/sdl-image[png] + media-libs/sdl-mixer[wav] + virtual/opengl +" +DEPEND="${RDEPEND} + dev-libs/boost +" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-ovflfix.patch \ + "${FILESDIR}"/${P}-asneeded.patch \ + "${FILESDIR}"/${P}-gcc6.patch + eautoreconf +} + +src_install() { + default + newicon data/images/fs_sprite_042.png ${PN}.png + make_desktop_entry ${PN} "Fish Supper" +} diff --git a/games-arcade/fishsupper/metadata.xml b/games-arcade/fishsupper/metadata.xml new file mode 100644 index 000000000000..06f43265c42e --- /dev/null +++ b/games-arcade/fishsupper/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">fishsupper</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/frozen-bubble-2.2.1_beta1-r1 b/games-arcade/frozen-bubble-2.2.1_beta1-r1 deleted file mode 100644 index bf33172e71f1..000000000000 --- a/games-arcade/frozen-bubble-2.2.1_beta1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare test -DEPEND=>=dev-lang/perl-5.12 dev-libs/glib:2 >=dev-perl/Alien-SDL-1.413 dev-perl/Compress-Bzip2 dev-perl/File-ShareDir dev-perl/File-Slurp dev-perl/File-Which dev-perl/IPC-System-Simple >=dev-perl/SDL-2.511 media-libs/sdl-image[gif,png] media-libs/sdl-mixer[vorbis] media-libs/sdl-pango media-libs/sdl-ttf virtual/libiconv virtual/perl-Getopt-Long virtual/perl-IO virtual/pkgconfig dev-perl/Locale-Maketext-Lexicon virtual/perl-ExtUtils-CBuilder virtual/perl-ExtUtils-ParseXS dev-perl/Module-Build >=sys-apps/sed-4 dev-lang/perl:= -DESCRIPTION=A Puzzle Bubble clone written in perl (now with network support) -EAPI=6 -HOMEPAGE=http://www.frozen-bubble.org/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=dev-lang/perl-5.12 dev-libs/glib:2 >=dev-perl/Alien-SDL-1.413 dev-perl/Compress-Bzip2 dev-perl/File-ShareDir dev-perl/File-Slurp dev-perl/File-Which dev-perl/IPC-System-Simple >=dev-perl/SDL-2.511 media-libs/sdl-image[gif,png] media-libs/sdl-mixer[vorbis] media-libs/sdl-pango media-libs/sdl-ttf virtual/libiconv virtual/perl-Getopt-Long virtual/perl-IO dev-lang/perl:= -SLOT=0 -SRC_URI=http://www.frozen-bubble.org/data/frozen-bubble-2.2.1-beta1.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 perl-functions 01e8c68d5a528bbcda4d3c60205983df perl-module 863b35d127db98823d439f8d73c2d011 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=4dd24c11237a97b45ff2a91a8923c153 diff --git a/games-arcade/frozen-bubble/Manifest b/games-arcade/frozen-bubble/Manifest new file mode 100644 index 000000000000..7c1cff27837b --- /dev/null +++ b/games-arcade/frozen-bubble/Manifest @@ -0,0 +1,5 @@ +AUX frozen-bubble-2.2.1_beta1-Werror.patch 734 BLAKE2B fae9324386d2b0a185dc201970a7157bd2effee029f220ec4d0fc3e502fc712182a4edef0c02cbe0a59809c359ba6ccb70ee235837f4cafecb5950f2583ee1d5 SHA512 37f9f3f6e070a1f7af818f36ab2f9fb542937bd8034a42d962f34c80011b5c9f7fbef94b4ff065ca8a732e5a78615968108637c09a63c775518d9b7ebeea1b2e +AUX frozen-bubble-2.2.1_beta1-fix-buffer-size.patch 2787 BLAKE2B fa2194d333263f3b521d971c95498d86838bf1188bf4d049a52a83d9afb6e42debd6736c021e35859b11a1283612eecd468ae81fddc4a3331b55a79e6bd47c90 SHA512 413012993a3f9cf16f4db1b66dec1b87c5a62c5b8e8fabb9d4bd689dea935e71ce9c12b213cd0687f2d6f106828d90486d84258385da778122ad6c8e6a61e23c +DIST frozen-bubble-2.2.1-beta1.tar.bz2 22424798 BLAKE2B 70d23961c45e10cca38afcd7bdbf407dcefde1248af87df7768fe99fc0d926740096942007ba871d57db6095f3ca4bfa126f30ab60514ba3c6eb5fb7759d96aa SHA512 a5d1432195bc41b2823678986fe71223acf5c740636a871758e6337072c74a84bca7aa7088af7b299586e4e261521ae0b3341805692ab684d93e85f52174b1ac +EBUILD frozen-bubble-2.2.1_beta1-r1.ebuild 1714 BLAKE2B 31329a6a2f4e350ca79f67b5ac1800318127a4a4b88bb84ec2775a141fbfa943cec9e8625a7b725227a4fbdb43d6e43c7f9595cf643724c5709d6f4d6f9f4066 SHA512 aaf0b5701a8a8a79bb306fa34cf24b2d665c604fbbb885940704618c38bbe449259f0f5a3529c7d26fab5816b795a473d9ec8c194e6cb4ba5e5c3036909f92cc +MISC metadata.xml 540 BLAKE2B 63ce258abd43c328f0837722d96017f63013cf9135e33e0767a5bd2998d24133d3600ea8cd71d1a51bf5a6b80fa07073874d1f28b9168c36671f15ab72af56ae SHA512 71aabe570ce8682e1d3b9ee9fc2c8c9efd06eef8f33623310180e811fbf06b4a9d0456cf2ea78bda6cbd69a208f8abf1dac3855bcbf41aa121b7acbb4ba33ccc diff --git a/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-Werror.patch b/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-Werror.patch new file mode 100644 index 000000000000..0573e50fee94 --- /dev/null +++ b/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-Werror.patch @@ -0,0 +1,15 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Feb 10 14:48:58 UTC 2013 +Subject: remove Werror compiler flag wrt #456654 + +--- a/inc/My/Builder.pm ++++ b/inc/My/Builder.pm +@@ -123,7 +123,7 @@ + push @ofiles, $cbuilder->compile( + source => catfile($server_directory, $cfile), + extra_compiler_flags => [ +- qw(-g -Wall -Werror -pipe), # verbatim from Makefile ++ qw(-Wall), # verbatim from Makefile + '-I' . $server_directory, # does not seem to be necessary + $cbuilder->split_like_shell(`pkg-config glib-2.0 --cflags`), + $cbuilder->split_like_shell(`pkg-config glib-2.0 --libs`), diff --git a/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-fix-buffer-size.patch b/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-fix-buffer-size.patch new file mode 100644 index 000000000000..b1b3bfcb1edb --- /dev/null +++ b/games-arcade/frozen-bubble/files/frozen-bubble-2.2.1_beta1-fix-buffer-size.patch @@ -0,0 +1,69 @@ +From aa2ce32185b4477e659ed7c70d09c440610ef67b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> +Date: Fri, 2 Feb 2018 12:44:15 +0100 +Subject: [PATCH] Fix buffer size when formatting current date +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +gcc-8 and glibc-2.26.9000 reports this error: + +server/log.c:64:54: error: '%03d' directive output may be truncated writing between 3 and 11 bytes into a region of size between 0 and 49 [-Werror=format-truncation=] + snprintf(current_date, sizeof(current_date), "%s.%03d", buf, (int)(1000 * (time-seconds))); + ^~~~ + +This patch fixes two mistakes in the get_current_date() function: + +First strftime() can fail and then buf content is undefined. The patch +makes sure the buf content is properly null-termited. + +Second if strftime() uses up the the whole buf array, no space will be +left for appending miliseconds to current_date value in the subsequent +snprintf() call. The patch increases current_data size so that things +will always fit. + +In reality, all this should not matter because sane strftime() will +return fixed-lenght string. But for all the cases and for sake of the +compiler check this patch should be applied. + +Signed-off-by: Petr PÃsaÅ™ <ppisar@redhat.com> +--- + server/log.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/server/log.c b/server/log.c +index 2fe7b7c..f696752 100644 +--- a/server/log.c ++++ b/server/log.c +@@ -52,15 +52,17 @@ double get_current_time_exact(void) + return (double) now.tv_sec + now.tv_usec / 1e6; // bad bad idea to use float as precision is not down to the seconds then + } + +-char current_date[50]; ++char current_date[70]; + char* get_current_date(void) + { + struct tm * lt; + char buf[50]; + double time = get_current_time_exact(); + time_t seconds = (time_t)time; ++ size_t length; + lt = localtime(&seconds); +- strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", lt); ++ length = strftime(buf, sizeof(buf), "%Y-%m-%d %H:%M:%S", lt); ++ buf[length] = '\0'; + snprintf(current_date, sizeof(current_date), "%s.%03d", buf, (int)(1000 * (time-seconds))); + return current_date; + } +diff -up frozen-bubble-2.2.1-beta1/server/log.h~ frozen-bubble-2.2.1-beta1/server/log.h +--- frozen-bubble-2.2.1-beta1/server/log.h~ 2010-08-07 15:36:27.000000000 +0200 ++++ frozen-bubble-2.2.1-beta1/server/log.h 2018-02-08 14:09:52.472451694 +0100 +@@ -23,7 +23,7 @@ + time_t get_current_time(void); + double get_current_time_exact(void); + +-extern char current_date[50]; ++extern char current_date[70]; + char* get_current_date(void); + + enum output_types { OUTPUT_TYPE_DEBUG, OUTPUT_TYPE_CONNECT, OUTPUT_TYPE_INFO, OUTPUT_TYPE_ERROR }; diff --git a/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild new file mode 100644 index 000000000000..9315ab5159ba --- /dev/null +++ b/games-arcade/frozen-bubble/frozen-bubble-2.2.1_beta1-r1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +MY_P="${P/_/-}" + +inherit desktop gnome2-utils perl-module toolchain-funcs + +DESCRIPTION="A Puzzle Bubble clone written in perl (now with network support)" +HOMEPAGE="http://www.frozen-bubble.org/" +SRC_URI="http://www.frozen-bubble.org/data/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + >=dev-lang/perl-5.12 + dev-libs/glib:2 + >=dev-perl/Alien-SDL-1.413 + dev-perl/Compress-Bzip2 + dev-perl/File-ShareDir + dev-perl/File-Slurp + dev-perl/File-Which + dev-perl/IPC-System-Simple + >=dev-perl/SDL-2.511 + media-libs/sdl-image[gif,png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-pango + media-libs/sdl-ttf + virtual/libiconv + virtual/perl-Getopt-Long + virtual/perl-IO +" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-perl/Locale-Maketext-Lexicon + virtual/perl-ExtUtils-CBuilder + virtual/perl-ExtUtils-ParseXS + dev-perl/Module-Build +" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + perl-module_src_prepare + eapply "${FILESDIR}"/${P}-Werror.patch + eapply "${FILESDIR}"/${P}-fix-buffer-size.patch +} + +src_configure() { + LD=$(tc-getCC) perl-module_src_configure +} + +src_compile() { + LD=$(tc-getCC) perl-module_src_compile +} + +src_install() { + mydoc="AUTHORS Changes HISTORY README" perl-module_src_install + newdoc server/README README.server + newdoc server/init/README README.server.init + + local res + for res in 16 32 48 64; do + newicon -s ${res} share/icons/frozen-bubble-icon-${res}x${res}.png ${PN}.png + done + + make_desktop_entry ${PN} Frozen-Bubble +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/frozen-bubble/metadata.xml b/games-arcade/frozen-bubble/metadata.xml new file mode 100644 index 000000000000..7f5d7f12567e --- /dev/null +++ b/games-arcade/frozen-bubble/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> +Full-featured, colorful animated penguin eyecandy, 100 levels of 1p game, hours and hours of +2p game, a level-editor, 3 professional quality 20-channels music tracks, 15 stereo sound +effects, 7 unique graphical transition effects. + +You need this game. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/funnyboat-1.5-r2 b/games-arcade/funnyboat-1.5-r2 deleted file mode 100644 index 888feef04681..000000000000 --- a/games-arcade/funnyboat-1.5-r2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=install postinst postrm preinst setup -DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] app-arch/unzip >=sys-apps/sed-4 -DESCRIPTION=A side scrolling shooter game starring a steamboat on the sea -EAPI=6 -HOMEPAGE=http://funnyboat.sourceforge.net/ -IUSE=python_targets_python2_7 -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 MIT -RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] >=dev-python/pygame-1.6.2[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] -REQUIRED_USE=python_targets_python2_7 -SLOT=0 -SRC_URI=mirror://sourceforge/funnyboat/funnyboat-1.5-src.zip -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=213ec935db304147d1c7cb7ffac3acc2 diff --git a/games-arcade/funnyboat/Manifest b/games-arcade/funnyboat/Manifest new file mode 100644 index 000000000000..5687f30dd70e --- /dev/null +++ b/games-arcade/funnyboat/Manifest @@ -0,0 +1,3 @@ +DIST funnyboat-1.5-src.zip 3839990 BLAKE2B 30576f2bb20a236d518a5aca1b173d0e6f876a8411eef87d85950059536b3c6f1801b6f5a498d854ce6f390911ecc3a604f3c9bd438692943721b064f9c6d708 SHA512 7d38070e73825602d6f0a82e810fe8937fe919ce12f6e802ee25147ca1a2333c2b90821d92e20b8e071070505099bf9ec562e8c7b8cd8d241c3021b840e707cc +EBUILD funnyboat-1.5-r2.ebuild 1022 BLAKE2B 4a331176a7aa4fcd8c1499a770bbdf1e72d0250b7d105e919cd78fd57085ead0a28b97d2e8b9f0f30e0c8c825f8c7837fc646a68b1e4b0138527c774149e2d13 SHA512 ac6255baed93c06813c03ccd503a79e6085bbf693488574491369b191a57bafe56703665613d6c9e696760a332b702a4df05c2e7d8fa162928ec1af154058bb8 +MISC metadata.xml 332 BLAKE2B 0f043d28ad918706a08b16364c276af4e7cb3c7f686d799ccf40e54a673d87eceb011a1c72bff3332ce2ca2a9ea62268365f00c26b5bbc5d1f0f4a367522441f SHA512 840d32294f544c648307a82c390a64aea38a6f2931734e377d576ceff26047d9dbff9486d60b0164570a4826fbd148a5af14528c336aa41c4ad6dd51790095b7 diff --git a/games-arcade/funnyboat/funnyboat-1.5-r2.ebuild b/games-arcade/funnyboat/funnyboat-1.5-r2.ebuild new file mode 100644 index 000000000000..64866dc95d95 --- /dev/null +++ b/games-arcade/funnyboat/funnyboat-1.5-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils gnome2-utils python-single-r1 + +DESCRIPTION="A side scrolling shooter game starring a steamboat on the sea" +HOMEPAGE="http://funnyboat.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" + +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=dev-python/pygame-1.6.2[${PYTHON_USEDEP}]" +DEPEND="${DEPEND} + app-arch/unzip" + +S="${WORKDIR}/${PN}" + +src_install() { + insinto /usr/share/${PN} + doins -r data *.py + python_optimize "${ED%/}"/usr/share/${PN} + + dodoc *.txt + + make_wrapper ${PN} "${EPYTHON} main.py" /usr/share/${PN} + + newicon -s 32 data/kuvake.png ${PN}.png + make_desktop_entry ${PN} "Trip on the Funny Boat" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/funnyboat/metadata.xml b/games-arcade/funnyboat/metadata.xml new file mode 100644 index 000000000000..5d2ebb097195 --- /dev/null +++ b/games-arcade/funnyboat/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">funnyboat</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/gav-0.9.0-r1 b/games-arcade/gav-0.9.0-r1 deleted file mode 100644 index e19b13b0dbc8..000000000000 --- a/games-arcade/gav-0.9.0-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=media-libs/sdl-image[jpeg,png] media-libs/sdl-net media-libs/libsdl[joystick,video] -DESCRIPTION=GPL Arcade Volleyball -EAPI=6 -HOMEPAGE=http://gav.sourceforge.net/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/sdl-image[jpeg,png] media-libs/sdl-net media-libs/libsdl[joystick,video] -SLOT=0 -SRC_URI=mirror://sourceforge/gav/gav-0.9.0.tar.gz mirror://gentoo/fabeach.tgz mirror://gentoo/florindo.tgz mirror://gentoo/inverted.tgz mirror://gentoo/naive.tgz mirror://gentoo/unnamed.tgz mirror://gentoo/yisus.tgz mirror://gentoo/yisus2.tgz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=93cb214a464f9c35223c91f019136ab1 diff --git a/games-arcade/gav/Manifest b/games-arcade/gav/Manifest new file mode 100644 index 000000000000..eb00599926d9 --- /dev/null +++ b/games-arcade/gav/Manifest @@ -0,0 +1,12 @@ +AUX gav-0.9.0-gcc43.patch 205 BLAKE2B c0f25a3f0eed1ca502a349f212bdc2609404721d500cada1b048459adda9fd4242a1e9fef5e8bb5b31feb944fb643aabbc442c31205e1a888a510d4a1e5fa5af SHA512 bce41254f527e007fb44d8616ab2cfce7f55236bb23cc9d456b8757e7521f38ad2926617a996c9b6677d91cbc3cfcd8eb1c4f43cdf53861d946cd53115761b2b +AUX gav-0.9.0-ldflags.patch 750 BLAKE2B ef3184794f42513fbe582c48b1b82d0c33b71fb8f72d709ff187ee2f247a509eb332561de786e94c62b64ce0f2ca51a342870365db8eeda82ea04a99f902093d SHA512 95239c11a59311920d255449bb5ed40c962ab331bc705b1107a42d18b6581aa800c7c08562d0887f844bb231c87d639ec087b925f8ffc44a4e20dd63a3fd6a5a +DIST fabeach.tgz 163750 BLAKE2B d5cf3ef38925515caae67d78bc1623bd1ee5669d1d25d122023bbfe1deb59ef7f12859d4bcac95bc43f3a3c4b88208742b91b3acb73a16945f0e8356059a8e6a SHA512 c0ce8e20a2bece7beeb66a036abcffa1394fcddc0aa255fe244e86548b2c0d7ec4a72a903f2108a44e84590d9986ee6729d67e5ec103b867bbde01772d524978 +DIST florindo.tgz 175052 BLAKE2B 5c03691265fec40b3a20903383f070ccfe8527e06cb18cf5e65f32fcf16d17e8e6e56890790802ffeb9262f9933291a0bb1ca22c38f54cbcd5a00e346b4304b7 SHA512 91a42c209d9370f42a7918ea0b6b63ed9c2dcacdbf3051dc2535293b2e2a9b1b53795a7db476fd5c7b3da9682b5ddaf8a2ceab50bc4bdeefde33416de82197dc +DIST gav-0.9.0.tar.gz 137729 BLAKE2B 15b27ed4019dd9306e629721e59c075b2189c180cc5b4ec866ce1007578ca9e9f8a85bfcb1d22bb7fecd4a6b39b4c62c48ed7e9268e22475bced8c4c8c925a34 SHA512 e702269371dc8ed4ce4415a24a703ef6c3604af69f2e0c548a48f282d812b4f3f76f74cb36a6036889b9e3628b844d2fa41e2cfde5b0fe647bceadc64c087a9f +DIST inverted.tgz 35554 BLAKE2B 0bdd8ac39ec47ce9c3135cf3b59da1265726f5ea99ffbe9c64d05e314afa7bb26ea2c4ac87c5daa978c6ac9f2cdf2db6125aadac46437b9b8f4970459895f550 SHA512 a05bf4d580dcf509cfacf7bf8c8ab12e363dfcf646f24761daffd251bdaa15bc1df087b9d6618f70e1e6b17ac8bdbcaca18d6fe982938df2016dc4eaaafe0c04 +DIST naive.tgz 80169 BLAKE2B c2273b0056194d50ff7499c9440c0dd45175609bcb4ccab90957239e5c5230c845735a9b4963becdfa35a87aab33b2609bba38a00406a3c37e6c766a9dd5c225 SHA512 c962b4fa1dac20f1f1af46e816ed5fc1d46b58438391f1f496a24960a464b515ed296490bf113e5f6c428ea7f740e0bbc9d4343088f5a9da4c00909a5d584c9a +DIST unnamed.tgz 156406 BLAKE2B db88b9863ca309b9b3236dd5940642912cd4a7fd1584b842171b65033f8c47fcc6d0eb9185d3759059f4648442b446c47c0dac21c1cb37a07850703ca04f1996 SHA512 530084b5e49e40447cb68545fb4b01f837e74efa3bfb9a110f13037a7f6c135e23f9ed49837abe918a8b393226f90a2d206e5bfd2f4e60335ebf7bc4e8341673 +DIST yisus.tgz 131021 BLAKE2B b095277fdf33968b2b5d28b2e737a465a09f34b6c570d0bdb7e3be2a0c36d8d0ae4d62d14e427a139e035343faf6b1972677fa94c4aa4b787a3ce79ab3c0a137 SHA512 2494e10998bf73c369e6591edeca4c466dfdba1901ca69d96838e0310eb36c94690b9fd6df3c0aa91e0ac611ec414acf402f532145eb795a43e15406aed4c604 +DIST yisus2.tgz 117923 BLAKE2B 57770e7326cbe203aca03d37411c8f9267e9ebbd3a104d91e5e4519eb22439066bf8ef7a5eb46476103731faf0c9726eda74351c01a5ae50c6265db49409d2e6 SHA512 a063908230e9085536322481bf511cc3f3df3997d27dd83e9f976762670e2bdbebc634c2566549fe856ddc93302422cf8676147937d2cbbcf7262e722c999f4d +EBUILD gav-0.9.0-r1.ebuild 1485 BLAKE2B 50430334e0d1ce99ad94ba96222e6a0aafcab743d3a2d95a764400e8074526fb612145d1521b13fb745de490851944df6b16af39675dfd30814dffe6548df5da SHA512 54da3dc7b644b905280dc9a01ad482a091e4a7dce42acc304a21a899bf624de0ccfcf2253e123a4b9c4cef7f6959fd93f87e1d4d184b45a640b354856ca7b734 +MISC metadata.xml 326 BLAKE2B 8975ed6ba9c69a5ca31562e37d19841bd3e8ed53604b2d2dee7d188d510f167d8c154ae1337bf7195cdc9aca9badc3e86bf210e4fdc89016cb8b134660977845 SHA512 be67de8c13d7163c370e9f884dc50665720cd899c4f7d76859734751bf494f561a93fe344f04753180e27c0f854c4020dec2d9611f44d547c7b613aad705d9d7 diff --git a/games-arcade/gav/files/gav-0.9.0-gcc43.patch b/games-arcade/gav/files/gav-0.9.0-gcc43.patch new file mode 100644 index 000000000000..c9b8a6e588bf --- /dev/null +++ b/games-arcade/gav/files/gav-0.9.0-gcc43.patch @@ -0,0 +1,10 @@ +--- a/Configuration.cpp ++++ b/Configuration.cpp +@@ -25,6 +25,7 @@ + #include <stdlib.h> + #include <string> + #include <iostream> ++#include <cstring> + #include "Configuration.h" + #include "ControlsArray.h" + diff --git a/games-arcade/gav/files/gav-0.9.0-ldflags.patch b/games-arcade/gav/files/gav-0.9.0-ldflags.patch new file mode 100644 index 000000000000..dd49e6161660 --- /dev/null +++ b/games-arcade/gav/files/gav-0.9.0-ldflags.patch @@ -0,0 +1,26 @@ +--- a/CommonHeader.old 2010-10-12 13:08:23.000000000 +0200 ++++ b/CommonHeader 2010-10-12 13:08:48.000000000 +0200 +@@ -31,9 +31,9 @@ + endif + + ifdef NET +-LDFLAGS= `sdl-config --libs` -lSDL_image -lSDL_net -lm ++LDLIBS= `sdl-config --libs` -lSDL_image -lSDL_net -lm + else +-LDFLAGS= `sdl-config --libs` -lSDL_image -lm ++LDLIBS= `sdl-config --libs` -lSDL_image -lm + endif + + SRCS = $(wildcard *.cpp) +--- a/Makefile.Linux.old 2010-10-12 14:36:47.000000000 +0200 ++++ b/Makefile.Linux 2010-10-12 14:37:02.000000000 +0200 +@@ -38,8 +38,7 @@ + $(MAKE) -C $(@D:%_module.o=%) + + gav: $(ALL_OBJ) $(OFILES) +- $(CXX) -o gav $(OFILES) $(ALL_OBJ) $(LDFLAGS) +- strip gav ++ $(CXX) $(LDFLAGS) -o gav $(OFILES) $(ALL_OBJ) $(LDLIBS) + + clean: + for i in $(SUBDIRS) ; do \ diff --git a/games-arcade/gav/gav-0.9.0-r1.ebuild b/games-arcade/gav/gav-0.9.0-r1.ebuild new file mode 100644 index 000000000000..d039cac137a7 --- /dev/null +++ b/games-arcade/gav/gav-0.9.0-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="GPL Arcade Volleyball" +HOMEPAGE="http://gav.sourceforge.net/" +# the themes are behind a lame php-counter script. +SRC_URI="mirror://sourceforge/gav/${P}.tar.gz + mirror://gentoo/fabeach.tgz + mirror://gentoo/florindo.tgz + mirror://gentoo/inverted.tgz + mirror://gentoo/naive.tgz + mirror://gentoo/unnamed.tgz + mirror://gentoo/yisus.tgz + mirror://gentoo/yisus2.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/sdl-image[jpeg,png] + media-libs/sdl-net + media-libs/libsdl[joystick,video]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + local d + + eapply "${FILESDIR}"/${P}-ldflags.patch + + for d in . automa menu net ; do + cp ${d}/Makefile.Linux ${d}/Makefile || die "cp ${d}/Makefile failed" + done + + eapply "${FILESDIR}"/${P}-gcc43.patch + sed -i \ + -e "/^CXXFLAGS=/s: -g : ${CXXFLAGS} :" CommonHeader \ + || die "sed failed" + + # Now, move the additional themes in the proper directory + mv ../{fabeach,florindo,inverted,naive,unnamed,yisus,yisus2} themes + + # no reason to have executable files in the themes + find themes -type f -exec chmod a-x \{\} \; +} + +src_compile() { + # bug #41530 - doesn't like the hot parallel make action. + emake -C automa + emake -C menu + emake -C net + emake +} + +src_install() { + dodir /usr/bin + emake ROOT="${D}" install + insinto /usr/share/${PN} + doins -r sounds + einstalldocs +} diff --git a/games-arcade/gav/metadata.xml b/games-arcade/gav/metadata.xml new file mode 100644 index 000000000000..474d81b5edf8 --- /dev/null +++ b/games-arcade/gav/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">gav</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/gish-demo-1.6-r1 b/games-arcade/gish-demo-1.6-r1 deleted file mode 100644 index dc1c5ac16d78..000000000000 --- a/games-arcade/gish-demo-1.6-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DESCRIPTION=Play as an amorphous ball of tar that rolls and squishes around -EAPI=6 -HOMEPAGE=http://www.chroniclogic.com/gish.htm -KEYWORDS=-* ~amd64 ~x86 -LICENSE=all-rights-reserved -RDEPEND=media-libs/libsdl media-libs/libvorbis virtual/opengl x11-libs/libX11 >=media-libs/openal-1.6.372 -RESTRICT=mirror bindist strip -SLOT=0 -SRC_URI=http://www.chroniclogic.com/demos/gishdemo.tar.gz -> gish-demo-1.6.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=880a00b48c69ccc07d6290fba4f1bc7f diff --git a/games-arcade/gish-demo/Manifest b/games-arcade/gish-demo/Manifest new file mode 100644 index 000000000000..952d80898446 --- /dev/null +++ b/games-arcade/gish-demo/Manifest @@ -0,0 +1,3 @@ +DIST gish-demo-1.6.tar.gz 12712912 BLAKE2B bb482ba341e688056a45077d6a6832e13e1a9785cbefbb7e76b7875e9df22f33f324a515ca3465bb3f4c4a34d1577b5eddf5ff7793d35556958b3f11d81f9f7f SHA512 2d6f37b8a7971ada524c75bafcbe7e92fd3dbb96677774b0295aad2553e6094027f9b43da8318f20071679412f95dd66ab9738178ffec4f853cf1845d536a0a6 +EBUILD gish-demo-1.6-r1.ebuild 853 BLAKE2B 5b61acfa8fe5adc8bd4a13399e10eed2b892a3c5a27de3eed586087aa246c30c84239e4f4f84d6d89590ccc32ee62ea32489eaba819644731ab49c35f0300ba5 SHA512 65d510e99125d1154dbe0b7377428018bbcf660070676a753f23f9f07fc94b4389ac1e2067ce24190e5b86991c307107548174964ba2d95e177284e9f955dc4d +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild b/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild new file mode 100644 index 000000000000..1116e16d52ec --- /dev/null +++ b/games-arcade/gish-demo/gish-demo-1.6-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Play as an amorphous ball of tar that rolls and squishes around" +HOMEPAGE="http://www.chroniclogic.com/gish.htm" +SRC_URI="http://www.chroniclogic.com/demos/gishdemo.tar.gz -> ${P}.tar.gz" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="mirror bindist strip" +QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/gish" + +RDEPEND=" + media-libs/libsdl + media-libs/libvorbis + virtual/opengl + x11-libs/libX11 + >=media-libs/openal-1.6.372 +" +DEPEND="" + +S="${WORKDIR}/gishdemo" + +src_install() { + local dir=/opt/${PN} + local gishbin=gishdemo + use amd64 && gishbin=gishdemo_64 + + insinto "${dir}" + doins -r * + fperms +x "${dir}"/${gishbin} + make_wrapper gish ./${gishbin} "${dir}" + + einstalldocs +} diff --git a/games-arcade/gish-demo/metadata.xml b/games-arcade/gish-demo/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/gish-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-arcade/gnake-0.94b-r1 b/games-arcade/gnake-0.94b-r1 deleted file mode 100644 index ef1af15696f3..000000000000 --- a/games-arcade/gnake-0.94b-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=sys-libs/ncurses:0 virtual/pkgconfig -DESCRIPTION=An ncurses-based Nibbles clone -EAPI=6 -HOMEPAGE=http://lightless.org/gnake -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0 -SLOT=0 -SRC_URI=mirror://gentoo/Gnake.0.94b.tar.gz -_md5_=bdae1be3982434f3ae9a9ba573a7f8e4 diff --git a/games-arcade/gnake/Manifest b/games-arcade/gnake/Manifest new file mode 100644 index 000000000000..7269367d211e --- /dev/null +++ b/games-arcade/gnake/Manifest @@ -0,0 +1,3 @@ +DIST Gnake.0.94b.tar.gz 6656 BLAKE2B 2b230246b6dbb3ae9dcb3ed1dabf9f49c594180cb4e624e8e7cfb7c36823f64a0c60ec378773fea3fd1af5e036b8df98a3603b648e71f14a8e5523982aad5e83 SHA512 c5fb84cd8dc0a1b88f9eb6139f898515d109e2de0786284a4fa85f5efc0967ef02c2458d0e7f783d31fbd9a41e0f4114f7bd00717042ac9b2ca9ce4dc18e7fb7 +EBUILD gnake-0.94b-r1.ebuild 519 BLAKE2B c7cc497bd3fb9d48ebb788d08c7c9c2b71dc836dc33f8609eb2bae652e53ae683531d6ccdd8b12e5e6758564d6a78a4411853085a6e999c5cfbadaf9b5894f08 SHA512 4a37dfc20344b12c4b64d7d0d35224ed84a64de1e5b1cbfc42d2615e41101ff2148c67363a55f0c631ac4b8eaf4301cb98d44b2a551c7c0c678ecf0b6aa5c381 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/gnake/gnake-0.94b-r1.ebuild b/games-arcade/gnake/gnake-0.94b-r1.ebuild new file mode 100644 index 000000000000..a1cce857258b --- /dev/null +++ b/games-arcade/gnake/gnake-0.94b-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="An ncurses-based Nibbles clone" +HOMEPAGE="http://lightless.org/gnake" +SRC_URI="mirror://gentoo/Gnake.${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="sys-libs/ncurses:0" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}" + +src_compile() { + emake LDLIBS="$(pkg-config ncurses --libs)" gnake +} + +src_install() { + dobin gnake + einstalldocs +} diff --git a/games-arcade/gnake/metadata.xml b/games-arcade/gnake/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/gnake/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-arcade/gnome-nibbles-3.24.0 b/games-arcade/gnome-nibbles-3.24.0 deleted file mode 100644 index ab8237bfa150..000000000000 --- a/games-arcade/gnome-nibbles-3.24.0 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare -DEPEND=>=dev-libs/glib-2.40.0:2 dev-libs/libgee:0.8= dev-libs/libgnome-games-support:1 >=media-libs/clutter-1.22.0:1.0 >=media-libs/clutter-gtk-1.4.0:1.0 >=media-libs/libcanberra-0.26[gtk3] >=x11-libs/gtk+-3.18.0:3 || ( dev-lang/vala:0.36 dev-lang/vala:0.34 dev-lang/vala:0.32 ) app-text/yelp-tools dev-libs/appstream-glib >=dev-util/intltool-0.50.2 sys-devel/gettext virtual/pkgconfig >=app-portage/elt-patches-20170422 app-arch/xz-utils >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info -DESCRIPTION=Nibbles clone for Gnome -EAPI=6 -HOMEPAGE=https://wiki.gnome.org/Apps/Nibbles -KEYWORDS=amd64 x86 -LICENSE=GPL-3+ CC-BY-SA-3.0 -RDEPEND=>=dev-libs/glib-2.40.0:2 dev-libs/libgee:0.8= dev-libs/libgnome-games-support:1 >=media-libs/clutter-1.22.0:1.0 >=media-libs/clutter-gtk-1.4.0:1.0 >=media-libs/libcanberra-0.26[gtk3] >=x11-libs/gtk+-3.18.0:3 -SLOT=0 -SRC_URI=mirror://gnome/sources/gnome-nibbles/3.24/gnome-nibbles-3.24.0.tar.xz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vala 103e6885c83965507391cdc5b6fa0e67 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=8bdcd524038763103f29814d5eb5012a diff --git a/games-arcade/gnome-nibbles/Manifest b/games-arcade/gnome-nibbles/Manifest new file mode 100644 index 000000000000..9a2d53986c6c --- /dev/null +++ b/games-arcade/gnome-nibbles/Manifest @@ -0,0 +1,3 @@ +DIST gnome-nibbles-3.24.0.tar.xz 1614604 BLAKE2B 04ba4f761bf21af466cb7761a8d7ac511f92871548df9e8ff8950efe6ea95c3674e00360dc9c3e02ce670dc66ae7639094c9c8c53fe0a0134089db976976ce99 SHA512 716a79541fa8dd0f86cce5bc211574d4ad50f762bb2b74a2881ad4adcdde47520784f67672e2da3fb33fbc60928d710a2afebb8997d6dd10f633289e0d8163b7 +EBUILD gnome-nibbles-3.24.0.ebuild 753 BLAKE2B 565574cace28e1371697bd7feae61748410817f7429efef86021708a04237e6ac697b15a90f9649a96a68646628d76861e20d580124e0aba772b4d05a1079a5a SHA512 9025a2dc26d2e6ffb63803b89a9a632dc6d79f77ce69fba88d8bdcf3d0e9179bbc4266958cc32d7ae2c05e4f8f893d40b733ff563786f30b5e2655ad9b4a22b4 +MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/games-arcade/gnome-nibbles/gnome-nibbles-3.24.0.ebuild b/games-arcade/gnome-nibbles/gnome-nibbles-3.24.0.ebuild new file mode 100644 index 000000000000..73d8d93cec93 --- /dev/null +++ b/games-arcade/gnome-nibbles/gnome-nibbles-3.24.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 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="Nibbles clone for Gnome" +HOMEPAGE="https://wiki.gnome.org/Apps/Nibbles" + +LICENSE="GPL-3+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2 + dev-libs/libgee:0.8= + dev-libs/libgnome-games-support:1 + >=media-libs/clutter-1.22.0:1.0 + >=media-libs/clutter-gtk-1.4.0:1.0 + >=media-libs/libcanberra-0.26[gtk3] + >=x11-libs/gtk+-3.18.0:3 +" +DEPEND="${RDEPEND} + $(vala_depend) + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50.2 + sys-devel/gettext + virtual/pkgconfig +" + +src_prepare() { + gnome2_src_prepare + vala_src_prepare +} diff --git a/games-arcade/gnome-nibbles/metadata.xml b/games-arcade/gnome-nibbles/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-arcade/gnome-nibbles/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-arcade/gnome-robots-3.22.3 b/games-arcade/gnome-robots-3.22.3 deleted file mode 100644 index 2ea97990af04..000000000000 --- a/games-arcade/gnome-robots-3.22.3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare -DEPEND=>=dev-libs/glib-2.32:2 dev-libs/libgnome-games-support:1 >=gnome-base/librsvg-2.36.2:2 >=media-libs/libcanberra-0.26[gtk3] >=x11-libs/gtk+-3.15:3 app-text/yelp-tools dev-libs/appstream-glib >=dev-util/intltool-0.50 sys-devel/gettext virtual/pkgconfig >=app-portage/elt-patches-20170422 app-arch/xz-utils >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info -DESCRIPTION=Avoid the robots and make them crash into each other -EAPI=6 -HOMEPAGE=https://wiki.gnome.org/Apps/Robots -KEYWORDS=amd64 x86 -LICENSE=GPL-3+ CC-BY-SA-3.0 -RDEPEND=>=dev-libs/glib-2.32:2 dev-libs/libgnome-games-support:1 >=gnome-base/librsvg-2.36.2:2 >=media-libs/libcanberra-0.26[gtk3] >=x11-libs/gtk+-3.15:3 -SLOT=0 -SRC_URI=mirror://gnome/sources/gnome-robots/3.22/gnome-robots-3.22.3.tar.xz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=9642cede293a0fd41cd9888cbf14072b diff --git a/games-arcade/gnome-robots/Manifest b/games-arcade/gnome-robots/Manifest new file mode 100644 index 000000000000..71f0beec25bc --- /dev/null +++ b/games-arcade/gnome-robots/Manifest @@ -0,0 +1,3 @@ +DIST gnome-robots-3.22.3.tar.xz 540824 BLAKE2B 2f6943b97878d37da8c8a59cc7752b2c0eba35bc9eea1cf4b8a221fbae59ec4730af2ae71b25f2e946ee1edcabdb1a72a67cb1754350728b737fa26e3f9193e3 SHA512 d521527d9ceab16f4e3c64677044c87e46f38291ff126cc2280f69100750cb0317e6ad45e8a0abaa4dad38b67b958cac66653c33ba7760a410354f9190c02399 +EBUILD gnome-robots-3.22.3.ebuild 608 BLAKE2B 862f3d74b4608cca0fc24c879020ddfa4ce92cd7f3377784f3294a9164ee548b58c6e16d122debb1b666d66e81b8451fbf02c9b0a6065b45ae2858c72ed11ea1 SHA512 85d173f670859d9720ebcfb25f6a8a01520ab4bd465ae8502c52825a8d5df8e5e2c3f1c6e5bc5aac9b284b3b22d435056975882df28bef3fe273eeef2346c126 +MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 diff --git a/games-arcade/gnome-robots/gnome-robots-3.22.3.ebuild b/games-arcade/gnome-robots/gnome-robots-3.22.3.ebuild new file mode 100644 index 000000000000..6ed2c64fda21 --- /dev/null +++ b/games-arcade/gnome-robots/gnome-robots-3.22.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2 + +DESCRIPTION="Avoid the robots and make them crash into each other" +HOMEPAGE="https://wiki.gnome.org/Apps/Robots" + +LICENSE="GPL-3+ CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=dev-libs/glib-2.32:2 + dev-libs/libgnome-games-support:1 + >=gnome-base/librsvg-2.36.2:2 + >=media-libs/libcanberra-0.26[gtk3] + >=x11-libs/gtk+-3.15:3 +" +DEPEND="${RDEPEND} + app-text/yelp-tools + dev-libs/appstream-glib + >=dev-util/intltool-0.50 + sys-devel/gettext + virtual/pkgconfig +" diff --git a/games-arcade/gnome-robots/metadata.xml b/games-arcade/gnome-robots/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/games-arcade/gnome-robots/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-arcade/gnujump-1.0.8-r1 b/games-arcade/gnujump-1.0.8-r1 deleted file mode 100644 index 96fd2d24870b..000000000000 --- a/games-arcade/gnujump-1.0.8-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] virtual/opengl x11-libs/libX11 -DESCRIPTION=Xjump clone with added features -EAPI=6 -HOMEPAGE=http://gnujump.es.gnu.org -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer[vorbis] virtual/opengl x11-libs/libX11 -SLOT=0 -SRC_URI=mirror://gnu/gnujump/gnujump-1.0.8.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=82ad64e2486d47674ea130e82b28e5bc diff --git a/games-arcade/gnujump/Manifest b/games-arcade/gnujump/Manifest new file mode 100644 index 000000000000..c8e64b886727 --- /dev/null +++ b/games-arcade/gnujump/Manifest @@ -0,0 +1,3 @@ +DIST gnujump-1.0.8.tar.gz 2508641 BLAKE2B 2e6af8b316cedd37a0d8272ccafe548a62932bfede68bd8debc54d98ce3089c925192ae70f5fe9716fee0a82d3fe6b7cc3b8ca2d506abc2401138b5b7e7032d8 SHA512 fb8a06e17f700ea1e8c264b23a9f286d595cf48cc78efbe60ffdad298bc33ff0ecb2035a1db8281886614fbc8280d2b0c86a2099d55e31bff970f3b3c3caa421 +EBUILD gnujump-1.0.8-r1.ebuild 645 BLAKE2B 5dbdbd10b96b854afb47a197e6fc07cb3129089cc852a04761dbb1e9db2bdfc64a9e988f079272b2e051d9af29bed43e8df4c884644ba1565d80d21da38cadd3 SHA512 ac4c1e29b53b14caa68f636e1da28f16ccfbf94daf8417ecf79ce788cab4e8d10dbcd86d54950e8b5f8f38623f0b19d0fbf0877fbc4aeca409add52083c888c3 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/gnujump/gnujump-1.0.8-r1.ebuild b/games-arcade/gnujump/gnujump-1.0.8-r1.ebuild new file mode 100644 index 000000000000..271171a2cf0a --- /dev/null +++ b/games-arcade/gnujump/gnujump-1.0.8-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop flag-o-matic + +DESCRIPTION="Xjump clone with added features" +HOMEPAGE="http://gnujump.es.gnu.org" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[vorbis] + virtual/opengl + x11-libs/libX11 +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + append-libs -lm +} + +src_install() { + default + einstalldocs + + newicon skins/xjump/hero1.0.png ${PN}.png + make_desktop_entry ${PN} "GNUjump" +} diff --git a/games-arcade/gnujump/metadata.xml b/games-arcade/gnujump/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/gnujump/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-arcade/grande-KXL-0.6-r1 b/games-arcade/grande-KXL-0.6-r1 deleted file mode 100644 index 35eec3c8f1a8..000000000000 --- a/games-arcade/grande-KXL-0.6-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=dev-games/KXL >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=ZANAC type game -EAPI=6 -HOMEPAGE=http://triring.net/ps2linux/games/kxl/kxlgames.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=dev-games/KXL media-fonts/font-adobe-100dpi -SLOT=0 -SRC_URI=mirror://gentoo/grande-KXL-0.6.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=4a195d60a7a4f6113ffbdef6a63bda69 diff --git a/games-arcade/grande-KXL/Manifest b/games-arcade/grande-KXL/Manifest new file mode 100644 index 000000000000..95a4baa4d52f --- /dev/null +++ b/games-arcade/grande-KXL/Manifest @@ -0,0 +1,5 @@ +AUX grande-KXL-0.6-cflags.patch 387 BLAKE2B 6ea42eaaa8f3fc9d97b5de7c613f0998a7fb4b2088ef2d9949013a6d8b74e064c9913c9e8b4dda06650ea214902340d36b19d2545fa0366ddcba688fa433a797 SHA512 a330b5c8b97d941d13c90f5b78709df823d1242765890439a195f6788443c9d13bd5062399d1452eec9f311e6dd88e72d932398f99cdacaa94bc6d080550167c +AUX grande-KXL-0.6-configure.in.patch 407 BLAKE2B 4e743c52625cffcc44c95657d5dce6bb2c87b6c74e1f6838336210114b15d3aa66dca309673c075293dc8596e56d99d2dbbc1a0c05deaee007cc31026c1962e2 SHA512 a6c5b0c86b40bb8a2236e7df366a5da2510ead498d6648d5c0377f26151854ba99fec0fc0c37be011ca847ba752c135ea3996d5d3a15e5f4bd1d06c85f9fbf2f +DIST grande-KXL-0.6.tar.gz 240869 BLAKE2B a9109dd37d72ffcfd02b9f160acd89c17d5ae13d53948ecc79718f420cb3826491a6f6b024ca65a12ada76b24110f01a52f502db2de8a736f628eda5c0054a4d SHA512 17916e54b2b2bad25d789bc3d4f182f3f104fd4e5cf7b745bb9613f76ec04a2a3d2740ca89b507ecdb653f1d42b793115e76b5b34d53b96fec3d55574632b980 +EBUILD grande-KXL-0.6-r1.ebuild 729 BLAKE2B d5dbb090529b5f97b832d53ed3f78911271101592872ca5aa4817cdd1524a8210b8aafdb9f0b2f581d57dc7b6541d1daaee51050d15a1a3b6f6dbfee18c92901 SHA512 825f22c2358d13c1176dc6eb8d379e8291daf2c775c8daf5a7bbcdc76256d767efe7641484d46e5028ecc068b114e566d5ab610e3a1c76d5f76ac86c3e670a9d +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch b/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch new file mode 100644 index 000000000000..94f6ce759b75 --- /dev/null +++ b/games-arcade/grande-KXL/files/grande-KXL-0.6-cflags.patch @@ -0,0 +1,17 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Wed Aug 8 19:37:19 UTC 2012 +Subject: build system + +respect CFLAGS + +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -8,7 +8,7 @@ + + SUBDIRS = bmp wav stg + +-CFLAGS = @X_CFLAGS@ @KXL_CFLAGS@ @INST_FLAG@ @SCORE_FLAG@ ++AM_CFLAGS = @X_CFLAGS@ @KXL_CFLAGS@ @INST_FLAG@ @SCORE_FLAG@ + LIBS = @X_LIBS@ -lX11 @KXL_LIBS@ -lKXL + + install-data-local: diff --git a/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch b/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch new file mode 100644 index 000000000000..19fec93f61a5 --- /dev/null +++ b/games-arcade/grande-KXL/files/grande-KXL-0.6-configure.in.patch @@ -0,0 +1,17 @@ +--- a/configure.in ++++ b/configure.in +@@ -17,12 +17,8 @@ + AC_CHECK_HEADERS(unistd.h) + + dnl installation & score path +-if test "x${prefix}" = "xNONE"; then +- inst_path="${ac_default_prefix}/games/grande" +-else +- inst_path="${prefix}/games/grande" +-fi +-score_path="/var/games" ++inst_path="${datadir}/grande" ++score_path="${localstatedir}" + + dnl check if installation was disabled + AC_ARG_ENABLE( install, diff --git a/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild b/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild new file mode 100644 index 000000000000..899a615e6527 --- /dev/null +++ b/games-arcade/grande-KXL/grande-KXL-0.6-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools desktop + +DESCRIPTION="ZANAC type game" +HOMEPAGE="http://triring.net/ps2linux/games/kxl/kxlgames.html" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-games/KXL" +RDEPEND="${DEPEND} + media-fonts/font-adobe-100dpi" + +PATCHES=( + "${FILESDIR}"/${P}-configure.in.patch + "${FILESDIR}"/${P}-cflags.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + rm aclocal.m4 || die + eautoreconf +} + +src_install() { + dodir /var/lib + default + + newicon src/bmp/boss1.bmp ${PN}.bmp + make_desktop_entry grande Grande /usr/share/pixmaps/${PN}.bmp +} diff --git a/games-arcade/grande-KXL/metadata.xml b/games-arcade/grande-KXL/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/grande-KXL/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-arcade/gunocide2ex-1.0 b/games-arcade/gunocide2ex-1.0 deleted file mode 100644 index 6190017fd1a9..000000000000 --- a/games-arcade/gunocide2ex-1.0 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[video] media-libs/sdl-ttf media-libs/sdl-mixer[vorbis] -DESCRIPTION=fast-paced 2D shoot'em'up -EAPI=5 -HOMEPAGE=http://g2ex.sourceforge.net/ -KEYWORDS=~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-ttf media-libs/sdl-mixer[vorbis] games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/g2ex/g2ex-setup.run -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 unpacker 87633b2194cdb56adaa1f5a5c8862c44 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=4c962a3e92501cec0c8378651b0c50b8 diff --git a/games-arcade/gunocide2ex/Manifest b/games-arcade/gunocide2ex/Manifest new file mode 100644 index 000000000000..7e6ef920203d --- /dev/null +++ b/games-arcade/gunocide2ex/Manifest @@ -0,0 +1,5 @@ +AUX gunocide2ex-1.0-build.patch 5419 BLAKE2B 63ad2cb0bfb48a3d5dbca05135896663f2bc4326e9d8905f140e938054d31600ad2ac7fc6c8c765fd5c90d1faade9c27574d8a848d321269102bdbb9abd71854 SHA512 92c3c2c16b7c4e57e11d79827db349cfb3df20e09c89e7daf8fc178475ea64851f6d79fd259824fe8c98fbed4901c0189ead7f76d3f3c834080369d1231f9692 +AUX gunocide2ex-1.0-glibc2.10.patch 377 BLAKE2B 63fc32459bc8e9eae71e220ee109e0ad5337f6d2714c6e1abf8ed802abf177df109d8572f05064381de65c9f436e01738b3621cbfb61301df90754f6da155b3c SHA512 66c166995981d841ce9a0ee0d6e56d5cc09c3856ccf72abeb4e42457ab6773ca1fdb0000e8be15445152b628dc8719bcb38c0fff30a9602a3592f3f2b6484ada +DIST g2ex-setup.run 30844481 BLAKE2B 3d59d14e594c1f742d8f39098baeb68c4898f6d04aceefa1b6eeaf6c31378eda492b5984394c1b833e7b47b1360889e74f4e944fbf9721ac8f3456116bd469ca SHA512 e3c861843d88c3b09fa2e579d1be4b0590c04b7b401c7d592cf6b7150fc395445056ba599c0bc6f72ba7044cfc097070751d32bb66aa790e72e2b1c45407f2b2 +EBUILD gunocide2ex-1.0.ebuild 1621 BLAKE2B c3e2afb8399bdbf1c38b50ed6f6f34a70b80cfb51930cfb908338933000d7f2777c67b30299b1439fa71d04244f48c92f289911fa69596535825831f2d6b8de0 SHA512 d99245d55e2c8d5b481ae2c40fb582a50586f719723b2a76c356d69e60d111d12e2db796ff2154305fe54c2895664e6928f38c84c3879c0a0a4353c22b074d5c +MISC metadata.xml 327 BLAKE2B 78befc8fb90a335e458fc40d096a8dd59c04da0c72b039f7ad816d37693558514d77a40f9bbec5966aa611d2f323a1e12ac44b2dcefda015260e669f3e622887 SHA512 0ad645742ce134798ac8178d859ccdeedc9b060f7d5065b825ac9c9158130e7221c068264ce82e95f066294c045a9440a9aca241484115057ad3a709afad905f diff --git a/games-arcade/gunocide2ex/files/gunocide2ex-1.0-build.patch b/games-arcade/gunocide2ex/files/gunocide2ex-1.0-build.patch new file mode 100644 index 000000000000..9abce6c01a2b --- /dev/null +++ b/games-arcade/gunocide2ex/files/gunocide2ex-1.0-build.patch @@ -0,0 +1,178 @@ +diff -ur work.orig/src/cEffects.cpp work/src/cEffects.cpp +--- work.orig/src/cEffects.cpp 2002-01-12 16:19:00.000000000 -0500 ++++ work/src/cEffects.cpp 2009-06-10 18:14:27.000000000 -0400 +@@ -180,7 +180,6 @@ + {
+ if(!i->update())
+ i=lEffects.erase(i);
+- if(i==NULL)break;
+ }
+
+ for(p=lParticles.begin();p!=lParticles.end();++p)
+@@ -190,8 +189,6 @@ + if(!p->active())
+ {
+ p=lParticles.erase(p);
+- if(p==NULL)
+- break;
+ }
+ }
+
+diff -ur work.orig/src/cFont.cpp work/src/cFont.cpp +--- work.orig/src/cFont.cpp 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cFont.cpp 2009-06-10 18:19:15.000000000 -0400 +@@ -62,7 +62,7 @@ + }
+
+ ///lädt einen TTF-Font ein
+-bool cFont::load(char *path,int size)
++bool cFont::load(const char *path,int size)
+ {
+ font = TTF_OpenFont(path,size);
+ if(font==NULL)
+diff -ur work.orig/src/cFont.h work/src/cFont.h +--- work.orig/src/cFont.h 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cFont.h 2009-06-10 18:19:27.000000000 -0400 +@@ -34,7 +34,7 @@ + static void delInstance(); + static bool initttf(); + +- bool load(char *path,int size); ++ bool load(const char *path,int size); + void setcolor(int r,int g,int b); + void setshader(int r,int g,int b); + void print(SDL_Surface *screen,int posx,int posy,const char *fmt, ...); +diff -ur work.orig/src/cParticleSys.cpp work/src/cParticleSys.cpp +--- work.orig/src/cParticleSys.cpp 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cParticleSys.cpp 2009-06-10 18:14:27.000000000 -0400 +@@ -81,9 +81,6 @@ + if(time-p->getstarttime()>p->getlifetime()) + { + p=lParticles.erase(p); +- if(p==NULL) +- break; +- + } + } + +diff -ur work.orig/src/cSound.cpp work/src/cSound.cpp +--- work.orig/src/cSound.cpp 2002-01-12 16:27:34.000000000 -0500 ++++ work/src/cSound.cpp 2009-06-10 18:17:44.000000000 -0400 +@@ -92,7 +92,7 @@ + }
+
+ ///spielt eine ogg-datei ab
+-bool cSound::playogg(char *path)
++bool cSound::playogg(const char *path)
+ {
+ if(!sound_on)
+ return true;
+diff -ur work.orig/src/cSound.h work/src/cSound.h +--- work.orig/src/cSound.h 2002-01-08 12:30:57.000000000 -0500 ++++ work/src/cSound.h 2009-06-10 18:17:50.000000000 -0400 +@@ -35,7 +35,7 @@ + + bool init(); + void close(); +- bool playogg(char *path); ++ bool playogg(const char *path); + void stopogg(); + bool loadwav(int index,char *path); + void playwav(int index); +diff -ur work.orig/src/cSprite.cpp work/src/cSprite.cpp +--- work.orig/src/cSprite.cpp 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cSprite.cpp 2009-06-10 18:18:34.000000000 -0400 +@@ -29,7 +29,7 @@ + + ///lädt ein BMP in das image-Surface + ///gibt false zurück falls es schief geht +-bool cSprite::loadBMP(char *path) ++bool cSprite::loadBMP(const char *path) + { + image=SDL_LoadBMP(path); + if(!image) +@@ -73,4 +73,4 @@ + int cSprite::getheight() + { + return image->h; +-} +\ No newline at end of file ++} +diff -ur work.orig/src/cSprite.h work/src/cSprite.h +--- work.orig/src/cSprite.h 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cSprite.h 2009-06-10 18:18:44.000000000 -0400 +@@ -26,7 +26,7 @@ + cSprite(); + ~cSprite(); + +- bool loadBMP(char *path); ++ bool loadBMP(const char *path); + void render(SDL_Surface *screen,int x,int y); + void setColorKey(int r,int g,int b); + +diff -ur work.orig/src/cSpriteAnim.cpp work/src/cSpriteAnim.cpp +--- work.orig/src/cSpriteAnim.cpp 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cSpriteAnim.cpp 2009-06-10 18:20:09.000000000 -0400 +@@ -145,7 +145,7 @@ + }
+
+ ///einladen einer Animation aus einer Datei
+-bool cSpriteAnim::load(char *path)
++bool cSpriteAnim::load(const char *path)
+ {
+ FILE *file;
+ char buffer[512];
+@@ -248,4 +248,4 @@ + {
+ if(anim==NULL)return -1;
+ return gfx_sprite[anim->getAct()].getwidth();
+-} +\ No newline at end of file ++}
+diff -ur work.orig/src/cSpriteAnim.h work/src/cSpriteAnim.h +--- work.orig/src/cSpriteAnim.h 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cSpriteAnim.h 2009-06-10 18:20:16.000000000 -0400 +@@ -53,7 +53,7 @@ + cSpriteAnim(); + ~cSpriteAnim(); + +- bool load(char *path); ++ bool load(const char *path); + void setColorKey(int r,int g,int b); + void render(SDL_Surface *screen,cAnim *anim,int x,int y); + int getMaxNum(); +diff -ur work.orig/src/cUtil.cpp work/src/cUtil.cpp +--- work.orig/src/cUtil.cpp 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cUtil.cpp 2009-06-10 18:16:29.000000000 -0400 +@@ -85,7 +85,7 @@ + }
+
+ ///liest einen wert aus einer config-datei
+-char* cUtil::getconfigvalue(char *path,char *value)
++char* cUtil::getconfigvalue(const char *path,const char *value)
+ {
+ FILE *file;
+ char buffer[512];
+diff -ur work.orig/src/cUtil.h work/src/cUtil.h +--- work.orig/src/cUtil.h 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/cUtil.h 2009-06-10 18:16:39.000000000 -0400 +@@ -31,7 +31,7 @@ +
+ void updatetime();
+ float sync(float Faktor);
+- char* getconfigvalue(char *path,char *value);
++ char* getconfigvalue(const char *path,const char *value);
+ void drawpixel(SDL_Surface *screen, int x, int y,Uint8 R, Uint8 G,Uint8 B);
+ bool collision(SDL_Rect objekt1,SDL_Rect objekt2);
+
+diff -ur work.orig/src/mmgr.cpp work/src/mmgr.cpp +--- work.orig/src/mmgr.cpp 2002-01-02 07:57:46.000000000 -0500 ++++ work/src/mmgr.cpp 2009-06-10 18:14:23.000000000 -0400 +@@ -59,6 +59,7 @@ + #include <time.h>
+ #include <stdarg.h>
+ #include <new>
++using namespace std; +
+ #ifndef WIN32
+ #include <unistd.h>
diff --git a/games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch b/games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch new file mode 100644 index 000000000000..6b659c76a82d --- /dev/null +++ b/games-arcade/gunocide2ex/files/gunocide2ex-1.0-glibc2.10.patch @@ -0,0 +1,14 @@ +--- src/mmgr.cpp ++++ src/mmgr.cpp +@@ -228,9 +228,9 @@ +
+ static const char *sourceFileStripper(const char *sourceFile)
+ {
+- char *ptr = strrchr(sourceFile, '\\');
++ char *ptr = strrchr((char *)sourceFile, '\\');
+ if (ptr) return ptr + 1;
+- ptr = strrchr(sourceFile, '/');
++ ptr = strrchr((char *)sourceFile, '/');
+ if (ptr) return ptr + 1;
+ return sourceFile;
+ }
diff --git a/games-arcade/gunocide2ex/gunocide2ex-1.0.ebuild b/games-arcade/gunocide2ex/gunocide2ex-1.0.ebuild new file mode 100644 index 000000000000..6b208fb284eb --- /dev/null +++ b/games-arcade/gunocide2ex/gunocide2ex-1.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils unpacker toolchain-funcs games + +DESCRIPTION="fast-paced 2D shoot'em'up" +HOMEPAGE="http://g2ex.sourceforge.net/" +SRC_URI="mirror://sourceforge/g2ex/g2ex-setup.run" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-ttf + media-libs/sdl-mixer[vorbis]" +RDEPEND=${DEPEND} + +S=${WORKDIR} + +src_unpack() { + unpack_makeself + mkdir binary || die +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-build.patch \ + "${FILESDIR}"/${P}-glibc2.10.patch + edos2unix config.cfg + sed -i \ + -e "s:/usr/local/games/gunocide2ex/config\.cfg:${GAMES_SYSCONFDIR}/${PN}.cfg:" \ + -e "s:/usr/local/games/gunocide2ex/hscore\.dat:${GAMES_STATEDIR}/${PN}-hscore.dat:" \ + -e "s:memleaks.log:/dev/null:" \ + src/*.{h,cpp} || die + sed -i \ + -e "s:/usr/local/games:${GAMES_DATADIR}:" \ + src/*.{h,cpp} $(find gfx -name '*.txt') || die +} + +src_compile() { + cd src + emake CXXFLAGS="$CXXFLAGS $(sdl-config --cflags)" $(echo *.cpp | sed 's/\.cpp/.o/g') + $(tc-getCXX) ${CXXFLAGS} ${LDFLAGS} -o ${PN} *.o -lpthread -lSDL -lSDL_ttf -lSDL_mixer || die +} + +src_install() { + dogamesbin src/${PN} + dosym ${PN} "${GAMES_BINDIR}/g2ex" + insinto "${GAMES_DATADIR}/${PN}" + doins -r gfx sfx lvl credits arial.ttf + insinto "${GAMES_SYSCONFDIR}" + newins config.cfg ${PN}.cfg + insinto "${GAMES_STATEDIR}" + newins hscore.dat ${PN}-hscore.dat + dodoc history doc/MANUAL_DE + dohtml doc/manual_de.html + newicon g2icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Gunocide II EX" + prepgamesdirs +} diff --git a/games-arcade/gunocide2ex/metadata.xml b/games-arcade/gunocide2ex/metadata.xml new file mode 100644 index 000000000000..3ae017fcc5cc --- /dev/null +++ b/games-arcade/gunocide2ex/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">g2ex</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/holotz-castle-1.3.14-r1 b/games-arcade/holotz-castle-1.3.14-r1 deleted file mode 100644 index f90a01c75af3..000000000000 --- a/games-arcade/holotz-castle-1.3.14-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=virtual/opengl virtual/glu media-libs/sdl-mixer media-libs/libsdl media-libs/sdl-ttf media-libs/sdl-image -DESCRIPTION=2D platform game -EAPI=6 -HOMEPAGE=http://www.mainreactor.net/holotzcastle/en/index_en.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=virtual/opengl virtual/glu media-libs/sdl-mixer media-libs/libsdl media-libs/sdl-ttf media-libs/sdl-image -SLOT=0 -SRC_URI=http://www.mainreactor.net/holotzcastle/download/holotz-castle-1.3.14-src.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=e9507033825a9e09b040bb9c0a105e57 diff --git a/games-arcade/holotz-castle/Manifest b/games-arcade/holotz-castle/Manifest new file mode 100644 index 000000000000..61fa0df300c8 --- /dev/null +++ b/games-arcade/holotz-castle/Manifest @@ -0,0 +1,6 @@ +AUX holotz-castle-1.3.14-build.patch 2278 BLAKE2B 1fc9e92fcbce33277a9535becb700d8159db7dd66581efe87ed272399b67c704535422c6d3484d3e7480cb1934aaf5dd2704e401d9a867867817c02827ac540a SHA512 fd19155ff5f372306b987a4998b0ef9a3ae194bdc75c99d5f276cae50910fef5998dfd244c6ca4cae0b33741334d072876bff7710fabf365712531502345d101 +AUX holotz-castle-1.3.14-gcc44.patch 292 BLAKE2B 9a287237f52ef832839280134263a10c95752bdd131dc9340c1b2731c844f1af9e40785f1219816d1ac5bbdfde1e58013de8c960c3db400c50ab23a17bcdeece SHA512 89ea8aa06c23adc21a88031f02da88476e086ab9ee3147bee1a545cbc6a9b631de2d8b504b0b1b3081a3a62c11df7720ac124ceda788518937652f2ca5a2a118 +AUX holotz-castle-1.3.14-underlink.patch 540 BLAKE2B 443ee944d5f92d81fca16dd7d1ed450edb1e8bc9f93e97fc89dc40b30c8e99dcbd7035b20a11868c9575e3af3304369086c07dcbf012a4bc5d4c6cebca298705 SHA512 29d01cd2404018def02cc7bc44afb9752f7b6fe58f1f8dcf01ce6d41865eae663e26fa159206f55a1d70320aaf5a1556012c0fd0199fdb001f9257571b93d46d +DIST holotz-castle-1.3.14-src.tar.gz 3691364 BLAKE2B 82ec9336410634d5649eaabe55f69b4cce94d983b1713aa2e7472cec59cd7c1b843a4512a2e11b79c74cc869d96259ea9e21e4bd6d88ddbeeaf8437b63ab13b8 SHA512 129f15a51b13bc80ca068b1ec18cc4ae8bb5b80f11f852b81bff4492dab5bf4edbae714fcaafb197cdedf2b079070ab2f8750790b0b1680204ee7520f1d74576 +EBUILD holotz-castle-1.3.14-r1.ebuild 1157 BLAKE2B 09579ecdefcdab731b4002fe3421f8da07d4624017bf8be63400eedb35aceebb80d45341b210fd1cee18ae073221fb9acf4333f2933a473b0d365da1686df5ff SHA512 dc67b5ad93ae62a8f93084b72a64905a10555f6672a5af2dc19f3c5c802ced5e6b968daf35585119dfc454049f1be053ccf6285b4bbc8ce8eb7fffc0d6a26283 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.14-build.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-build.patch new file mode 100644 index 000000000000..cdf814546e1d --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-build.patch @@ -0,0 +1,71 @@ +--- a/JLib/Makefile ++++ b/JLib/Makefile +@@ -19,7 +19,7 @@ + endif + + # Define -D_JLIB_DEBUG to debug JLib. Compile the app to debug also with this flag +-CFLAGS=-I. -I/usr/local/include/SDL -O3 -ffast-math -fPIC -Wall -Wshadow `$(SDL_CONFIG) --cflags` ++CXXFLAGS+=-I. -Wall -Wshadow `$(SDL_CONFIG) --cflags` + + # Sample LDFLAGS for applications + # LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` +@@ -28,15 +28,14 @@ + + # JLib + libJLib: $(JLIB_OBJS) +- g++-4.1 -shared -L/usr/lib -fPIC -o $@.so $? \ +- && ar rvus $@.a $? \ ++ $(AR) rvus $@.a $? + + $(GRAPHICS)/%.o: $(GRAPHICS)/%.cpp +- g++-4.1 $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(UTIL)/%.o: $(UTIL)/%.cpp +- g++-4.1 $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + $(MATH)/%.o: $(MATH)/%.cpp +- g++-4.1 $(CFLAGS) -c -o $@ $< ++ $(CXX) $(CXXFLAGS) -c -o $@ $< + + .PHONY: install + install: +--- a/src/Makefile ++++ b/src/Makefile +@@ -30,7 +30,7 @@ + + DEFINES = -DHC_DATA_DIR=\"$(HC_DATA)\" -DHCED_DATA_DIR=\"$(HCED_DATA)\" + +-all: JLib HC HCed ++all: HC HCed + + HC_OBJ_MAIN=HolotzCastle.o + HC_OBJS=HCUtil.o HCTimer.o HCLoadSaveSlot.o HCPlaylist.o HCPreferences.o HCTheme.o HCText.o \ +@@ -42,23 +42,23 @@ + + # Definir -D_JLIB_DEBUG para debug con JLib. Ponerlo también en el Makefile de JLib. + # Define -D_JLIB_DEBUG for JLib debug mode. Put it also in JLib's Makefile. +-CFLAGS=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -I/usr/local/include/ -I/usr/local/include/SDL -O3 -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c +-LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` ++CXXFLAGS+=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -Wall -Wshadow ++LDLIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` + + + JLib: + $(MAKE) -C ../JLib; + + %.o: %.cpp %.h +- g++ $(CFLAGS) $(DEFINES) $< -o $@ ++ $(CXX) -c $(CXXFLAGS) $(DEFINES) $< -o $@ + + HC: $(HC_OBJS) $(HC_OBJ_MAIN) ../JLib/libJLib.a +- g++ $(LDFLAGS) $? -o $@;\ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $? $(LDLIBS);\ + mv HC ../holotz-castle + + # HCed (Holotz's Castle editor). + HCed: $(HC_OBJS) $(HCED_OBJ_MAIN) ../JLib/libJLib.a +- g++ $(LDFLAGS) $? -o $@;\ ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@ $? $(LDLIBS);\ + mv HCed ../holotz-castle-editor + + install: diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.14-gcc44.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-gcc44.patch new file mode 100644 index 000000000000..ecf9d5c32de9 --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-gcc44.patch @@ -0,0 +1,11 @@ +--- a/JLib/JLib/Util/JFS.cpp ++++ b/JLib/JLib/Util/JFS.cpp +@@ -887,7 +887,7 @@ + + // Si es un directorio lo importa recursivamente + struct dirent64 **namelist; +- n = scandir64(filename, &namelist, 0, alphasort); ++ n = scandir64(filename, &namelist, 0, alphasort64); + + if (n < 0) + { diff --git a/games-arcade/holotz-castle/files/holotz-castle-1.3.14-underlink.patch b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-underlink.patch new file mode 100644 index 000000000000..efcf379fb129 --- /dev/null +++ b/games-arcade/holotz-castle/files/holotz-castle-1.3.14-underlink.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.old 2011-06-22 06:09:53.195025702 +0200 ++++ b/src/Makefile 2011-06-22 06:10:54.774927134 +0200 +@@ -43,7 +43,7 @@ + # Definir -D_JLIB_DEBUG para debug con JLib. Ponerlo también en el Makefile de JLib. + # Define -D_JLIB_DEBUG for JLib debug mode. Put it also in JLib's Makefile. + CXXFLAGS+=-fno-strict-aliasing -I. -I../JLib `$(SDL_CONFIG) --cflags` -Wall -Wshadow +-LDLIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` ++LDLIBS=-L. -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` -lm -lz + + + JLib: diff --git a/games-arcade/holotz-castle/holotz-castle-1.3.14-r1.ebuild b/games-arcade/holotz-castle/holotz-castle-1.3.14-r1.ebuild new file mode 100644 index 000000000000..16ed5d364bad --- /dev/null +++ b/games-arcade/holotz-castle/holotz-castle-1.3.14-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop toolchain-funcs + +DESCRIPTION="2D platform game" +HOMEPAGE="http://www.mainreactor.net/holotzcastle/en/index_en.html" +SRC_URI="http://www.mainreactor.net/holotzcastle/download/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + virtual/opengl + virtual/glu + media-libs/sdl-mixer + media-libs/libsdl + media-libs/sdl-ttf + media-libs/sdl-image +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${P}-src" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-gcc44.patch + "${FILESDIR}"/${P}-underlink.patch +) + +src_compile() { + tc-export AR + emake -C JLib + emake -C src HC_BASE=/usr/share/${PN}/ +} + +src_install() { + dobin holotz-castle holotz-castle-editor + insinto /usr/share/${PN}/game + doins -r res/* + insinto /usr/share/${PN}/editor + doins -r HCedHome/res/* + newicon res/icon/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} "Holotz's Castle" /usr/share/pixmaps/${PN}.bmp + make_desktop_entry ${PN}-editor "Holotz's Castle - Editor" \ + /usr/share/pixmaps/${PN}.bmp + dodoc doc/MANUAL*.txt + doman man/*.6 +} diff --git a/games-arcade/holotz-castle/metadata.xml b/games-arcade/holotz-castle/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/holotz-castle/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-arcade/insaneodyssey-000311-r1 b/games-arcade/insaneodyssey-000311-r1 deleted file mode 100644 index 32fb71795bbf..000000000000 --- a/games-arcade/insaneodyssey-000311-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer media-libs/sdl-image -DESCRIPTION=Help West Muldune escape from a futuristic mental hospital -EAPI=6 -HOMEPAGE=http://members.fortunecity.com/rivalentertainment/iox.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer media-libs/sdl-image -SLOT=0 -SRC_URI=mirror://gentoo/io000311.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=4a66e348891eb0ae3e0eb5f7c6389398 diff --git a/games-arcade/insaneodyssey/Manifest b/games-arcade/insaneodyssey/Manifest new file mode 100644 index 000000000000..8445079c8599 --- /dev/null +++ b/games-arcade/insaneodyssey/Manifest @@ -0,0 +1,5 @@ +AUX insaneodyssey-000311-datafiles.patch 1605 BLAKE2B 2418e72f6b74dad8c00b26235ffbb8df1394d90e639994d080be3845c02f7d278c262405682d9c8ca2ac8a15b6dd5695224461fdc13f96b61dc01ea70ed20da4 SHA512 b0a7a32f5463474435e17d56169e7a5f79a624e508df8142760ba24c22625707aa409f2a5381502676a6af86b2857a2db739e36cdb2471cf4a98181e5532be8d +AUX insaneodyssey-000311-gcc6.patch 388 BLAKE2B 4976b873e3a74992cab91d155a8ab280d689c067cbb6e66944cf8b7a4a0c82c1f0e18fab1f6c3f9339b49fd0d73ef98f4a5382bb60844afe849cde3ef5d7a99b SHA512 7f634c129bcdd1a54ec196792dbfe18b0d26823907efc92c3389b5f3280c8243cd23d8e980744673bb2cabbf7c44203e4b7ec320ebe729300566adf39d6ee1f3 +DIST io000311.tar.gz 839950 BLAKE2B 4974471c69541afcb98764a3bf7c71c72afba7e9301f540eb1af85611bada547e87b491205f9fb9ba41e6e8e52326eb5e0b4cf07bf3d02259280ea6b2e5be162 SHA512 9fbf79daf1886c31a6309036cf382c2e175e3c280d6d5aa822971e977e97227f4290474c272afd7ed8218b2cc7e66b407b37522207b30225a41488201a244d96 +EBUILD insaneodyssey-000311-r1.ebuild 1428 BLAKE2B 4abc6a58c24847da2364fa937e0bbfa752a2399e1be021dde475dcf528e3cc8706c405d9d7e99765ebd976f378e7a92399c6b750fd7a4bc4af2472cc7ad6a79b SHA512 46273e06fdddd0c40caef61f986573732a6508a398103491f6584d514af76dc8021c556439f5f3521a919df7f7debd5912590aa93695b743e4500530888c4a69 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/insaneodyssey/files/insaneodyssey-000311-datafiles.patch b/games-arcade/insaneodyssey/files/insaneodyssey-000311-datafiles.patch new file mode 100644 index 000000000000..3aab4eeaf9da --- /dev/null +++ b/games-arcade/insaneodyssey/files/insaneodyssey-000311-datafiles.patch @@ -0,0 +1,55 @@ +--- a/io.cpp.orig 2004-06-01 19:11:16.000000000 +0300 ++++ b/io.cpp 2004-06-01 19:21:14.000000000 +0300 +@@ -42,7 +42,11 @@ + { + SDL_Surface *image, *surface; + +- image = IMG_Load(datafile); ++ char data_path[100]; ++ strcpy(data_path, "/usr/share/games/insaneodyssey/"); ++ strcat(data_path, datafile); ++ ++ image = IMG_Load(data_path); + if ( image == NULL ) { + fprintf(stderr, "Couldn't load image %s\n", + datafile); +@@ -67,7 +71,11 @@ + { + SDL_Surface *image, *surface; + +- image = IMG_Load(datafile); ++ char data_path[100]; ++ strcpy(data_path, "/usr/share/games/insaneodyssey/"); ++ strcat(data_path, datafile); ++ ++ image = IMG_Load(data_path); + if ( image == NULL ) { + fprintf(stderr, "Couldn't load image %s\n", datafile); + return(NULL); +@@ -87,8 +95,12 @@ + { + SDL_Surface *image; + ++ char data_path[100]; ++ strcpy(data_path, "/usr/share/games/insaneodyssey/"); ++ strcat(data_path, datafile); ++ + /* Load the BMP file into a surface */ +- image = IMG_Load(datafile); ++ image = IMG_Load(data_path); + if ( image == NULL ) { + fprintf(stderr, "Couldn't load %s: %s\n", datafile, + SDL_GetError()); +@@ -493,7 +493,11 @@ + if ( fp != NULL ) + while( !feof(fp) && j < MAXTILES ) + { +- fscanf ( fp, "%d %d %d\n", &tileatt[j].nexttile, &tileatt[j].bits, &tileatt[j].wait ); ++ int nexttile, bits, wait; ++ fscanf(fp, "%d %d %d\n", &nexttile, &bits, &wait); ++ tileatt[j].nexttile = nexttile; ++ tileatt[j].bits = bits; ++ tileatt[j].wait = wait; + j++; + } + else diff --git a/games-arcade/insaneodyssey/files/insaneodyssey-000311-gcc6.patch b/games-arcade/insaneodyssey/files/insaneodyssey-000311-gcc6.patch new file mode 100644 index 000000000000..4fd35438d24b --- /dev/null +++ b/games-arcade/insaneodyssey/files/insaneodyssey-000311-gcc6.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/600894 + +--- a/io.cpp ++++ b/io.cpp +@@ -22,6 +22,7 @@ + #include <stdlib.h> + #include <stdio.h> + #include <string.h> ++#include <cmath> + + #include <SDL/SDL.h> + +@@ -894,7 +895,7 @@ + else + { + if ( jumping ) +- yspeed = -jumpheight - abs(xspeed)/4; ++ yspeed = -jumpheight - std::abs(xspeed)/4; + } + + short TempX = (x + width/2) / TILESIZE; diff --git a/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild b/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild new file mode 100644 index 000000000000..0383afc0b2b3 --- /dev/null +++ b/games-arcade/insaneodyssey/insaneodyssey-000311-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Help West Muldune escape from a futuristic mental hospital" +HOMEPAGE="http://members.fortunecity.com/rivalentertainment/iox.html" +# Upstream has download issues. +#SRC_URI="http://members.fortunecity.com/rivalentertainment/io${PV}.tar.gz" +SRC_URI="mirror://gentoo/io${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer + media-libs/sdl-image +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + + cd ${PN} + + # Modify data load code and paths to game data + eapply "${FILESDIR}"/${P}-datafiles.patch + + eapply "${FILESDIR}"/${P}-gcc6.patch + + sed -i \ + -e "/lvl/s:^:/usr/share/${PN}/:" \ + -e "s:night:/usr/share/${PN}/night:" \ + levels.dat || die + sed -i \ + -e "s:tiles.dat:/usr/share/${PN}/tiles.dat:" \ + -e "s:sprites.dat:/usr/share/${PN}/sprites.dat:" \ + -e "s:levels.dat:/usr/share/${PN}/levels.dat:" \ + -e "s:IO_T:/usr/share/${PN}/IO_T:" \ + -e "s:tiles.att:/usr/share/${PN}/tiles.att:" \ + -e "s:shot:/usr/share/${PN}/shot:" \ + io.cpp || die + sed -i \ + -e 's:\[32:[100:' \ + io.h || die +} + +src_install() { + cd ${PN} + dobin ${PN} + insinto /usr/share/${PN} + doins *bmp *png *dat *att *lvl *wav *mod *IT + newicon west00r.png ${PN}.png + make_desktop_entry ${PN} "Insane Odyssey" +} diff --git a/games-arcade/insaneodyssey/metadata.xml b/games-arcade/insaneodyssey/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/insaneodyssey/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-arcade/jardinains-2.0-r1 b/games-arcade/jardinains-2.0-r1 deleted file mode 100644 index 845fe6e582d5..000000000000 --- a/games-arcade/jardinains-2.0-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DESCRIPTION=Arkanoid with Gnomes -EAPI=5 -HOMEPAGE=http://www.jardinains2.com -KEYWORDS=-* ~amd64 ~x86 -LICENSE=jardinains -RDEPEND=sys-libs/libstdc++-v3:5 amd64? ( sys-libs/libstdc++-v3:5[multilib] ) >=virtual/opengl-7.0-r1[abi_x86_32(-)] >=virtual/glu-9.0-r1[abi_x86_32(-)] >=x11-libs/libX11-1.6.2[abi_x86_32(-)] >=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)] games-misc/games-envd -RESTRICT=strip -SLOT=0 -SRC_URI=mirror://gentoo/JN2_1_FREE_LIN.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=6d00f5de8c2c3f9a2a48a43741db8b5f diff --git a/games-arcade/jardinains/Manifest b/games-arcade/jardinains/Manifest new file mode 100644 index 000000000000..ec5e4c081a20 --- /dev/null +++ b/games-arcade/jardinains/Manifest @@ -0,0 +1,4 @@ +AUX strings-pt.patch 8378 BLAKE2B ea79456d7e2f51b476dc13e838de3322db052c249e6c30c1c71806d62b3e99a86544530cd5cb30daa19f4b07cf8d90be62e38c747b54afc5dddceb891ffe783c SHA512 ed7b93a0aea20d164f00aed1760fbf8ec775e3e9e65262099c4c16dcec1c91dc24f6ad845da43b4dba554237e5c8a95831a206dabb9847b57addae6c298e2dc4 +DIST JN2_1_FREE_LIN.tar.gz 17433159 BLAKE2B de257584d5e0babc4c0304aec2451e92ec288c77e8aff68eaad63b43238126b4059dc56a1632b66b2bfd4a9f0408cf492a77c56de2521e12f630d498a751919b SHA512 ddb6e48e071b42b7871cb6396c61fdf9bfb85e9bb9f88720e8ac1b7bff499c43784de6bf3f67d3fe61bc05ed0e3f6a24f646aa6c54e387b95e744c16525978e8 +EBUILD jardinains-2.0-r1.ebuild 1624 BLAKE2B 52a73cbed121fcf66ad9ee2a5c3993a313440d9e5fa4a550f8074ee082bf4c09b7196efac1006b20f3bd043a05f2517ae6a9d2fa2236adf9058381cd428dec5c SHA512 0e89af86b9f73c2396eee0b497d9322e74cd2410a3a4f858677229d6e7785c1b683b02f628c6910f1339b199eb37434d434ab5cf82d7a7c07d2bf28e4d4715b7 +MISC metadata.xml 620 BLAKE2B d7544b15c6c62f4c3d1694e30afb4bf4a7a23402d83a594f35ab1f16a7eef3046121656ded24364b6e09dc93e98c17558e1ecc2e60e19edb6b8db6e95b2f00fd SHA512 4400b85a7b410885b2528a18cde41b35cd4a4034e5aecf2f1ad26c0300ed5d8e4bb01646d5be30f9c198d4d70b0bb9cc45bf52f7664cb9a51c3d704a56fa25b5 diff --git a/games-arcade/jardinains/files/strings-pt.patch b/games-arcade/jardinains/files/strings-pt.patch new file mode 100644 index 000000000000..246017a3f5bc --- /dev/null +++ b/games-arcade/jardinains/files/strings-pt.patch @@ -0,0 +1,303 @@ +--- data/strings.xml 2006-11-11 23:45:28.000000000 +0000 ++++ data/strings.xml 2007-02-02 14:14:14.000000000 +0000 +@@ -35,5 +35,5 @@ + <es>Español</es>
+ <it>Italiano</it>
+- <pt>Portuguese</pt>
++ <pt>Português</pt>
+ <pl>Polski</pl>
+ </message>
+@@ -61,5 +61,5 @@ + <es>Parar</es>
+ <it>Uscita</it>
+- <pt>Parado</pt>
++ <pt>Sair</pt>
+ <pl>Koniec</pl>
+ </message>
+@@ -74,5 +74,5 @@ + <es>Juego Nuevo</es>
+ <it>Nuovo Gioco</it>
+- <pt>Jogo Novo</pt>
++ <pt>Novo Jogo</pt>
+ <pl>Nowa Gra</pl>
+ </message>
+@@ -113,5 +113,5 @@ + <es>Modo De La Ventana</es>
+ <it>Modo Della Finestra</it>
+- <pt>Modalidade Da Janela</pt>
++ <pt>Modo de Janela</pt>
+ <pl>Tryb Okienkowy</pl>
+ </message>
+@@ -165,5 +165,5 @@ + <es>Pantalla Completa</es>
+ <it>Schermo Pieno</it>
+- <pt>Tela Cheia</pt>
++ <pt>Jogar em Ecrã Completo</pt>
+ <pl>Pelny Ekran</pl>
+ </message>
+@@ -178,5 +178,5 @@ + <es>Pantalla Completa/Ventana</es>
+ <it>Schermo Pieno/Finestra</it>
+- <pt>Tela Cheia/Janela</pt>
++ <pt>Ecrã Completo/Janela</pt>
+ <pl>Pelny Ecran/Okno</pl>
+ </message>
+@@ -218,5 +218,5 @@ + <es>Regresar</es>
+ <it>Andare Indietro</it>
+- <pt>Ir Para Trás</pt>
++ <pt>Voltar</pt>
+ <pl>Wstecz</pl>
+ </message>
+@@ -244,5 +244,5 @@ + <es>Anular</es>
+ <it>Annullamento</it>
+- <pt>Cancelamento</pt>
++ <pt>Cancelar</pt>
+ <pl>Poniechaj</pl>
+ </message>
+@@ -257,5 +257,5 @@ + <es>Continuar Jugando</es>
+ <it>Continuare A Giocare</it>
+- <pt>Continuar Jogando</pt>
++ <pt>Continuar a Jogar</pt>
+ <pl>Kontynuuj Gre</pl>
+ </message>
+@@ -270,5 +270,5 @@ + <es>Terminar y Regresar</es>
+ <it>Rinunciato Al Menu</it>
+- <pt>Parado Ao Menu</pt>
++ <pt>Sair para o Menu</pt>
+ <pl>Wyjdz Do Menu</pl>
+ </message>
+@@ -283,5 +283,5 @@ + <es>Terminar de Jugar</es>
+ <it>Uscita Jardinains 2</it>
+- <pt>Parado Jardinains 2</pt>
++ <pt>Sair do Jardinains 2</pt>
+ <pl>Zakoncz Jardinains 2</pl>
+ </message>
+@@ -296,5 +296,5 @@ + <es>Pausa</es>
+ <it>Pausa</it>
+- <pt>Pausado/pt>
++ <pt>Pausa</pt>
+ <pl>Gra Przerwana</pl>
+ </message>
+@@ -322,5 +322,5 @@ + <es>Calidad de los gráficos</es>
+ <it>Qualità dei grafici</it>
+- <pt>Qualidade dos gráficos</pt>
++ <pt>Qualidade dos Gráficos</pt>
+ <pl>Jakosc Grafiki</pl>
+ </message>
+@@ -335,5 +335,5 @@ + <es>Conductor de los gráficos</es>
+ <it>Driver dei grafici</it>
+- <pt>Excitador dos gráficos</pt>
++ <pt>Controlador dos Gráficos</pt>
+ <pl>Sterowniki Graficzne</pl>
+ </message>
+@@ -361,5 +361,5 @@ + <es>Crear A Nuevo Jugador</es>
+ <it>Generare Il Nuovo Giocatore</it>
+- <pt>Criar O Jogador Novo</pt>
++ <pt>Criar um Jogador Novo</pt>
+ <pl>Utworz Nowego Gracza</pl>
+ </message>
+@@ -374,5 +374,5 @@ + <es>Entrar Contraseña</es>
+ <it>Digitare La Parola d'Accesso</it>
+- <pt>Incorporar A Senha</pt>
++ <pt>Introduzir A Senha</pt>
+ <pl>Wpisz Haslo</pl>
+ </message>
+@@ -387,5 +387,5 @@ + <es>Volver A Entrar La Contraseña</es>
+ <it>Digitare Ancora La Parola d'Accesso</it>
+- <pt>Incorporar A Senha Outra Vez</pt>
++ <pt>Re-Introduzir A Senha</pt>
+ <pl>Wprowadz Haslo Ponownie</pl>
+ </message>
+@@ -400,5 +400,5 @@ + <es>Las Contraseñas No Emparejan!</es>
+ <it>Parole d'Accesso Male!</it>
+- <pt>As Senhas Não Combinam!</pt>
++ <pt>As Senhas Não Coincidem!</pt>
+ <pl>Hasla Nie Sa Identyczne!</pl>
+ </message>
+@@ -426,5 +426,5 @@ + <es>Contraseña Incorrecta</es>
+ <it>Parola d'Accesso Errata</it>
+- <pt>Senha Incorreta</pt>
++ <pt>Senha Incorrecta</pt>
+ <pl>Niepoprawne Haslo</pl>
+ </message>
+@@ -439,5 +439,5 @@ + <es>Incorporar Nombre Del Jugador</es>
+ <it>Introdurre Nome Del Giocatore</it>
+- <pt>Dar Entrada Nome Do Jogador</pt>
++ <pt>Introduzir o Nome Do Jogador</pt>
+ <pl>Wprowadz Imie Gracza</pl>
+ </message>
+@@ -452,5 +452,5 @@ + <es>¡Nombre No Existe!</es>
+ <it>Nessun Nome Introdotto!</it>
+- <pt>Nenhum Nome Dado Entrada Com!</pt>
++ <pt>Nenhum Nome Introduzido!</pt>
+ <pl>Nie Podano Imienia!</pl>
+ </message>
+@@ -465,5 +465,5 @@ + <es>¡El Jugador Existe!</es>
+ <it>Il Giocatore Già Esiste!</it>
+- <pt>O Jogador Existe Já!</pt>
++ <pt>O Jogador Já Existe!</pt>
+ <pl>Gracz Juz Istnieje!</pl>
+ </message>
+@@ -478,5 +478,5 @@ + <es>¡No Se Puede Crear!</es>
+ <it>Non Ha Potuto Generare!</it>
+- <pt>Não Podia Criar O Jogador!</pt>
++ <pt>Não Consegui Criar O Jogador!</pt>
+ <pl>Utworzenie Gracza Niemozliwe!</pl>
+ </message>
+@@ -504,5 +504,5 @@ + <es>Fin</es>
+ <it>Gioco Sopra</it>
+- <pt>Jogo Sobre</pt>
++ <pt>Fim do Jogo</pt>
+ <pl>Koniec Gry</pl>
+ </message>
+@@ -517,5 +517,5 @@ + <es>Nuevo Juego De Este Nivel</es>
+ <it>Nuovo Gioco (Questo Livello)</it>
+- <pt>Jogo Novo Deste Nível</pt>
++ <pt>Jogo Novo a partir Deste Nível</pt>
+ <pl>Nowa Gra Od Tego Poziomu</pl>
+ </message>
+@@ -583,5 +583,5 @@ + <es>Cuenta Mejor</es>
+ <it>Segno Migliore</it>
+- <pt>Contagem Superior</pt>
++ <pt>Pontos Máximos</pt>
+ <pl>Najlepszy Wynik</pl>
+ </message>
+@@ -687,5 +687,5 @@ + <es>PROYECTILES</es>
+ <it>PROIETTILI</it>
+- <pt>PROJECTILES</pt>
++ <pt>PROJÉCTEIS</pt>
+ <pl>POCISKI</pl>
+ </message>
+@@ -739,5 +739,5 @@ + <es>PRIMAS</es>
+ <it>INDENNITÀ</it>
+- <pt>BÔNUS</pt>
++ <pt>BÓNUS</pt>
+ <pl>BONUSY</pl>
+ </message>
+@@ -804,5 +804,5 @@ + <es>Solamente Sonido</es>
+ <it>Suono Soltanto</it>
+- <pt>Som Somente</pt>
++ <pt>Apenas Som</pt>
+ <pl>Tylko Dzwieki</pl>
+ </message>
+@@ -817,5 +817,5 @@ + <es>Solamente Música</es>
+ <it>Suono Musica</it>
+- <pt>Som Música</pt>
++ <pt>Apenas Música</pt>
+ <pl>Tylko Muzyka</pl>
+ </message>
+@@ -856,5 +856,5 @@ + <es>¡Solamente $19,99 USD!</es>
+ <it>Suono $19,99 USD!</it>
+- <pt>Som $19,99 USD!</pt>
++ <pt>Só $19,99 USD!</pt>
+ <pl>Tylko $19,99 USD!</pl>
+ </message>
+@@ -882,5 +882,5 @@ + <es>¡Más Primas!</es>
+ <it>Più Indennità!</it>
+- <pt>Mais Bônus!</pt>
++ <pt>Mais Bónus!</pt>
+ <pl>Wiecej Bonusow!</pl>
+ </message>
+@@ -923,5 +923,5 @@ + <es>¡Clíque Aquí Para Comprar!</es>
+ <it>Clicca Qui Per Comprare!</it>
+- <pt>Estalar aqui para comprar!</pt>
++ <pt>Clicar Aqui Para Comprar!</pt>^M + <pl>Kliknij tu, aby kupic!</pl>
+ </message>
+@@ -989,5 +989,5 @@ + <es>¿Abandonar el Juego Actual?</es>
+ <it>Abbandonare il Gioco Corrente?</it>
+- <pt>Abandonar o Jogo Atual?</pt>
++ <pt>Abandonar o Jogo Actual?</pt>
+ <pl>Koniec Biezacej Gry?</pl>
+ </message>
+@@ -1004,5 +1004,5 @@ + <es>Suprimir</es>
+ <it>Cancellare</it>
+- <pt>Suprimir</pt>
++ <pt>Apagar</pt>
+ <pl>Usunac</pl>
+ </message>
+@@ -1030,5 +1030,5 @@ + <es>Estadística</es>
+ <it>Statistiche</it>
+- <pt>Statistics</pt>
++ <pt>Estatísticas</pt>
+ <pl>Statystyka</pl>
+ </message>
+@@ -1043,5 +1043,5 @@ + <es>Tiempo Perdió</es>
+ <it>Tempo Perso</it>
+- <pt>Tempo Perdeu</pt>
++ <pt>Tempo Total</pt>
+ <pl>Czas Stracony</pl>
+ </message>
+@@ -1069,5 +1069,5 @@ + <es>año</es>
+ <it>anno</it>
+- <pt>anos</pt>
++ <pt>ano</pt>
+ <pl>rok</pl>
+ </message>
+@@ -1199,5 +1199,5 @@ + <es>Tramposo?</es>
+ <it>Frode?</it>
+- <pt>Fraude?</pt>
++ <pt>Ajudas?</pt>
+ <pl>Oszukac?</pl>
+ </message>
+@@ -1212,5 +1212,5 @@ + <es>Número de Juegos</es>
+ <it>Numero di Giochi</it>
+- <pt>Número dos Jogos</pt>
++ <pt>Número de Jogos</pt>
+ <pl>Gra Ogolny</pl>
+ </message>
+@@ -1225,5 +1225,5 @@ + <es>Número de Niveles</es>
+ <it>Numero di Livelli</it>
+- <pt>Número dos Níveis</pt>
++ <pt>Número de Níveis</pt>
+ <pl>Poziomy Ogolem</pl>
+ </message>
+@@ -1251,5 +1251,5 @@ + <es>¡Los paquetes del juego modificado están disponibles solamente en la versión completa de Jardinains 2!</es>
+ <it>I pacchetti su ordinazione del gioco sono disponibili soltanto nella versione completa di Jardinains 2!</it>
+- <pt>Os blocos feitos sob encomenda do jogo estão disponíveis somente na versão cheia de Jardinains 2!</pt>
++ <pt>Os blocos modificados do jogo estão disponíveis somente na versão completa do Jardinains 2!</pt>
+ <pl>Custom game packs are available only in the full version of Jardinains 2!</pl>
+ </message>
+@@ -1293,5 +1293,5 @@ + <es>Ningunos Rastros de la Bola</es>
+ <it>Nessun Tracce della Sfera</it>
+- <pt>Nenhumas Fugas de Esfera</pt>
++ <pt>Nenhuns rastos de Esfera</pt>
+ <pl>Pilka Proste</pl>
+ </message>
diff --git a/games-arcade/jardinains/jardinains-2.0-r1.ebuild b/games-arcade/jardinains/jardinains-2.0-r1.ebuild new file mode 100644 index 000000000000..e98d0da5f03b --- /dev/null +++ b/games-arcade/jardinains/jardinains-2.0-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Arkanoid with Gnomes" +HOMEPAGE="http://www.jardinains2.com" +SRC_URI="mirror://gentoo/JN2_1_FREE_LIN.tar.gz" + +LICENSE="jardinains" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" +QA_EXECSTACK="${GAMES_PREFIX_OPT:1}/jardinains/jardinains" + +DEPEND="" +RDEPEND="sys-libs/libstdc++-v3:5 + amd64? ( sys-libs/libstdc++-v3:5[multilib] ) + >=virtual/opengl-7.0-r1[abi_x86_32(-)] + >=virtual/glu-9.0-r1[abi_x86_32(-)] + >=x11-libs/libX11-1.6.2[abi_x86_32(-)] + >=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]" + +dir=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${dir:1}/${PN}" + +src_unpack() { + unpack JN2_1_FREE_LIN.tar.gz + cd "${WORKDIR}" || die + mv "Jardinains 2!" ${P} || die +} + +src_prepare() { + # clean Mac fork files (bug #295782) + find . -type f -name "._*" -exec rm -f '{}' + + epatch "${FILESDIR}"/strings-pt.patch +} + +src_install() { + exeinto "${dir}" + doexe jardinains + insinto "${dir}" + doins -r LICENSE.txt data help + + games_make_wrapper jardinains ./jardinains "${dir}" "${dir}" + + make_desktop_entry jardinains "Jardinains 2" + touch "${D}${dir}/data/prefs.xml" + prepgamesdirs + chmod g+rw "${D}${dir}/data/prefs.xml" + chmod -R g+rw "${D}${dir}/data/players" +} + +pkg_postinst() { + games_pkg_postinst + elog "Due to the way this software is designed all user preferences for" + elog "graphics, audio and other in game data are shared among all users" + elog "of the computer. For that reason some files in the installation" + elog "folder are writable by any user in the games group." +} diff --git a/games-arcade/jardinains/metadata.xml b/games-arcade/jardinains/metadata.xml new file mode 100644 index 000000000000..523866a841c9 --- /dev/null +++ b/games-arcade/jardinains/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> + <longdescription>Jardinains 2!, the sequel to Jardinains 1! (surprisingly + enough) is a fairly straightforward game. You have a paddle. You have a + ball. You have a whole bunch of bricks. Inside these bricks live ‘nains. + ‘Nains are cute little critters who pop out of their bricks every now and + then to have some fun and give you a headache. </longdescription> +</pkgmetadata> diff --git a/games-arcade/jumpnbump-1.50-r2 b/games-arcade/jumpnbump-1.50-r2 deleted file mode 100644 index e5ac2cf78dc8..000000000000 --- a/games-arcade/jumpnbump-1.50-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/sdl-mixer media-libs/libsdl[sound,joystick,video] media-libs/sdl-net X? ( x11-libs/libXext ) kde? ( kde-apps/kdialog ) music? ( media-libs/sdl-mixer[mod] ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=A funny multiplayer game about cute little fluffy bunnies -EAPI=6 -HOMEPAGE=http://www.jumpbump.mine.nu/ -IUSE=X fbcon kde svga tk +music -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/sdl-mixer media-libs/libsdl[sound,joystick,video] media-libs/sdl-net X? ( x11-libs/libXext ) kde? ( kde-apps/kdialog ) music? ( media-libs/sdl-mixer[mod] ) tk? ( dev-lang/tcl:0= dev-lang/tk:0= ) -SLOT=0 -SRC_URI=http://www.jumpbump.mine.nu/port/jumpnbump-1.50.tar.gz mirror://gentoo/jumpnbump-1.50-autotool.patch.bz2 -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=605870343dfe7821b219f9eb98ee0390 diff --git a/games-arcade/jumpnbump/Manifest b/games-arcade/jumpnbump/Manifest new file mode 100644 index 000000000000..6e1a92f98365 --- /dev/null +++ b/games-arcade/jumpnbump/Manifest @@ -0,0 +1,4 @@ +DIST jumpnbump-1.50-autotool.patch.bz2 94692 BLAKE2B 40fa60260426cc1461e3e31d220a8f7261c7ad9e079fb17011fff72dc7ad2d52f66fb040263502d6082f3609bda0c783dd5c8b6a1d226d4fa22a1f77e6bfe5c4 SHA512 3749f3bda969d9ab2225019d8a6333d23402c8e284c3278aad23f76d5436326fed1efcae28a8922f814e0cf8417ea20fc51abb34f70bd6d37afca803475214fa +DIST jumpnbump-1.50.tar.gz 397208 BLAKE2B f62a30723d8a08976ba06b1941d62544a764b4d5cbce6b076d0f096af099d9db35a451c413f3c490e2aff0388c92456e46a70cdc6a9404449a19dc4a77be0db3 SHA512 a343e514efa42aacd2c0fd113269ebf27418ea851dad21cecfa16a765639cc6a5de43fbdb9ad2f0282740f369b7e457a236fc3e918b486af10222c733f5c8fb0 +EBUILD jumpnbump-1.50-r2.ebuild 1282 BLAKE2B db863041ba35be6c23b2cbf7b25b25a3f022b61330c9d928e744cdbd9f4acd16ef2bcd4b03d2b67cb1707684b43ca6a02ff843e52ff23f28868b37e41b917f33 SHA512 dfc145c876b15655efc71f522c59443e0f99411dd121be441213a2f39cf07fb26ca71ce6f4d5f0c083cc2aaa137e24c4b9a1f26df6a438bfcdd5ec0834c95be1 +MISC metadata.xml 324 BLAKE2B 2d20b6235b6445d30b7da2729b4e3367456ebd9ea2b4ce290044e1202714ed0b460151e02af09648fe23e8095ee8aacac77923d232be8d8e0656f35e6f54387b SHA512 3392ab16d9e90d0dd6dba06994ba2096940075961de7e6fed43d70946e82916af7b40e95bd27e25d5eba9d9eb46afe61fe4200147385cc93211ab14c0e6b13ce diff --git a/games-arcade/jumpnbump/jumpnbump-1.50-r2.ebuild b/games-arcade/jumpnbump/jumpnbump-1.50-r2.ebuild new file mode 100644 index 000000000000..476381cf4757 --- /dev/null +++ b/games-arcade/jumpnbump/jumpnbump-1.50-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="A funny multiplayer game about cute little fluffy bunnies" +HOMEPAGE="http://www.jumpbump.mine.nu/" +SRC_URI=" + http://www.jumpbump.mine.nu/port/${P}.tar.gz + mirror://gentoo/${P}-autotool.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X fbcon kde svga tk +music" + +DEPEND=" + media-libs/sdl-mixer + media-libs/libsdl[sound,joystick,video] + media-libs/sdl-net + X? ( x11-libs/libXext ) + kde? ( kde-apps/kdialog ) + music? ( media-libs/sdl-mixer[mod] ) +" +RDEPEND="${DEPEND} + tk? ( + dev-lang/tcl:0= + dev-lang/tk:0= + ) +" + +src_prepare() { + default + eapply ../${P}-autotool.patch + rm -f configure + eautoreconf + sed -i \ + -e "/PREFIX/ s:PREFIX.*:\"/usr/share/${PN}/jumpbump.dat\":" \ + globals.h \ + || die "sed failed" +} + +src_install() { + default + # clean up a bit. It leaves a dep on Xdialog but ignore that. + use fbcon || rm -f "${D}${GAMES_BINDIR}/jumpnbump.fbcon" + use kde || rm -f "${D}${GAMES_BINDIR}/jumpnbump-kdialog" + use svga || rm -f "${D}${GAMES_BINDIR}/jumpnbump.svgalib" + use tk || rm -f "${D}${GAMES_BINDIR}/jnbmenu.tcl" + newicon sdl/jumpnbump64.xpm ${PN}.xpm + make_desktop_entry ${PN} "Jump n Bump" +} diff --git a/games-arcade/jumpnbump/metadata.xml b/games-arcade/jumpnbump/metadata.xml new file mode 100644 index 000000000000..1329ada5712f --- /dev/null +++ b/games-arcade/jumpnbump/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-arcade/jvgs-0.5-r1 b/games-arcade/jvgs-0.5-r1 deleted file mode 100644 index 8c606fe0ff22..000000000000 --- a/games-arcade/jvgs-0.5-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=dev-lang/lua:0 media-libs/libsdl[video] media-libs/sdl-mixer[vorbis] media-libs/freetype:2 sys-libs/zlib:= virtual/opengl dev-lang/swig sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=An open-source platform game with a sketched and minimalistic look -EAPI=6 -HOMEPAGE=http://jvgs.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=WTFPL-2 -RDEPEND=dev-lang/lua:0 media-libs/libsdl[video] media-libs/sdl-mixer[vorbis] media-libs/freetype:2 sys-libs/zlib:= virtual/opengl -SLOT=0 -SRC_URI=mirror://sourceforge/jvgs/jvgs-0.5-src.tar.gz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=534ebde084ade76bd372944b1296ee0b diff --git a/games-arcade/jvgs/Manifest b/games-arcade/jvgs/Manifest new file mode 100644 index 000000000000..6e4e4bfbf2c0 --- /dev/null +++ b/games-arcade/jvgs/Manifest @@ -0,0 +1,4 @@ +AUX jvgs-0.5-fix-build-system.patch 1028 BLAKE2B 644c07ed7374ec7677ca0f744d08e10a08e1d49a1c0d4bab7d9b87ce78ebb138582238873353ce25471e4a95555b016010ca04fe5672ef8bf256cdb74ea3a378 SHA512 0f049df4b986d380634837e1e5bc4e21d0fb228a7c61cc6765ebec7cc74f3e37ef71260a2d7a7cc830ac9ea22258702f9cad29d3941bf2dff0f3f6ea56817dc8 +DIST jvgs-0.5-src.tar.gz 25917861 BLAKE2B 8b7716a16cd7dfdb3f8f7eb2292a121b142a4487f8fb58d046db81cc579b61b3db56728f5ecef8272ec74d8cf898da5c3ee12fa7c492fd219de977ea37bc9ee9 SHA512 0a0a8e7a0e7dce6f61bcd328f579212115eb95e3dce8ca223c1d8a3432d9083bf9a313f02f46b799991aa32f10cb9c14e8ecb63a4578b1ffaabc374ba139b28d +EBUILD jvgs-0.5-r1.ebuild 806 BLAKE2B 3876e62f5d64f88bab39f2ae7cd2b4d95147d080dd2c61a84d2594691d63e8653861c8f02ef6b164fb7040c729b618dbd08b8085574081b52487b1e5a5d5affe SHA512 8ecc3dfc55514602b30deaa694385fc0fe0b75e8e398bf5b7147846d765c331ad74807e93e2335b8d743db81fd29fb58cf5e701562ae10f1396174704bc3689d +MISC metadata.xml 327 BLAKE2B 3dfc4352c43df34b847d4ddbaefb6a830d685e7a4cdeabbc870665799e7d9b43a58b4e9c0c71bf1fbaafeb3148732dbb988971310041db7afb669a9235bf7994 SHA512 d37e6f081f28683f1071e57de49287534e6797902e24c681f87477af286a6227eb76abd63bd3091b077270e44061cd0676e49fecf4e74f54d455281fa67946bd diff --git a/games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch b/games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch new file mode 100644 index 000000000000..5f5ba191bb7e --- /dev/null +++ b/games-arcade/jvgs/files/jvgs-0.5-fix-build-system.patch @@ -0,0 +1,43 @@ +* Respect user CXXFLAGS +* Build out-of-source + +--- a/src/bind/CMakeLists.txt ++++ b/src/bind/CMakeLists.txt +@@ -1,16 +1,25 @@ +-ADD_CUSTOM_TARGET( +- swig +- ${SWIG_EXECUTABLE} -lua -c++ -o ${JVGS_BINARY_DIR}/src/bind/jvgslua.cpp ${JVGS_BINARY_DIR}/src/bind/jvgslua.i ++ADD_CUSTOM_COMMAND( ++ OUTPUT ++ ${CMAKE_CURRENT_BINARY_DIR}/jvgslua.cpp ++ COMMAND ++ ${SWIG_EXECUTABLE} -lua -c++ -o ${CMAKE_CURRENT_BINARY_DIR}/jvgslua.cpp ${CMAKE_CURRENT_SOURCE_DIR}/jvgslua.i ++ VERBATIM + ) + + ADD_LIBRARY( + bind STATIC +- jvgslua.cpp ++ ${CMAKE_CURRENT_BINARY_DIR}/jvgslua.cpp + ScriptManager.cpp + ) + + ADD_DEPENDENCIES( bind swig ) + ++TARGET_INCLUDE_DIRECTORIES( ++ bind ++ PRIVATE ++ ${CMAKE_CURRENT_SOURCE_DIR} ++) ++ + TARGET_LINK_LIBRARIES( + bind + ${LUA_LIBRARIES} +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -1,4 +1,4 @@ +-SET( CMAKE_CXX_FLAGS "-DTIXML_USE_STL -ggdb" ) ++SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTIXML_USE_STL" ) + + INCLUDE_DIRECTORIES( + ${SDL_INCLUDE_DIR} diff --git a/games-arcade/jvgs/jvgs-0.5-r1.ebuild b/games-arcade/jvgs/jvgs-0.5-r1.ebuild new file mode 100644 index 000000000000..779b57dd7400 --- /dev/null +++ b/games-arcade/jvgs/jvgs-0.5-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils eutils + +DESCRIPTION="An open-source platform game with a sketched and minimalistic look" +HOMEPAGE="http://jvgs.sourceforge.net/" +SRC_URI="mirror://sourceforge/jvgs/${P}-src.tar.gz" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/lua:0 + media-libs/libsdl[video] + media-libs/sdl-mixer[vorbis] + media-libs/freetype:2 + sys-libs/zlib:= + virtual/opengl" +DEPEND="${RDEPEND} + dev-lang/swig" + +S=${WORKDIR}/${P}-src +PATCHES=( "${FILESDIR}"/${PN}-0.5-fix-build-system.patch ) + +src_install() { + dobin src/${PN} + + insinto /usr/share/${PN} + doins -r main.lua resources + + newicon resources/drawing.svg ${PN}.svg + make_desktop_entry ${PN} ${PN} + + einstalldocs +} diff --git a/games-arcade/jvgs/metadata.xml b/games-arcade/jvgs/metadata.xml new file mode 100644 index 000000000000..88e6fd346456 --- /dev/null +++ b/games-arcade/jvgs/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">jvgs</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/kajaani-kombat-0.7-r1 b/games-arcade/kajaani-kombat-0.7-r1 deleted file mode 100644 index 7e9fe99588df..000000000000 --- a/games-arcade/kajaani-kombat-0.7-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-net media-libs/sdl-image[png] media-libs/sdl-ttf media-libs/sdl-mixer[vorbis] sys-libs/ncurses:0 sys-libs/readline:0 -DESCRIPTION=A rampart-like game set in space -EAPI=6 -HOMEPAGE=http://kombat.kajaani.net/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-net media-libs/sdl-image[png] media-libs/sdl-ttf media-libs/sdl-mixer[vorbis] sys-libs/ncurses:0 sys-libs/readline:0 -SLOT=0 -SRC_URI=http://kombat.kajaani.net/dl/kajaani-kombat-0.7.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=e388e5f814908423f51455cbb90a324e diff --git a/games-arcade/kajaani-kombat/Manifest b/games-arcade/kajaani-kombat/Manifest new file mode 100644 index 000000000000..e4434e107ad8 --- /dev/null +++ b/games-arcade/kajaani-kombat/Manifest @@ -0,0 +1,5 @@ +AUX 0.7-makefile.patch 551 BLAKE2B 4b301ca00a4643f00654e81f3a4396d43106bc2f0f5bbae98d71818a3559472607358a6dd9c2b77a9def3c7772df2ad6ae59e33529de368474b9c4a33a9fee77 SHA512 4d319affec25fe585c0f0af14ed872e71b155be2bab3aabbb72ad01b80395f44b35b13abc765390e19e070305339322598942fa1997463632ee07f4a160ba823 +AUX kajaani-kombat-0.7-ldflags.patch 440 BLAKE2B f63321ed06c0ed26cfe28a1a62650ce9b9b37b29898961fb08b58b5119b023c3335798e36130ad144569c2996e7c4f188caf9cadc3d4a37c01a3bb03bd39d11d SHA512 30a8e6293349a30f6dbcc469fb14377d9461df60227e01d18dfc267f254be62b7cee89bcb6df0b24ec5bcb9cb198701e5b9e0d465f699be4880432a0402b2c71 +DIST kajaani-kombat-0.7.tar.gz 1805504 BLAKE2B 664210a44e5dd5b27ca7b47ca9cb9445373d1243c01fcfb227251c6b48fb8b9e2ebd608eec2244f1b12f47bf5c886482bf70a0700538bbf415d93df41c34fcfe SHA512 84f6923b73c9529fa600c533b5a3de9ea9411f81060c5ad9fb85346fa17c9cb70bf6ba8222319e123372b01286a11b40bb355e8ef8c9bec95cd98f4d0e0460cb +EBUILD kajaani-kombat-0.7-r1.ebuild 906 BLAKE2B 646f8e6b2fe996bc36c1b8b944646be6a829da8bcd8bfd71b2a774cb137770da35b4359a514f9b209fce4f2dee8c26033667b6813c6956ebaa42511204bdacab SHA512 e22f5d2be756d6a5c26bf6d9555df51b06b316d3fd940594f5233fa8ac8b0c43ebb31ccb5fda01552a6dfa2ba899671b41690cf04b6cf3eb46c1094523d3e234 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/kajaani-kombat/files/0.7-makefile.patch b/games-arcade/kajaani-kombat/files/0.7-makefile.patch new file mode 100644 index 000000000000..d67f394fa623 --- /dev/null +++ b/games-arcade/kajaani-kombat/files/0.7-makefile.patch @@ -0,0 +1,22 @@ +--- a/Makefile.orig 2005-02-28 22:55:55.000000000 -0500 ++++ b/Makefile 2005-02-28 22:58:45.000000000 -0500 +@@ -39,8 +39,8 @@ + endif + ## UNIX RELEASE (default option) + ifeq ($(sys), ) +- MEDIA=-D MEDIA_PATH=\"./\" +- DEBUG= -O $(MEDIA) ++ MEDIA=-D MEDIA_PATH=\"GENTOODIR\" ++ DEBUG= $(CFLAGS) $(MEDIA) + endif + + +@@ -55,7 +55,7 @@ + + server_objs = game_obj.o terrain.o msg.o game_server.o server_main.o coord.o block.o connects.o player.o config.o + +-CXXFLAGS=`sdl-config --cflags` -Wall $(DEBUG) ++CXXFLAGS+=`sdl-config --cflags` $(MEDIA) + + all: client + diff --git a/games-arcade/kajaani-kombat/files/kajaani-kombat-0.7-ldflags.patch b/games-arcade/kajaani-kombat/files/kajaani-kombat-0.7-ldflags.patch new file mode 100644 index 000000000000..268dcf24ce37 --- /dev/null +++ b/games-arcade/kajaani-kombat/files/kajaani-kombat-0.7-ldflags.patch @@ -0,0 +1,11 @@ +--- a/Makefile.old 2010-10-15 15:48:06.000000000 +0200 ++++ b/Makefile 2010-10-15 15:48:18.000000000 +0200 +@@ -85,7 +85,7 @@ + client_net.o: client_net.h client_net.cpp globals.h monitor_queue.h msg.h + + client: $(client_objs) +- $(CXX) $(client_objs) -o kajaani-kombat $(client_libs) ++ $(CXX) $(LDFLAGS) $(client_objs) -o kajaani-kombat $(client_libs) + server: $(server_objs) + $(CXX) $(server_objs) -o kajaani-kombat-server $(server_libs) + diff --git a/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild b/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild new file mode 100644 index 000000000000..1d80c8699c66 --- /dev/null +++ b/games-arcade/kajaani-kombat/kajaani-kombat-0.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A rampart-like game set in space" +HOMEPAGE="http://kombat.kajaani.net/" +SRC_URI="http://kombat.kajaani.net/dl/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-net + media-libs/sdl-image[png] + media-libs/sdl-ttf + media-libs/sdl-mixer[vorbis] + sys-libs/ncurses:0 + sys-libs/readline:0 +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}/${PV}-makefile.patch" \ + "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e "s:GENTOODIR:/usr/share/${PN}/:" \ + Makefile || die + sed -i \ + -e 's/IMG_Load/img_load/' \ + gui_screens.cpp || die +} + +src_install() { + dobin kajaani-kombat + insinto "/usr/share/${PN}" + doins *.{png,ttf,ogg} + einstalldocs + doman kajaani-kombat.6 +} diff --git a/games-arcade/kajaani-kombat/metadata.xml b/games-arcade/kajaani-kombat/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/kajaani-kombat/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-arcade/kobodeluxe-0.5.1-r1 b/games-arcade/kobodeluxe-0.5.1-r1 deleted file mode 100644 index 47f7a90cfc4f..000000000000 --- a/games-arcade/kobodeluxe-0.5.1-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=configure install prepare unpack -DEPEND=media-libs/libsdl media-libs/sdl-image[png] opengl? ( virtual/opengl ) -DESCRIPTION=An SDL port of xkobo, a addictive space shoot-em-up -EAPI=6 -HOMEPAGE=http://www.olofson.net/kobodl/ -IUSE=opengl -KEYWORDS=~alpha ~amd64 ~ppc64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl media-libs/sdl-image[png] opengl? ( virtual/opengl ) -SLOT=0 -SRC_URI=http://www.olofson.net/kobodl/download/KoboDeluxe-0.5.1.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=e545e86aa8ae4eafc4446ce1e19918d2 diff --git a/games-arcade/kobodeluxe/Manifest b/games-arcade/kobodeluxe/Manifest new file mode 100644 index 000000000000..4cd8de944a2c --- /dev/null +++ b/games-arcade/kobodeluxe/Manifest @@ -0,0 +1,5 @@ +AUX kobodeluxe-0.5.1-glibc2.10.patch 219 BLAKE2B 78c45966711049c7715ae0efd18289be82b4ea3965d85338ab81c79f07785273a6d767cf471deace08722b3ab9b8581a45201e30343b9e6ad784d820256b7dd9 SHA512 77624a0e18958d76c938e9d1becb72803079364612056687fb955cc912bda9b4443c7e6245abb6a32cc3ff96b04c63993e3cd114f73115254efe7b50f749a45c +AUX kobodeluxe-0.5.1-glibc29.patch 2408 BLAKE2B c3abfe3594b2c43428d4e49a34285680a1ae2ac40106aac255aa2da846a67ecbcfcf8f5d8af48ca0adbf627d188f6a8941d6b4f75df3bdad39fff4d869b324e1 SHA512 de2014b9a0607ddb5853c63eb4c14daf4f14d2158697348d952305db09b4a8f84a3a918cd730085f01120b7cbcfae076afd73c559c1ddd46f5a9777c89e76897 +DIST KoboDeluxe-0.5.1.tar.bz2 1781752 BLAKE2B d7f08ab9603b861f8992629bac9a65051a3c5fee6822f1951d57cbc5c31055a6cefeed098637dda84c0a1538645f47816848d767a4fa7916726b5784dfbc0414 SHA512 fc107e4367fd300574823aa40c68311d95de3a403d7c930963b8754aac14293f0624996fd77c4de0677921d11883047b68dd95df81eeb03078c37426ebd58afd +EBUILD kobodeluxe-0.5.1-r1.ebuild 1240 BLAKE2B bf7875f2773598a895ff9749090ed2f8401ba16003899c72b24df371fe1098b2ad3014eea11b3039cf6bda82d9e4a4567cbeadec9ed1d94ce62f3ee4bc561ff9 SHA512 dbcd2e12238fe34d2dfd9cfdd89a67dbed625eeffba442088c556e66ec996a91f68b51c9e56aabb6e2fcbe5cc4c3481ad02c4b08ee3b95fa63577c1475c0dd98 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-glibc2.10.patch b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-glibc2.10.patch new file mode 100644 index 000000000000..c6c06d9ce2a6 --- /dev/null +++ b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-glibc2.10.patch @@ -0,0 +1,11 @@ +--- a/graphics/window.cpp ++++ b/graphics/window.cpp +@@ -398,7 +398,7 @@ + */ + if(token) + { +- char *tok = strchr(txt, token); ++ const char *tok = strchr(txt, token); + if(tok) + tokpos = tok-txt; + else diff --git a/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-glibc29.patch b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-glibc29.patch new file mode 100644 index 000000000000..7a9ef355a821 --- /dev/null +++ b/games-arcade/kobodeluxe/files/kobodeluxe-0.5.1-glibc29.patch @@ -0,0 +1,83 @@ +--- a/enemies.h ++++ b/enemies.h +@@ -70,9 +70,9 @@ + extern const enemy_kind bomb2; + extern const enemy_kind bombdeto; + extern const enemy_kind cannon; +-extern const enemy_kind pipe1; ++extern const enemy_kind pipeone; + extern const enemy_kind core; +-extern const enemy_kind pipe2; ++extern const enemy_kind pipetwo; + extern const enemy_kind rock; + extern const enemy_kind ring; + extern const enemy_kind enemy_m1; +@@ -430,7 +430,7 @@ + + inline int _enemy::is_pipe() + { +- return ((_state != notuse) && ((ek == &pipe1) || (ek == &pipe2))); ++ return ((_state != notuse) && ((ek == &pipeone) || (ek == &pipetwo))); + } + + +--- a/enemy.cpp ++++ b/enemy.cpp +@@ -713,7 +713,7 @@ + + void _enemy::kill_cannon() + { +- enemies.make(&pipe1, CS2PIXEL(x), CS2PIXEL(y)); ++ enemies.make(&pipeone, CS2PIXEL(x), CS2PIXEL(y)); + sound.g_base_node_explo(x, y); + release(); + } +@@ -755,10 +755,10 @@ + + void _enemy::kill_core() + { +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); + enemies.make(&explosion4, CS2PIXEL(x), CS2PIXEL(y)); + sound.g_base_core_explo(x, y); + release(); +@@ -851,7 +851,7 @@ + screen.set_map(x1, y1, m ^ a); + release(); + } +-const enemy_kind pipe1 = { ++const enemy_kind pipeone = { + 0, + &_enemy::make_pipe1, + &_enemy::move_pipe1, +@@ -978,19 +978,19 @@ + } + p ^= a; + if(p & U_MASK) +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 1); + if(p & R_MASK) +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 3); + if(p & D_MASK) +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 5); + if(p & L_MASK) +- enemies.make(&pipe2, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); ++ enemies.make(&pipetwo, CS2PIXEL(x), CS2PIXEL(y), 0, 0, 7); + manage.add_score(10); + release(); + } + + +-const enemy_kind pipe2 = { ++const enemy_kind pipetwo = { + 0, + &_enemy::make_pipe2, + &_enemy::move_pipe2, diff --git a/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r1.ebuild b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r1.ebuild new file mode 100644 index 000000000000..846176da162e --- /dev/null +++ b/games-arcade/kobodeluxe/kobodeluxe-0.5.1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +MY_P="KoboDeluxe-${PV/_/}" +DESCRIPTION="An SDL port of xkobo, a addictive space shoot-em-up" +HOMEPAGE="http://www.olofson.net/kobodl/" +SRC_URI="http://www.olofson.net/kobodl/download/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc64 ~x86" +IUSE="opengl" + +DEPEND="media-libs/libsdl + media-libs/sdl-image[png] + opengl? ( virtual/opengl ) +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./icons.tar.gz +} + +src_prepare() { + default + eapply \ + "${FILESDIR}"/${P}-glibc29.patch \ + "${FILESDIR}"/${P}-glibc2.10.patch + # Fix paths + sed -i \ + -e 's:\$(datadir)/kobo-deluxe:$(datadir)/kobodeluxe:' \ + -e 's:\$(sharedstatedir)/kobo-deluxe/scores:$(localstatedir)/kobodeluxe:' \ + configure || die "sed configure failed" + sed -i \ + -e 's:kobo-deluxe:kobodeluxe:' \ + data/gfx/Makefile.in \ + data/sfx/Makefile.in || die "sed data/Makefile.in failed" +} + +src_configure() { + econf $(use_enable opengl) +} + +src_install () { + default + newicon icons/KDE/icons/32x32/kobodl.png ${PN}.png + make_desktop_entry kobodl "Kobo Deluxe" + keepdir /var/lib/${PN} +} diff --git a/games-arcade/kobodeluxe/metadata.xml b/games-arcade/kobodeluxe/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/kobodeluxe/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-arcade/komi-1.04-r1 b/games-arcade/komi-1.04-r1 deleted file mode 100644 index a09c28bcf4ba..000000000000 --- a/games-arcade/komi-1.04-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=media-libs/libsdl[video] media-libs/sdl-mixer -DESCRIPTION=Komi the Space Frog - simple SDL game of collection -EAPI=6 -HOMEPAGE=http://komi.sourceforge.net -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-mixer -SLOT=0 -SRC_URI=mirror://sourceforge/komi/komi-1.04.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=2319b06f53e427d5283e611c9c943df3 diff --git a/games-arcade/komi/Manifest b/games-arcade/komi/Manifest new file mode 100644 index 000000000000..f405f426999d --- /dev/null +++ b/games-arcade/komi/Manifest @@ -0,0 +1,5 @@ +AUX 1.04-DESTDIR.patch 974 BLAKE2B be10af269f5c812e921cf2d7e355b2d4d9380ac4b70910cb43f488572f753da34b3b162aa7e7aa5138eefc62ba17c3e678a59e9954f50165cc3954d0d33defdc SHA512 225ff9737d8cbb76d20be02fded66a12f70d0e65dddfd979f5b72fe1f1dffb74b47ccb065235b1c2ea7d71a198e10bbad144fb22ce4743e4d9842c138b696598 +AUX komi-1.04-install.patch 384 BLAKE2B fcc975cbbc6fce54edb399b73d0f0672e30ab6cf7db8bb68c80468fb4a17c19331444c4d7c3428e0c812dac9468b1fce9cb87e65adcea49a733aca2e875249e3 SHA512 65174431b1668e842795af8f0e17d8e1ea004af29068cc968494ee81bf5fe3c9308192c772f6f37f97388cd1630b7e67f65a8c0973365e7aa2b260c9104e03e0 +DIST komi-1.04.tar.gz 954526 BLAKE2B b7be781da0143f4cd563e885ff7688c2f50b5c1be6fbd8d383aeda06873b25a2081ae58b750a00a70d140757a57ec49652ff5e8c4ebf6ba0f306539707c06c31 SHA512 60babb3642bea7598089b342ba582b2f63f6aa051352ad9b2fa5bad0222a32306775a207712d2e7a9242be5e3ff5b4734f5b62708e451e7230499c6812d4c8a3 +EBUILD komi-1.04-r1.ebuild 918 BLAKE2B 7361900135a1206de147ecfc4a855441fbf20d64f81ba2d0c0d307f32cf943a11e44d7ea5d1f68081b3c007f0b30f7ef5b9557562aa24b90e8aaf36144181eab SHA512 5b1498f26459c6b83ace2efbfcc27ffddb02f4484e3416512ad5a8056e8b97010a0ccd1dabf285d9c28ae0f76df1c3cab61cfdfeb83b8498a87ca12966da0f52 +MISC metadata.xml 327 BLAKE2B 0a50ef4f37ade105c52d1bce332efbbcd2d7b38622c65d684930e75db0a0333ba7ee0f022ee5fb5d60feb3d6e7ab22b6c0186699bf3cbff9d7c341d9bcc64c2d SHA512 15af3d90fcfbbcb824625719c4adf55d6b57cfb1d31903731678d5b3170770595e9d1a0dcb0e0151c463cad0493931f49db0d210136e51c269571649cbbc4476 diff --git a/games-arcade/komi/files/1.04-DESTDIR.patch b/games-arcade/komi/files/1.04-DESTDIR.patch new file mode 100644 index 000000000000..4060d51f3a7d --- /dev/null +++ b/games-arcade/komi/files/1.04-DESTDIR.patch @@ -0,0 +1,36 @@ +--- a/Makefile.orig 2004-12-11 01:36:11.000000000 -0800 ++++ b/Makefile 2004-12-11 01:36:14.000000000 -0800 +@@ -13,9 +13,7 @@ + MIXER=-lSDL_mixer + SDL_LIB=$(shell sdl-config --static-libs) $(MIXER) + +-CFLAGS=-Wall -pedantic -std=c99 -O2 \ +- $(shell sdl-config --cflags) \ +- -DDATAPATH=\"$(DATAPATH)\" ++CFLAGS= $(ECFLAGS) $(shell sdl-config --cflags) -DDATAPATH=\"$(DATAPATH)\" + + all: komi + +@@ -24,15 +22,13 @@ + -rm *.o + + install: +- install -d $(DATAPATH) +- cp -R komidata/* $(DATAPATH) +- chmod -R 644 $(DATAPATH) +- chmod 755 $(DATAPATH) +- install -d $(BINPATH) +- cp komi $(BINPATH) +- chmod 755 $(BINPATH)komi +- install -d $(MANPATH) +- cp komi.6 $(MANPATH)komi.6 ++ install -d $(DESTDIR)$(DATAPATH) ++ cp -R komidata/* $(DESTDIR)$(DATAPATH) ++ chmod -R 644 $(DESTDIR)$(DATAPATH) ++ chmod 755 $(DESTDIR)$(DATAPATH) ++ install -d $(DESTDIR)$(BINPATH) ++ cp komi $(DESTDIR)$(BINPATH) ++ chmod 755 $(DESTDIR)$(BINPATH)/komi + + komi: komi.o + $(CC) $(CFLAGS) komi.o -o komi $(SDL_LIB) diff --git a/games-arcade/komi/files/komi-1.04-install.patch b/games-arcade/komi/files/komi-1.04-install.patch new file mode 100644 index 000000000000..30395eaff72b --- /dev/null +++ b/games-arcade/komi/files/komi-1.04-install.patch @@ -0,0 +1,11 @@ +--- a/Makefile.old 2015-01-05 11:35:24.794160467 +0100 ++++ b/Makefile 2015-01-05 11:36:23.181058180 +0100 +@@ -24,8 +24,6 @@ + install: + install -d $(DESTDIR)$(DATAPATH) + cp -R komidata/* $(DESTDIR)$(DATAPATH) +- chmod -R 644 $(DESTDIR)$(DATAPATH) +- chmod 755 $(DESTDIR)$(DATAPATH) + install -d $(DESTDIR)$(BINPATH) + cp komi $(DESTDIR)$(BINPATH) + chmod 755 $(DESTDIR)$(BINPATH)/komi diff --git a/games-arcade/komi/komi-1.04-r1.ebuild b/games-arcade/komi/komi-1.04-r1.ebuild new file mode 100644 index 000000000000..5e0804c4843e --- /dev/null +++ b/games-arcade/komi/komi-1.04-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Komi the Space Frog - simple SDL game of collection" +HOMEPAGE="http://komi.sourceforge.net" +SRC_URI="mirror://sourceforge/komi/${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() { + default + eapply "${FILESDIR}"/${PV}-DESTDIR.patch \ + "${FILESDIR}"/${P}-install.patch + sed -i \ + -e "/^BINPATH/s:=.*:=/usr/bin/:" \ + -e "/^DATAPATH/s:=.*:=/usr/share/${PN}/:" \ + -e '/^SDL_LIB/s:$: $(LDFLAGS):' \ + -e '/^SDL_LIB/s:--static-:--:' \ + Makefile \ + || die "sed failed" +} + +src_compile() { + emake ECFLAGS="${CFLAGS}" +} + +src_install() { + default + newicon komidata/sprites_komi.bmp ${PN}.bmp + make_desktop_entry komi Komi /usr/share/pixmaps/${PN}.bmp + doman komi.6 +} diff --git a/games-arcade/komi/metadata.xml b/games-arcade/komi/metadata.xml new file mode 100644 index 000000000000..f1df7f6e2a86 --- /dev/null +++ b/games-arcade/komi/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">komi</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/late-0.1.0-r1 b/games-arcade/late-0.1.0-r1 deleted file mode 100644 index 7ad7082e0bf3..000000000000 --- a/games-arcade/late-0.1.0-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[video] media-libs/sdl-image[jpeg] -DESCRIPTION=A game, similar to Barrack by Ambrosia Software -EAPI=6 -HOMEPAGE=http://late.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-image[jpeg] -SLOT=0 -SRC_URI=mirror://sourceforge/late/late-0.1.0.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=c993bd66f42ba9e4b12393252c7cb338 diff --git a/games-arcade/late/Manifest b/games-arcade/late/Manifest new file mode 100644 index 000000000000..fc68d23fff7f --- /dev/null +++ b/games-arcade/late/Manifest @@ -0,0 +1,5 @@ +AUX late-0.1.0-gcc43.patch 190 BLAKE2B 4105d416951cb0c7cf15476dabd35695f2da4f491069f308b705316960c51702ba3407575b82d1a56eddb636cb69265c3ad980c90603f4944bd1bfdf5d7d8d43 SHA512 0c75110c749029b56838d0b67f6ccfb18a8861c5ddd7f4256ee4644b6a176ba9b53f3dea80035e9576904344ea6e867bfcd11087d9463898fe8b1b2458afb652 +AUX late-0.1.0-gcc46.patch 283 BLAKE2B 0e25d7738f81b3d2d626094bbe5c59426f5c859b9432ca5bdb2e4f50ebf1c06df9ec2170a76ffaa032a4c7f383d4c832930fe5369de9cb931c6d0e1763b96398 SHA512 4284066e07331e77dda457ecbb62d387eebda33cd98a1bc4095cbac11871ff5728d4a9ae9737882b0f411958d0318eadf54f661ad85884902bee8ff5ac6836b8 +DIST late-0.1.0.tar.bz2 1560232 BLAKE2B c8d80639fba66d605ea37dbd3ad1fb790b50854f7b2223b4bba0c4f6b94fed2471a725e3e9be66a74526ef4666464377e773b93b0de5dba0b3bcf6fd5ad33fac SHA512 6b3f4d27a723ae450bd8dda375c8663c1a3f457ffbe0a91f5eb96efdd797c2370ec68894df7a4d31e7124b28f3b41b3b952805901427c6ea3502b0d4d13cd72e +EBUILD late-0.1.0-r1.ebuild 723 BLAKE2B b8c39431169cb32b5f5d1fe2aad1fbf46b8070df6aff4239aa05a403c374b306f1ef0ca2725c3f27673746a8fd8248e8aaa13e43f4ed0c61f6abef70010ca4b7 SHA512 ea9e650288fca7c34d765553f945dfef35826bdac51f67eac04b749661e4a2f8bfd627779cb81cd00b214ed927d64a0ddda42d3401d915313c5a873f84288e92 +MISC metadata.xml 327 BLAKE2B 58b2f933988e0ce86eee474e029e339643df2c448488e33b8dce5a97f3e117d8b3197a7e2276c4f208d0de17a2abc7ee5b01c97ec813c1986f039dc2509a19d9 SHA512 8646246369ce084393463912bb6b8305f6f3336de50adc223faeb9c87f3d4d87750515d8f0fc9b03d2f2d10840357f559bbb9d8f302affe06aa4d6a68d80f3d9 diff --git a/games-arcade/late/files/late-0.1.0-gcc43.patch b/games-arcade/late/files/late-0.1.0-gcc43.patch new file mode 100644 index 000000000000..8cfead22a27d --- /dev/null +++ b/games-arcade/late/files/late-0.1.0-gcc43.patch @@ -0,0 +1,11 @@ +--- a/src/init.cpp ++++ b/src/init.cpp +@@ -26,6 +26,8 @@ + #include "scorescreen.h" + #include <fstream> + #include <iostream> ++#include <cstdlib> ++#include <cstring> + using namespace std; + + diff --git a/games-arcade/late/files/late-0.1.0-gcc46.patch b/games-arcade/late/files/late-0.1.0-gcc46.patch new file mode 100644 index 000000000000..95d18ba7ed11 --- /dev/null +++ b/games-arcade/late/files/late-0.1.0-gcc46.patch @@ -0,0 +1,11 @@ +diff -ru late-0.1.0.orig/src/ball.h late-0.1.0/src/ball.h +--- late-0.1.0.orig/src/ball.h 2003-08-07 18:26:13.000000000 -0400 ++++ late-0.1.0/src/ball.h 2011-04-07 21:32:14.189799689 -0400 +@@ -25,6 +25,7 @@ + class ball; + + #include "square.h" ++#include <cstddef> + + class ball_base + { diff --git a/games-arcade/late/late-0.1.0-r1.ebuild b/games-arcade/late/late-0.1.0-r1.ebuild new file mode 100644 index 000000000000..dd837c5f6220 --- /dev/null +++ b/games-arcade/late/late-0.1.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A game, similar to Barrack by Ambrosia Software" +HOMEPAGE="http://late.sourceforge.net/" +SRC_URI="mirror://sourceforge/late/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[video] + media-libs/sdl-image[jpeg]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc46.patch + sed -i \ + -e "/chown/d" \ + Makefile.in \ + || die "sed failed" +} + +src_install () { + default + newicon graphics/latebg2.jpg ${PN}.jpg + make_desktop_entry late Late /usr/share/pixmaps/${PN}.jpg +} diff --git a/games-arcade/late/metadata.xml b/games-arcade/late/metadata.xml new file mode 100644 index 000000000000..9bdb3fcf19ef --- /dev/null +++ b/games-arcade/late/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">late</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/lbreakout-010315-r1 b/games-arcade/lbreakout-010315-r1 deleted file mode 100644 index 20ed8a87a988..000000000000 --- a/games-arcade/lbreakout-010315-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=>=media-libs/libsdl-1.1.5 -DESCRIPTION=Breakout clone written with the SDL library -EAPI=6 -HOMEPAGE=http://lgames.sourceforge.net/LBreakout/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=>=media-libs/libsdl-1.1.5 -SLOT=0 -SRC_URI=mirror://sourceforge/lgames/lbreakout-010315.tar.gz -_md5_=0cce95ef170705d671731d50139210f0 diff --git a/games-arcade/lbreakout/Manifest b/games-arcade/lbreakout/Manifest new file mode 100644 index 000000000000..91c252f8e5bf --- /dev/null +++ b/games-arcade/lbreakout/Manifest @@ -0,0 +1,3 @@ +DIST lbreakout-010315.tar.gz 655418 BLAKE2B f8d893c16de045f172e2ece3158420a880fff4775e81f714d390cc92cfbc6296cc968442388097d6be7fd23e19be614d872fe4b9e730284dcb7044d06bf9d72f SHA512 92421ceb4e643df2123d084b0d2c5edfd311e39dd8da85c01da5cfd872f787a6969e514efab2c5f110979434e773fce211e755e4c45438c4469ab9095cb595b7 +EBUILD lbreakout-010315-r1.ebuild 617 BLAKE2B 3106ce3654440c8c5dfc431d0c006f7541d6616136972f24d8f90d267a54c1c9e686f0c66273044e2badf6c02971f82301fdbe04a791c5a29fbad65dfadf9a60 SHA512 7eddaf43df8189c64e390dc5b2a8284132ee03631b4756ced32d19db617df33a3f913dacbe6967bc8a59b09cbb8a31b18ed9c0f960af0c60acc855e4ed7c53ff +MISC metadata.xml 329 BLAKE2B bcb35c37e05c93388a83ec235e25d38fb4a37ecb7df64c38a00e6bc7959090297f2c0168d1d461b24a43d0991184f62690de6d483a1d610bc74810238181593d SHA512 2439299362958450ac88f39ba8332cb84d42694d471f79cf8a6b9d38ecc96fa629b91530dee7c50aa23fab5e5a0155cb92cb3a8131a1b69e9375f114da86b463 diff --git a/games-arcade/lbreakout/lbreakout-010315-r1.ebuild b/games-arcade/lbreakout/lbreakout-010315-r1.ebuild new file mode 100644 index 000000000000..4a465d929cfc --- /dev/null +++ b/games-arcade/lbreakout/lbreakout-010315-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Breakout clone written with the SDL library" +HOMEPAGE="http://lgames.sourceforge.net/LBreakout/" +SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.1.5" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i \ + -e '/^sdir=/s:$datadir/games:$datadir:' \ + -e '/^hdir=/s:/var/lib/games:$localstatedir:' \ + configure \ + || die "sed failed" +} + +src_install() { + HTML_DOCS="lbreakout/manual/*" + default +} diff --git a/games-arcade/lbreakout/metadata.xml b/games-arcade/lbreakout/metadata.xml new file mode 100644 index 000000000000..2cbba7c09d17 --- /dev/null +++ b/games-arcade/lbreakout/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-arcade/lbreakout2-2.6.5-r1 b/games-arcade/lbreakout2-2.6.5-r1 deleted file mode 100644 index 3d1ffabb3a74..000000000000 --- a/games-arcade/lbreakout2-2.6.5-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=configure install postinst postrm preinst prepare unpack -DEPEND=media-libs/libpng:0= sys-libs/zlib media-libs/libsdl[sound,joystick,video] media-libs/sdl-net media-libs/sdl-mixer nls? ( virtual/libintl ) nls? ( sys-devel/gettext ) >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=sys-apps/sed-4 -DESCRIPTION=Breakout clone written with the SDL library -EAPI=6 -HOMEPAGE=http://lgames.sourceforge.net/LBreakout2/ -IUSE=nls themes -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libpng:0= sys-libs/zlib media-libs/libsdl[sound,joystick,video] media-libs/sdl-net media-libs/sdl-mixer nls? ( virtual/libintl ) -SLOT=0 -SRC_URI=mirror://sourceforge/lgames/lbreakout2-2.6.5.tar.gz mirror://sourceforge/lgames/add-ons/lbreakout2/lbreakout2-levelsets-20141220.tar.gz themes? ( mirror://sourceforge/lgames/add-ons/lbreakout2/lbreakout2-themes-20141220.tar.gz ) -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=8bbe78288015b6b9d768a1d9b22845ef diff --git a/games-arcade/lbreakout2/Manifest b/games-arcade/lbreakout2/Manifest new file mode 100644 index 000000000000..2f8131a095b5 --- /dev/null +++ b/games-arcade/lbreakout2/Manifest @@ -0,0 +1,6 @@ +AUX lbreakout2-2.6.5-gentoo.patch 2112 BLAKE2B ede968faa5aee77cf8325a176d5249ae29c87f2e1aaedaddbf9f24c7a763c2e711fd999c914b97f7cd468b4738df832538eb9a7528f01280e42fee6adc1d2587 SHA512 e3f4ce13d67b9c84ef813aa09957ac2615724986821846544839b92f616b66bdf2da1d3239c4a48c8eaf071d0e98fcaf9f2c2cab6a314ea91f5671ef75367b58 +DIST lbreakout2-2.6.5.tar.gz 3491519 BLAKE2B b382b391f3aa12f975ed52ec9f7de21f864c2171e0b6d1469ae1224b3cb240ff8a680ebae9ea37a85aa95c432c164058e8a9a0a1d094bbef572670bdbd17ca4e SHA512 45c54bc9401131c96eba5fdcc08ca1324904fb50d3967acf7f29034045cbcd4c1d0b65f38eb33d8aace4cfe35f2a2e7a6c2319e4a6d6a1b41274dbe293a1747b +DIST lbreakout2-levelsets-20141220.tar.gz 372221 BLAKE2B 16da9ee84e856734645a2ddf1665a8ebf8a52aa63be5d91e20f359bfb270d7bed16e7a4903c0847543141120d8d633bf84ceda867000354eedf201e389faf0db SHA512 482c1e95a37735f7bca510fa34d0f046e89b5aa9528b9af9dfff5bcb3fe656140285a95670caae2565cc9ebd30c3dc87a1fe77a6b75061ce9349ee7e36aa13d5 +DIST lbreakout2-themes-20141220.tar.gz 34006503 BLAKE2B 5262e04368d1c77b2690f70ded0c3da17b7ce31175271f22142b0418dfabb840561f4dbd97d16a12da6addb9d15e22e5ca97f96c8380bd0e7983642ee55fd1e3 SHA512 6088ff4bd9dfbbeb91c74e4adb500593af88ea6796bdec577afb43fc4ea9819c4f2dae76b6b7a8ad1ce2ec32ef575e41a6fa924463107a5dcd211f50bb94a906 +EBUILD lbreakout2-2.6.5-r1.ebuild 2005 BLAKE2B e402954c7874795c2059ca39e8969062d39736806171ba70ae7176538ef51813b1e8b501e2992b2334571f2a12fa18d438f613bf69a7d6acb1ebbc2e47028ab8 SHA512 6f37d8c4e9313d957f151d774151f1c9f69e37cde09c0e50cd9ca02049afd7d7939deb6299905bb7eac41831555c199c0320546b0707b3a0f121785dd60873ad +MISC metadata.xml 413 BLAKE2B 483149bf4aab9f2a8fea8fbaa6cdcf8ea0c029750acc79b8c4203f27f139a96bf80f5c73c972802ac9eea89f29e98c71214d7a723b82d81290a776fd49480ad7 SHA512 152c0d0d5ac6e3babb26c8eba16c31ed687e0a39ee7b6a86442a1a1efcb4f2d63ccd7f6062857df78047dca8466f548548d40c8baf8359cbaf1758ac03eb1661 diff --git a/games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch b/games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch new file mode 100644 index 000000000000..365274c581b9 --- /dev/null +++ b/games-arcade/lbreakout2/files/lbreakout2-2.6.5-gentoo.patch @@ -0,0 +1,67 @@ +--- lbreakout2-2.6.1.orig/Makefile.am ++++ lbreakout2-2.6.1/Makefile.am +@@ -1,13 +1,8 @@ + SUBDIRS = intl m4 po common gui game server client docs + + EXTRA_DIST = config.rpath AUTHORS COPYING ChangeLog INSTALL README \ +-README-SDL.txt TODO lbreakout2.spec touchall lbreakout32.gif \ +-lbreakout48.gif lbreakout2.desktop.in win32_mancomp win32_preparchive +- +-desktopdir = $(datadir)/applications +-desktop_DATA = lbreakout2.desktop +-icondir = $(datadir)/icons +-icon_DATA = lbreakout48.gif ++README-SDL.txt TODO lbreakout2.spec touchall \ ++win32_mancomp win32_preparchive + + WIN32_TEXT = AUTHORS COPYING ChangeLog INSTALL README README-SDL.txt \ + TODO lbreakout2.spec ABOUT-NLS +--- lbreakout2-2.6.1.orig/common/gettext.h ++++ lbreakout2-2.6.1/common/gettext.h +@@ -24,6 +24,7 @@ + + /* Get declarations of GNU message catalog functions. */ + # include <libintl.h> ++# include <locale.h> + + #else + +--- lbreakout2-2.6.1.orig/configure.in ++++ lbreakout2-2.6.1/configure.in +@@ -80,8 +80,6 @@ + [ --enable-netdebug Enable net packet debugging.], netdebug_flag="-DNET_DEBUG_MSG" ) + AC_SUBST(netdebug_flag) + +-dnl set localedir +-localedir=$datadir/locale + locdir_flag="-DLOCALEDIR=\\\"$localedir\\\"" + + dnl installation&highscore path +--- lbreakout2-2.6.1.orig/docs/Makefile.am ++++ lbreakout2-2.6.1/docs/Makefile.am +@@ -7,11 +7,11 @@ + warp.jpg screen.jpg + + install-data-local: +- $(mkinstalldirs) $(DESTDIR)$(doc_dir)/lbreakout2 ++ $(mkinstalldirs) $(DESTDIR)$(doc_dir) + @for file in *.jpg; do\ +- $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/lbreakout2/$$file;\ ++ $(INSTALL_DATA) $$file $(DESTDIR)$(doc_dir)/$$file;\ + done +- $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/lbreakout2/index.html ++ $(INSTALL_DATA) index.html $(DESTDIR)$(doc_dir)/index.html + + win32-install-script: + @for file in $(EXTRA_DIST); do \ +--- lbreakout2-2.6.1.orig/po/Makefile.in.in ++++ lbreakout2-2.6.1/po/Makefile.in.in +@@ -24,7 +24,7 @@ + exec_prefix = @exec_prefix@ + datadir = @datadir@ + datarootdir = @datarootdir@ +-localedir = $(datadir)/locale ++localedir = @localedir@ + gettextsrcdir = $(datadir)/gettext/po + + INSTALL = @INSTALL@ diff --git a/games-arcade/lbreakout2/lbreakout2-2.6.5-r1.ebuild b/games-arcade/lbreakout2/lbreakout2-2.6.5-r1.ebuild new file mode 100644 index 000000000000..5c9a684ab321 --- /dev/null +++ b/games-arcade/lbreakout2/lbreakout2-2.6.5-r1.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop flag-o-matic gnome2-utils + +levels_V=20141220 +themes_V=20141220 + +DESCRIPTION="Breakout clone written with the SDL library" +HOMEPAGE="http://lgames.sourceforge.net/LBreakout2/" +SRC_URI=" mirror://sourceforge/lgames/${P}.tar.gz + mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-levelsets-${levels_V}.tar.gz + themes? ( mirror://sourceforge/lgames/add-ons/lbreakout2/${PN}-themes-${levels_V}.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="nls themes" + +RDEPEND=" + media-libs/libpng:0= + sys-libs/zlib + media-libs/libsdl[sound,joystick,video] + media-libs/sdl-net + media-libs/sdl-mixer + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) +" + +src_unpack() { + unpack ${P}.tar.gz + + cd "${S}/client/levels" + unpack ${PN}-levelsets-${levels_V}.tar.gz + + if use themes ; then + mkdir "${WORKDIR}/themes" + cd "${WORKDIR}/themes" + unpack ${PN}-themes-${themes_V}.tar.gz + + # Delete a few duplicate themes (already shipped with lbreakout2 + # tarball). Some of them have different case than built-in themes, so it + # is harder to just compare if the filename is the same. + rm -f absoluteB.zip oz.zip moiree.zip + for f in *.zip; do + unzip -q "$f" && rm -f "$f" || die + done + fi +} + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + filter-flags -O? + econf \ + --enable-sdl-net \ + --localedir=/usr/share/locale \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable nls) +} + +src_install() { + default + + if use themes ; then + insinto /usr/share/lbreakout2/gfx + doins -r "${WORKDIR}/themes/"* + fi + + newicon client/gfx/win_icon.png ${PN}.png + newicon -s 32 client/gfx/win_icon.png ${PN}.png + make_desktop_entry lbreakout2 LBreakout2 +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/lbreakout2/metadata.xml b/games-arcade/lbreakout2/metadata.xml new file mode 100644 index 000000000000..4e3b6dfb6f34 --- /dev/null +++ b/games-arcade/lbreakout2/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="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="themes">Install additional themes</flag> + </use> + <upstream> + <remote-id type="sourceforge">lgames</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/marbleblast-demo-1.3 b/games-arcade/marbleblast-demo-1.3 deleted file mode 100644 index 5f65244f20ac..000000000000 --- a/games-arcade/marbleblast-demo-1.3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DESCRIPTION=race marbles through crazy stages -EAPI=5 -HOMEPAGE=http://www.garagegames.com/pg/product/view.php?id=3 -KEYWORDS=-* ~amd64 ~x86 -LICENSE=MARBLEBLAST -RDEPEND=games-misc/games-envd -RESTRICT=strip -SLOT=0 -SRC_URI=ftp://ggdev-1.homelan.com/marbleblast/MarbleBlastDemo-1.3.sh.bin -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 unpacker 87633b2194cdb56adaa1f5a5c8862c44 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=32389da544d809c4489561ae329b8b82 diff --git a/games-arcade/marbleblast-demo/Manifest b/games-arcade/marbleblast-demo/Manifest new file mode 100644 index 000000000000..dbd08550a750 --- /dev/null +++ b/games-arcade/marbleblast-demo/Manifest @@ -0,0 +1,3 @@ +DIST MarbleBlastDemo-1.3.sh.bin 10800892 BLAKE2B 87fe4ae6f07365f2ed3cc6f6c4006c9a7ca4f8bdcd07cc0a20a5f575130c65666edab45ad6ff191ced8d29556c3e2c662d93b0d4938de8a3571af04698cae66b SHA512 24bd5f03c8868ab83e2bcfe27ab60f86727e972f04cafe4d5ff940a77adf4a362c3de1b0391b5763aed8dc946af7b769da60654b2ea53133521b200a99ebdde8 +EBUILD marbleblast-demo-1.3.ebuild 819 BLAKE2B b53c47de135619c4edebbfa160cdea05a154f5ce05926145816613c52acd72b3c7b07dbca74f2069d988475715850205e4bdfd8ebf01799ab6a75579c9fcbf44 SHA512 3dd6560b3e307eca3f5e90686f26ce89f9f65373ac7099d1c93f1e47f870bf2bbff1ffc95c516120e53e94d54de98e7287218b13a5dd955da6fe582b9b49fa77 +MISC metadata.xml 1469 BLAKE2B 44f92ff998c0bc156b588ec6b95bc493e85bbf622d4dad4ba915b85283ccd01c6f459344c76510a1ecd92005d2668da0d2e573f209a7eed97a7068bab03fe7c5 SHA512 c11947aebdc32a03efd9645466df5e946a386d262a6e529e289cdc213e93d993ff67300d9d96b69af647a84947777dc6f90db9a0a5568d02ba81689ff90b2b45 diff --git a/games-arcade/marbleblast-demo/marbleblast-demo-1.3.ebuild b/games-arcade/marbleblast-demo/marbleblast-demo-1.3.ebuild new file mode 100644 index 000000000000..a99f38dc06b0 --- /dev/null +++ b/games-arcade/marbleblast-demo/marbleblast-demo-1.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit unpacker games + +DESCRIPTION="race marbles through crazy stages" +HOMEPAGE="http://www.garagegames.com/pg/product/view.php?id=3" +SRC_URI="ftp://ggdev-1.homelan.com/marbleblast/MarbleBlastDemo-${PV}.sh.bin" + +LICENSE="MARBLEBLAST" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +S=${WORKDIR} + +dir=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${dir:1}/marbleblastdemo.bin + ${dir:1}/lib/lib*" + +src_install() { + dodir "${dir}" "${GAMES_BINDIR}" + + tar -zxf MarbleBlast.tar.gz -C "${D}/${dir}" || die "extracting MarbleBlast.tar.gz" + + exeinto "${dir}" + doexe bin/Linux/x86/marbleblastdemo + dosym "${dir}"/marbleblastdemo "${GAMES_BINDIR}"/marbleblast-demo + + dodoc README_DEMO.txt + + prepgamesdirs +} diff --git a/games-arcade/marbleblast-demo/metadata.xml b/games-arcade/marbleblast-demo/metadata.xml new file mode 100644 index 000000000000..581d9cab5924 --- /dev/null +++ b/games-arcade/marbleblast-demo/metadata.xml @@ -0,0 +1,31 @@ +<?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> +Marble Blast is an arcade action game with simple yet addictive gameplay, +suitable for players of any age. In the rich cartoon landscape of Marble +Blast, players will race their marbles through moving platforms, dangerous +hazards, sparkling treasures and power up enhancements in an effort to +complete each course in record time. + +Marble Blast introduces new players to the game with a set of +progressively more difficult beginner training levels, each designed to +showcase a power up or game hazard. The hazards players will face in +Marble Blast include powerful fans, whirling tornados, land mines, +pinball-style bumpers, narrow catwalks, moving pistons, dizzying chasms, +and more. + +To get past these obstacles, players can find and use five different +ability enhancing power ups - the SuperSpeed, SuperJump, SuperBounce, +Shock Asbsorber and Gyrocopter. Some levels contain gravity modifiers, +which allow the player to change the direction of gravity. + +Marble Blast comes with 72 whimsical and challenging levels, as well as +the ability for advanced players to craft and share their own levels. +Marble Blast is sure to provide many hours of fun for the whole family. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/marbleblastgold-demo-1.4.1 b/games-arcade/marbleblastgold-demo-1.4.1 deleted file mode 100644 index b5722c9f0776..000000000000 --- a/games-arcade/marbleblastgold-demo-1.4.1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DESCRIPTION=race marbles through crazy stages -EAPI=5 -HOMEPAGE=http://www.garagegames.com/pg/product/view.php?id=15 -KEYWORDS=-* ~amd64 ~x86 -LICENSE=MARBLEBLAST -RDEPEND=sys-libs/glibc games-misc/games-envd -RESTRICT=strip -SLOT=0 -SRC_URI=ftp://ggdev-1.homelan.com/marbleblastgold/MarbleBlastGoldDemo-1.4.1.sh.bin -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 unpacker 87633b2194cdb56adaa1f5a5c8862c44 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=615b7e78862b6d24ef1ea7a30191c714 diff --git a/games-arcade/marbleblastgold-demo/Manifest b/games-arcade/marbleblastgold-demo/Manifest new file mode 100644 index 000000000000..b8cf7a51b5b8 --- /dev/null +++ b/games-arcade/marbleblastgold-demo/Manifest @@ -0,0 +1,3 @@ +DIST MarbleBlastGoldDemo-1.4.1.sh.bin 11180534 BLAKE2B 1b0b1fca99bf7bdbb4beb5572d4ec10c634a6dffe8ce1576452011f1283196cd983adbb4d01b9c24590bd97cd2f9145bb67007cb76f0867335c8f4fc8f3e7d7e SHA512 16f03cdcf3cd6440048d8640c2a91078637d018f15a49764eca914259d65196f5a16a90abc11283d0e4b9af1b290d7ab880e96caae2dd6c813ac6d3d8414ec2c +EBUILD marbleblastgold-demo-1.4.1.ebuild 904 BLAKE2B 630af85f2133966e89aff109e34f96a3e7ce87a83bb5e12a70988b9b20a4d2900de814a8c7c4725310143d2ad7d59cf9e94207809d299b1313b7cf04a2add6c5 SHA512 a10852eb114248edfc76003d2c4f9851a4543a7e6d3a4c6804f5549187e306611871bbd078a870eba4bcd56bbaf506960e8f71c314a069f774a344e60a986629 +MISC metadata.xml 1615 BLAKE2B 4880aa111ff55d0b7c88faad0ce24759bc1f7420d0bcb0ea56dbd96cf2da3a5a3702c11df328264cdc322ed49d956522ea83955b23f7b9a85e89cff189efae62 SHA512 4fb1d433646a33670f1165e257dc5767e10b2b1d6fb8ca79c90a9dac234f88f215db790177933d341f1564f34093bf3facbd5b245a4cfe9a148a05497c8eb036 diff --git a/games-arcade/marbleblastgold-demo/marbleblastgold-demo-1.4.1.ebuild b/games-arcade/marbleblastgold-demo/marbleblastgold-demo-1.4.1.ebuild new file mode 100644 index 000000000000..db76c45ef6a0 --- /dev/null +++ b/games-arcade/marbleblastgold-demo/marbleblastgold-demo-1.4.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit unpacker games + +DESCRIPTION="race marbles through crazy stages" +HOMEPAGE="http://www.garagegames.com/pg/product/view.php?id=15" +SRC_URI="ftp://ggdev-1.homelan.com/marbleblastgold/MarbleBlastGoldDemo-${PV}.sh.bin" + +LICENSE="MARBLEBLAST" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +RDEPEND="sys-libs/glibc" + +dir=${GAMES_PREFIX_OPT}/${PN} +QA_PREBUILT="${dir:1}/marbleblastgolddemo.bin + ${dir:1}/lib/*" + +S=${WORKDIR} + +src_install() { + dodir "${dir}" "${GAMES_BINDIR}" + + tar -zxf MarbleBlast.tar.gz -C "${D}/${dir}" || die "extracting MarbleBlast.tar.gz" + + exeinto "${dir}" + doexe bin/Linux/x86/marbleblastgolddemo + dosym "${dir}"/marbleblastgolddemo "${GAMES_BINDIR}"/marbleblastgold-demo + + insinto "${dir}" + doins MarbleBlast.xpm + + dodoc README.txt + + prepgamesdirs +} diff --git a/games-arcade/marbleblastgold-demo/metadata.xml b/games-arcade/marbleblastgold-demo/metadata.xml new file mode 100644 index 000000000000..9b3bdd524a91 --- /dev/null +++ b/games-arcade/marbleblastgold-demo/metadata.xml @@ -0,0 +1,36 @@ +<?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> +Marble Blast Gold is an arcade action game with simple yet +addictive gameplay, suitable for players of any age. In the +rich cartoon landscape of Marble Blast Gold, players will race +their marbles through moving platforms, dangerous hazards, +sparkling treasures and power up enhancements in an effort to +complete each course in record time. + +Marble Blast Gold introduces new players to the game with a set +of progressively more difficult beginner training levels, each +designed to showcase a power up or game hazard. The hazards +players will face in Marble Blast include powerful fans, +whirling tornados, land mines, pinball-style bumpers, narrow +catwalks, moving pistons, dizzying chasms, and more. + +To get past these obstacles, players can find and use five +different ability enhancing power ups - the SuperSpeed, +SuperJump, SuperBounce, Shock Absorber and Gyrocopter. Some +levels contain gravity modifiers, which allow the player to +change the direction of gravity. + +Marble Blast Gold comes with 100 whimsical and challenging +levels, as well as the ability for advanced players to craft +and share their own levels. Each level has "gold standard" set +for the high score, so you can test your skills against the +record 'gold' times. Marble Blast Gold is sure to provide many +hours of fun for the whole family. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/metadata.xml b/games-arcade/metadata.xml new file mode 100644 index 000000000000..992ba13fea49 --- /dev/null +++ b/games-arcade/metadata.xml @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> + <longdescription lang="en"> + The games-arcade category contains arcade games. + </longdescription> + <longdescription lang="de"> + Die Kategorie games-arcade enthält Arcadespiele. + </longdescription> + <longdescription lang="es"> + La categorÃa games-arcade contiene juegos arcade. + </longdescription> + <longdescription lang="ja"> + games-arcadeカテゴリーã«ã¯ã‚¢ãƒ¼ã‚±ãƒ¼ãƒ‰ãƒ»ã‚²ãƒ¼ãƒ ãŒå«ã¾ã‚Œã¦ã„ã¾ã™ã€‚ + </longdescription> + <longdescription lang="nl"> + De games-arcade categorie bevat arcadespellen. + </longdescription> + <longdescription lang="vi"> + Nhóm games-arcade chứa các trò chÆ¡i dạng "arcade". + </longdescription> + <longdescription lang="it"> + La categoria games-arcade contiene giochi arcade. + </longdescription> + <longdescription lang="pt"> + A categoria games-arcade contém jogos de arcade. + </longdescription> + <longdescription lang="pl"> + Kategoria games-arcade zawiera gry zrÄ™cznoÅ›ciowe. + </longdescription> + <longdescription lang="ru"> + ÐšÐ°Ñ‚ÐµÐ³Ð¾Ñ€Ð¸Ñ games-arcade Ñодержит игры-аркады. + </longdescription> +</catmetadata> + diff --git a/games-arcade/methane-1.5.1 b/games-arcade/methane-1.5.1 deleted file mode 100644 index b0a9c5da65ae..000000000000 --- a/games-arcade/methane-1.5.1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=dev-games/clanlib:2.3[opengl,mikmod] virtual/pkgconfig -DESCRIPTION=Port from an old amiga game -EAPI=5 -HOMEPAGE=http://methane.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2+ -RDEPEND=dev-games/clanlib:2.3[opengl,mikmod] games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/methane/methane-1.5.1.tgz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=9f4ad259913c35cc8667207576206389 diff --git a/games-arcade/methane/Manifest b/games-arcade/methane/Manifest new file mode 100644 index 000000000000..0a5c77f21481 --- /dev/null +++ b/games-arcade/methane/Manifest @@ -0,0 +1,4 @@ +AUX methane-1.5.1-gentoo.patch 2873 BLAKE2B 3cb70f3813614b9a82a56cbced6d8186969e4c098af7056be04b1cf29784a776476c03125e178d535ec2e6fcbe470cbb805e0fa3ba168c458020e9a8e9b6c018 SHA512 21d117144cd1bc1813cea80ed07f18f046a1600449bc1be231cec46e6a2c185c30b572ccdc921e8333e0d32ace2c65b1821c61a726f8ced4be094cafa5fb3768 +DIST methane-1.5.1.tgz 1057881 BLAKE2B c783d8153e96cbf0f8f3593cd5ddccd0a9ec8222f61667d411cd3be7159ecf5a3364ad0212b77590b256fc33094e7ea73b83bdcb048aaea6d506e3e146b1412a SHA512 3506f288179a127f8508bd9d4225618d8dcd93794c559822ed2836bb46a318ce3c199f951f564064091b1125375118f2d64c50a27059dcd0e49c8379fa8c3155 +EBUILD methane-1.5.1.ebuild 1095 BLAKE2B 99f469e627db95dcff7aac65e6395900cacaa473c253687b06f3b53509cfa70fa2763f94ab8c3a5675c0e958de8a6cf5a7f52ae2a8926c166aa82602a99fb10f SHA512 7a2ce47530e10eb6f614b338a40ebd670db1a1ac1eaf28ced845a61db021422c46c94f523e4b27b994e954a4b37d0e12bb377746a0379521e79d2ef60005d0f2 +MISC metadata.xml 330 BLAKE2B 29205dbe4c0acf2e057c19d5c24057eff9fd7727fee56876d2bf9705baf2613ba80c59a6bcaf80d2346629259d4287ae7697c63466aa4f053ab3105f7efad5bf SHA512 fbb2b283c78c2952bb974a7b247ad80e4d1a9c1d8af47fa13e3d48fc91c9372c09b04212c55c6b06bbc939ea55e64c42bdd6fbae7cbb60c8fa6ed60f48305960 diff --git a/games-arcade/methane/files/methane-1.5.1-gentoo.patch b/games-arcade/methane/files/methane-1.5.1-gentoo.patch new file mode 100644 index 000000000000..9e49ecdff25c --- /dev/null +++ b/games-arcade/methane/files/methane-1.5.1-gentoo.patch @@ -0,0 +1,62 @@ +--- Makefile.old 2012-11-26 18:58:48.201837870 +0100 ++++ Makefile 2012-11-27 12:30:16.038998128 +0100 +@@ -1,5 +1,5 @@ +-METHANE_FLAGS = -DENABLE_SOUND `pkg-config --cflags clanCore-2.2 clanDisplay-2.2 clanApp-2.2 clanGL-2.2 clanGL1-2.2 clanSWRender-2.2 clanSound-2.2 clanMikMod-2.2` +-METHANE_LIBS = `pkg-config --libs clanCore-2.2 clanDisplay-2.2 clanApp-2.2 clanGL-2.2 clanGL1-2.2 clanSWRender-2.2 clanSound-2.2 clanMikMod-2.2` ++METHANE_FLAGS = -DENABLE_SOUND `pkg-config --cflags clanCore-2.3 clanDisplay-2.3 clanApp-2.3 clanGL-2.3 clanGL1-2.3 clanSWRender-2.3 clanSound-2.3 clanMikMod-2.3` ++METHANE_LIBS = `pkg-config --libs clanCore-2.3 clanDisplay-2.3 clanApp-2.3 clanGL-2.3 clanGL1-2.3 clanSWRender-2.3 clanSound-2.3 clanMikMod-2.3` + + OBJF = build/game.o build/baddie.o build/methane.o build/target.o build/maps.o build/gfxoff.o build/mapdata.o build/objlist.o build/doc.o build/bitdraw.o build/global.o build/suck.o build/power.o build/goodie.o build/bititem.o build/player.o build/weapon.o build/bitgroup.o build/boss.o build/sound.o build/gasobj.o build/misc.o + +@@ -10,7 +10,7 @@ + @echo "=================================" + + methane: ${OBJF} +- g++ ${CXXFLAGS} ${OBJF} -o methane ${METHANE_LIBS} ++ $(CXX) ${LDFLAGS} ${CXXFLAGS} ${OBJF} -o methane ${METHANE_LIBS} + + clean: + @rm -Rf build +@@ -23,6 +23,6 @@ + build/%.o : sources/%.cpp + @echo " Compiling $<..." + @if [ ! -d build ]; then mkdir build; fi +- gcc ${CXXFLAGS} ${METHANE_FLAGS} -c $< -o $@ ++ $(CXX) ${CXXFLAGS} ${METHANE_FLAGS} -c $< -o $@ + + +--- sources/methane.cpp.old 2012-11-27 13:49:22.993003266 +0100 ++++ sources/methane.cpp 2012-11-27 17:37:23.051913777 +0100 +@@ -80,15 +80,15 @@ + return 0; + } + +- CL_AutoPtr<CL_SetupSound> setup_sound; +- CL_AutoPtr<CL_SoundOutput> sound_output; +- CL_AutoPtr<CL_SetupMikMod> setup_mikmod; ++ CL_UniquePtr<CL_SetupSound> setup_sound; ++ CL_UniquePtr<CL_SoundOutput> sound_output; ++ CL_UniquePtr<CL_SetupMikMod> setup_mikmod; + + if (GLOBAL_SoundEnable) + { +- setup_sound = new CL_SetupSound; +- sound_output = new CL_SoundOutput(44100); +- setup_mikmod = new CL_SetupMikMod; ++ setup_sound = cl_move(CL_UniquePtr<CL_SetupSound>(new CL_SetupSound)); ++ sound_output = cl_move(CL_UniquePtr<CL_SoundOutput>(new CL_SoundOutput(44100))); ++ setup_mikmod = cl_move(CL_UniquePtr<CL_SetupMikMod>(new CL_SetupMikMod)); + } + + // Set the video mode +--- sources/target.cpp.old 2012-11-28 21:34:32.666878913 +0100 ++++ sources/target.cpp 2012-11-28 21:35:16.371247221 +0100 +@@ -132,7 +132,7 @@ + CL_GraphicContext gc = m_pWindow->get_gc(); + + // Find the resources directory: +- CL_String resource_dir = CL_Directory::get_resourcedata("methane"); ++ CL_String resource_dir = "@GENTOO_DATADIR@/methane/"; + CL_String dataname("page_01.png"); + CL_String filename = resource_dir + dataname; + if (!CL_FileHelp::file_exists(filename)) diff --git a/games-arcade/methane/metadata.xml b/games-arcade/methane/metadata.xml new file mode 100644 index 000000000000..4df86fb4c243 --- /dev/null +++ b/games-arcade/methane/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">methane</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/methane/methane-1.5.1.ebuild b/games-arcade/methane/methane-1.5.1.ebuild new file mode 100644 index 000000000000..5eb599ba6769 --- /dev/null +++ b/games-arcade/methane/methane-1.5.1.ebuild @@ -0,0 +1,43 @@ +# 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="Port from an old amiga game" +HOMEPAGE="http://methane.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-games/clanlib:2.3[opengl,mikmod]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}:" \ + sources/target.cpp || die + + # fix weird parallel make issue wrt #450422 + mkdir build || die + append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788) +} + +src_install() { + dogamesbin methane + insinto "${GAMES_DATADIR}"/${PN} + doins resources/* + dodir "${GAMES_STATEDIR}" + touch "${D}/${GAMES_STATEDIR}"/methanescores + fperms g+w "${GAMES_STATEDIR}"/methanescores + newicon docs/puff.gif ${PN}.gif + make_desktop_entry ${PN} "Super Methane Brothers" /usr/share/pixmaps/${PN}.gif + dodoc authors.txt history.txt readme.txt + dohtml docs/* + prepgamesdirs +} diff --git a/games-arcade/missile-1.0.1-r1 b/games-arcade/missile-1.0.1-r1 deleted file mode 100644 index c3b543a41cbd..000000000000 --- a/games-arcade/missile-1.0.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install postinst postrm preinst prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer >=sys-apps/sed-4 -DESCRIPTION=The game Missile Command for Linux -EAPI=6 -HOMEPAGE=http://missile.sourceforge.net/ -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer -SLOT=0 -SRC_URI=mirror://sourceforge/missile/missile-1.0.1.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=a9ba35cdc2e001e6b336ec5325f456b6 diff --git a/games-arcade/missile/Manifest b/games-arcade/missile/Manifest new file mode 100644 index 000000000000..9cf5ad13b9ce --- /dev/null +++ b/games-arcade/missile/Manifest @@ -0,0 +1,4 @@ +AUX missile-1.0.1-ldflags.patch 441 BLAKE2B 165f02176acb378833043931c696459c449b4c77389a84cefb62a11cb77c7c743157e29d7c2de927f57babcb6790c307676bae6d022a181963cf29b9da923992 SHA512 f29ce3eacbde93ec61a327462ab8096a1530752bec6391f98b5999af9b3fec5cd0ffc6a02e592a74ea5d7f535b3e6224bf9bb10537a55ab0c9bdbdd85e50d0f2 +DIST missile-1.0.1.tar.gz 214933 BLAKE2B a1131971051008b9be4d79b3b92d630653cc045988c62ba1090f482bccd62ba4f63320882e75c889c64c9b54bad0c5270400c0b9f54dfc6be4cb1e3ac2f42a36 SHA512 32d30213d433fd3d02d74c4614747bdc2e3012c77793dfb7b869d774b7f43f4d0eb6b1a0e5db805d976e7919404c57cbbaa20f21954dfd4475ddaa6c2f6c0cc2 +EBUILD missile-1.0.1-r1.ebuild 1040 BLAKE2B 79710c97bb71b8ec2b23bbd43d5f015457e4b2880254ad983ba3936a6cdd4df8a556f7aafe0fe914a1d6fac73cbd8d7014976f1c0107ec5b98b724a36ecbe182 SHA512 58f6dcc1aac56aec4500e3ba83a38563de5485aedae66322bbf3d7c4a6faee98ca8d1b36157f9c4624da7292508b6863cf1f289d87e93c7e2d0862f5fbf16e36 +MISC metadata.xml 330 BLAKE2B 9b2dd9925eec0680e98ae011358f7530aa05d1155883f3d97f2814bbbb30726c27a0f37a731f4ad379a8f2f34428f659373f93adf070ccc4dae6c168c6f0dba0 SHA512 ab5f1e51dec4ccf1f6d4d78282b5fe1ed115cabc124ca34ec0ab11246a76017ec60c1df83fedf4e88a6b35ab48a6d1f5e0b5dc8785c4031aba868c37d280b3a4 diff --git a/games-arcade/missile/files/missile-1.0.1-ldflags.patch b/games-arcade/missile/files/missile-1.0.1-ldflags.patch new file mode 100644 index 000000000000..744b8192c5b9 --- /dev/null +++ b/games-arcade/missile/files/missile-1.0.1-ldflags.patch @@ -0,0 +1,15 @@ +--- a/Makefile.old 2010-09-22 09:11:48.000000000 +0200 ++++ b/Makefile 2010-09-22 09:13:08.000000000 +0200 +@@ -125,10 +125,10 @@ + fi + + $(PROGRAM): $(OBJECTS) +- $(CC) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(LIBS) ++ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(LIBS) + + static : $(OBJECTS) +- $(CC) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(STATIC_LIBS) ++ $(CC) $(LDFLAGS) -o $(PROGRAM) $(OBJECTS) $(CFLAGS) $(STATIC_LIBS) + + + %.o : %.c %.h diff --git a/games-arcade/missile/metadata.xml b/games-arcade/missile/metadata.xml new file mode 100644 index 000000000000..d0eaca34447e --- /dev/null +++ b/games-arcade/missile/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">missile</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/missile/missile-1.0.1-r1.ebuild b/games-arcade/missile/missile-1.0.1-r1.ebuild new file mode 100644 index 000000000000..2e9d9e9874db --- /dev/null +++ b/games-arcade/missile/missile-1.0.1-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop gnome2-utils + +DESCRIPTION="The game Missile Command for Linux" +HOMEPAGE="http://missile.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e '/^CC/d' \ + -e "s:\$(game_prefix)/\$(game_data):/usr/share/${PN}:" \ + -e "s/-O2/${CFLAGS}/" \ + -e 's/-lSDL_image $(SND_LIBS)/-lSDL_image -lm $(SND_LIBS)/g' \ + Makefile || die +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r data/* + newicon -s 48 icons/${PN}_icon_black.png ${PN}.png + make_desktop_entry ${PN} "Missile Command" + einstalldocs +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/moleinvasion-0.4-r2 b/games-arcade/moleinvasion-0.4-r2 deleted file mode 100644 index 04342f8ef428..000000000000 --- a/games-arcade/moleinvasion-0.4-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[opengl,video] virtual/opengl media-libs/sdl-image[jpeg,png] media-libs/sdl-mixer[vorbis] media-libs/sdl-ttf -DESCRIPTION=Mole infested 2D platform game -EAPI=6 -HOMEPAGE=http://moleinvasion.tuxfamily.org/ -IUSE=music -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[opengl,video] virtual/opengl media-libs/sdl-image[jpeg,png] media-libs/sdl-mixer[vorbis] media-libs/sdl-ttf -SLOT=0 -SRC_URI=ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-0.4.tar.bz2 music? ( mirror://gentoo/moleinvasion-music-20090731.tar.gz ) -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=003ef87e5d8b5968949d50fc5e1bf514 diff --git a/games-arcade/moleinvasion/Manifest b/games-arcade/moleinvasion/Manifest new file mode 100644 index 000000000000..cf53ea6b11ea --- /dev/null +++ b/games-arcade/moleinvasion/Manifest @@ -0,0 +1,6 @@ +AUX moleinvasion-0.4-opengl.patch 439 BLAKE2B 35f32fa286716f2a93555346332858bdcdcbda73dec5561f8499000098b838b9ea9b4e67a2ed0fcf096cf9a1ccf527439989f7c9eea483238e4a002966ce57fd SHA512 2599574c0b8d6d9c3824f2f79b4f86da87b7eb53447fdfce53161f4f14daa1aac5b0916052c43ad1d8952c4e5d22ea02216e24c2299f1ef282e2535621171f21 +AUX moleinvasion-0.4-underlink.patch 295 BLAKE2B 83670e6acb629ec16fbe23e9dedd1fc86c95fc7b598f140c906531af2a01061d783cbe883b943864c69fbb836d6c7c3cc2b35653ca10e0ad564c1c71e04b4dd9 SHA512 96f113a1b4863f24c2dd2ae4afb67ca90a59db3856e69f98ecdbdf651f915c43555a96e30bcf6cb729cc63ef866cd79996e4b0ce7ca56f2758694920c56179ab +DIST MoleInvasion-0.4.tar.bz2 11213919 BLAKE2B be42f4530f86e347ca2d6d3e94203e698328c96150a82f8307080ecfef288e631dcf14f9b86003a40792e49d6ed899cd867b1ad9dc43272e9c29a784a1a48bb6 SHA512 e1d661758391c24b9daab8ba183a265b77f4b2454c8a55f8405b63a78e040491d0c1421a64736a590a574c364e43a8989ef1b958fa565419938d0c8daadbe03f +DIST moleinvasion-music-20090731.tar.gz 83772534 BLAKE2B 46b5cedb23604a178cb5fa8dab4546219f5318490b607093f2a0be831fbbe1b7c901b6db474e2a2f590993b11934e0286f62068268b0251368da6b33070e8c25 SHA512 ca3a2d32705afbc878bd370ceb07367a175eae0ea722e92d2993b4a1c6605763922279c15bb0cc42cf1ed15d5c7f1b13c9f8e000adbebf1f709bfbd92b5e791c +EBUILD moleinvasion-0.4-r2.ebuild 1107 BLAKE2B 7ec10fefc0ce81fea498e2c305695552e926d51b11a74ec351156b3fe7b59b615bc920fcf9f88a8e45a285819cebf55d9f73e93c35e2a651f12bc73fed706dd6 SHA512 4c89a1d7e71a8ce5228348136420eee82a33fafd48b520cfb26bd9463703d3ed6cfdd2fde6d047d2168e0fa70330a9b0bda086741dd985ab4dfb1dacd1f0c172 +MISC metadata.xml 333 BLAKE2B 0682ce190ac920412cd383e548d541d1f7065ae269090fad7123fcfeef0b5c3678e0e3ade79db7c2735345b1c0ba6a565f33b89c239b2b549d865e923fdc9e6e SHA512 3ffaaeb4a0358f39d4fa18f074b91134d40bbca73244de5a8a2f5049c851130a8483c23e0917d662c42e79c5a516a820796682bc0d995497ad64fb8be6e94f19 diff --git a/games-arcade/moleinvasion/files/moleinvasion-0.4-opengl.patch b/games-arcade/moleinvasion/files/moleinvasion-0.4-opengl.patch new file mode 100644 index 000000000000..357f1bc2b466 --- /dev/null +++ b/games-arcade/moleinvasion/files/moleinvasion-0.4-opengl.patch @@ -0,0 +1,18 @@ +--- src/MoleInvasion.c ++++ src/MoleInvasion.c +@@ -159,6 +159,7 @@ + else + printf("Video mode set to %ux%u at %u bpp\n",800, 600, bpp); + ++ if(g_opengl) { + /* pour opengl */ + glEnable (GL_TEXTURE_2D); + glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); +@@ -169,6 +170,7 @@ + glEnable( GL_BLEND ); + glMatrixMode(GL_PROJECTION); + /* fin opengl */ ++ } + + /* titre */ + SDL_WM_SetCaption ("Mole Invasion", NULL); diff --git a/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch b/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch new file mode 100644 index 000000000000..7ee61f91e378 --- /dev/null +++ b/games-arcade/moleinvasion/files/moleinvasion-0.4-underlink.patch @@ -0,0 +1,11 @@ +--- a/Makefile.old 2011-06-14 22:12:00.920386798 +0200 ++++ b/Makefile 2011-06-14 22:12:22.118716548 +0200 +@@ -11,7 +11,7 @@ + EDTOB = editor + EDWOB = editworld + +-LINLIBS=$(LDLIBS) -lGL ++LINLIBS=$(LDLIBS) -lGL -ldl + LINEXE = ../lin/moleinvasion + LINEDT = ../lin/editor + LINEDW = ../lin/editworld diff --git a/games-arcade/moleinvasion/metadata.xml b/games-arcade/moleinvasion/metadata.xml new file mode 100644 index 000000000000..82c310972ccf --- /dev/null +++ b/games-arcade/moleinvasion/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">Download and install the music files</flag> + </use> +</pkgmetadata> diff --git a/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild b/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild new file mode 100644 index 000000000000..885dd1d1524f --- /dev/null +++ b/games-arcade/moleinvasion/moleinvasion-0.4-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Mole infested 2D platform game" +HOMEPAGE="http://moleinvasion.tuxfamily.org/" +SRC_URI="ftp://download.tuxfamily.org/minvasion/packages/MoleInvasion-${PV}.tar.bz2 + music? ( mirror://gentoo/${PN}-music-20090731.tar.gz )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="music" + +DEPEND="media-libs/libsdl[opengl,video] + virtual/opengl + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-ttf +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + default + use music && mv -f "${WORKDIR}"/music ../ + sed -i \ + -e '/^CFLAGS/s:= -g:+=:' \ + -e '/^LDFLAGS/d' \ + -e "/^FINALEXEDIR/s:/usr.*:/usr/bin:" \ + -e "/^FINALDATADIR/s:/usr.*:/usr/share/${PN}:" \ + Makefile || die "sed failed" + + eapply "${FILESDIR}"/${P}-opengl.patch \ + "${FILESDIR}"/${P}-underlink.patch +} + +src_install() { + emake DESTDIR="${D}" install install-data + newicon ../gfx/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Mole Invasion" + doman ../debian/*.6 +} diff --git a/games-arcade/mrrescue-1.02b-r1 b/games-arcade/mrrescue-1.02b-r1 deleted file mode 100644 index 9e2e6b734bde..000000000000 --- a/games-arcade/mrrescue-1.02b-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install postinst postrm preinst -DEPEND=app-arch/unzip >=sys-apps/sed-4 -DESCRIPTION=Arcade 2d action game based around evacuating civilians from burning buildings -EAPI=6 -HOMEPAGE=http://tangramgames.dk/games/mrrescue/ -KEYWORDS=~amd64 ~x86 -LICENSE=CC-BY-SA-3.0 MIT ZLIB -RDEPEND=games-engines/love:0 -SLOT=0 -SRC_URI=https://github.com/SimonLarsen/mrrescue/releases/download/v1.02b/mrrescue-1.02b-love.zip https://dev.gentoo.org/~hasufell/distfiles/mrrescue.png -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=323a892aafa369c18c1257c0457c0372 diff --git a/games-arcade/mrrescue/Manifest b/games-arcade/mrrescue/Manifest new file mode 100644 index 000000000000..d5e45442a553 --- /dev/null +++ b/games-arcade/mrrescue/Manifest @@ -0,0 +1,4 @@ +DIST mrrescue-1.02b-love.zip 11874167 BLAKE2B fce98b602fa276fb922671e6f197d7ad2f7d50539efe2a8c6dcb99b1e904a17039559b7390717ad7be443c291ca37296214a5efb93fa02b9db979a87db75c408 SHA512 24186570c89694889c1d9f17522dd201f20bae2c43237f366397065a7023c89bab3bb9cdc6677cf09bc7cbeaf9926710a3db15818eee9ce8024fedbfcb8fb516 +DIST mrrescue.png 4738 BLAKE2B ca440b008c8870f822c52778aa2ee5eb78a5ec318f133b9d3deba990c49870bcc69d2d6638b3072baedd8cfa27d1ec8a2fc320eda3da643ce2d022a4aff540c7 SHA512 9395e239e300397ed791573758242d75003caaf8c1d66c4f7a0299114ee4f1b40376bb2d532ed4a02fa97f773408ad5ef00ba228ee976fd30ddaa2f60ea80b9c +EBUILD mrrescue-1.02b-r1.ebuild 931 BLAKE2B e4fc09c921745160045972311589a3213e5b37f4c134011abe5165346920079ed04dc80fc07d43f19b15ebfe65c98efb000678e5a362eab984b34e0ab83d1600 SHA512 966851e87880a62027ec9d76f5cf36d5e84b77b622163149657accd6bc3b2e2271565ec4eb0e425ce777c48de47ed7cf28ad7ee3561652e2312a98c6d9d2445e +MISC metadata.xml 338 BLAKE2B d2f1a16a96f9ca0b31afedba78fec26f446d2a5d8a1984e6040059cf6e62749fc52806089c0d35c5bd08bbe720cc21be6c0c0f8e81dd5d32d5cebae0624a0d18 SHA512 91e9e003edb4f15c5cb51d1ec9e70941155bb7efc4de7d34272e4c3254e27e59081bb0c843909b0831c1888df4051ca9d8315f7f7251c4d3342dcdd7007daa16 diff --git a/games-arcade/mrrescue/metadata.xml b/games-arcade/mrrescue/metadata.xml new file mode 100644 index 000000000000..8b23901e939a --- /dev/null +++ b/games-arcade/mrrescue/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="github">SimonLarsen/mrrescue</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/mrrescue/mrrescue-1.02b-r1.ebuild b/games-arcade/mrrescue/mrrescue-1.02b-r1.ebuild new file mode 100644 index 000000000000..f8e65e459789 --- /dev/null +++ b/games-arcade/mrrescue/mrrescue-1.02b-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnome2-utils + +DESCRIPTION="Arcade 2d action game based around evacuating civilians from burning buildings" +HOMEPAGE="http://tangramgames.dk/games/mrrescue/" +SRC_URI="https://github.com/SimonLarsen/mrrescue/releases/download/v${PV}/${P}-love.zip + https://dev.gentoo.org/~hasufell/distfiles/${PN}.png" + +LICENSE="CC-BY-SA-3.0 MIT ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="games-engines/love:0" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${P}-love" + +src_install() { + local dir=/usr/share/love/${PN} + + exeinto "${dir}" + doexe ${PN}.love + + einstalldocs + + doicon -s 64 "${DISTDIR}"/${PN}.png + make_wrapper ${PN} "love ${PN}.love" "${dir}" + make_desktop_entry ${PN} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/netris-0.52-r2 b/games-arcade/netris-0.52-r2 deleted file mode 100644 index 53fa1b19c381..000000000000 --- a/games-arcade/netris-0.52-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=configure install prepare -DEPEND=sys-libs/ncurses:0= -DESCRIPTION=Classic networked version of T*tris -EAPI=6 -HOMEPAGE=http://www.netris.org/ -KEYWORDS=~amd64 ~mips ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0= -SLOT=0 -SRC_URI=ftp://ftp.netris.org/pub/netris/netris-0.52.tar.gz mirror://debian/pool/main/n/netris/netris_0.52-9.diff.gz -_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=228ce291a40346545e8a631cf5394229 diff --git a/games-arcade/netris/Manifest b/games-arcade/netris/Manifest new file mode 100644 index 000000000000..01b092e6b623 --- /dev/null +++ b/games-arcade/netris/Manifest @@ -0,0 +1,4 @@ +DIST netris-0.52.tar.gz 33135 BLAKE2B e6958494b3f1e269b87d5e6833355af98c3936e282870afd8153711603b8115998cebe91f5e86afacc58b20cc8ad9ea2fae69906fa544948de7cb6ad77425cfd SHA512 842ad8602394dee929c3c4ba222f9f5ffe628e52348c3faf7c9098bbd5b0b0279fffc7927320f8ee8a5102537c995a8ed605d851f1cd32e4bd8976a7889c84e1 +DIST netris_0.52-9.diff.gz 14482 BLAKE2B 746410106ca944949e1c589f9bc1dcb011269a70339bfff8adcd2ca6eefb51f32cc77b61cc6b25f64a75629e915bf2dc0a8fcc6a9e76d0f7c4dae1d651e8e77f SHA512 4bed230091ddecf5a0dc043981ec9b0a177bee01262715b9cb9a2af0adefe2db52555416b795a70dd496e6fb0b132586bc7f32d2a480f1cfd6c4d40304076109 +EBUILD netris-0.52-r2.ebuild 1249 BLAKE2B 6b08a3e8d84fe8fd60f4e2edb956636fb7260f4d5da45f5f62405950edf9ba8d2b6fcf6d927d89156d712d232aa1c8542dc9e3fa6f0452c202fca2c993c82bd3 SHA512 2ba751c4e8aa8d8b0f28895ceb2569efdc6737fe60513847a19544836b1258001b80a4d41f52e8c229a235282c8721970a61f0b60d259a1598a55a86730ddc7e +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/netris/metadata.xml b/games-arcade/netris/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/netris/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-arcade/netris/netris-0.52-r2.ebuild b/games-arcade/netris/netris-0.52-r2.ebuild new file mode 100644 index 000000000000..16cf7b4c01d3 --- /dev/null +++ b/games-arcade/netris/netris-0.52-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DEB_VER="9" +DESCRIPTION="Classic networked version of T*tris" +HOMEPAGE="http://www.netris.org/" +SRC_URI="ftp://ftp.netris.org/pub/netris/${P}.tar.gz + mirror://debian/pool/main/n/netris/netris_${PV}-${DEB_VER}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="sys-libs/ncurses:0=" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + tc-export CC CXX LD AR RANLIB + + eapply "${WORKDIR}"/netris_${PV}-${DEB_VER}.diff + eapply "${S}"/debian/patches/[01]* + + # bug #185332 + sed -i \ + -e '/sys\/time/ i\ +#include <sys/types.h> \ +#include <time.h> +' \ + -e '/netint2/ s/short/int16_t/' \ + -e '/netint4/ s/long/int32_t/' \ + netris.h || die + sed -i \ + -e 's/volatile //g' \ + -e '/Be more forgiving/d' \ + -e 's/static myRandSeed/static int myRandSeed/' \ + util.c || die + sed -i \ + -e 's/\(long pauseTimeLeft\)/\1 = 0/' \ + game.c || die + sed -i \ + -e '/^CC/d' \ + -e '/^COPT/d' \ + -e '/^CFLAGS/d' \ + -e 's/(LFLAGS)/(LDFLAGS) $(LFLAGS)/' \ + Configure || die +} + +src_configure() { + bash ./Configure -O || die +} + +src_install() { + dobin netris sr + dodoc FAQ README robot_desc +} diff --git a/games-arcade/nibbles-0.0.4 b/games-arcade/nibbles-0.0.4 deleted file mode 100644 index 28465acc4b91..000000000000 --- a/games-arcade/nibbles-0.0.4 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=sys-libs/ncurses:0 -DESCRIPTION=An ncurses-based Nibbles clone -EAPI=5 -HOMEPAGE=http://www.earth.li/projectpurple/progs/nibbles.html -KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd ~x86-linux ~ppc-macos -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0 games-misc/games-envd -SLOT=0 -SRC_URI=http://www.earth.li/projectpurple/files/nibbles-v0.0.4.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=7ef617c8bab27fce864563dc61970454 diff --git a/games-arcade/nibbles/Manifest b/games-arcade/nibbles/Manifest new file mode 100644 index 000000000000..e2b4724f2cf1 --- /dev/null +++ b/games-arcade/nibbles/Manifest @@ -0,0 +1,4 @@ +AUX nibbles-0.0.4-as-needed.patch 503 BLAKE2B 3d026b46844c1555a7df9516846b8ba2ea048a3a06ba017f9461930254fdcf7480abffedf8b94da095cb8fd50bda8f73756f06b26d10b41564de9eada7745254 SHA512 3cda4a99fe731cc5c860ec914f78cbcf3dbe6438e9d8d973037b252652a8fe257227809fef64829e07bf49e6cfeda5557575b22c602cc0f0c39882354f1b3181 +DIST nibbles-v0.0.4.tar.gz 18610 BLAKE2B 264331c2ef612d1421c370df601da3d8bd5b04c34f7a41e8a8b78480a308d9e8b24177db3666785603efefabd873af04b24bf31d1b320e3fac7698b1b98e2ee0 SHA512 a10af4f20af371c2a8ab4cf69c4a73120670815467177d3bc2a05aa198e9edf80cc1d47edf40d06059baf6e51cf7018ed4830a3a5bda6a35868548403f5f414b +EBUILD nibbles-0.0.4.ebuild 1029 BLAKE2B 374f3849f7fe6a69170f794ef83cfec94fe5ccf49be744dfe6d898ae63689413b4327a3260d47d50458fb2bfe0b71c07a9884ae3893dcc0c279d9cccf0c1eb20 SHA512 dc88a354455ddc2bb79737ef07f482252f032bce8af3443790418eb858973e195992b30fadd215b68f916930ab120da80156eccb29f8f766670d01e758e6aaf0 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch b/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch new file mode 100644 index 000000000000..7e27d1fb9cac --- /dev/null +++ b/games-arcade/nibbles/files/nibbles-0.0.4-as-needed.patch @@ -0,0 +1,24 @@ +--- Makefile.old 2009-02-02 12:40:36.000000000 +0100 ++++ Makefile 2009-02-02 12:41:22.000000000 +0100 +@@ -1,19 +1,14 @@ +-CC = gcc -Wall -g +- + SRCS = player.c main.c loadMap.c cmdline.c ncdrawlib.c scoring.c + OBJS = $(SRCS:.c=.o) +-LIBS = -lncurses ++LDLIBS = -lncurses + + INSTALL=/usr/bin/install -c + INSTALL_FOLDER=/usr/games + + all: nibbles + +-.c.o: +- $(CC) -c $*.c -o $*.o +- + nibbles: $(OBJS) +- $(CC) $(LIBS) $(OBJS) -o $@ ++ $(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@ + + clean: + rm -f *~ *.o nibbles diff --git a/games-arcade/nibbles/metadata.xml b/games-arcade/nibbles/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/nibbles/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-arcade/nibbles/nibbles-0.0.4.ebuild b/games-arcade/nibbles/nibbles-0.0.4.ebuild new file mode 100644 index 000000000000..fe523f359b3d --- /dev/null +++ b/games-arcade/nibbles/nibbles-0.0.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +MY_P=${PN}-v${PV} +DESCRIPTION="An ncurses-based Nibbles clone" +HOMEPAGE="http://www.earth.li/projectpurple/progs/nibbles.html" +SRC_URI="http://www.earth.li/projectpurple/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND="sys-libs/ncurses:0" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +src_prepare() { + sed -i \ + -e "s#/usr/local/games/nibbles.levels#${GAMES_DATADIR}/${PN}#" \ + nibbles.h || die + + sed -i \ + -e "s#/var/lib/games/nibbles.score#${GAMES_STATEDIR}/nibbles.scores#" \ + scoring.h || die + + epatch "${FILESDIR}"/${P}-as-needed.patch +} + +src_install() { + dogamesbin nibbles + + insinto "${GAMES_DATADIR}/${PN}" + doins nibbles.levels/* + + dodir "${GAMES_STATEDIR}" + touch "${D}${GAMES_STATEDIR}/nibbles.scores" + + dodoc HISTORY CREDITS TODO README + + prepgamesdirs + + fperms 664 "${GAMES_STATEDIR}/nibbles.scores" +} diff --git a/games-arcade/ninvaders-0.1.1-r1 b/games-arcade/ninvaders-0.1.1-r1 deleted file mode 100644 index 333a08e55980..000000000000 --- a/games-arcade/ninvaders-0.1.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=sys-libs/ncurses:0= -DESCRIPTION=ASCII space invaders clone -EAPI=6 -HOMEPAGE=http://ninvaders.sourceforge.net/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0= -SLOT=0 -SRC_URI=mirror://sourceforge/ninvaders/ninvaders-0.1.1.tar.gz -_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=539283765616b32492e1a80415235bd3 diff --git a/games-arcade/ninvaders/Manifest b/games-arcade/ninvaders/Manifest new file mode 100644 index 000000000000..fc70611339ee --- /dev/null +++ b/games-arcade/ninvaders/Manifest @@ -0,0 +1,4 @@ +AUX ninvaders-0.1.1-compile.patch 271 BLAKE2B 99ae9f36673555fbd5054a3214c4c32a1c3ca352149decc28a236f3a77d61f0b588ef62deeda919d0baa5eee30ec0dfd47c4bcb504f4c96f52baf65d5e58451f SHA512 a49a531b9c0109ff65d8519940a23f480a69e281fdf0b9b630532f65fb24eff77b95e8d16b21b32befe7f179a459fe3cf1635a5e978d988e2958c606ca3e2454 +DIST ninvaders-0.1.1.tar.gz 31275 BLAKE2B 7e27c230a94eb9841ab69f11b0b9a9c4ddcbd3079083ad82a08685778bd9dc21b2eafb91fa50e9762f0594846adbb33fef71d24ff48239271b2d58cbbf921d81 SHA512 7987063084d9a9f042b419e7552debf3f173b82ba3832c2575ae8461fb5f787d6a476c305d5c2d591b4574748c6ba50e42391796c384f225685c22f044553087 +EBUILD ninvaders-0.1.1-r1.ebuild 574 BLAKE2B 89c96b71b936f632a9b51a1e5a79119df9f1f7e5d1d8c879f8c007de6be2bc68ac225dd48b8f1caffe15ee87973fd0a6cc7e6f36a2a34043e84990abca7a1f78 SHA512 97c4cc5b792b88e466e00a86af1a643bc2bf6b32c0d379d23afe63de409ee9ffce0a6e9cbc364b7f1a0ece54574b6fee9b1f331fe8d16c395427c743c1c8cf51 +MISC metadata.xml 332 BLAKE2B c7b1b070cd77955f5196efefea2f9fd6acfbc7c50a319adf794e75325e201dcbdefcbb8086020248d27b145a4d1307372f5c4d3d8aad97213abc395e2da2f99c SHA512 5786e2e02e612dfd952bb1985b87a502c861d5c9e0aa2b0360df210ab9516bb88dde5b946e21fef795b62d3a99f64d28e402529bc10f749da9c8a57908a07595 diff --git a/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch b/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch new file mode 100644 index 000000000000..768ffccc6530 --- /dev/null +++ b/games-arcade/ninvaders/files/ninvaders-0.1.1-compile.patch @@ -0,0 +1,11 @@ +--- a/aliens.c.orig 2016-01-21 13:21:51.730154342 -0500 ++++ b/aliens.c 2016-01-21 13:22:09.488543075 -0500 +@@ -163,7 +163,7 @@ + aliens.right=-1; + aliens.bottom=-1; + shipnum=0; +- for (k=0;k<11;k++) { ++ for (k=0;k<ALIENS_MAX_NUMBER_X;k++) { + lowest_ship[k]=-1; + } + diff --git a/games-arcade/ninvaders/metadata.xml b/games-arcade/ninvaders/metadata.xml new file mode 100644 index 000000000000..451fd4c6895b --- /dev/null +++ b/games-arcade/ninvaders/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">ninvaders</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild b/games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild new file mode 100644 index 000000000000..84d3b0553b62 --- /dev/null +++ b/games-arcade/ninvaders/ninvaders-0.1.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="ASCII space invaders clone" +HOMEPAGE="http://ninvaders.sourceforge.net/" +SRC_URI="mirror://sourceforge/ninvaders/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-compile.patch ) + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" +} + +src_install() { + newbin nInvaders ninvaders + einstalldocs +} diff --git a/games-arcade/njam-1.25-r1 b/games-arcade/njam-1.25-r1 deleted file mode 100644 index 5dcc6699089d..000000000000 --- a/games-arcade/njam-1.25-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/sdl-mixer media-libs/sdl-image media-libs/libsdl media-libs/sdl-net -DESCRIPTION=Multi or single-player network Pacman-like game in SDL -EAPI=6 -HOMEPAGE=http://njam.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/sdl-mixer media-libs/sdl-image media-libs/libsdl media-libs/sdl-net -SLOT=0 -SRC_URI=mirror://sourceforge/njam/njam-1.25-src.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=c98b9575ad81726be5080652c23935e2 diff --git a/games-arcade/njam/Manifest b/games-arcade/njam/Manifest new file mode 100644 index 000000000000..e7bcc39a6b7e --- /dev/null +++ b/games-arcade/njam/Manifest @@ -0,0 +1,5 @@ +AUX njam-1.25-format-security.patch 499 BLAKE2B d960f3a2f45cf02cefa7bca36a55f3ed1bbfa8af43378d0610b3d4613f10e26207f0c2ce33664ae778e2dd6e3cac59bc9ba9a795f053421e5824c7fefa1dff53 SHA512 18ddb018ce34ca1e5658025147b5ad61f5a8b6308c79003fcf4bf6cb2e003bdc26322fb18d8aea648d4df047c1928dbe1302e1790d87bc8c71e0b7fa7e8ef1e4 +AUX njam-1.25-gcc45.patch 670 BLAKE2B 068369a02f7ea0a88b3742e575989289ca9b7309db0bf24013c12f0103d7f56f5dbdd390904910d2f671f822d70a1c61c0441ba9e8f27f30d66f7eab0adaf6b4 SHA512 93c9b554ad062c4d2fae70a61f13d7f5a2880b303ec04c05a14b92dac3d0c74711ad2360f05ebc7799fb8d48c59c1bdbff30448f7edbd5c589a8d060bcde2c09 +DIST njam-1.25-src.tar.gz 1665803 BLAKE2B 7e505bd2b6d1d50046c98a3e0edbe5cdd4831ee8d8525562d2b85296f98881f7aaab7154c2482c24be88015a81dc82d3d1b89693d6e7cc16a163a6f342f3b5e3 SHA512 d19c249ade34ede322245718fbc6fc79c5a0ed5f5da50989f88de48410dda3d7ae29f8968185166dfdc1dd23dae8126efe4a5f3c76c3731b90afd1c798f66917 +EBUILD njam-1.25-r1.ebuild 1140 BLAKE2B eae7fc402f766de7bcb952e21120252a460f24ec17e1bb604a1c0875b9cd5249e89fc9d3f96ab701cbb7707adee1a290b24da402f687b4b88d0973cc9b292854 SHA512 97c11e0e54f3d9e5fa9943ebe13a4e438f2e70610cdf5f8ff4446e7c40901f735984b31836dad00689e52a74d53876fabe5b00636a7652144e7deac7d775ba5c +MISC metadata.xml 327 BLAKE2B 165132496b7120650cde5669a05c9ec7b34a5a6432678a3f54f4ef0f6ebdc2941b56a201f6d49e6b5444ec09825fe3b8bf546d7cf091312ece4a06c1dff04840 SHA512 027848c8ee1cd2adbc90422ab871e50bee2c7fd87aa87fba19208d3814410455177cd722a0a305bb02d911bc380a90901cf65df25ddf037cc48cdc2799d8fb21 diff --git a/games-arcade/njam/files/njam-1.25-format-security.patch b/games-arcade/njam/files/njam-1.25-format-security.patch new file mode 100644 index 000000000000..66c8b17085ba --- /dev/null +++ b/games-arcade/njam/files/njam-1.25-format-security.patch @@ -0,0 +1,13 @@ +diff -up njam-1.25-src/src/njamgame.cpp~ njam-1.25-src/src/njamgame.cpp +--- njam-1.25-src/src/njamgame.cpp~ 2005-12-13 12:56:42.000000000 +0100 ++++ njam-1.25-src/src/njamgame.cpp 2014-06-14 11:54:12.320854217 +0200 +@@ -227,8 +227,7 @@ void NjamEngine::StartGame(GameType Gt) + SDL_Surface *temp = IMG_Load(filename); + if (!temp) + { +- printf("Loading file: %s", filename); +- printf(SDL_GetError()); ++ printf("Error loading file %s: %s\n", filename, SDL_GetError()); + return; + } + diff --git a/games-arcade/njam/files/njam-1.25-gcc45.patch b/games-arcade/njam/files/njam-1.25-gcc45.patch new file mode 100644 index 000000000000..c6515ef0aaa9 --- /dev/null +++ b/games-arcade/njam/files/njam-1.25-gcc45.patch @@ -0,0 +1,24 @@ +Fix buiding with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=318411 + +--- a/src/njamedit.cpp ++++ b/src/njamedit.cpp +@@ -114,7 +114,7 @@ + key = SDLK_a; + else if (CheckForSave()) + { +- LogFile::LogFile("Saving maps"); ++ LogFile("Saving maps"); + m_Maps.Save(filename); + level_type_was = level_type; + changed = false; +@@ -131,7 +131,7 @@ + char types[2][5] = { "COOP", "DUEL" }; + sprintf(buf, "levels/%s.%s\0", filename, types[level_type]); + sprintf(filename, "%s\0", buf); +- LogFile::LogFile("Saving maps"); ++ LogFile("Saving maps"); + m_Maps.Save(filename); + level_type_was = level_type; + changed = false; diff --git a/games-arcade/njam/metadata.xml b/games-arcade/njam/metadata.xml new file mode 100644 index 000000000000..c64fdbbaa6d3 --- /dev/null +++ b/games-arcade/njam/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">njam</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/njam/njam-1.25-r1.ebuild b/games-arcade/njam/njam-1.25-r1.ebuild new file mode 100644 index 000000000000..2bdb8acf9b96 --- /dev/null +++ b/games-arcade/njam/njam-1.25-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop flag-o-matic + +MY_P="${P}-src" +DESCRIPTION="Multi or single-player network Pacman-like game in SDL" +HOMEPAGE="http://njam.sourceforge.net/" +SRC_URI="mirror://sourceforge/njam/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/sdl-mixer + media-libs/sdl-image + media-libs/libsdl + media-libs/sdl-net" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -i \ + -e "s:hiscore.dat:/var/${PN}/\0:" \ + src/njam.cpp \ + || die "sed failed" + sed -i \ + -e "/hiscore.dat/ s:\$(DEFAULT_LIBDIR):/var:" \ + Makefile.in \ + || die "sed failed" + + eapply "${FILESDIR}"/${P}-gcc45.patch + eapply "${FILESDIR}"/${P}-format-security.patch #542124 + + # njam segfaults on startup with -Os + replace-flags "-Os" "-O2" +} + +src_install() { + default + + HTML_DOCS="${ED}/usr/share/njam/html/*" + rm -rf "${ED}/usr/share/njam/html/" + rm -f "${ED}"/README "${ED}"/levels/readme.txt + + newicon data/njamicon.bmp njam.bmp + make_desktop_entry njam Njam /usr/share/pixmaps/njam.bmp +} diff --git a/games-arcade/notpacman-1.0.4-r1 b/games-arcade/notpacman-1.0.4-r1 deleted file mode 100644 index 3d2ad910d1eb..000000000000 --- a/games-arcade/notpacman-1.0.4-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install postinst postrm preinst -DEPEND=app-arch/unzip >=sys-apps/sed-4 -DESCRIPTION=A mashup of "Not" and "Pacman" -EAPI=6 -HOMEPAGE=http://stabyourself.net/notpacman/ -KEYWORDS=~amd64 ~x86 -LICENSE=WTFPL-2 -RDEPEND=>=games-engines/love-0.7.2:0.7 media-libs/devil[png] -SLOT=0 -SRC_URI=http://stabyourself.net/dl.php?file=notpacman-1004/notpacman-linux.zip -> notpacman-1.0.4.zip https://dev.gentoo.org/~hasufell/distfiles/notpacman.png -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=2a57f4d0cafdbf5f13e0885fd3753df9 diff --git a/games-arcade/notpacman/Manifest b/games-arcade/notpacman/Manifest new file mode 100644 index 000000000000..30bdcd4f22b3 --- /dev/null +++ b/games-arcade/notpacman/Manifest @@ -0,0 +1,4 @@ +DIST notpacman-1.0.4.zip 439775 BLAKE2B 223017b71220330167d948c46649ea6b98f6a0b165a2879c348ca5e20ce4ba0b60af6486a598bfd2b327b2e32bb9ff1f70e005b90395b1d0cc50c5d23ad8294a SHA512 c64d74cad972c22fe7674b55c0155fcd6e0176c580f53645a0cef7ae1e2c3453807f13fd9bbc9992cdc1176bc1687800f957ef5c11034a2ffe0774ec0118a863 +DIST notpacman.png 1556 BLAKE2B d745ece089b9d829a47202e0e5d9a0cc4bd7365625fd0771b44d28c59d14ac903df586ec395c08a84115bf50e5842b6749239e37ec246fe6d112092db8aa541d SHA512 38fca81429255a5857476cbbcccb188ae4cc7fae4c044b45d82206ffcb41da5737e20135be2a6ab15ec1ff5faa74e5208a33a4966b3e9e99293c0ccb276b0c1b +EBUILD notpacman-1.0.4-r1.ebuild 936 BLAKE2B 0a163227a863d06d95e414a6c0248e0408c8b266890b706fc9d5dc694f2f3ccfa0b2752deabe324dc58fbb8e60676b82bc0ebdfc8a52c3c9a89a287ef8f342e7 SHA512 d48039e89176ca1ad0676f9d6bd35a6dbceeb26df78e1ae07903a94661f04004d2b7394fe2da117b3083d342b1862a3875fc9ce2ac016b31737db808eb7cba45 +MISC metadata.xml 642 BLAKE2B 4be7dc3ed30e6fb7af83b8aa2a3cd862c1a7f7e76a97d32fc73485b7b691b77ae0908ff48a986b2e636f39271daf5ab324832046fa869ef3deb1b445da492b60 SHA512 171e756db4c5639b7855c5715fd394ab9c7f8c84a5720257a4655673cbe5f91a3664796bd5f64f52a3f687fad0513c2542df4939b43436a42d80bae99fc2e723 diff --git a/games-arcade/notpacman/metadata.xml b/games-arcade/notpacman/metadata.xml new file mode 100644 index 000000000000..64f4a5d2c1c1 --- /dev/null +++ b/games-arcade/notpacman/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"> + Ever wondered how Pacman would be like with physics? No? Well, it's + revolutionary. This mashup of "Not" and "Pacman" puts The Pac and + the Ghosts in a in a Pacworld cage, at mercy of gravity and the + level's shape, controlled solely by you. Ghosts still don't like + you very much, so you should be careful to make Pacman avoid them. + </longdescription> +</pkgmetadata> diff --git a/games-arcade/notpacman/notpacman-1.0.4-r1.ebuild b/games-arcade/notpacman/notpacman-1.0.4-r1.ebuild new file mode 100644 index 000000000000..d8e99a5e1408 --- /dev/null +++ b/games-arcade/notpacman/notpacman-1.0.4-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils gnome2-utils + +DESCRIPTION="A mashup of \"Not\" and \"Pacman\"" +HOMEPAGE="http://stabyourself.net/notpacman/" +SRC_URI="http://stabyourself.net/dl.php?file=notpacman-1004/notpacman-linux.zip -> ${P}.zip + https://dev.gentoo.org/~hasufell/distfiles/${PN}.png" + +LICENSE="WTFPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LVSLOT="0.7" +RDEPEND=">=games-engines/love-0.7.2:${LVSLOT} + media-libs/devil[png] +" +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_install() { + local dir=/usr/share/love/${PN} + + exeinto "${dir}" + newexe not_pacman.love ${PN}.love + + einstalldocs + + doicon -s 32 "${DISTDIR}"/${PN}.png + make_wrapper ${PN} "love-${LVSLOT} ${PN}.love" "${dir}" + make_desktop_entry ${PN} +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/nottetris2-1-r1 b/games-arcade/nottetris2-1-r1 deleted file mode 100644 index 1f0bbe8ce357..000000000000 --- a/games-arcade/nottetris2-1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=app-arch/unzip -DESCRIPTION=The spiritual successor of the classic Tetris mixed with physics -EAPI=6 -HOMEPAGE=http://stabyourself.net/nottetris2/ -KEYWORDS=~amd64 ~x86 -LICENSE=CC-BY-NC-SA-3.0 -RDEPEND=>=games-engines/love-0.7.2:0.7 media-libs/devil[png] -SLOT=0 -SRC_URI=http://stabyourself.net/dl.php?file=nottetris2/nottetris2-linux.zip -> nottetris2-1.zip -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=c01ff9152693ce636a0a9e74a0708a23 diff --git a/games-arcade/nottetris2/Manifest b/games-arcade/nottetris2/Manifest new file mode 100644 index 000000000000..a9225825af28 --- /dev/null +++ b/games-arcade/nottetris2/Manifest @@ -0,0 +1,3 @@ +DIST nottetris2-1.zip 2774048 BLAKE2B 2bc1edc06aeca837d39b226b5a288506a98a4a9bd2e7f884fba57c8335944689758c6cb74d2985fc8450bdba19759a177ad3036d816035770638e6520d896201 SHA512 63478640fadf91134dec86f88d6422a317b4523ececff836e40984500f2771d564012cbd587a46b300e084c3c64531f3758c648edf3d683b136c9da69924a187 +EBUILD nottetris2-1-r1.ebuild 759 BLAKE2B 42db242dde6a5a837175d717a782469b96e31b536c74174851ac656a6ffa037f97ea286d127e515a2b863cf32d6fc2f7990379b67727bcac6a021586ccb9b34f SHA512 02c69275bb65f96517d74889ffe0da2f57c0c59860953c4ef709b833541dc1a99eb91b48c6cbb8995568c314b89748f73b0c7aeeb06b4b605461fbf521780af9 +MISC metadata.xml 756 BLAKE2B 8afda50ed483b95a2ba5f023b97e712dfd5facb6e8b12ecc74482a5fccb97129c9b8fff9356cf55312a0c7da3c0e7cffb2d581c0a36522012a3589ed9cb6cbea SHA512 bdbf35cb4e16381e9f53e8290a43517819ab59694425068d82a5adc6ce8c798f9de9db23181875eae41852ca08ac114f82bc750b72567989c50ed5f23a64f49b diff --git a/games-arcade/nottetris2/metadata.xml b/games-arcade/nottetris2/metadata.xml new file mode 100644 index 000000000000..be520c29e0f5 --- /dev/null +++ b/games-arcade/nottetris2/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"> + Not Tetris 2 is the spiritual successor of the classic Tetris + mixed with physics. The result is a fun spinoff in which blocks + are no longer bound to the usual grid. Blocks can be rotated and + placed at any angle, resulting in a complete mess if not careful. + And with the newest cutting edge technology, Not tetris 2 allows + line clears when the lines are sufficiently filled. The old mode + is still available for play and is now called Stack. + </longdescription> +</pkgmetadata> diff --git a/games-arcade/nottetris2/nottetris2-1-r1.ebuild b/games-arcade/nottetris2/nottetris2-1-r1.ebuild new file mode 100644 index 000000000000..47c906bb7ce3 --- /dev/null +++ b/games-arcade/nottetris2/nottetris2-1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="The spiritual successor of the classic Tetris mixed with physics" +HOMEPAGE="http://stabyourself.net/nottetris2/" +SRC_URI="http://stabyourself.net/dl.php?file=nottetris2/nottetris2-linux.zip -> ${P}.zip" + +LICENSE="CC-BY-NC-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LVSLOT="0.7" +RDEPEND=">=games-engines/love-0.7.2:${LVSLOT} + media-libs/devil[png] +" +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_install() { + local dir=/usr/share/love/${PN} + + exeinto "${dir}" + newexe "Not Tetris 2.love" ${PN}.love + + newdoc "Not Readme.txt" README + + make_wrapper ${PN} "love-${LVSLOT} ${PN}.love" "${dir}" + make_desktop_entry ${PN} +} diff --git a/games-arcade/openbubbles-1.2-r1 b/games-arcade/openbubbles-1.2-r1 deleted file mode 100644 index 34bc4ae3fd35..000000000000 --- a/games-arcade/openbubbles-1.2-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-gfx -DESCRIPTION=A clone of Evan Bailey's game Bubbles -EAPI=6 -HOMEPAGE=https://web.archive.org/web/20101126190910/http://www.freewebs.com/lasindi/openbubbles/ -KEYWORDS=~amd64 ~hppa ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-gfx -SLOT=0 -SRC_URI=https://web.archive.org/web/20101126190910/http://www.freewebs.com/lasindi/openbubbles/openbubbles-1.2.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=3f792ef99100889700614622569ed251 diff --git a/games-arcade/openbubbles/Manifest b/games-arcade/openbubbles/Manifest new file mode 100644 index 000000000000..fc3cd29a3617 --- /dev/null +++ b/games-arcade/openbubbles/Manifest @@ -0,0 +1,4 @@ +AUX openbubbles-1.2-glibc2.10.patch 686 BLAKE2B a4d0cf9ecc4d4a84b6d0370fd4634bdfce74c3916927c769298bff76ab51fa74cbcc0bdf79f26fa952b6ec46e9846500652193d1611ebecb7cb13c6fdf584154 SHA512 e84d23518dac940a761f8beea750117324d2b01a50c7efef551e14f886b7ec021e6a246f0292a173d6d08c972b0a6a6904bf7e481366bcb0c010f3862e2333bd +DIST openbubbles-1.2.tar.bz2 1090220 BLAKE2B 8ff4a8b877f2834aded15cf3f60706485f0c9534036ea008b74628185af6035769cba3589b54b24f8fa62fc1397944bbe1b0ad55fef01e0f5471696634a05c4c SHA512 fe546f12e6d045cb37f4c9f88dd42fc627d614933525066bd3eb867e5d8732f2f23fe117ff1a444fc3c33d471ae51099c865d9082134e0e8a051ce8a3df58244 +EBUILD openbubbles-1.2-r1.ebuild 725 BLAKE2B c00b5b3aef12ae71df577fdf0c1ac5a8da53f77257205f2a2ed942b2bc668685472cc4d18c19fe389b11acaa484c75dc66a61cb653bf7930fa4000fdc983bc7d SHA512 7bed861d04f5b66f1ab87142ae0bc31a39525b8488f2c460266c33fe7b2b14ff5270b6dc40982423daae27679b13e654d55e3b20f7adf499635250cf8c9291a8 +MISC metadata.xml 1193 BLAKE2B 619aa83309d60272fe979af37d6597814ea9de739570b74cd9d99948be95d44e95a77d3503da692953fe6cca569b9799d51da094af6e616cdbbe94c377bb1b94 SHA512 ebd0c3dd44e4adc2a0c3ce8dc43a17766e8d7487e9087e823872e4d8cac5ff09562892460fe4c332b939a195eb700df95fdd1128b13f03f36b7f5a4a8a53a438 diff --git a/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch b/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch new file mode 100644 index 000000000000..df2bcebc58b8 --- /dev/null +++ b/games-arcade/openbubbles/files/openbubbles-1.2-glibc2.10.patch @@ -0,0 +1,20 @@ +--- a/src/BFont.cpp ++++ b/src/BFont.cpp +@@ -319,7 +319,7 @@ + int i = 0;
+
+ /* Calculate the space occupied by the text without spaces */
+- while ((p=strchr(&text[pos+1],SPACE)) != NULL) {
++ while ((p=strchr((char *)&text[pos+1],SPACE)) != NULL) {
+ i++;
+ pos = p - text;
+ }
+@@ -359,7 +359,7 @@ + xpos=0;
+ pos = -1;
+ while ( spaces > 0 ) {
+- p = strstr(&text[pos+1]," ");
++ p = strstr((char *)&text[pos+1]," ");
+ strtmp = NULL;
+ strtmp = (char *) calloc ((p - &text[pos+1]) + 1,sizeof(char));
+ if (strtmp != NULL)
diff --git a/games-arcade/openbubbles/metadata.xml b/games-arcade/openbubbles/metadata.xml new file mode 100644 index 000000000000..e6ae0aed3cb8 --- /dev/null +++ b/games-arcade/openbubbles/metadata.xml @@ -0,0 +1,22 @@ +<?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"> +This is a clone of Evan Bailey's game Bubbles. Why did I reinvent the wheel? In +this case, the wheel is made in Game Maker, so anyone who wants to do any +serious programming would not be able to unless they A) ran Windows and B) ran a +program that doesn't give the user very great power. OpenBubbles is written in +C++ using SDL, so the programmer has some pretty powerful tools at his/her +disposal; in addition, because SDL is cross-platform, OpenBubbles can be ported +to any (major) platform, including Windows. Of course, I only run Unix, so I +will only be producing Unix source code. Though it was a relatively minor issue, +Evan's license is only semi-free because it doesn't permit commercial use of the +source code. Now, you are free to make as much money as you want off of +improvements of OpenBubbles (provided, of course, that you share them with me +and everyone else under the GPL, too). +</longdescription> +</pkgmetadata> diff --git a/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild b/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild new file mode 100644 index 000000000000..d1381cd3c74d --- /dev/null +++ b/games-arcade/openbubbles/openbubbles-1.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A clone of Evan Bailey's game Bubbles" +HOMEPAGE="https://web.archive.org/web/20101126190910/http://www.freewebs.com/lasindi/openbubbles/" +SRC_URI="https://web.archive.org/web/20101126190910/http://www.freewebs.com/lasindi/openbubbles/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-gfx" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-glibc2.10.patch ) + +src_install() { + default + newicon data/bubble.png ${PN}.png + make_desktop_entry ${PN} "OpenBubbles" +} diff --git a/games-arcade/openmortal-0.7-r2 b/games-arcade/openmortal-0.7-r2 deleted file mode 100644 index 69ef04f1e986..000000000000 --- a/games-arcade/openmortal-0.7-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=A spoof of the famous Mortal Kombat game -EAPI=6 -HOMEPAGE=http://openmortal.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-image media-libs/sdl-mixer media-libs/sdl-ttf media-libs/sdl-net >=media-libs/freetype-2.4.0:2 dev-lang/perl -SLOT=0 -SRC_URI=mirror://sourceforge/openmortal/openmortal-0.7.tar.bz2 -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=0eeb45ce9b49d84dfc1017ffee2e9134 diff --git a/games-arcade/openmortal/Manifest b/games-arcade/openmortal/Manifest new file mode 100644 index 000000000000..4289613553ce --- /dev/null +++ b/games-arcade/openmortal/Manifest @@ -0,0 +1,6 @@ +AUX openmortal-0.7-freetype.patch 394 BLAKE2B b9373aa4e5aa0906a614bf161a6809f13633e4ff7a9ec4694cf0751ba2f6bd2e28f3b3b9099786141fe9cdef4b1c8d7bccdbd3c492b52ad5147c4fed61b2ebec SHA512 52bc47058c41aeb688450c37541f428f7adf8c122c965db0b8c94abc76f5a43f9705d34bdaa17cf5dfe428e23c74532ff03c907b552dea19da3575d21b1d9a74 +AUX openmortal-0.7-freetype_pkgconfig.patch 470 BLAKE2B c09d5876913205eb879bb366a233152139e3cc6c7ace4bcc1d48f4dccfcab7e7be55117205f12426c95462ff3062818c00fa067d96c758e30030761db702ecc1 SHA512 9145794e5c9b3fa30c7bedd85919ccaee852597297e4985a58ab7834ecfc5ba143f377f73bd20c5e3915c4e25ef89d8aa96eb5aace175a8c2379fbf3b6f8cf7c +AUX openmortal-0.7-gcc41.patch 305 BLAKE2B 1f6cba83ed4af95978045404edfd6396d438ca26f5b9f0d5b159dfb37978a1f50a3a18857db82b3bf74dd74a979563d0f7949e544f4527a57237662502c4c77c SHA512 0bc8c0924a86b4e024602c67bb4136ba67e0dc9d58381a2c00f07ce02845e1d389186c4864720a16cdf828a287ca9d6488e3420512daf7e3585988b0449a930b +DIST openmortal-0.7.tar.bz2 51197736 BLAKE2B b4744bde2a9695cc5a1323f4e258fe7cf191d7e15e086e37f476feed0ed4039c27a58ee8d0a28b00945a2ba985dc0591bcf1832f070ace6b65ae04826df7ea3b SHA512 8af0b64a3d894dfdbdddafdbdc4c853dc2bfc9b52fd507db2818e67af5ad6cdbbb45f2e42e32103e841759225b1b8c4f33ac5a8ad70e4763698c54803fb81fce +EBUILD openmortal-0.7-r2.ebuild 856 BLAKE2B ca7468ec3757986ba86b3b5c10cc9fc71f4e804a22ca3f5b56aea1e074b48057bc9cc9e2baf37d47211e05d09f1389ca9f726f53cd1897d43ab6eb3385754500 SHA512 31e6dbee577b50d80fd5c0aee48115c2d64bfd9830eb76922ab1e6d8b884f19cee18238430269b31cb7681590ac7eb1332c70172f496a875ff11cb5a3e8df283 +MISC metadata.xml 333 BLAKE2B d6fb63cdba371534a7ae3217ea7d659aba14bdeff1b63bcf9adcca55f0c1975fea3d88beaa695bd95b7c6675c37f049b0c97d2b7666c86acd673e1b1476c6ff3 SHA512 3cf6883bbe8b14f392d0207792ef501bd2c7fa5395a82d1606341b9f44f639879756bc90645cf7bac038ede44865afde59b1622ee0657e1980b6ec3ccd68cefd diff --git a/games-arcade/openmortal/files/openmortal-0.7-freetype.patch b/games-arcade/openmortal/files/openmortal-0.7-freetype.patch new file mode 100644 index 000000000000..3a342c88979d --- /dev/null +++ b/games-arcade/openmortal/files/openmortal-0.7-freetype.patch @@ -0,0 +1,15 @@ +--- openmortal-0.7/src/sge_tt_text.cpp.old ++++ openmortal-0.7/src/sge_tt_text.cpp +@@ -37,9 +37,9 @@ + + #ifndef _SGE_NOTTF + #include <ft2build.h> +-#include <freetype/freetype.h> +-#include <freetype/ftoutln.h> +-#include <freetype/ttnameid.h> ++#include FT_FREETYPE_H ++#include FT_OUTLINE_H ++#include FT_TRUETYPE_IDS_H + + /* The structure used to hold glyph information (cached) */ + struct glyph { diff --git a/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch b/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch new file mode 100644 index 000000000000..fe683899f2e9 --- /dev/null +++ b/games-arcade/openmortal/files/openmortal-0.7-freetype_pkgconfig.patch @@ -0,0 +1,24 @@ +--- openmortal-0.7/configure.in ++++ openmortal-0.7/configure.in +@@ -25,6 +25,7 @@ + AC_C_CONST + AC_PROG_CXX + ++PKG_PROG_PKG_CONFIG + + dnl + dnl Switches +@@ -122,11 +123,8 @@ + + dnl Check for Freetype 2 library + +-FT2_VERSION=2.1.0 +-AC_CHECK_FT2( +- $FT2_VERSION, +- :, +- AC_MSG_ERROR([*** FreeType 2 version $FT2_VERSION not found!]) ++PKG_CHECK_MODULES(FT2, freetype2,, ++ AC_MSG_ERROR([*** FreeType2 not found!]) + ) + CXXFLAGS="$CXXFLAGS $FT2_CFLAGS" + LIBS="$LIBS $FT2_LIBS" diff --git a/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch new file mode 100644 index 000000000000..2620c153e837 --- /dev/null +++ b/games-arcade/openmortal/files/openmortal-0.7-gcc41.patch @@ -0,0 +1,11 @@ +--- a/src/OnlineChat.cpp.old ++++ b/src/OnlineChat.cpp +@@ -56,7 +56,7 @@ + class CChallengeMenu: public Menu + { + public: +- CChallengeMenu::CChallengeMenu( std::string a_sChallenger ) ++ CChallengeMenu( std::string a_sChallenger ) + : Menu( "You have been challenged!" ), + m_sChallenger( a_sChallenger ) + { diff --git a/games-arcade/openmortal/metadata.xml b/games-arcade/openmortal/metadata.xml new file mode 100644 index 000000000000..1e665c7eee56 --- /dev/null +++ b/games-arcade/openmortal/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">openmortal</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/openmortal/openmortal-0.7-r2.ebuild b/games-arcade/openmortal/openmortal-0.7-r2.ebuild new file mode 100644 index 000000000000..0153c5d051ac --- /dev/null +++ b/games-arcade/openmortal/openmortal-0.7-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="A spoof of the famous Mortal Kombat game" +HOMEPAGE="http://openmortal.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl[video] + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/sdl-net + >=media-libs/freetype-2.4.0:2 + dev-lang/perl +" +DEPEND="${DEPEND} + virtual/pkgconfig" + +src_prepare() { + default + eapply \ + "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}/${P}"-freetype.patch \ + "${FILESDIR}/${P}"-freetype_pkgconfig.patch + mv configure.{in,ac} || die + eautoreconf +} + +src_install() { + default + newicon data/gfx/icon.png ${PN}.png + make_desktop_entry ${PN} OpenMortal +} diff --git a/games-arcade/opensonic-0.1.4-r2 b/games-arcade/opensonic-0.1.4-r2 deleted file mode 100644 index d9140a11e646..000000000000 --- a/games-arcade/opensonic-0.1.4-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=media-libs/allegro:0=[X,jpeg,png,vorbis] media-libs/libogg:= media-libs/libpng:0= media-libs/libvorbis:= sys-libs/zlib:= virtual/jpeg:0 sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=A free open-source game based on the Sonic the Hedgehog universe -EAPI=6 -HOMEPAGE=http://opensnc.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/allegro:0=[X,jpeg,png,vorbis] media-libs/libogg:= media-libs/libpng:0= media-libs/libvorbis:= sys-libs/zlib:= virtual/jpeg:0 -RESTRICT=mirror -SLOT=0 -SRC_URI=https://sourceforge.net/projects/opensnc/files/Open%20Sonic/0.1.4/opensnc-src-0.1.4.tar.gz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=f9dff812192bbacfa1bc7e108098445c diff --git a/games-arcade/opensonic/Manifest b/games-arcade/opensonic/Manifest new file mode 100644 index 000000000000..dc6e1b85b156 --- /dev/null +++ b/games-arcade/opensonic/Manifest @@ -0,0 +1,4 @@ +AUX opensonic-0.1.4-r1-cmake.patch 4658 BLAKE2B 029d9d971a86ca7692aecef178de3ef35b29c409cf047e453a4e085d094b274abe07e606449174fbc40dfe7da5bad0dce519f7058020e0f1aece2f6bec34a96f SHA512 4764d967664c2c775696a4ccbfb17cf8d3051b1b96cc1f2c6314b8054059334374fca5d39153ec565f22b5716f34c4d0ff45f4c7b00500e2590437025f10fd06 +DIST opensnc-src-0.1.4.tar.gz 10525059 BLAKE2B d5cb825512dfeb614d146e6e7ec45cc3eb56dae0f2cf6c2582e022a1e8ac54e6c87f7bee8795b0e520fa6c24433cb7a748889892cd288f122d7b885e6e91c790 SHA512 239c7b4c7f9663e4d46c54d8bdaefed8d12274b71feaf9c637feb04f3567465f265c50bf3419f4c881ae3fa48a62ab339fe8a0b005c2b080b53d54ebf1e2f29d +EBUILD opensonic-0.1.4-r2.ebuild 1219 BLAKE2B 705624d47ac5464a2de067b4e113cd2dbb5a6aa5c73b5d22700b643b2566f4214f182ec464726fa49fc0430a62e1f320847ff98737788471c817f0d710de010a SHA512 50c39b104eb0fc2cee336263ceb8ae8c7ff8029b19e4660afde6f6dfc2f1b50c0e14b4ff5882040a4a8ce7271892149a53565f0c207f7a16c168036a66a3247c +MISC metadata.xml 330 BLAKE2B b93fe5bb5919cb60eb4e5f2179880bdd9848b9a5b33c368815feea1ee36d36494e169cd8839bedc2db9d15dea8d819d2ad6398769fa69ae7d61a2b142228caf2 SHA512 5ac408fe48351e3db869e0cf5af951fd441690505d16d826c4010d2d575fde0b7de6f9f9ef2594cd2006692e0682b2e62f8cb5726db5c80bc7974f942b7cd79c diff --git a/games-arcade/opensonic/files/opensonic-0.1.4-r1-cmake.patch b/games-arcade/opensonic/files/opensonic-0.1.4-r1-cmake.patch new file mode 100644 index 000000000000..53d76faafae2 --- /dev/null +++ b/games-arcade/opensonic/files/opensonic-0.1.4-r1-cmake.patch @@ -0,0 +1,107 @@ +From: hasufell <julian.ospald@googlemail.com> +Date: Sat Apr 28 16:38:56 UTC 2012 +Subject: build system + +use allegro-config +remove "-O2" from pre-defined CFLAGS +make paths modifiable +add rules for icon, desktop-file and game-wrapper +fix compilation for as-needed + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -35,16 +35,14 @@ + MESSAGE("Using CFLAGS='${CFLAGS}'") + + IF(UNIX) +- SET(ALLEGRO_UNIX_LIBS "$ENV{_ALLEGRO_LIBS}") ++ exec_program(allegro-config ARGS --libs OUTPUT_VARIABLE ALLEGRO_LIBRARY) ++ SET(ALLEGRO_UNIX_LIBS "${ALLEGRO_LIBRARY}") + IF(NOT ALLEGRO_UNIX_LIBS) +- MESSAGE(FATAL_ERROR "Please do not invoke CMake directly. Run ./configure instead.") ++ MESSAGE(FATAL_ERROR "Allegro libs not found!") + ENDIF(NOT ALLEGRO_UNIX_LIBS) + ENDIF(UNIX) + + +- +- +- + # Finding the required libraries: + + # Allegro: liballeg +@@ -53,7 +51,8 @@ + MESSAGE(FATAL_ERROR "Fatal error: couldn't find the Allegro game programming library (liballeg)! ${RTFM}") + ELSE(NOT LALLEG) + IF(UNIX) +- SET(ALLEGRO_UNIX_VERSION "$ENV{_ALLEGRO_VERSION}") ++ exec_program(allegro-config ARGS --version OUTPUT_VARIABLE ALLEGRO_VERSION) ++ SET(ALLEGRO_UNIX_VERSION "${ALLEGRO_VERSION}") + IF(NOT ALLEGRO_UNIX_VERSION STREQUAL ALLEGRO_RECOMMENDED_VERSION) + MESSAGE("\nWARNING: your Allegro version is ${ALLEGRO_UNIX_VERSION}. The recommended version is ${ALLEGRO_RECOMMENDED_VERSION}.\n ${GAME_NAME} may not compile properly!.\n") + ENDIF(NOT ALLEGRO_UNIX_VERSION STREQUAL ALLEGRO_RECOMMENDED_VERSION) +@@ -249,9 +248,8 @@ + IF(UNIX) + SET(GAME_SRCS ${GAME_SRCS} src/misc/iconlin.c) + ADD_EXECUTABLE(${GAME_UNIXNAME} ${GAME_SRCS}) +- SET_TARGET_PROPERTIES(${GAME_UNIXNAME} PROPERTIES LINK_FLAGS ${ALLEGRO_UNIX_LIBS}) +- TARGET_LINK_LIBRARIES(${GAME_UNIXNAME} m logg vorbisfile vorbis ogg jpgalleg z png loadpng) +- SET_TARGET_PROPERTIES(${GAME_UNIXNAME} PROPERTIES COMPILE_FLAGS "-Wall -O2 ${CFLAGS} ${CFLAGS_EXTRA}") ++ TARGET_LINK_LIBRARIES(${GAME_UNIXNAME} m logg vorbisfile vorbis ogg jpgalleg z png loadpng ${ALLEGRO_UNIX_LIBS}) ++ SET_TARGET_PROPERTIES(${GAME_UNIXNAME} PROPERTIES COMPILE_FLAGS "-Wall") + ENDIF(UNIX) + + +@@ -407,19 +405,43 @@ + SET_TARGET_PROPERTIES(${GAME_UNIXNAME} PROPERTIES PROJECT_NAME "${GAME_NAME}") + + +- + # Installing on *nix + IF(UNIX) +- SET(GAME_INSTALL_DIR "/usr/share/${GAME_UNIXNAME}") +- SET(GAME_FINAL_DIR "/usr/bin") ++ SET(GAME_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/${GAME_UNIXNAME}" CACHE PATH "") ++ SET(GAME_FINAL_DIR "bin" CACHE PATH "") ++ SET(GAME_LIBDIR "games/lib" CACHE PATH "") ++ SET(GAME_DOCDIR "share/doc/${GAME_UNIXNAME}-${GAME_VERSION}" CACHE PATH "") ++ SET(GAME_HTMLDIR "share/doc/${GAME_UNIXNAME}-${GAME_VERSION}/html" CACHE PATH "") ++ SET(GAME_ICONDIR "share/pixmaps" CACHE PATH "") ++ SET(GAME_DESKTOPDIR "share/applications" CACHE PATH "") ++ ++ FILE(WRITE ${GAME_UNIXNAME}.sh ++"#!/bin/sh ++cd ${GAME_LIBDIR} ++exec ./${GAME_UNIXNAME} \"$@\" ++" ++) + +- INSTALL(CODE "MESSAGE(\"Installing ${GAME_NAME} ${GAME_VERSION}... Make sure you have root privileges.\")") +- INSTALL(TARGETS ${GAME_UNIXNAME} RUNTIME DESTINATION ${GAME_INSTALL_DIR}) +- INSTALL(FILES license.txt readme.html DESTINATION ${GAME_INSTALL_DIR}) +- INSTALL(DIRECTORY objects sprites config images levels licenses musics quests samples screenshots themes languages DESTINATION ${GAME_INSTALL_DIR} PATTERN ".svn" EXCLUDE) ++ FILE(WRITE ${GAME_UNIXNAME}.desktop ++"[Desktop Entry] ++Name=${GAME_NAME} ++Type=Application ++Comment=A free open-source clone of the Sonic the Hedgehog universe ++Exec=${GAME_UNIXNAME} ++TryExec=${GAME_UNIXNAME} ++Icon=${GAME_UNIXNAME} ++Categories=Game;ArcadeGame; ++" ++) + +- INSTALL(CODE "MESSAGE(\"Creating files at ${GAME_FINAL_DIR}...\")") +- INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"cmake\" \"-E\" \"copy\" \"${GAME_INSTALL_DIR}/${GAME_UNIXNAME}\" \"${GAME_FINAL_DIR}/${GAME_UNIXNAME}\")") ++ INSTALL(CODE "MESSAGE(\"Installing ${GAME_NAME} ${GAME_VERSION}... Make sure you have root privileges.\")") ++ INSTALL(TARGETS ${GAME_UNIXNAME} RUNTIME DESTINATION ${GAME_LIBDIR}) ++# INSTALL(FILES license.txt DESTINATION ${GAME_DOCDIR}) ++ INSTALL(FILES readme.html DESTINATION ${GAME_HTMLDIR}) ++ INSTALL(FILES icon.png DESTINATION ${GAME_ICONDIR} RENAME ${GAME_UNIXNAME}.png) ++ INSTALL(FILES ${GAME_UNIXNAME}.desktop DESTINATION ${GAME_DESKTOPDIR}) ++ INSTALL(DIRECTORY objects sprites config images levels musics quests samples themes languages DESTINATION ${GAME_INSTALL_DIR} PATTERN ".svn" EXCLUDE) ++ INSTALL(PROGRAMS ${GAME_UNIXNAME}.sh DESTINATION ${GAME_FINAL_DIR} RENAME ${GAME_UNIXNAME}) + + INSTALL(CODE "MESSAGE(\"Done! Please run ${GAME_UNIXNAME} to start ${GAME_NAME}.\")") + ENDIF(UNIX) diff --git a/games-arcade/opensonic/metadata.xml b/games-arcade/opensonic/metadata.xml new file mode 100644 index 000000000000..f62cdf642eee --- /dev/null +++ b/games-arcade/opensonic/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">opensnc</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/opensonic/opensonic-0.1.4-r2.ebuild b/games-arcade/opensonic/opensonic-0.1.4-r2.ebuild new file mode 100644 index 000000000000..3e0e1b0c35a2 --- /dev/null +++ b/games-arcade/opensonic/opensonic-0.1.4-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_PN=opensnc +MY_P=${MY_PN}-src-${PV} + +DESCRIPTION="A free open-source game based on the Sonic the Hedgehog universe" +HOMEPAGE="http://opensnc.sourceforge.net/" +SRC_URI="https://sourceforge.net/projects/opensnc/files/Open%20Sonic/${PV}/opensnc-src-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RESTRICT="mirror" # unsure about legality of graphics + +DEPEND=" + media-libs/allegro:0=[X,jpeg,png,vorbis] + media-libs/libogg:= + media-libs/libpng:0= + media-libs/libvorbis:= + sys-libs/zlib:= + virtual/jpeg:0" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${PN}-0.1.4-r1-cmake.patch ) + +src_configure() { + local mycmakeargs=( + -DGAME_INSTALL_DIR="${EPREFIX}"/usr/share/${PN} + -DGAME_FINAL_DIR="${EPREFIX}"/usr/bin + -DGAME_LIBDIR="${EPREFIX}"/usr/$(get_libdir)/${PN} + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + local f + while IFS="" read -d $'\0' -r f; do + dosym ../../share/${PN}/${f##*/} \ + /usr/$(get_libdir)/${PN}/${f##*/} + done < <(find "${ED%/}"/usr/share/${PN}/ -mindepth 1 -maxdepth 1 -type d -print0) +} diff --git a/games-arcade/opentyrian-2.1.20130907-r1 b/games-arcade/opentyrian-2.1.20130907-r1 deleted file mode 100644 index 238a1b640504..000000000000 --- a/games-arcade/opentyrian-2.1.20130907-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=media-libs/libsdl media-libs/sdl-net app-arch/unzip dev-vcs/mercurial -DESCRIPTION=Open-source port of the DOS game Tyrian, vertical scrolling shooter -EAPI=6 -HOMEPAGE=https://bitbucket.org/opentyrian/opentyrian/wiki/Home -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl media-libs/sdl-net -SLOT=0 -SRC_URI=http://darklomax.org/tyrian/tyrian21.zip http://www.camanis.net/opentyrian/releases/opentyrian-2.1.20130907-src.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=0aa65e27008a1539af68b71e55ca1296 diff --git a/games-arcade/opentyrian/Manifest b/games-arcade/opentyrian/Manifest new file mode 100644 index 000000000000..03f7c8c83d2e --- /dev/null +++ b/games-arcade/opentyrian/Manifest @@ -0,0 +1,6 @@ +AUX 2.1.20130907-cflag-idiocy.diff 583 BLAKE2B 2b0da43af2c1ccb5f508573413d1c047186c8d596bd709aefcdee1fe79936774e1c1c01863bffeed6e1c5506f2897021c5f70988cef59d6c1d7397b8150b5f4e SHA512 fd12ebaabd2191baa248019b122acad205f1803b0abde19ae54d410550529bff93d42dfe26543d295efe3b4c6cd74e1d77681467dc8321832561b07bda92d9c4 +AUX 2.1.20130907-datapath.diff 886 BLAKE2B a388fdbe60a5c1abb4bea213af34854e470b80f2648352e9be0beec88081450e04069da5bfc5b817a720e5fd6a98f5643695b9e5dd9823ce7397da4b0349075b SHA512 dcc5bf8e1c1384e7615112bf60f317f8bd3bae11e1fff1bce80a8a638fc6b719f4787f69d01f64dab2aecab4ef3007cb708e1b2891b6cb7c6213b2d495924d2a +DIST opentyrian-2.1.20130907-src.tar.gz 297517 BLAKE2B 9d6d357cdda59da22ed039be0a5038cf744045dcb30fe0528137a5ac70a4cd512b24eeee3fe233b4ff2a819bf2aa4187e5109d88c72d18db7e1d64e8ad8db5d8 SHA512 1a560f2061496fbbb57b6334ab207b00a6b2e6a4d6164c6df6ad535ae9d0435c32c3db51d3ce2a0a79eb66d72723d112c1993f59b781750f9bd97afb643a0b67 +DIST tyrian21.zip 4754048 BLAKE2B 6bef66fbc34a4d2d865fe7088a6942a29348153d0d10347860952a152b882fd9eef1748fbfa9fd32d030593d2f8c21e1cd227dd6ca540488ba5093b95a95fb33 SHA512 639aa773778386c14ce508feb4729512d00f80182a3bb0fe8bba4ee38bce91da1867ca93f1a7e5e30ff127da077eed275d8dd6ba82042b627b84f1606e2d6bce +EBUILD opentyrian-2.1.20130907-r1.ebuild 1471 BLAKE2B 3053ae0a6fe984e254b140da11ee1e597baa2a5d8f9fe1859f3ae2ab214ccca0e0732ed1ab27e4c24dcec173ea9262a1ebf386a0810be3aa4b5857064968cc71 SHA512 f29aa8a0bd8ad1fb4a4b574bb35a8843b295823125ae3eec2ce3f773e7688a330a578ac3c0520ad0726d3aa9656eee136cd63bd036971e3f3b98a0eefc70ec64 +MISC metadata.xml 464 BLAKE2B a4a91082f78e099c81a2726c4b5511e13a989b490e6e99761d6aa229493d9a2423e8b8d221654462ce863d44519cb96a33072e8e511a1c79191e0eff8a47d9c5 SHA512 98a768457cc15fd1a16e5fd6ab54bfa7a969ca51f8edcfdc93326c8b36b358eec1da67937b15fcee92d436e464b42fc57ead8f1a1c7c1bdcc94435e713cac379 diff --git a/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff b/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff new file mode 100644 index 000000000000..39ccf1c79f66 --- /dev/null +++ b/games-arcade/opentyrian/files/2.1.20130907-cflag-idiocy.diff @@ -0,0 +1,15 @@ +diff -uNr opentyrian-2.1.20130907.ORIG/Makefile opentyrian-2.1.20130907/Makefile +--- opentyrian-2.1.20130907.ORIG/Makefile 2013-12-08 17:38:06.982842189 +0000 ++++ opentyrian-2.1.20130907/Makefile 2013-12-08 17:38:26.843842798 +0000 +@@ -21,11 +21,6 @@ + + # FLAGS #################################################### + +-ifneq ($(MAKECMDGOALS), release) +- EXTRA_CFLAGS += -g3 -O0 -Werror +-else +- EXTRA_CFLAGS += -g0 -O2 -DNDEBUG +-endif + EXTRA_CFLAGS += -MMD -pedantic -Wall -Wextra -Wno-missing-field-initializers + ifeq ($(WITH_NETWORK), true) + EXTRA_CFLAGS += -DWITH_NETWORK diff --git a/games-arcade/opentyrian/files/2.1.20130907-datapath.diff b/games-arcade/opentyrian/files/2.1.20130907-datapath.diff new file mode 100644 index 000000000000..5b0143ed9a50 --- /dev/null +++ b/games-arcade/opentyrian/files/2.1.20130907-datapath.diff @@ -0,0 +1,26 @@ +diff -uNr opentyrian-2.1.20130907.ORIG/Makefile opentyrian-2.1.20130907/Makefile +--- opentyrian-2.1.20130907.ORIG/Makefile 2013-12-08 17:40:23.470846371 +0000 ++++ opentyrian-2.1.20130907/Makefile 2013-12-08 17:40:49.355847165 +0000 +@@ -49,6 +49,10 @@ + ALL_LDFLAGS += $(LDFLAGS) + LDLIBS += $(EXTRA_LDLIBS) $(SDL_LDLIBS) + ++ifneq ($(DATA_PATH), ) ++ CFLAGS += -DDATA_PATH=\"$(DATA_PATH)\" ++endif ++ + # RULES #################################################### + + .PHONY : all release clean +diff -uNr opentyrian-2.1.20130907.ORIG/src/file.c opentyrian-2.1.20130907/src/file.c +--- opentyrian-2.1.20130907.ORIG/src/file.c 2013-12-08 17:40:23.468846371 +0000 ++++ opentyrian-2.1.20130907/src/file.c 2013-12-08 17:40:49.355847165 +0000 +@@ -34,7 +34,7 @@ + #ifdef TARGET_MACOSX + tyrian_game_folder(), + #endif +- "/usr/share/opentyrian/data" ++ DATA_PATH + }; + + static const char *dir = NULL; diff --git a/games-arcade/opentyrian/metadata.xml b/games-arcade/opentyrian/metadata.xml new file mode 100644 index 000000000000..161bc1494dc2 --- /dev/null +++ b/games-arcade/opentyrian/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>chainsaw@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="bitbucket">opentyrian/opentyrian</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild new file mode 100644 index 000000000000..5b9619682157 --- /dev/null +++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils + +DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" +HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home" +SRC_URI="http://darklomax.org/tyrian/tyrian21.zip + http://www.camanis.net/${PN}/releases/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libsdl + media-libs/sdl-net" + +# Yes, mercurial is needed to set the build version stamp. +DEPEND="${RDEPEND} + app-arch/unzip + dev-vcs/mercurial" + +PATCHES=( + "${FILESDIR}/${PV}-datapath.diff" + "${FILESDIR}/${PV}-cflag-idiocy.diff" +) + +src_compile() { + emake DATA_PATH="/usr/share/${PN}" || die "Compilation failed" +} + +src_install() { + dobin opentyrian || die "Failed to install game binary" + dosym ../../usr/bin/opentyrian /usr/bin/tyrian || die "Failed to symlink" + dodoc CREDITS NEWS README || die "Failed to install documentation" + domenu linux/opentyrian.desktop || die "Failed to install desktop file" + for i in linux/icons/*.png ; do + local size=`echo ${i} | sed -e 's:.*-\([0-9]\+\).png:\1:'` + insinto /usr/share/icons/hicolor/${size}x${size}/apps + newins ${i} opentyrian.png || die "Failed to install program icon" + done + insinto "/usr/share/${PN}" + cd "${WORKDIR}/tyrian21" + rm *.exe dpmi16bi.ovl loudness.awe || die "Failed to remove win32 binaries" + doins * || die "Failed to install game data" +} diff --git a/games-arcade/orthorobot-0-r1 b/games-arcade/orthorobot-0-r1 deleted file mode 100644 index b0efe8866ca8..000000000000 --- a/games-arcade/orthorobot-0-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare unpack -DEPEND=app-arch/unzip -DESCRIPTION=Perspective based puzzle game, where you flatten the view to move across gaps -EAPI=6 -HOMEPAGE=http://stabyourself.net/orthorobot/ -KEYWORDS=~amd64 ~x86 -LICENSE=CC-BY-NC-ND-3.0 -RDEPEND=>=games-engines/love-0.8.0:0 -SLOT=0 -SRC_URI=http://stabyourself.net/dl.php?file=orthorobot/orthorobot-source.zip -> orthorobot-0.zip -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=154432b9bf1724ad39ff8eefce43e92d diff --git a/games-arcade/orthorobot/Manifest b/games-arcade/orthorobot/Manifest new file mode 100644 index 000000000000..8c14019dcea5 --- /dev/null +++ b/games-arcade/orthorobot/Manifest @@ -0,0 +1,3 @@ +DIST orthorobot-0.zip 3429026 BLAKE2B d21023045cce73142f03179719591f4f0e58a3a968a1094da07611ec77cac37bcf822ddd3748699c21718e27534ee2e993a1f4cab038dd745fc94337f277a374 SHA512 cf73bfd7d136c0d408dcee80db1193c4ae1d418128b8879a67c5fbfc013ce33ffab4255c0ea2e7d2a70f22301192fb77bd5b3105d69ff511d2d5a5b99fbd0cf0 +EBUILD orthorobot-0-r1.ebuild 977 BLAKE2B fefeb5915d4acd6e51d9d7fa9724e5dc0db41eddb1f42666016cead27b93b6e3e5b1576578ccc250945495f0960b10dc656495bcb6af8cb9511378bb7e96014c SHA512 12cea3e84b373df31b1664d379492515283409aa4ad7288001be45991f155d3a8f8f07e0ec4d5182551b279f06316dc81a974ae6ffd2b8d11ee8abec54350d98 +MISC metadata.xml 247 BLAKE2B 61049845c1ffb66aea9959f984983735ad8d7d9d37aab6da3a19951bbf8d67af657cacde1701da8a3dd93b0704c10430d511bea11d56bf98702950f0707436ec SHA512 96c55c2979dd6a4c4761fce9b5a0be387b11fcf197ef903d8680ae82f01a2caea93b1238bed1ac96d3eb250744e2149a507e0424ac017b4324f0806a54e72c4a diff --git a/games-arcade/orthorobot/metadata.xml b/games-arcade/orthorobot/metadata.xml new file mode 100644 index 000000000000..5b159fbcadd1 --- /dev/null +++ b/games-arcade/orthorobot/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="person"> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> +</pkgmetadata> diff --git a/games-arcade/orthorobot/orthorobot-0-r1.ebuild b/games-arcade/orthorobot/orthorobot-0-r1.ebuild new file mode 100644 index 000000000000..69e0533a32ca --- /dev/null +++ b/games-arcade/orthorobot/orthorobot-0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Perspective based puzzle game, where you flatten the view to move across gaps" +HOMEPAGE="http://stabyourself.net/orthorobot/" +SRC_URI="http://stabyourself.net/dl.php?file=${PN}/${PN}-source.zip -> ${P}.zip" + +LICENSE="CC-BY-NC-ND-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=games-engines/love-0.8.0:0" +DEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_unpack() { + default + #it is only one .love file (but with crappy name), so we can use asterisk + mv *.love "${P}.zip" || die 'mv failed' + unpack "./${P}.zip" + rm "${P}.zip" || die 'rm failed' +} + +src_prepare() { + default + # fix error on quit + sed -i -e 's/love.event.push("q")/love.event.push(fadegoal)/' menu.lua || die 'sed failed' +} + +src_install() { + local dir="/usr/share/love/${PN}" + insinto "${dir}" + doins -r . + make_wrapper "${PN}" "love ${dir}" + make_desktop_entry "${PN}" +} diff --git a/games-arcade/oshu-2.0.0 b/games-arcade/oshu-2.0.0 deleted file mode 100644 index c1e9ba5ecdb6..000000000000 --- a/games-arcade/oshu-2.0.0 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm prepare test -DEPEND=>=media-libs/libsdl2-2.0.5:= media-libs/sdl2-image:= x11-libs/cairo:= x11-libs/pango:= !libav? ( media-video/ffmpeg:= ) libav? ( media-video/libav:= ) virtual/pkgconfig sys-devel/make >=dev-util/cmake-3.9.0 -DESCRIPTION=Lightweight osu! port -EAPI=6 -HOMEPAGE=https://github.com/fmang/oshu -IUSE=libav osu-skin -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 CC-BY-NC-4.0 -RDEPEND=>=media-libs/libsdl2-2.0.5:= media-libs/sdl2-image:= x11-libs/cairo:= x11-libs/pango:= !libav? ( media-video/ffmpeg:= ) libav? ( media-video/libav:= ) -RESTRICT=test -SLOT=0 -SRC_URI=https://www.mg0.fr/oshu/releases/oshu-2.0.0.tar.gz osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> oshu-skin-v1.tar.gz ) -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=f9996c79566af24c72f200f54baf9f4a diff --git a/games-arcade/oshu/Manifest b/games-arcade/oshu/Manifest new file mode 100644 index 000000000000..672a3f0606a7 --- /dev/null +++ b/games-arcade/oshu/Manifest @@ -0,0 +1,5 @@ +AUX oshu-2.0.0-use_unpacked_osu-skin.patch 1233 BLAKE2B fb8a41b0fc8c8891e3d1dbe1cca6da320049c30a24b146612e2dcbf5490458b8c5db1ed410e9378552f4f048148b2770caf1f87ca60431b92f5d9f9b12885761 SHA512 4e5a0cfb995710c16f6acba7a02e4f0c25de9fc83b28de8c42279fe8e3dea01c33a2e22e9b43e05ab9996534710199315f36e836e24a41ea212e17b08c30e461 +DIST oshu-2.0.0.tar.gz 144088 BLAKE2B c4383746624f4de62e158a2f94d4e5c1a3e2f037fd05d80607932414f20a031103bd73f108644a93faadf61c21f3d2505da3afd2ea7ea43bd59e32966724928b SHA512 ed2b8294b06d239948c563135d997b422191be681ff86714a244ca64079251508a5a62e23cf3ae1e0ac2b3128b6401901233714eab7787989296ca1700192643 +DIST oshu-skin-v1.tar.gz 2224947 BLAKE2B 0b463133dd7ab54421551627d12932f5257848b1130d57af8c2ff6b6836a49c9322b8f2f7e95de540909390d0139e547650a6bb321614cf92fac464b09075674 SHA512 d562294ac5e122a9d9971e3ab92f6168d848177cc5e22a94bbc450fde2b3b14007796a24d33722da9b6675467b109ce128ba94dca5dcc7c61c91c1e373032618 +EBUILD oshu-2.0.0.ebuild 1206 BLAKE2B 03af462af767ca12bed363b6080d692c8b0cc58763346956688f8f6f1a40fc2e673113c24eed5e458645f5d673a5b086465ad8c758c5aba1eaa3548fffb3a631 SHA512 d8300aeac277c59968a265759bc5ca15b6b18ad62e5a36994b1ccaeefd6fd160bcdcaafd42c7501460103126fad7aa321df12d9dbbbf1a650b054d1705ca2ab2 +MISC metadata.xml 423 BLAKE2B 0c302dedd0ac0c3bb3295da6a5ae4e568e848f25d2e03f3276fc37f3053ad46df131a4cff5c7ee2b83061f312c06b090b6a66fad5fd64137d2f9d97ec241143c SHA512 c30495d814265e4a2a18c4ef01e4ea7436d0cdcc14838932aa6d52d87354db8e6bff45519f7a8e333c92bd699b4e903cc1b7aad614455314788007a227857bf6 diff --git a/games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch b/games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch new file mode 100644 index 000000000000..3786c2ed8adf --- /dev/null +++ b/games-arcade/oshu/files/oshu-2.0.0-use_unpacked_osu-skin.patch @@ -0,0 +1,34 @@ +commit 1dffc1a763f33af12715f4abcf8fd2043055a9a2 +Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> +Date: Sun Apr 1 23:21:55 2018 +0200 + + share/skins/CMakeLists.txt: Use already unpacked osu-skin + +diff --git a/share/skins/CMakeLists.txt b/share/skins/CMakeLists.txt +index 54e20e5..2501757 100644 +--- a/share/skins/CMakeLists.txt ++++ b/share/skins/CMakeLists.txt +@@ -24,22 +24,10 @@ if ("minimal" IN_LIST OSHU_ENABLED_SKINS) + endif ("minimal" IN_LIST OSHU_ENABLED_SKINS) + + if ("osu" IN_LIST OSHU_ENABLED_SKINS) +- file( +- DOWNLOAD "https://www.mg0.fr/oshu/skins/osu-v1.tar.gz" "${CMAKE_CURRENT_BINARY_DIR}/osu.tar.gz" +- EXPECTED_HASH SHA256=bc645534371bf5ccba66d4a6729dc1deffb6f148b6ce115efd305f9ffab1d183 +- ) +- add_custom_command( +- OUTPUT osu/README.md +- COMMAND "${CMAKE_COMMAND}" -E tar xf osu.tar.gz +- COMMAND "${CMAKE_COMMAND}" -E touch osu/README.md +- DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/osu.tar.gz" +- COMMENT "Unpacking the osu skin" +- VERBATIM +- ) + add_custom_target(osu-skin DEPENDS osu/README.md) + add_dependencies(skins osu-skin) + install( +- DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/osu" ++ DIRECTORY osu + DESTINATION "${OSHU_SKINS_INSTALL_DIRECTORY}" + ) + endif ("osu" IN_LIST OSHU_ENABLED_SKINS) diff --git a/games-arcade/oshu/metadata.xml b/games-arcade/oshu/metadata.xml new file mode 100644 index 000000000000..3e59d136eb7a --- /dev/null +++ b/games-arcade/oshu/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>contact@hacktivis.me</email> +</maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> +</maintainer> +<use> + <flag name="osu-skin">Include more complete osu-skin (other is minimal)</flag> +</use> +</pkgmetadata> diff --git a/games-arcade/oshu/oshu-2.0.0.ebuild b/games-arcade/oshu/oshu-2.0.0.ebuild new file mode 100644 index 000000000000..24f021264b5a --- /dev/null +++ b/games-arcade/oshu/oshu-2.0.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CMAKE_MIN_VERSION="3.9.0" + +inherit cmake-utils eutils + +DESCRIPTION="Lightweight osu! port" +HOMEPAGE="https://github.com/fmang/oshu" +SRC_URI="https://www.mg0.fr/oshu/releases/${P}.tar.gz + osu-skin? ( https://www.mg0.fr/oshu/skins/osu-v1.tar.gz -> ${PN}-skin-v1.tar.gz )" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-3 CC-BY-NC-4.0" +SLOT="0" +IUSE="libav osu-skin" + +RDEPEND=" + >=media-libs/libsdl2-2.0.5:= + media-libs/sdl2-image:= + x11-libs/cairo:= + x11-libs/pango:= + !libav? ( media-video/ffmpeg:= ) + libav? ( media-video/libav:= ) +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +RESTRICT="test" + +src_prepare() { + if use osu-skin; then + epatch "${FILESDIR}/oshu-2.0.0-use_unpacked_osu-skin.patch" + mv "${WORKDIR}/osu" share/skins/ + fi + + cmake-utils_src_prepare +} + +src_configure() { + local mycmakeargs=( + '-DOSHU_DEFAULT_SKIN='$(usex osu-skin 'osu' 'minimal') + '-DOSHU_SKINS=minimal'$(usex osu-skin ';osu' '') + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/games-arcade/pachi-1.0 b/games-arcade/pachi-1.0 deleted file mode 100644 index 36f93b92d391..000000000000 --- a/games-arcade/pachi-1.0 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[joystick,sound,video] media-libs/sdl-mixer[mod] >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=platform game inspired by games like Manic Miner and Jet Set Willy -EAPI=5 -HOMEPAGE=http://dragontech.sourceforge.net/index.php?main=pachi&lang=en -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[joystick,sound,video] media-libs/sdl-mixer[mod] games-misc/games-envd -SLOT=0 -SRC_URI=mirror://gentoo/pachi-1.0.tar.bz2 -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=0f3a82c624b14ca33f6c1008a882abab diff --git a/games-arcade/pachi/Manifest b/games-arcade/pachi/Manifest new file mode 100644 index 000000000000..581f270df189 --- /dev/null +++ b/games-arcade/pachi/Manifest @@ -0,0 +1,4 @@ +AUX 1.0-autotools.patch 1161 BLAKE2B 848b3366f103a245cdfe8c8bc2cf79e96eb7d3fd0f1d06d7e7a904cd592382e4447e9083b8395bd9a297864d429eb47abf310b736a5ddc1cae18cf233e94f67f SHA512 45f3818c4bf9a0fae123b11f3641f47be77886eb85849984b1a8fe391ae1b333ee7ac0d5ffe294ee986efe262762d995e2ff5b2786a9dc2c26123c200cfb3c57 +DIST pachi-1.0.tar.bz2 3101484 BLAKE2B 31c15f1c0fac503abbba67c0483e60d1b12d84d7d0cb5eaebda01e0942ead1d202841942711306c800cfe8346a3e31ed10671555184d52d345464640a90d5c1c SHA512 9b09baa47ceb051d80ea621d2449afd2d9de959e707d2a1b3119ce8f0c623ebc1afb1678389c647b066fb2211f3f7eb27d713ee33514e2739ba48f9bf14c7952 +EBUILD pachi-1.0.ebuild 941 BLAKE2B 37f9fa99223c405ee3d3a8fc282421a78304b1a5a2fac5f24311ebf2493c9612f16c3baa7e02ce2674d2e6d196a73cb42c835b8ae7d74167197a782cf460a3c5 SHA512 48234f533b4cf89020a55501c9274e5af806936a75b67d61368343db5c7e05332836853897d9408bf403519ccea30837d546248952d5a509161d6ae54bca598a +MISC metadata.xml 333 BLAKE2B e14155543715b12b61b84d111606a7630315a349d0ad1ed68a4323ec50ff225f6cd9ed3a3bbc980e1246982bb25444884a1e63386c9526d31fb7b31b28f95892 SHA512 9f7e4e3994f529f9905dcf550cfb3ab0a4f0998a689a52e34d1bb2b5916273e7827937900606316cdd465e90752ab5a1bd0cf248f6288fc3d1be3f3d35982567 diff --git a/games-arcade/pachi/files/1.0-autotools.patch b/games-arcade/pachi/files/1.0-autotools.patch new file mode 100644 index 000000000000..0d0185f142f3 --- /dev/null +++ b/games-arcade/pachi/files/1.0-autotools.patch @@ -0,0 +1,46 @@ +--- configure.in ++++ configure.in +@@ -1,5 +1,7 @@ + # Process this file with autoconf to produce a configure script. ++AC_PREREQ([2.54]) + AC_INIT(src/faes.cpp, 0.1, T-1000@Bigfoot.com) ++AC_CANONICAL_SYSTEM + AM_INIT_AUTOMAKE(pachi, 0.1) + AM_CONFIG_HEADER(config.h) + +@@ -44,7 +46,7 @@ + SCOREDIR="." + else + DATADIR="$datadir/$PACKAGE" +- SCOREDIR="/var/lib/games/$PACKAGE" ++ SCOREDIR="$localstatedir/$PACKAGE" + fi + + eval DATAPATH=`eval echo "$DATADIR"` +--- data/Makefile.am ++++ data/Makefile.am +@@ -10,13 +10,13 @@ + objects_v2.dat \ + rooms_v2.dat + +-score_DATA = \ ++score_DATA_ = \ + scores.dat + +-EXTRA_DIST = $(dat_DATA) $(score_DATA) ++EXTRA_DIST = $(dat_DATA) $(score_DATA_) + + install-data-local: +- for file in $(score_DATA); do\ +- chgrp $(group) $(scoredir)/$$file; \ +- chmod $(perms) $(scoredir)/$$file; \ +- done ++ $(mkinstalldirs) $(DESTDIR)$(scoredir) ++ for file in $(score_DATA_); do \ ++ $(INSTALL) -g $(group) -m $(perms) $$file $(DESTDIR)$(scoredir); \ ++ done +--- Makefile.am ++++ Makefile.am +@@ -1 +1 @@ +-SUBDIRS = src Tgfx data fonts music sounds docs ++SUBDIRS = src Tgfx data fonts music sounds diff --git a/games-arcade/pachi/metadata.xml b/games-arcade/pachi/metadata.xml new file mode 100644 index 000000000000..542b2bdb6342 --- /dev/null +++ b/games-arcade/pachi/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">dragontech</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/pachi/pachi-1.0.ebuild b/games-arcade/pachi/pachi-1.0.ebuild new file mode 100644 index 000000000000..f1cc4a2b7bbf --- /dev/null +++ b/games-arcade/pachi/pachi-1.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils games + +DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy" +HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en" +# Upstream doesn't version their releases. +# (should be downloaded and re-compressed with tar -jcvf) +#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[joystick,sound,video] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/Pachi + +src_prepare() { + epatch "${FILESDIR}"/${PV}-autotools.patch + rm -f missing + mv configure.in configure.ac || die + eautoreconf +} + +src_install() { + default + newicon Tgfx/icon.bmp ${PN}.bmp + make_desktop_entry ${PN} Pachi /usr/share/pixmaps/${PN}.bmp + prepgamesdirs +} diff --git a/games-arcade/pacmanarena-0.15-r1 b/games-arcade/pacmanarena-0.15-r1 deleted file mode 100644 index 4c312b9d4d14..000000000000 --- a/games-arcade/pacmanarena-0.15-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare unpack -DEPEND=virtual/opengl virtual/glu media-libs/libsdl[sound] media-libs/sdl-mixer[vorbis] media-libs/sdl-net app-arch/unzip >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=3D Pacman clone with a few surprises. Rockets, bombs and explosions abound -EAPI=6 -HOMEPAGE=http://pacmanarena.sourceforge.net/ -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=virtual/opengl virtual/glu media-libs/libsdl[sound] media-libs/sdl-mixer[vorbis] media-libs/sdl-net -SLOT=0 -SRC_URI=mirror://sourceforge/pacmanarena/pacman-arena-0.15.tar.bz2 mirror://sourceforge/pacmanarena/pacman-data-0.0.zip -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=db85c450907dc49ebe741319274893e6 diff --git a/games-arcade/pacmanarena/Manifest b/games-arcade/pacmanarena/Manifest new file mode 100644 index 000000000000..3cc584225bec --- /dev/null +++ b/games-arcade/pacmanarena/Manifest @@ -0,0 +1,5 @@ +AUX pacmanarena-0.15-underlink.patch 317 BLAKE2B e0cd8d59918c75a149abf32b5d1979d29ed15189c57a4e13858442de826cb23aa2abb094c03055481cfb1dc750d01967b115e56ca032d275d6a37d7dfc282e80 SHA512 afffb103e4394f7cd367e4fe1b2acab034786539b025f6d86118bbf88610b49cb60975ba92be0534fb025def49973e3442df325a00fd11b742c765cbcd2611e1 +DIST pacman-arena-0.15.tar.bz2 100112 BLAKE2B c4324ec83ad5033a40061935c8cfe982b4f36e7e466fbd10e836728fd0cdf01bda812a86f9cdfbd33c2a4f67b577026a836390e9ce61953372aab7dcded6aa19 SHA512 40e8092cf223d075dbb5654766f095ce57d61ff329aee5dc0f3c95655e3894ac507d8b48014326b7fd9265c81b9340624aaa349641efbdcde55bda0b1098f398 +DIST pacman-data-0.0.zip 11994364 BLAKE2B cc83c490387bfe859bb7e41068c00ea4c4f7fd4ed8ab718cff3d1fbb6c5eb5590837eb73b43a6b3be8cd76e3ef8f8b6b3ca8229a2bb645c48580cc302f02b88e SHA512 f3619ab876ff9c0f354fff9e9b0acefaa1a1a094e8ef215fe1b57f617f79540ae87681dae0ec3c1df672615064be345f74e52a6f2f241bfe70d78f5b8c7fadc7 +EBUILD pacmanarena-0.15-r1.ebuild 1156 BLAKE2B fcc651259b78970cbb6265d264a7774d0eebe55edd0a5c60ac313a6eceec221c71ecd255cc7a3ba355226e76f6cfbab3ee8700cc7829b61d9f6a88576d6404da SHA512 9140cc8a57f6873d8f858b949e8169e9b91204906e50b3f3cd745056ab68cd93075321345aceb943d9120a1a232537d107b55c42ba1354a7cfc51ba0fe59c601 +MISC metadata.xml 334 BLAKE2B 034963dd5af81911ac555bc717bbedf63c92413161b71d0771774ee6ad88317aaccfdee893c17a8a630a14aad726fc7dc9acbb19383b21468dd29f3b768e6780 SHA512 0ac8a4136638b425aa6122eaedb145adde764ecbe83e0388800c1f690abb27be59dd9b49933849e56111df0fc9741d71d8fe580f923bc6bf504ea8c66bd523c9 diff --git a/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch b/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch new file mode 100644 index 000000000000..6c32d8793be7 --- /dev/null +++ b/games-arcade/pacmanarena/files/pacmanarena-0.15-underlink.patch @@ -0,0 +1,10 @@ +--- a/configure.ac.old 2011-05-24 08:45:49.197656941 +0200 ++++ b/configure.ac 2011-05-24 08:46:13.685193761 +0200 +@@ -101,6 +101,7 @@ + AC_CHECK_LIB(GLU, gluNewQuadric, [ LDFLAGS="$LDFLAGS -lGLU" ], + [AC_MSG_ERROR([OpenGL libraries not found]) + ]) ++LDFLAGS="$LDFLAGS -lm" + + AC_CONFIG_FILES([Makefile]) + AC_OUTPUT diff --git a/games-arcade/pacmanarena/metadata.xml b/games-arcade/pacmanarena/metadata.xml new file mode 100644 index 000000000000..45f414393de5 --- /dev/null +++ b/games-arcade/pacmanarena/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">pacmanarena</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild b/games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild new file mode 100644 index 000000000000..e803d7748359 --- /dev/null +++ b/games-arcade/pacmanarena/pacmanarena-0.15-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="3D Pacman clone with a few surprises. Rockets, bombs and explosions abound" +HOMEPAGE="http://pacmanarena.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/pacman-arena-${PV}.tar.bz2 + mirror://sourceforge/${PN}/pacman-data-0.0.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +RDEPEND=" + virtual/opengl + virtual/glu + media-libs/libsdl[sound] + media-libs/sdl-mixer[vorbis] + media-libs/sdl-net +" +DEPEND="${RDEPEND} + app-arch/unzip +" + +S="${WORKDIR}/pacman" + +src_unpack() { + unpack pacman-arena-${PV}.tar.bz2 + cd "${S}" + unpack pacman-data-0.0.zip +} + +src_prepare() { + default + sed -i \ + -e "/^CFLAGS/ s:pacman:${PN}:" \ + -e '1i CC=@CC@' \ + Makefile.in || die + sed -i \ + -e '/CFLAGS/s:-g::' \ + configure || die + eapply "${FILESDIR}"/${P}-underlink.patch + eautoreconf +} + +src_install() { + newbin pacman ${PN} + insinto /usr/share/${PN} + doins -r gfx sfx + newicon gfx/pacman_arena1.tga ${PN}.tga + make_desktop_entry ${PN} "Pacman Arena" /usr/share/pixmaps/${PN}.tga + einstalldocs +} diff --git a/games-arcade/penguin-command-1.6.11-r1 b/games-arcade/penguin-command-1.6.11-r1 deleted file mode 100644 index f10f43979aad..000000000000 --- a/games-arcade/penguin-command-1.6.11-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=media-libs/libsdl[sound,joystick,video] media-libs/sdl-mixer[mod] media-libs/sdl-image[jpeg,png] -DESCRIPTION=A clone of the classic Missile Command game -EAPI=6 -HOMEPAGE=http://www.linux-games.com/penguin-command/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,joystick,video] media-libs/sdl-mixer[mod] media-libs/sdl-image[jpeg,png] -SLOT=0 -SRC_URI=mirror://sourceforge/penguin-command/penguin-command-1.6.11.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=3b9f5d11349f991ded77149310c5c9df diff --git a/games-arcade/penguin-command/Manifest b/games-arcade/penguin-command/Manifest new file mode 100644 index 000000000000..9da2d69dac80 --- /dev/null +++ b/games-arcade/penguin-command/Manifest @@ -0,0 +1,3 @@ +DIST penguin-command-1.6.11.tar.gz 1123574 BLAKE2B 98c800a5a9081c843ecaddac57a1d1bd08f6b65a1539ecf206ff43ed13864cb2e94d77717ae88eb223a651c60c850b6aaf27a199bfc2d2b6394e04d63e3f9769 SHA512 ba41a7fbf3c07149fb6f6cf60091afda9de3c9f8f04e541d7b62ba744b04e5db7eecc5aa2391a71b72ccf6f544d397a5994a6f7aee0907211ced1686fe517646 +EBUILD penguin-command-1.6.11-r1.ebuild 595 BLAKE2B 7d38a0294d52fce6bc7de92902b448ea2790b3410dd8f6a5f8133de937b1672abf033e914d2cff17a7650c50dae1d7c751582e6cc470de246b59318b6f590470 SHA512 f6ab6011949f525d829b8422f65477843e327a17edbc16f9245d1a3e9fbd1be6159fca9797b3a64523139d3fa0484512b85d0ce474355c6914802558d36b97cd +MISC metadata.xml 338 BLAKE2B 9aa912c5237f8f99636f2dac62569a21c3fe222b90c936a24d5b4afa81e3a60bb5bd66c1d21b50dd0e825fc3646c07b784f752e458727b5c0cb55725e0167326 SHA512 0176df19657b155dd98ab5f40138c4838b2f666fb73c285a1a9c77569a70960bf8ac493cd5243e055f10ee0210ac4bcd338cef2d7dc08c2058cd6adf8622e4e7 diff --git a/games-arcade/penguin-command/metadata.xml b/games-arcade/penguin-command/metadata.xml new file mode 100644 index 000000000000..5b50d1792bff --- /dev/null +++ b/games-arcade/penguin-command/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">penguin-command</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/penguin-command/penguin-command-1.6.11-r1.ebuild b/games-arcade/penguin-command/penguin-command-1.6.11-r1.ebuild new file mode 100644 index 000000000000..c442fae3b31e --- /dev/null +++ b/games-arcade/penguin-command/penguin-command-1.6.11-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A clone of the classic Missile Command game" +HOMEPAGE="http://www.linux-games.com/penguin-command/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,video] + media-libs/sdl-mixer[mod] + media-libs/sdl-image[jpeg,png]" +RDEPEND="${DEPEND}" + +src_install() { + default + newicon data/gfx/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Penguin Command" ${PN} +} diff --git a/games-arcade/pengupop-2.2.5-r1 b/games-arcade/pengupop-2.2.5-r1 deleted file mode 100644 index dabb13e7859b..000000000000 --- a/games-arcade/pengupop-2.2.5-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install postinst postrm preinst prepare -DEPEND=media-libs/libsdl[sound,video] sys-libs/zlib >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=sys-apps/sed-4 -DESCRIPTION=Networked multiplayer-only Puzzle Bubble clone -EAPI=6 -HOMEPAGE=http://freshmeat.net/projects/pengupop -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] sys-libs/zlib -SLOT=0 -SRC_URI=mirror://gentoo/pengupop-2.2.5.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=8525523646ace39a7f669741739cbc1b diff --git a/games-arcade/pengupop/Manifest b/games-arcade/pengupop/Manifest new file mode 100644 index 000000000000..aa5d8149a56b --- /dev/null +++ b/games-arcade/pengupop/Manifest @@ -0,0 +1,4 @@ +AUX pengupop-2.2.5-underlink.patch 569 BLAKE2B c0f08dbd63f97f58cba1bac6553863250c35036452be487c19e4294dcc5df8a9816acc68087a1f02db3e56c718f95c5da17bc47bc2ab4dd95d2fc77bab95cd48 SHA512 c7dac9f94d99b0ef2e42f8d6e409afaeddb29ef6d85e9b01d3a8b4b6a3e4d73808c909e2dbb7f7d0c30dbcc06ed6d72e304b3dc9ada71aedc782982fa49cc444 +DIST pengupop-2.2.5.tar.gz 1676224 BLAKE2B 5527d956a9ae0d3a2c4a31e2bb5f4059bd79c8c6ab2ccc81b2ec35c698f8e40bbdf7a68b6799bd202f39b2e5d39e690de6e71aa97c6ff307d03679f8aae8f755 SHA512 1886898288cb9b2be949a031bf2baae80332c5ca93bead91ed8c50d0aaea81715cf0eaeb09a63af298e82e1409f9f39527742707839526283e57809484be4abf +EBUILD pengupop-2.2.5-r1.ebuild 956 BLAKE2B d3db85dbf59876d8a40c5a26e530210262118bca9ea5a5aa55a9416870134662af7d3ac98b47ddfe18fa969a11a2e37600627de52e1c12fe0528c5e5981a6caa SHA512 f4bc51a6a69351b62f5903215446384e29048697cdd84346838bb817016566912948c8799e32f973ff33bd64696982a21963a9f33b5ed4ef3ddca3628ee9e366 +MISC metadata.xml 329 BLAKE2B 12f9759170dea648244936ee92bb4c3f3777382ff1bfb6866de215b068e79a3d4c20386c6c98af482c711627fc1c068fef9034c46b4fe2b254d5d220897eb90b SHA512 68b5c8588a25954a6f833ada9d10ddaeb9296618fbb84355d6242f41e5a2ea859b8a677f0cefcaafe10a1465012de6f578c0d794e31dd97fa1f9917451240243 diff --git a/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch b/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch new file mode 100644 index 000000000000..fbbb704a6a30 --- /dev/null +++ b/games-arcade/pengupop/files/pengupop-2.2.5-underlink.patch @@ -0,0 +1,20 @@ +--- a/Makefile.am.old 2011-06-14 21:44:40.242317771 +0200 ++++ b/Makefile.am 2011-06-14 21:44:49.216882568 +0200 +@@ -17,7 +17,7 @@ + nodist_pengupop_SOURCES = images.h + + if LINUX +-pengupop_LDADD = -lSDL -lz ++pengupop_LDADD = -lSDL -lz -lm + + endif + if WIN32 +@@ -25,7 +25,7 @@ + endif + if DARWIN + pengupop_LDFLAGS = -framework Carbon -framework CoreServices -framework AudioUnit -framework QuickTime -framework Cocoa -framework IOKit -framework OpenGL -framework SDL SDLMain.m +-pengupop_LDADD = -lz -lstdc++ ++pengupop_LDADD = -lz -lstdc++ -lm + + all-local: Pengupop.dmg + diff --git a/games-arcade/pengupop/metadata.xml b/games-arcade/pengupop/metadata.xml new file mode 100644 index 000000000000..cd8cab841358 --- /dev/null +++ b/games-arcade/pengupop/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">pengupop</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/pengupop/pengupop-2.2.5-r1.ebuild b/games-arcade/pengupop/pengupop-2.2.5-r1.ebuild new file mode 100644 index 000000000000..6938c534c5c9 --- /dev/null +++ b/games-arcade/pengupop/pengupop-2.2.5-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop gnome2-utils + +DESCRIPTION="Networked multiplayer-only Puzzle Bubble clone" +HOMEPAGE="http://freshmeat.net/projects/pengupop" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + sys-libs/zlib" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eapply "${FILESDIR}"/${P}-underlink.patch + + sed -i \ + -e '/Icon/s/\.png//' \ + -e '/^Encoding/d' \ + -e '/Categories/s/Application;//' \ + pengupop.desktop || die + + sed -i \ + -e 's/-g -Wall -O2/-Wall/' \ + Makefile.am || die + + mv configure.in configure.ac || die + eautoreconf +} + +src_install() { + default + domenu pengupop.desktop + doicon -s 48 pengupop.png +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/performous-1.1-r1 b/games-arcade/performous-1.1-r1 deleted file mode 100644 index bc2a383b15a8..000000000000 --- a/games-arcade/performous-1.1-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install postinst postrm preinst prepare test -DEPEND=dev-cpp/glibmm:2 dev-cpp/libxmlpp:2.6 media-libs/portaudio dev-libs/boost[threads(+)] dev-libs/glib:2 dev-libs/libxml2:2 gnome-base/librsvg:2 media-gfx/imagemagick:0= virtual/jpeg:0 media-libs/libpng:0= media-libs/libsdl2[joystick,video] virtual/ffmpeg virtual/opengl virtual/glu sys-libs/zlib virtual/libintl x11-libs/cairo x11-libs/gdk-pixbuf x11-libs/pango media-libs/libepoxy midi? ( media-libs/portmidi ) webcam? ( media-libs/opencv ) sys-apps/help2man sys-devel/gettext sys-devel/make >=dev-util/cmake-3.9.6 >=sys-apps/sed-4 -DESCRIPTION=SingStar GPL clone -EAPI=5 -HOMEPAGE=https://performous.org/ -IUSE=midi songs tools webcam -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 songs? ( CC-BY-NC-SA-2.5 CC-BY-NC-ND-2.5 ) -RDEPEND=dev-cpp/glibmm:2 dev-cpp/libxmlpp:2.6 media-libs/portaudio dev-libs/boost[threads(+)] dev-libs/glib:2 dev-libs/libxml2:2 gnome-base/librsvg:2 media-gfx/imagemagick:0= virtual/jpeg:0 media-libs/libpng:0= media-libs/libsdl2[joystick,video] virtual/ffmpeg virtual/opengl virtual/glu sys-libs/zlib virtual/libintl x11-libs/cairo x11-libs/gdk-pixbuf x11-libs/pango media-libs/libepoxy midi? ( media-libs/portmidi ) webcam? ( media-libs/opencv ) -SLOT=0 -SRC_URI=https://github.com/performous/performous/archive/1.1.tar.gz -> performous-1.1.tar.gz songs? ( mirror://sourceforge/performous/ultrastar-songs-restricted-3.zip mirror://sourceforge/performous/ultrastar-songs-jc-1.zip mirror://sourceforge/performous/ultrastar-songs-libre-3.zip mirror://sourceforge/performous/ultrastar-songs-shearer-1.zip ) -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=b31decb7328166c2b60f0cfc2acf01c0 diff --git a/games-arcade/performous/Manifest b/games-arcade/performous/Manifest new file mode 100644 index 000000000000..2cfae6c8b535 --- /dev/null +++ b/games-arcade/performous/Manifest @@ -0,0 +1,9 @@ +AUX performous-1.1-gentoo.patch 474 BLAKE2B ff4bdbc43a1129bb4b2d44ac5e818f3f6dccd35ca743345f0934b3cfce66c25c914daf93a4463fa0a30622410737a5983602d1d19fa172bd41e01f3a321ac77a SHA512 b00f13c16dd87645ae3baea80a7430bc0ce46d827ef72ecad21ddac8318f4356bffffd24bd03710a529ca215f20b924f27bc69dd2b3e4870ae19388c8b857338 +AUX performous-1.1-linguas.patch 1033 BLAKE2B b7fd8f8560d9e9dd1fb6120f8d0e72c11529f226fecaf482dc3ae351d28977b196816e8c84db0c9ab1c724b78bc4a757d6b1f854dffbc9ebb3aaea1a05eaaf80 SHA512 d3ca1b7fb271618ea1866328aedb7a49a92ea08b4e3d1d4f3755e0868dc380b97462158cda19c8d1e2e2dd4afb59a6db533a12510699c2082f4e4ff31b069597 +DIST performous-1.1.tar.gz 3965473 BLAKE2B 021660aa785d0535396a75e8c4cc5cc368ba5745b67fae527e7901ef6601d95887206aae7f74b52bf6b3da3e827bfbd3094e8a393917b9936af266b54766b0b2 SHA512 6659aa03960e68d7af65b072e179e42b122d2a39d25229c6daf765146379a115a52e51c1dc2bc69081ea17fe7a22f1d7007b7cf9e09bc32d134c3ad8e3444dd1 +DIST ultrastar-songs-jc-1.zip 242698201 BLAKE2B 39c37160c1ce305252c7b94910aae4ed930d6762716b985f35d64b502bcb8c0310ff830384a652bb1b8a72dea5dd08eebbfd89ae047861bd88e2fc983a863d84 SHA512 2f1b8416990c39617269cd6bb7271abdd4ebae65a9bac3dbb3f37cca26876bb7c79460a37597943a10a2d8bfcb5d2d9e2bf24084fe517a418e69f5c6111f6aea +DIST ultrastar-songs-libre-3.zip 5289866 BLAKE2B 2c3fc640ad808b12987e9b50510df644ab8dd1ae41a4b9e5056950c7aa1823678a4b568a60a260b93a4bdf06f199fac1b99bd22e4e39301bf34f337c08d68b69 SHA512 820e3637a7b778c92ed1a8b925802134fa2146879b3e03e88cd412de5414635c90fe256dfaf984cfa3e8b07b7da8531dc3061b7c4e1bb4422127b469b2345e66 +DIST ultrastar-songs-restricted-3.zip 10242651 BLAKE2B de923f72bdd3081f2870457fd734ae2f8c11a84a74344af165aa5c6cf7b812c98fd53b3ab18ac9ac51f488fbf3fe274289205724c9f8547a31245536bea3c6b1 SHA512 70b987fec3705d6610625c1f30a7ff683a51bb6b7ee3174609c80dc31c1bccdb23dcb2c6ae8154e1b1d9ef115b914e27e73925878a3c5460b997fdde813456b8 +DIST ultrastar-songs-shearer-1.zip 50411551 BLAKE2B b91896197b6750dce6998ad309a9aca42aaf11b48c92bd1c30a67befcaf4ac64b6c5207f492e0f8588b986033d297a37bc8c9e505baea809591aa3255034fed4 SHA512 add9df22b78967fd6f19699e8569f976423e931a32ea7a62cfec2f94470b9120f05832560215a000ecec8dd65508b057fac8ac90efd3a768ed74ddced186a73b +EBUILD performous-1.1-r1.ebuild 2474 BLAKE2B eaecbe32cbf0d321090972037a54065d559063b57abe80e5570cbfd74deeffb603d0b25f539fc3b43b207913cae9bcb3a7fa4d1dd0cca61457264981740bbf03 SHA512 cc07a9970af2e12bb8eb4bb0f1279c5213c5937398f5108c89d89a4260ad75e1a608892ea45b418a3fdf20ef7ea1f56335615e3c6f677fa9aa7b4bdba34f82ad +MISC metadata.xml 856 BLAKE2B d467d86270f2f571d310ceac4934aea595a62fa9e234e8897ef0b22871df612cdb335e7e3298a0991db6c98b78ea68b04882de8696150d5acb65944d9ff80c3d SHA512 24da96b0da902a2d54d92e2f74d8c57fdd1e84f35b96d416cb15898485f0387c70f3430e21ba7eebd5bc289f76f02695d246746abe7eb041f9f7e2e0e8e1e4e0 diff --git a/games-arcade/performous/files/performous-1.1-gentoo.patch b/games-arcade/performous/files/performous-1.1-gentoo.patch new file mode 100644 index 000000000000..a73663a88c41 --- /dev/null +++ b/games-arcade/performous/files/performous-1.1-gentoo.patch @@ -0,0 +1,12 @@ +diff -ru performous-1.0.orig/game/CMakeLists.txt performous-1.0/game/CMakeLists.txt +--- performous-1.0.orig/game/CMakeLists.txt 2014-10-28 19:11:45.000000000 -0400 ++++ performous-1.0/game/CMakeLists.txt 2015-03-31 03:01:30.806061643 -0400 +@@ -141,7 +141,7 @@ + set(BIN_INSTALL .) # Straight to Program Files/Performous with no bin subfolder. + set(SUBSYSTEM_WIN32 WIN32) + else() +- set(BIN_INSTALL bin) ++ set(BIN_INSTALL @GENTOO_BINDIR@) + endif() + + # Build main executable diff --git a/games-arcade/performous/files/performous-1.1-linguas.patch b/games-arcade/performous/files/performous-1.1-linguas.patch new file mode 100644 index 000000000000..f8f1349ea3b9 --- /dev/null +++ b/games-arcade/performous/files/performous-1.1-linguas.patch @@ -0,0 +1,18 @@ +diff -ru performous-1.0.orig/lang/CMakeLists.txt performous-1.0/lang/CMakeLists.txt +--- performous-1.0.orig/lang/CMakeLists.txt 2014-10-28 19:11:45.000000000 -0400 ++++ performous-1.0/lang/CMakeLists.txt 2015-02-22 04:25:40.502252942 -0500 +@@ -9,5 +9,13 @@ + file(MAKE_DIRECTORY "${mobuild}") + add_custom_command(OUTPUT "${mofile}" COMMAND "${Msgfmt_BIN}" -v "${pofile}" -o "${mofile}" MAIN_DEPENDENCY "${pofile}" COMMENT "Building ${language} locale" VERBATIM) + add_custom_target("locale_${language}" ALL DEPENDS "${mofile}") # Make sure the mofiles are always built +- install(FILES "${mofile}" DESTINATION "${LOCALE_DIR}/${language}/LC_MESSAGES") + endforeach(language) ++foreach(language $ENV{LINGUAS}) ++ set(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${language}.po) ++ if (EXISTS ${pofile}) ++ set(mofile ${CMAKE_CURRENT_BINARY_DIR}/${language}.mo) ++ install(FILES ${mofile} DESTINATION ++{LOCALE_DIR}/${language}/LC_MESSAGES RENAME ${CMAKE_PROJECT_NAME}.mo) ++ endif() ++endforeach(language) ++ diff --git a/games-arcade/performous/metadata.xml b/games-arcade/performous/metadata.xml new file mode 100644 index 000000000000..2ee1cd7690b5 --- /dev/null +++ b/games-arcade/performous/metadata.xml @@ -0,0 +1,21 @@ +<?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"> + Performous is an open-source rhythm/performance platform that contains singing, guitar/bass playing, drumming and dancing all in one game. + </longdescription> + <use> + <flag name="midi">Enable MIDI I/O support</flag> + <flag name="songs">Install a few demo songs</flag> + <flag name="tools">Enable building of song extraction utilities for SingStar and Guitar Hero</flag> + <flag name="webcam">Enable Webcam support</flag> + </use> + <upstream> + <remote-id type="sourceforge">performous</remote-id> + <remote-id type="github">performous/performous</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/performous/performous-1.1-r1.ebuild b/games-arcade/performous/performous-1.1-r1.ebuild new file mode 100644 index 000000000000..6b8850506d52 --- /dev/null +++ b/games-arcade/performous/performous-1.1-r1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CMAKE_REMOVE_MODULES="yes" +CMAKE_REMOVE_MODULES_LIST="FindALSA FindBoost FindFreetype FindGettext FindJpeg FindPng FindTiff FindZ" + +inherit desktop cmake-utils epatch gnome2-utils + +MY_PN="Performous" +MY_P="${MY_PN}-${PV}" +SONGS_PN="ultrastar-songs" + +DESCRIPTION="SingStar GPL clone" +HOMEPAGE="https://performous.org/" +SRC_URI=" + https://github.com/performous/performous/archive/${PV}.tar.gz -> ${P}.tar.gz + songs? ( + mirror://sourceforge/performous/${SONGS_PN}-restricted-3.zip + mirror://sourceforge/performous/${SONGS_PN}-jc-1.zip + mirror://sourceforge/performous/${SONGS_PN}-libre-3.zip + mirror://sourceforge/performous/${SONGS_PN}-shearer-1.zip + ) +" + +LICENSE=" + GPL-2 + songs? ( + CC-BY-NC-SA-2.5 + CC-BY-NC-ND-2.5 + ) +" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="midi songs tools webcam" + +RDEPEND=" + dev-cpp/glibmm:2 + dev-cpp/libxmlpp:2.6 + media-libs/portaudio + dev-libs/boost[threads(+)] + dev-libs/glib:2 + dev-libs/libxml2:2 + gnome-base/librsvg:2 + media-gfx/imagemagick:0= + virtual/jpeg:0 + media-libs/libpng:0= + media-libs/libsdl2[joystick,video] + virtual/ffmpeg + virtual/opengl + virtual/glu + sys-libs/zlib + virtual/libintl + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/pango + media-libs/libepoxy + midi? ( media-libs/portmidi ) + webcam? ( media-libs/opencv ) +" +DEPEND="${RDEPEND} + sys-apps/help2man + sys-devel/gettext +" + +src_prepare() { + cmake-utils_src_prepare + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-linguas.patch + sed -i \ + -e "s:@GENTOO_BINDIR@:/usr/bin:" \ + -e '/ Z /s/ Z/ ZLIB/g' \ + -e 's/Z_FOUND/ZLIB_FOUND/g' \ + -e 's/Z_LIBRARIES/ZLIB_LIBRARIES/g' \ + -e 's/Jpeg/JPEG/' \ + -e 's/Png/PNG/' \ + {game,tools}/CMakeLists.txt || die + + strip-linguas -u lang +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_enable tools TOOLS) + $(cmake-utils_use_enable webcam WEBCAM) + $(cmake-utils_use_enable midi MIDI) + -DCMAKE_VERBOSE_MAKEFILE=TRUE + -DSHARE_INSTALL="/usr/share/${PN}" + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + if use songs ; then + insinto "/usr/share/${PN}" + doins -r "${WORKDIR}/songs" + fi + dodoc docs/{Authors,instruments}.txt + newicon -s scalable data/themes/default/icon.svg ${PN}.svg +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/primateplunge-1.1-r2 b/games-arcade/primateplunge-1.1-r2 deleted file mode 100644 index ef381bd563ef..000000000000 --- a/games-arcade/primateplunge-1.1-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Help poor Monkey navigate his way down through treacherous areas -EAPI=6 -HOMEPAGE=https://www.aelius.com/primateplunge/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=Primate-Plunge -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer -RESTRICT=mirror bindist -SLOT=0 -SRC_URI=https://www.aelius.com/primateplunge/primateplunge-1.1.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=8d91ba1eaac150b7772e6d5d81e37138 diff --git a/games-arcade/primateplunge/Manifest b/games-arcade/primateplunge/Manifest new file mode 100644 index 000000000000..cb4060d693f0 --- /dev/null +++ b/games-arcade/primateplunge/Manifest @@ -0,0 +1,4 @@ +AUX primateplunge-1.1-AC_SUBST.patch 619 BLAKE2B 3252eb57e4c3352f3706abb6cf6ebc26fd8d8151548e8c4aa32eaace0dbcb0c5b90d313f9631f84e0eb46781143922da10638318e118925d95f2cf0a318c9fab SHA512 f8d584b8a305ac54b91a6746613361f60cb74e6c756f1067f6d3e6ffec71f3358c64f5901e44c3a1d423d5b8624e5c34086fe7f3d63df9cb86db0d558a08b7c2 +DIST primateplunge-1.1.tar.gz 5245884 BLAKE2B a1496eea4c99dd52f301aa50b6831ce6efffa78e45b97be13e93f64d4c4dd814b87fac17612fb82f994ee125375c75a47d3968b379c7622d78c76cadf5567e3b SHA512 bdc6be0faf28375941e67895c498f59a529521ba46d6b23ea94d3b16ead1541738d7aa5cfa5fa5cf269e7e474ca9002180e7b0663e1b4531300d21564df41b8c +EBUILD primateplunge-1.1-r2.ebuild 746 BLAKE2B 71a599054b1bbed857c16ee88d2a2ddc7557292c017c375b163accae381c962f05ddce0b7515426358f7978b179edd689b95cd45ceb7749df663610618471c61 SHA512 d8c9cfa96356ab6b932aa9bff4f2b6c9736aa38b1478519a31084b0e9900fe7e12eca6ce09bee4a0ccdd6fe938ef9ffd01fadb098540ce6202060378d5580c51 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch b/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch new file mode 100644 index 000000000000..562f62f98585 --- /dev/null +++ b/games-arcade/primateplunge/files/primateplunge-1.1-AC_SUBST.patch @@ -0,0 +1,26 @@ +--- a/configure.ac.orig ++++ b/configure.ac +@@ -7,12 +7,12 @@ + + AC_INIT([primateplunge], [1.1], [primateplunge@aelius.com]) + +-AC_CONFIG_SRCDIR( src/game.c ) ++AC_CONFIG_SRCDIR(src/game.c) + AC_CANONICAL_SYSTEM + + dnl Version 1.7 of automake is recommended +-AM_INIT_AUTOMAKE( 1.7 ) +-AM_CONFIG_HEADER( src/config.h ) ++AM_INIT_AUTOMAKE(1.7) ++AM_CONFIG_HEADER(src/config.h) + + + +@@ -29,7 +29,6 @@ + [ PREFSFILE="~/.primateplunge" ] + ) + +-AC_SUBST( GAMEDATADIR ) + AC_DEFINE_DIR( GAMEDATADIR, GAMEDATADIR, [Location of game resource files] ) + AC_DEFINE_UNQUOTED( PREFSFILE, "$PREFSFILE", [Location of preferences file] ) + diff --git a/games-arcade/primateplunge/metadata.xml b/games-arcade/primateplunge/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/primateplunge/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-arcade/primateplunge/primateplunge-1.1-r2.ebuild b/games-arcade/primateplunge/primateplunge-1.1-r2.ebuild new file mode 100644 index 000000000000..a2cab33ca840 --- /dev/null +++ b/games-arcade/primateplunge/primateplunge-1.1-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="Help poor Monkey navigate his way down through treacherous areas" +HOMEPAGE="https://www.aelius.com/primateplunge/" +SRC_URI="https://www.aelius.com/${PN}/${P}.tar.gz" + +LICENSE="Primate-Plunge" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" +RESTRICT="mirror bindist" #465850 + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-AC_SUBST.patch + eautoreconf +} + +src_install() { + default + dodoc TIPS + newicon graphics/idle.bmp ${PN}.bmp + make_desktop_entry ${PN} "Primate Plunge" /usr/share/pixmaps/${PN}.bmp +} diff --git a/games-arcade/pycadia-0.5.1-r1 b/games-arcade/pycadia-0.5.1-r1 deleted file mode 100644 index c12e647fa58f..000000000000 --- a/games-arcade/pycadia-0.5.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install unpack -DEPEND=>=dev-python/pygame-1.5.5 dev-python/pygtk:2 -DESCRIPTION=Pycadia. Home to vector gaming, python style -EAPI=6 -HOMEPAGE=http://www.anti-particle.com/pycadia.shtml -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=dev-python/pygame-1.5.5 dev-python/pygtk:2 -SLOT=0 -SRC_URI=http://www.anti-particle.com/downloads/pycadia-0.5.1.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=31423351e7b0d2255b71b126f5e05fd4 diff --git a/games-arcade/pycadia/Manifest b/games-arcade/pycadia/Manifest new file mode 100644 index 000000000000..2d99ace867b0 --- /dev/null +++ b/games-arcade/pycadia/Manifest @@ -0,0 +1,3 @@ +DIST pycadia-0.5.1.tar.gz 2768619 BLAKE2B 688fe8e148078e990ded8870569cf844fc9817e07c5136dc0b8960d2c39a72ca66443feee08c907104bf150c3475fcc0e626833252ce6f5c12b332f483d41079 SHA512 bfe7369263f21d672800eeaf567d7dcb5027b24d2f0d0534d68ad28ae71c916eca2ebf4b2f888645c8bfce12a2ba4bf23dacf673e32a7ba76d564006bdc3e0d2 +EBUILD pycadia-0.5.1-r1.ebuild 931 BLAKE2B 845baa0416b6e911dd02a3e5024ce24bdf42d85f0835d2fa9aa1b6cd7174580d184434ffe0ec103d66f2f02d2a5633c18ce7d311195422fae7519f88348b56d0 SHA512 dd902c965088a36b63e4d6a5ac99170a90c7e5a812d96070bfeff7c5c3de7158ffdea568b1219d091aa4a22e524070e6b790fdedc917fae64769406dde98d126 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/pycadia/metadata.xml b/games-arcade/pycadia/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/pycadia/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-arcade/pycadia/pycadia-0.5.1-r1.ebuild b/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild new file mode 100644 index 000000000000..4ddccdf135a9 --- /dev/null +++ b/games-arcade/pycadia/pycadia-0.5.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Pycadia. Home to vector gaming, python style" +HOMEPAGE="http://www.anti-particle.com/pycadia.shtml" +SRC_URI="http://www.anti-particle.com/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + >=dev-python/pygame-1.5.5 + dev-python/pygtk:2 +" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + { + echo "#!/bin/sh" + echo "cd /usr/share/${PN}" + echo "exec python2 ./pycadia.py \"\${@}\"" + } > "${T}/pycadia" +} + +src_install() { + dobin "${T}/pycadia" + + insinto "/usr/share/${PN}" + doins -r {glade,pixmaps,sounds} *.py pycadia.conf + + exeinto "/usr/share/${PN}" + doexe pycadia.py spacewarpy.py vektoroids.py + + newicon pixmaps/pysteroids.png ${PN}.png + make_desktop_entry ${PN} Pycadia + + dodoc doc/{TODO,CHANGELOG,README} +} diff --git a/games-arcade/pydance-1.1.0-r1 b/games-arcade/pydance-1.1.0-r1 deleted file mode 100644 index 49a22da1b774..000000000000 --- a/games-arcade/pydance-1.1.0-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=dev-python/pygame media-libs/libvorbis media-libs/sdl-mixer -DESCRIPTION=A DDR clone for linux written in Python -EAPI=6 -HOMEPAGE=http://www.icculus.org/pyddr/ -KEYWORDS=~amd64 ~x86 -LICENSE=MIT -PDEPEND=games-arcade/pydance-songs -RDEPEND=dev-python/pygame media-libs/libvorbis media-libs/sdl-mixer -SLOT=0 -SRC_URI=http://www.icculus.org/pyddr/pydance-1.1.0.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=966df85bb25024450cde29896f61e598 diff --git a/games-arcade/pydance-songs-20040410-r1 b/games-arcade/pydance-songs-20040410-r1 deleted file mode 100644 index 9a3015b7ef85..000000000000 --- a/games-arcade/pydance-songs-20040410-r1 +++ /dev/null @@ -1,9 +0,0 @@ -DEFINED_PHASES=install -DESCRIPTION=Music for the pyDDR game -EAPI=6 -HOMEPAGE=http://icculus.org/pyddr/ -KEYWORDS=~amd64 ~x86 -LICENSE=MIT -SLOT=0 -SRC_URI=mirror://gentoo/pydance-songs-20040410.tar.bz2 -_md5_=ceb4c73ab3a98ac70da4adaf4e21bea1 diff --git a/games-arcade/pydance-songs/Manifest b/games-arcade/pydance-songs/Manifest new file mode 100644 index 000000000000..58a03426011a --- /dev/null +++ b/games-arcade/pydance-songs/Manifest @@ -0,0 +1,3 @@ +DIST pydance-songs-20040410.tar.bz2 3780065 BLAKE2B 23cd831fd0c2259a1e72c6e21d068edab0f203dddb550eaf62edb0d2f7120650cc3a8303d88260fb279030614896485484c77b7273de5ba352377504e1bfe85c SHA512 09d68efba0a21e65a0c2bfc8d66eef3ffbe186506a1c9041560b7295ea1ea386c236f2bd6fcb343001e1c0f3a8a520a4b1b2deaaf1c40afd30b7180ac91b8f5b +EBUILD pydance-songs-20040410-r1.ebuild 366 BLAKE2B 0dcc23a97f10c0334d2b3a8b3f315a83713eca199ba3e2b47ec95fa8ba9c3e43d22ee2ee1150c9fad455c37c059f80b9de858409e8ac78dd5c1557e0943ff411 SHA512 6c9184d856a37449e84bf091e2b49f3c1f4622e3acd42d389fffc589c5a8da8a89beb322a999518b9879b7578862fd0f8c73b0405097b3c19c6571bd22f99b80 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/pydance-songs/metadata.xml b/games-arcade/pydance-songs/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/pydance-songs/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-arcade/pydance-songs/pydance-songs-20040410-r1.ebuild b/games-arcade/pydance-songs/pydance-songs-20040410-r1.ebuild new file mode 100644 index 000000000000..4d7dacb4abd7 --- /dev/null +++ b/games-arcade/pydance-songs/pydance-songs-20040410-r1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Music for the pyDDR game" +HOMEPAGE="http://icculus.org/pyddr/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +S="${WORKDIR}" + +src_install() { + insinto "/usr/share/pydance/songs" + doins * +} diff --git a/games-arcade/pydance/Manifest b/games-arcade/pydance/Manifest new file mode 100644 index 000000000000..bbc200f97d16 --- /dev/null +++ b/games-arcade/pydance/Manifest @@ -0,0 +1,3 @@ +DIST pydance-1.1.0.tar.gz 8957236 BLAKE2B 57ab896b95a8f653a075e6c7453e8e2adfc8c18e8271fc502667d7643736bfe3a8d62c3ebfbe8e84713ed235bbadff60080fd578f478c61741df881694e1c7d4 SHA512 738787626d83adc635e7e4644f159e3ce793da7b38cf094ffd73cabb088d3414a1aa9deda423784174b2c0381e50dd0d74bbcfb9d939044e85c35866b3818c7d +EBUILD pydance-1.1.0-r1.ebuild 1036 BLAKE2B e2d52e63f679bd9abc2528a128fbae325555b9380c106ea15b3aaa797ce3f66390019c090e59b42ed7d9a889e52add0299497da66f48f50505ac40ec27370525 SHA512 1d0bc2088d06e3ef0669a2376d3876d8bf7ee03ae9f52ad4c7c3064015a0c0b15769bee0023f378e6c7f67ad279eda9b3c01cfc7c6b2fb0cffb53c680f7822f4 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/pydance/metadata.xml b/games-arcade/pydance/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/pydance/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-arcade/pydance/pydance-1.1.0-r1.ebuild b/games-arcade/pydance/pydance-1.1.0-r1.ebuild new file mode 100644 index 000000000000..f3d5b1901227 --- /dev/null +++ b/games-arcade/pydance/pydance-1.1.0-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="A DDR clone for linux written in Python" +HOMEPAGE="http://www.icculus.org/pyddr/" +SRC_URI="http://www.icculus.org/pyddr/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-python/pygame + media-libs/libvorbis + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" +PDEPEND="games-arcade/pydance-songs" + +src_prepare() { + default + sed -i -e "s:1\.0\.1:1.0.2:" \ + pydance.py constants.py docs/man/pydance.6 || die + sed -i -e 's:/usr/share/games/pydance/:/usr/share/pydance/:g' pydance.posix.cfg || die +} + +src_install() { + local dir=/usr/share/${PN} + + insinto "${dir}" + doins *.py + cp -R CREDITS {sound,images,utils,themes} "${D}${dir}/" || die + + insinto /etc/ + newins pydance.posix.cfg pydance.cfg + + make_wrapper pydance "python2 ./pydance.py" "${dir}" + + dodoc BUGS CREDITS ChangeLog HACKING README TODO + HTML_DOCS="docs/manual.html docs/images" einstalldocs + doman docs/man/* +} diff --git a/games-arcade/retrobattle-1.0.0-r1 b/games-arcade/retrobattle-1.0.0-r1 deleted file mode 100644 index 741eabc12d50..000000000000 --- a/games-arcade/retrobattle-1.0.0-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install -DEPEND=media-libs/libsdl[X,sound,video] media-libs/sdl-mixer[wav] -DESCRIPTION=A NES-like platform arcade game -EAPI=6 -HOMEPAGE=http://remar.se/andreas/retrobattle/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[X,sound,video] media-libs/sdl-mixer[wav] -RESTRICT=test -SLOT=0 -SRC_URI=http://remar.se/andreas/retrobattle/files/retrobattle-src-1.0.0.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=2b1cc5c101b4b0c3c29f3de07f73d895 diff --git a/games-arcade/retrobattle/Manifest b/games-arcade/retrobattle/Manifest new file mode 100644 index 000000000000..01315bf1f60b --- /dev/null +++ b/games-arcade/retrobattle/Manifest @@ -0,0 +1,6 @@ +AUX retrobattle-1.0.0-build.patch 734 BLAKE2B 4ffa45c16de1e4b61d96bf18c5cf79565bf3fb68b1bda293cf1e0a35a06d610f4e7a562d04c2781cfa39b24b723f17c97d03eea93d5d31e0fd48ed4d5d7e0934 SHA512 ef1bfaa78911b6a5d69a03ad0779fece864a521faf3cba99e60214ca46845f019c5a077562a396a3775441020275454955e83ecbb9bedf691dedbf1a178b0549 +AUX retrobattle-1.0.0-gcc6.patch 727 BLAKE2B ba3cf4079f453451e4c75cd219a9069d0aa8ba983a5c54a9429c3528fbb303cea5d74e39737cb8faf9e1b1ffbfc2b6fe12c4d339fb255c8d33bcc8f877d9902c SHA512 c6abf9dea211fa362ed3e2c65bdc4617e0f3419bf206fa2cff92bf6a5f37f0b616ee658468213329aa3de704ec61c0f53b0f450171f8543cb21f620a1e3d6747 +AUX retrobattle-1.0.0-sound.patch 435 BLAKE2B c415d1713858f5c5087c10fa29786ce8ba8127ebb72da6d9f0802609d1740e9265022526ea1bbb04f97b4173a00cbccb07fbfbbc015800a688b64e9c42c0aa42 SHA512 e25737a8fd55ae7e54015a122754811e748e5cb26adf866ddd912547c72acf1ea8a70b33724bd17ee35c959051d4210047aaee8a7a88ebe85ab0c4a1083386a1 +DIST retrobattle-src-1.0.0.tar.bz2 4007959 BLAKE2B efe20ccfc813b5c17b49694ab01a1a341fa2bf2bb45a0aaca99eb5bb1a814f12bfa6354308c0d9cc9937a159a20568312ddead0748b75803d97f9e9d0d86c99a SHA512 2d006fc9a62e57d7fb3c0f0e535a5c702204b6341566064d7683526923839e8a43e14b308e76a8a1f6794f7c682f6344975956877f80bbcbc33ee61cd640ff9e +EBUILD retrobattle-1.0.0-r1.ebuild 840 BLAKE2B d2af53b2b528cb0347ec1a963180c090ceff766f564a91ea860026737f6217207ce2cf238d9c37b9112dba3b8dcc93d22d5731b70bfe7483dee994b63f54a35f SHA512 2ae9eb08d4b88991242c9828f79064f283547708f643c8e4aef8818dfce7bbf7574feb0d6d2a73ad1a7be11015f686598b8c83297ed94ec202fd912414749160 +MISC metadata.xml 253 BLAKE2B 443ca9c8d4f6801169382e87a0ecd1385c56e65229209e7200f9d313ef380e92ae8d7dc3c38e5989a4166289f22607a20b1e13bb960fff6b3d9f78629d8ab020 SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 diff --git a/games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch b/games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch new file mode 100644 index 000000000000..3673ef01e17f --- /dev/null +++ b/games-arcade/retrobattle/files/retrobattle-1.0.0-build.patch @@ -0,0 +1,30 @@ +Author: hasufell <hasufell@gentoo.org> +Date: Sat Aug 4 12:15:53 2012 +0200 + + respect CXX, CFLAGS and LDFLAGS + +--- src/Makefile ++++ src/Makefile +@@ -1,10 +1,10 @@ +-CFLAGS = `sdl-config --cflags` -g -Wall -I. -DENABLE_BINRELOC +-CPPFLAGS = $(CFLAGS) ++CXXFLAGS += $(shell sdl-config --cflags) -I. ++CPPFLAGS += -DENABLE_BINRELOC + + # Uncomment the first LIBS line and comment out the other LIBS line to + # compile without SDL_Mixer + #LIBS = `sdl-config --libs` +-LIBS = `sdl-config --libs` -lSDL_mixer ++LIBS = $(shell sdl-config --libs) -lSDL_mixer + + RETROINSTALLDIR ?= /opt + +@@ -25,7 +25,7 @@ + + + retrobattle: $(RETRO) +- g++ -o $@ $^ $(LIBS) ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + mv $@ .. + + clean: diff --git a/games-arcade/retrobattle/files/retrobattle-1.0.0-gcc6.patch b/games-arcade/retrobattle/files/retrobattle-1.0.0-gcc6.patch new file mode 100644 index 000000000000..62af1f4718ef --- /dev/null +++ b/games-arcade/retrobattle/files/retrobattle-1.0.0-gcc6.patch @@ -0,0 +1,22 @@ +--- src/GameLogic.h ++++ src/GameLogic.h +@@ -52,8 +52,8 @@ + /* Fixed interval time-based animation */ + static const int maximumFrameRate = 60; + static const int minimumFrameRate = 15; +- static const float updateInterval = 1.0 / maximumFrameRate; +- static const float maxCyclesPerFrame = maximumFrameRate / minimumFrameRate; ++ static const float updateInterval; ++ static const float maxCyclesPerFrame; + + float lastFrameTime; + float cyclesLeftOver; +--- src/GameLogic.cc ++++ src/GameLogic.cc +@@ -206,3 +206,6 @@ + { + sprintf(buf, "%s/data/gfx/%s", datadir, file); + } ++ ++const float GameLogic::updateInterval = 1.0 / maximumFrameRate; ++const float GameLogic::maxCyclesPerFrame = maximumFrameRate / minimumFrameRate; diff --git a/games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch b/games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch new file mode 100644 index 000000000000..591ce66e9f69 --- /dev/null +++ b/games-arcade/retrobattle/files/retrobattle-1.0.0-sound.patch @@ -0,0 +1,17 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Sun Aug 5 16:22:22 UTC 2012 +Subject: sound + +resolves crackling background music + +--- src/SoundManager.cc ++++ src/SoundManager.cc +@@ -25,7 +25,7 @@ + SoundManager::SoundManager(char *datadir) + { + #ifndef NO_SDL_MIXER +- if(Mix_OpenAudio(22050, AUDIO_S16SYS, 2, 1024)) ++ if(Mix_OpenAudio(44100, AUDIO_S16SYS, 2, 1024)) + { + printf("SDL_mixer says: %s\n", Mix_GetError()); + } diff --git a/games-arcade/retrobattle/metadata.xml b/games-arcade/retrobattle/metadata.xml new file mode 100644 index 000000000000..26079e608bed --- /dev/null +++ b/games-arcade/retrobattle/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-arcade/retrobattle/retrobattle-1.0.0-r1.ebuild b/games-arcade/retrobattle/retrobattle-1.0.0-r1.ebuild new file mode 100644 index 000000000000..411ae4f57017 --- /dev/null +++ b/games-arcade/retrobattle/retrobattle-1.0.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +MY_P="${PN}-src-${PV}" +DESCRIPTION="A NES-like platform arcade game" +HOMEPAGE="http://remar.se/andreas/retrobattle/" +SRC_URI="http://remar.se/andreas/retrobattle/files/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +# test is incomplete +RESTRICT="test" + +DEPEND="media-libs/libsdl[X,sound,video] + media-libs/sdl-mixer[wav]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}/src" + +PATCHES=( "${FILESDIR}"/${P}-{build,sound,gcc6}.patch ) + +src_install() { + insinto /usr/share/${PN} + doins -r "${WORKDIR}"/${MY_P}/data + + newbin "${WORKDIR}"/${MY_P}/${PN} ${PN}.bin + make_wrapper ${PN} "${PN}.bin \"/usr/share/${PN}\"" + + make_desktop_entry ${PN} + dodoc "${WORKDIR}"/${MY_P}/{manual.txt,README} +} diff --git a/games-arcade/ri-li-2.0.1-r1 b/games-arcade/ri-li-2.0.1-r1 deleted file mode 100644 index 409382ad27d7..000000000000 --- a/games-arcade/ri-li-2.0.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer[mod] >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Drive a toy wood engine and collect all the coaches -EAPI=6 -HOMEPAGE=http://ri-li.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-mixer[mod] -SLOT=0 -SRC_URI=mirror://sourceforge/ri-li/Ri-li-2.0.1.tar.bz2 -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=91c06791b4a392c422c24b0a2033518c diff --git a/games-arcade/ri-li/Manifest b/games-arcade/ri-li/Manifest new file mode 100644 index 000000000000..34d44b8765bd --- /dev/null +++ b/games-arcade/ri-li/Manifest @@ -0,0 +1,4 @@ +AUX ri-li-2.0.1-gcc43.patch 8620 BLAKE2B 069966fe27a3bbccf6a2ee8d15e591d1537accb6713fb07b2d6e964ecff52eb8de95e03a6d858b6e7dd3499f4724b6fc69c44792a93502893aa4c703495cac36 SHA512 30e7641c7aeb24e5904dc70115d72b9392db0a54bcf0b327b64c5225ad76ea3eecb492f688a2fc4c0142984862fa5fda85477e97fbb391f20adf7947354b1c53 +DIST Ri-li-2.0.1.tar.bz2 13745398 BLAKE2B 29fdc812387c5fc3d9868ea137b556e08c0b6239ed4cebc8ed92f2530005191f2916dd143d8b417c2654ec902409307ca7f486d17374eabcac555de3714f888b SHA512 6d56c00dae90b50bca81ca739c628335b4ad7642c19a3b3c28630ddb91bd847ca6d383cace66ef436a1dda7497c9d3939de2626071bae40d423b2444fed97863 +EBUILD ri-li-2.0.1-r1.ebuild 740 BLAKE2B e17e855b7881231f068ea71fe93e2192abcf48ea587c8771ab8740ea60a70df27d6af07103fc5b353553290c06edf12523e14158a6e605b8cd2865221ddb5dfb SHA512 f50da34038c1fd16ab3dfa52727978ff2b12b6ccd98ba873670e5976d490a241eb9a8b104320246ab4aa69cac706018260869c6c1abae3c2128f5144514a86dd +MISC metadata.xml 328 BLAKE2B a4415f172fe6ff0b8c76d6d97aefc4e3d910c61b7ae1db25dcb729d36f791f87c5aeba81382e9474b5565032a29bc376acc9105b91a0e335e6f4ad5a44e67a46 SHA512 fecf94d4aa2ffbc8fbf439f3a5efb839d6789d65c76e64455c58b2d0c9491cb0982dcf1ed1cfff9409212a52fc9bcf4b7ef39a67a5186540f7a0412a519a8bbf diff --git a/games-arcade/ri-li/files/ri-li-2.0.1-gcc43.patch b/games-arcade/ri-li/files/ri-li-2.0.1-gcc43.patch new file mode 100644 index 000000000000..3782627c83bd --- /dev/null +++ b/games-arcade/ri-li/files/ri-li-2.0.1-gcc43.patch @@ -0,0 +1,291 @@ +--- a/src/audio.cc ++++ b/src/audio.cc +@@ -22,7 +22,7 @@ + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + #include <stdlib.h> +-#include <iostream.h> ++#include <iostream> + #include <string.h> + + #include "audio.h" +@@ -57,7 +57,7 @@ + char PathFile[512]; + + if(Mix_OpenAudio(22050,AUDIO_S16,1,1024)) { +- cerr <<"Enable to init Sound card ! "<<SDL_GetError()<<endl; ++ std::cerr <<"Enable to init Sound card ! "<<SDL_GetError()<<std::endl; + return false; + } + +--- a/src/ecran.cc ++++ b/src/ecran.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <math.h> +--- a/src/editeur.cc ++++ b/src/editeur.cc +@@ -25,7 +25,7 @@ + #include <windows.h> + #endif + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -374,7 +374,7 @@ + + // Sauve le niveau + if(Niveau.Save()==false) { +- cerr <<"ERREUR Saving levels!"<<endl; ++ std::cerr <<"ERREUR Saving levels!"<<std::endl; + exit(-1); + } + +--- a/src/jeux.cc ++++ b/src/jeux.cc +@@ -25,7 +25,7 @@ + #include <windows.h> + #endif + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +--- a/src/loco.cc ++++ b/src/loco.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +--- a/src/main.cc ++++ b/src/main.cc +@@ -23,7 +23,7 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include <iostream.h> ++#include <iostream> + #include <string.h> + #include <SDL/SDL.h> + #include <SDL/SDL_mixer.h> +@@ -115,7 +115,7 @@ + + // Initilise SDL + if( SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER|SDL_INIT_AUDIO|SDL_INIT_NOPARACHUTE) < 0 ) { +- cerr <<"Impossible d'initialiser SDL:"<<SDL_GetError()<<endl; ++ std::cerr <<"Impossible d'initialiser SDL:"<<SDL_GetError()<<std::endl; + exit(-1); + } + // Ferme le programme correctement quant quit +@@ -125,7 +125,7 @@ + sdlVideoInfo=(SDL_VideoInfo*)SDL_GetVideoInfo(); + + if(sdlVideoInfo->vfmt->BitsPerPixel==8) { +- cerr <<"Impossible d'utiliser 8bits pour la vidéo !"<<endl; ++ std::cerr <<"Impossible d'utiliser 8bits pour la vidéo !"<<std::endl; + exit(-1); + } + +@@ -145,7 +145,7 @@ + sdlVideo=SDL_SetVideoMode(800,600,sdlVideoInfo->vfmt->BitsPerPixel,vOption); + + if(sdlVideo==NULL) { +- cerr <<"Impossible de passer dans le mode vidéo 800x600 !"<<endl; ++ std::cerr <<"Impossible de passer dans le mode vidéo 800x600 !"<<std::endl; + exit(-1); + } + // Change le nom de la fenetre +--- a/src/menu.cc ++++ b/src/menu.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -92,7 +92,7 @@ + // Teste la resolution video + sdlVideoInfo=(SDL_VideoInfo*)SDL_GetVideoInfo(); + if(sdlVideoInfo->vfmt->BitsPerPixel==8) { +- cerr <<"Impossible d'utiliser 8bits pour la vidéo !"<<endl; ++ std::cerr <<"Impossible d'utiliser 8bits pour la vidéo !"<<std::endl; + exit(-1); + } + +@@ -112,7 +112,7 @@ + if(Pref.FullScreen) vOption|=SDL_FULLSCREEN; + sdlVideo=SDL_SetVideoMode(800,600,sdlVideoInfo->vfmt->BitsPerPixel,vOption); + if(sdlVideo==NULL) { +- cerr <<"Impossible de passer dans le mode vidéo 800x600 !"<<endl; ++ std::cerr <<"Impossible de passer dans le mode vidéo 800x600 !"<<std::endl; + exit(-1); + } + +--- a/src/mouse.cc ++++ b/src/mouse.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include "mouse.h" + #include "preference.h" +--- a/src/sprite.cc ++++ b/src/sprite.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -84,7 +84,7 @@ + strcpy(PathFile,Langue[Pref.Langue]); + GetPath(PathFile); + if(FileExiste(PathFile)==false) { +- cerr <<"Impossible de trouver "<<Langue[Pref.Langue]<<endl; ++ std::cerr <<"Impossible de trouver "<<Langue[Pref.Langue]<<std::endl; + return false; + } + L=ChargeFichier(PathFile,Buf); +@@ -128,7 +128,7 @@ + // *** Charge le fichier des langues *** + // ************************************* + if(FileExiste(PathFile)==false) { +- cerr <<"Impossible de trouver 'language.dat'"<<endl; ++ std::cerr <<"Impossible de trouver 'language.dat'"<<std::endl; + return false; + } + L=ChargeFichier(PathFile,Buf); +@@ -163,7 +163,7 @@ + strcpy(PathFile,"sprites.dat"); + GetPath(PathFile); + if(FileExiste(PathFile)==false) { +- cerr <<"Impossible de trouver 'sprites.dat'"<<endl; ++ std::cerr <<"Impossible de trouver 'sprites.dat'"<<std::endl; + return false; + } + L=ChargeFichier(PathFile,Buf); +@@ -352,7 +352,7 @@ + Image[i]=SDL_CreateRGBSurface((Dim[i].bpp-3)*SDL_SRCALPHA,Dim[i].L,Dim[i].H,Dim[i].bpp*8, + 0xff,0xff00,0xff0000,0xff000000*(Dim[i].bpp-3)); + if(Image[i]<=NULL) { +- cerr <<"Impossible de créer une Surface SDL!"<<endl; ++ std::cerr <<"Impossible de créer une Surface SDL!"<<std::endl; + return false; + } + +@@ -486,7 +486,7 @@ + Image[0]=SDL_CreateRGBSurface((Dim[0].bpp-3)*SDL_SRCALPHA,Dim[0].L,Dim[0].H,Dim[0].bpp*8, + 0xff,0xff00,0xff0000,0xff000000*(Dim[0].bpp-3)); + if(Image[0]<=NULL) { +- cerr <<"Impossible de créer une Surface SDL!"<<endl; ++ std::cerr <<"Impossible de créer une Surface SDL!"<<std::endl; + return false; + } + return true; +--- a/src/tableau.cc ++++ b/src/tableau.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include "preference.h" +--- a/src/utils.cc ++++ b/src/utils.cc +@@ -21,7 +21,7 @@ + // with this program; if not, write to the Free Software Foundation, Inc., + // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +-#include <iostream.h> ++#include <iostream> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -77,7 +77,7 @@ + + file=fopen(Path,"r"); + if(!file) { +- cerr <<"ERREUR: Impossible d'ouvrir '"<<Path<<"'"<<endl; ++ std::cerr <<"ERREUR: Impossible d'ouvrir '"<<Path<<"'"<<std::endl; + perror("fopen"); + return -1; + } +@@ -93,7 +93,7 @@ + + Buf=new unsigned char [L+1]; + if(Buf==NULL) { +- cerr <<"ERREUR: Memoire insuffisante!"<<endl; ++ std::cerr <<"ERREUR: Memoire insuffisante!"<<std::endl; + fclose(file); + return -1; + } +@@ -104,7 +104,7 @@ + while(Compt>1024) { + AfficheChargeur(); + if( fread(Po,1,1024,file) != 1024 ) { +- cerr <<"ERREUR de lecture du fichier '"<<Path<<"'"<<endl; ++ std::cerr <<"ERREUR de lecture du fichier '"<<Path<<"'"<<std::endl; + perror("fread"); + fclose(file); + delete [] Buf; +@@ -169,14 +169,14 @@ + + file=fopen(Path,"w"); + if(!file) { +- cerr <<"ERREUR: Impossible d'ouvrir '"<<Path<<"'"<<endl; ++ std::cerr <<"ERREUR: Impossible d'ouvrir '"<<Path<<"'"<<std::endl; + perror("fopen"); + return false; + } + + while(L>512) { + if( fwrite(Buf,1,512,file) != 512 ) { +- cerr <<"ERREUR d'ecriture du fichier '"<<Path<<"'"<<endl; ++ std::cerr <<"ERREUR d'ecriture du fichier '"<<Path<<"'"<<std::endl; + perror("fwrite"); + fclose(file); + return false; +@@ -187,7 +187,7 @@ + + if(L>0) { + if( fwrite(Buf,1,(size_t)L,file) != (size_t)L ) { +- cerr <<"ERREUR d'ecriture du fichier '"<<Path<<"'"<<endl; ++ std::cerr <<"ERREUR d'ecriture du fichier '"<<Path<<"'"<<std::endl; + perror("fwrite"); + fclose(file); + return false; +@@ -250,7 +250,7 @@ + sprintf(Path,"/usr/share/games/Ri-li/%s",Provi); + if(FileExiste(Path)) return; + +- cerr <<"Impossible de trouver le fichier '"<<Provi<<endl; ++ std::cerr <<"Impossible de trouver le fichier '"<<Provi<<std::endl; + exit(-1); + } + #endif diff --git a/games-arcade/ri-li/metadata.xml b/games-arcade/ri-li/metadata.xml new file mode 100644 index 000000000000..4e3107e82d1b --- /dev/null +++ b/games-arcade/ri-li/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">ri-li</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/ri-li/ri-li-2.0.1-r1.ebuild b/games-arcade/ri-li/ri-li-2.0.1-r1.ebuild new file mode 100644 index 000000000000..9fc7f0cd4a6a --- /dev/null +++ b/games-arcade/ri-li/ri-li-2.0.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop + +DESCRIPTION="Drive a toy wood engine and collect all the coaches" +HOMEPAGE="http://ri-li.sourceforge.net/" +SRC_URI="mirror://sourceforge/ri-li/Ri-li-${PV}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/Ri-li-${PV}" + +src_prepare() { + default + eapply "${FILESDIR}"/${P}-gcc43.patch + mv configure.{in,ac} + rm aclocal.m4 + eautoreconf +} + +src_install() { + default + rm -f "${ED}/usr/share/Ri-li/"*ebuild + newicon data/Ri-li-icon-48x48.png ${PN}.png + make_desktop_entry Ri_li Ri-li +} diff --git a/games-arcade/rockdodger-0.6.0a-r1 b/games-arcade/rockdodger-0.6.0a-r1 deleted file mode 100644 index c33bfa0929bc..000000000000 --- a/games-arcade/rockdodger-0.6.0a-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer -DESCRIPTION=Dodge the rocks for as long as possible until you die -EAPI=5 -HOMEPAGE=http://spacerocks.sourceforge.net/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/spacerocks/rockdodger-0.6.0a.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=6c9c245e6056d5c8b008fa185fa006f3 diff --git a/games-arcade/rockdodger/Manifest b/games-arcade/rockdodger/Manifest new file mode 100644 index 000000000000..e145bc210704 --- /dev/null +++ b/games-arcade/rockdodger/Manifest @@ -0,0 +1,6 @@ +AUX 0.6.0a-sec.patch 660 BLAKE2B ff9277217038b07e9ec4d8df3c09b024761d507881c080616218397a56a30088a1b99494b26ee1d054b80881ed5c9b30aca7fa44fe0210a96f94f14ec5b3a82e SHA512 aed20b03bac5e717a8eaad580b8f5580b26a862cc43ce0e7d5a6d4dcccc1d447ef2efedf333c94b52fa2782018375aa06c57861e6742efe8a8bf70c57b4f2c9a +AUX rockdodger-0.6.0a-gcc41.patch 516 BLAKE2B 4ed4ab15db86db0e22ce52174d576d9d8e1997142d8f02eb02b6d89f9612ca70cb77d3fa4f97c190837ad954a02e2cc858822313aeb57ac3cc3b4186e1c40293 SHA512 83dee968da1ae24514ffeb5a8aafb8bb9c1c4c94ed54ff2b2dc3dac3084948b88fae21b834918d8514d04ec8c027602540b5e62b72017048e3dcb6e970be5df3 +AUX rockdodger-0.6.0a-underlink.patch 315 BLAKE2B bacc643f6955230cb590f8d87626f3ad2dfa6f31acaec0a8d313ad86082089e9784edaddeab76828a71a522cc758893da0dd65313890d3e9281ab5243fbac79b SHA512 96613eb9716845e3cd4ae164b30063871a3f199d468f4b0f909fe8d7829a3e9649022ee9a93ee20190e522ce8df1d6ba1d09b8977c7600ee378c408e54584aff +DIST rockdodger-0.6.0a.tar.gz 410223 BLAKE2B 5ccda4400468d6a7209adfdad3045773bf31581e34dfb77bff7d314ca9d9fa18e6c5a24996259782c002cf8ea611f92388c9ca46be4e0c7492a526421e8e8163 SHA512 d517cc844df21e8772b13d0226841a64bede0cc2f5461fb83d313f49cd99192dcf6af4597e3d1f3e1c60f578437e355ce665e0288415da803a503fb12d8462eb +EBUILD rockdodger-0.6.0a-r1.ebuild 1444 BLAKE2B 1b7696ef113dc07537686fbcf4a06050f0237386b1190277713221a8a55615049224b47210bad2c5fec42d14abe947f2f6457d44745fecf5542f06a87db88c25 SHA512 7be5fb25dde2cd3d3c784cf5580ea929969979fec34a9c40e2715edeaa859dec774258d9382c9a2f10ce53823f03991b9f99ee6348b110de97f9f1217276c67c +MISC metadata.xml 333 BLAKE2B 86aa43a28193b28b46fa52ba9a898a26a8f53b43e1c927062d29f34f8bdf952355ed6a333b0336278fce760dd5506588e103e96f7ef9449e0be26c72b6fe446a SHA512 fa4831b21647e72987ac3b956d81b5efc4308004c76213a046bd026a9939687b5f98c633a1f39d693a502f9557248e9810ba7301334cb3e82c9570e29efd6a6c diff --git a/games-arcade/rockdodger/files/0.6.0a-sec.patch b/games-arcade/rockdodger/files/0.6.0a-sec.patch new file mode 100644 index 000000000000..e870cf2d2974 --- /dev/null +++ b/games-arcade/rockdodger/files/0.6.0a-sec.patch @@ -0,0 +1,20 @@ +--- main.c.old 2002-11-17 23:56:12.000000000 +0100 ++++ main.c 2004-10-29 22:32:00.000000000 +0200 +@@ -459,7 +459,7 @@ FILE *hs_fopen(char *mode) {/*{{{*/ + else { + char s[1024]; + umask(0177); +- sprintf(s,"%s/.rockdodger_high",getenv("HOME")); ++ snprintf(s,1024,"%s/.rockdodger_high",getenv("HOME")); + if (f=fopen(s,mode)) { + umask(mask); + return f; +@@ -478,7 +478,7 @@ void read_high_score_table() {/*{{{*/ + for (i=0; i<8; i++) { + char s[1024]; + int highscore; +- if (fscanf (f, "%d %[^\n]", &highscore, s)!=2) ++ if (fscanf (f, "%d %1023[^\n]", &highscore, s)!=2) + break; + if (high[i].allocated) + free(high[i].name); diff --git a/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch b/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch new file mode 100644 index 000000000000..59e01bba17c3 --- /dev/null +++ b/games-arcade/rockdodger/files/rockdodger-0.6.0a-gcc41.patch @@ -0,0 +1,18 @@ +--- main.c.old 2006-04-24 16:16:13.000000000 +0200 ++++ main.c 2006-04-24 16:16:21.000000000 +0200 +@@ -206,7 +206,6 @@ + struct bangdots bdot[MAX_BANG_DOTS], *bdotptr=bdot; + struct spacedot sdot[MAX_SPACE_DOTS]; + +-struct greeble greeb[MAX_GREEBLES]; + struct greeble { + int active; + float x,y; // When landed, these represent an offset from the host rock +@@ -214,6 +213,7 @@ + int landed; + int boredom; // Goes up while landed + }; ++struct greeble greeb[MAX_GREEBLES]; + // }}} + + void init_greeblies() { diff --git a/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch b/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch new file mode 100644 index 000000000000..87cd8453476c --- /dev/null +++ b/games-arcade/rockdodger/files/rockdodger-0.6.0a-underlink.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2011-06-20 21:25:56.788323912 +0200 ++++ Makefile 2011-06-20 21:26:11.970287694 +0200 +@@ -27,7 +27,7 @@ + #SOUNDLIBRARIES= + SOUNDLIBRARIES=-lSDL_mixer + +-LIBRARIES=`sdl-config --libs` -lSDL_image $(SOUNDLIBRARIES) ++LIBRARIES=`sdl-config --libs` -lSDL_image $(SOUNDLIBRARIES) -lm + + all: $(EXENAME) + diff --git a/games-arcade/rockdodger/metadata.xml b/games-arcade/rockdodger/metadata.xml new file mode 100644 index 000000000000..2bf107eefc84 --- /dev/null +++ b/games-arcade/rockdodger/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">spacerocks</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild b/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild new file mode 100644 index 000000000000..1938ead0b154 --- /dev/null +++ b/games-arcade/rockdodger/rockdodger-0.6.0a-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="Dodge the rocks for as long as possible until you die" +HOMEPAGE="http://spacerocks.sourceforge.net/" +SRC_URI="mirror://sourceforge/spacerocks/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +src_prepare() { + # Modify highscores & data directory and add our CFLAGS to the Makefile + sed -i \ + -e "s:\./data:${GAMES_DATADIR}/${PN}:" \ + -e "s:/usr/share/rockdodger/\.highscore:${GAMES_STATEDIR}/rockdodger.scores:" \ + -e 's:umask(0111):umask(0117):' main.c \ + || die " sed main.c failed" + sed -i \ + -e "s:-g:${CFLAGS}:" \ + -e 's:cc:$(CC):' \ + -e '/-o/s:\$+:$(LDFLAGS) $+:' \ + Makefile \ + || die "sed Makefile failed" + + # The 512 chunksize makes the music skip + sed -i \ + -e "s:512:1024:" sound.c \ + || die "sed sound.c failed" + epatch \ + "${FILESDIR}"/${PV}-sec.patch \ + "${FILESDIR}"/${P}-gcc41.patch \ + "${FILESDIR}"/${P}-underlink.patch +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}"/${PN} + doins data/* + + newicon spacerocks.xpm ${PN}.xpm + make_desktop_entry ${PN} "Rock Dodger" ${PN} + + dodir "${GAMES_STATEDIR}" + touch "${D}/${GAMES_STATEDIR}"/${PN}.scores + fperms 660 "${GAMES_STATEDIR}"/${PN}.scores + prepgamesdirs +} diff --git a/games-arcade/rocksndiamonds-4.1.0.0 b/games-arcade/rocksndiamonds-4.1.0.0 deleted file mode 100644 index aab0426f125d..000000000000 --- a/games-arcade/rocksndiamonds-4.1.0.0 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare unpack -DEPEND=media-libs/libsdl2[joystick,video] media-libs/sdl2-mixer[mod,mp3,timidity] media-libs/sdl2-net media-libs/sdl2-image[gif] media-libs/smpeg app-arch/unzip -DESCRIPTION=A Boulderdash clone -EAPI=6 -HOMEPAGE=http://www.artsoft.org/rocksndiamonds/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl2[joystick,video] media-libs/sdl2-mixer[mod,mp3,timidity] media-libs/sdl2-net media-libs/sdl2-image[gif] media-libs/smpeg -SLOT=0 -SRC_URI=http://www.artsoft.org/RELEASES/unix/rocksndiamonds/rocksndiamonds-4.1.0.0.tar.gz http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.0.zip http://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip http://www.artsoft.org/RELEASES/rocksndiamonds/levels/rnd-contrib-1.0.0.tar.gz http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Snake_Bite-1.0.0.zip http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Sokoban-1.0.0.zip http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz mirror://gentoo/rnd_jue-v8.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=690763e00adec3dc5a41ecc361acfe63 diff --git a/games-arcade/rocksndiamonds/Manifest b/games-arcade/rocksndiamonds/Manifest new file mode 100644 index 000000000000..ff73dd2ebbea --- /dev/null +++ b/games-arcade/rocksndiamonds/Manifest @@ -0,0 +1,16 @@ +AUX rocksndiamonds-4.1.0.0-CVE-2011-4606.patch 961 BLAKE2B 10eae087eb32a90ae0f05df568aaaf9d9360badc056b77d2a1f00be4df24d7cfa884234860adb69aa4a21b8a6367c46b2d4b612c0205be10bfd1ba226c4e5f1e SHA512 5a76f0e16dd7e6bc7157050dae77f05b7b02130d2ee08051d6ef1574b201da0498d7bd14a480dd33a062ee323eb572291f9f20d44fc1bc48603980763f7763de +AUX rocksndiamonds-4.1.0.0-YN.patch 700 BLAKE2B 92cdef21f6a301b37671fd2748b72f0b774861644fe75b480a99230ea0b4df6525207d09e661125e42aa20375ac4da0be96c5dc308a58ad237969a736f87bcb7 SHA512 3781a5ac8c43fdf6372c5e74b3ab3e57eeaff6adb814a590330a457b1ef8c37447d93e549745fa96fec3fc45e463d7669982aeda58fabd6ac8e20708746f6859 +AUX rocksndiamonds-4.1.0.0-music-info-url.patch 2598 BLAKE2B 9edde25c6306eebf10e365828b367fb090972e16aba53010c5ea1bba4628e4ec1cebcf13a80e5a68e19c00d84db0b0347e891411f3dc19a4b117b5c82b6c39bd SHA512 64a6908f7cf9e9d332634e8222c71b30fecbc550e49433d619a58f4a1a5c688e757c1c035bfc1a6d1c2a672921219e3390b87b8b96f0b4abefcc2048bec94038 +DIST BD2K3-1.0.0.zip 4715324 BLAKE2B 72e25038c41a7a1c29a896459db97954d18731d6980f5096c28ebddb09c0b6d7bdb68a8c56f17d26c71085e4ae883d2ceaad8e95b5525cbf532d18f32ecdd638 SHA512 80f172584d2077a3ade0749790802ef9cecde75283d6b889e7d2fedf9b55fd1fd7f1f1fd5596b17d5b2a542172699a929ea626086e77d28fde11487440c43622 +DIST Boulder_Dash_Dream-1.0.0.zip 10923437 BLAKE2B 976156c763281b993550a08361c5b6279a471e24568205c0369cc3f57d99e97db84d914a560c909b30fe92b8c8c10931cf6a8a8de4da181edac410a770d922b7 SHA512 f2765f52653b4f9d6c4a6548076281f6749d08c2dfd220345bdc0058b94d51c49ef81acdc87ff71bc1b3f337f3cc6a1d08b9e5a02d6aaeaeac5d894f97ba3d8e +DIST Contributions-1.2.0.zip 9499312 BLAKE2B a90a84d230ab1032819bc3821871eb027ed83a8e289b01692f80185c42d50429ca8c6928b72b1ae5ea102ba2a0d25cd25391dc53b0cdb37ef4504233292dc2da SHA512 463e629bd4f592e24a82d20f1f249cea9e266a7c370bb5b079add8daa125d1af69a69746b696dd92f89b90e50972c6b2ba007aab87beed4cd980c0c7bdb81920 +DIST Snake_Bite-1.0.0.zip 6506066 BLAKE2B 852f7815939100f78d6a7ce27df565277f6467cc63c069f77d4e067f0144df092c3b6e73a64d0a9743033d90b20d390761046b253c188fd65873f7b28bf8b451 SHA512 82131cb68c9654cb49ddbb46b0c15f13ce98af4f3b2a46e1cc4f2980eea45a707297c74787f365996321f39a9f7656a9492c3d437e3da0d71a295447c868960e +DIST Sokoban-1.0.0.zip 295339 BLAKE2B e263e311e58dcc21d11dd10b0fa7af0f871405d932c2e1ea6d580ec58098c6a498202b516cbd3d2f1dd795521b419de61c8c9a195f4b2ea781a35ac645cd9c59 SHA512 b63be5b00c4c0b153bb6fc45fde556c26cd49fa672b279cce2f61b572d9c056d5e10a565530bdf539024d75ffdd38efe68310e98b8f810d9c5dfc17b24ec376b +DIST rnd-contrib-1.0.0.tar.gz 3389242 BLAKE2B bcdc926a7164788c8c640bf1aced57fbe9d71d99332751d2c4e30460427cb09a30ee3e45f2e6b6a1d83cce9bdf4c92ab187a2385a57bdc2a893735bd19c64b9b SHA512 8bd82f9c34e6e2d2b7ea22fc5899e72a64587469bfb1336d0d33e6ee2bcd04b3b6adca958861b0e29e18e8dac74651c642126511cacb247072e367783a5c6a08 +DIST rnd_jue-v8.tar.bz2 17244645 BLAKE2B 92d0cf646296b065c9ebe54d8d5ecb831eeb49748e47b6d2f019c2fd359d1e6ef5d3cd0472f1247e5c41b6b5aa7154b9e3baae000defc83b24470163a9dfc416 SHA512 cbff4cd16c812d77fe8446da4016d8f75dfa8675298a745062ff53a7783a39a59cffd886fedf1097023e72e111f10ddd56f280a109058a1a8ee069d664d2c59c +DIST rockslevels-dx-1.0.tar.gz 211151 BLAKE2B 637a600f9197925d82e7ef344c90f04e8508c6b114fd07ad00977d91a856ff85dc29207e5f22c659382ee0759f8607e9dc8ad0c0de3826d57b74d494320b57ad SHA512 2e1bc4484a76bf638e8ce285972b20b6377e0483abb2475e2343d48de1f84ee102f430049d685b89bc1087e0f20b9b6e29370f8e6cae66b480d3650be9991f44 +DIST rockslevels-emc-1.0.tar.gz 3824268 BLAKE2B 0feadd5d9c6225c8574576281d07e14ff98fc9a33c67d3fa5083219ce39daaa1902a5ed652b5379fa4e58ee2428a8a452d66520571206143fd0fcd54f71b977a SHA512 9abad888fa00bc305444367c5ab8ffdad95eaca22613573e44d5ecd93b1a9a1cbc931497c064002d90fd3174c4661d0b009ede7746b2fe8da0a00072303a1301 +DIST rockslevels-sp-1.0.tar.gz 373564 BLAKE2B 3f724ea55bbdaae80a35d6a9f5d8751a9228862fbe1ba45419343b1968510e10d3c82cc01844e35bc35561e65df3bc7e5ec2a0b807e1f56359dc7dccc16e3cb0 SHA512 2d44e9238a72846b9d4fbab90288aa3b23af4957ffe0d42d95c523fd22f3587572864b3fc0b277894d2f3f56d6eff52ea009e5b2d59aebc34163a1067662d729 +DIST rocksndiamonds-4.1.0.0.tar.gz 3850621 BLAKE2B 9c85aced223b855eec0300634d2fb30513d8b2d1856d8e134594f7de1669cf64f487a87335e28f7b8abb0c13492573ac5bd3261cfc5274287e75d0ace258ab93 SHA512 4949c2e9a601c8e005b006b13b82e36f7f001321051d392bc34aa4c234c6cddfa9fae16e58d83070072cac1429e13f1fb96d2c4b2ecd35a309065ca3c1c869c2 +EBUILD rocksndiamonds-4.1.0.0.ebuild 2488 BLAKE2B 86402f119e6ba7782ec8dc2387579cdafb4ad8bbf32cf63798e4f052a2c31cba940d56a3db14e911e0ea09e0d4b7cbc6b954d309bbd994e68d869096c59d1ca4 SHA512 1986c566cebafaa1d84f97457bd908f93ff6c215410297d330fbe89168b047049f223edc5376d50cd4f56809728492033eefa35485360218913c881e377697fd +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-CVE-2011-4606.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-CVE-2011-4606.patch new file mode 100644 index 000000000000..1aaa9e43dcc3 --- /dev/null +++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-CVE-2011-4606.patch @@ -0,0 +1,18 @@ +diff -up rocksndiamonds-4.0.0.1/src/libgame/setup.c.CVE-2011-4606 rocksndiamonds-4.0.0.1/src/libgame/setup.c +--- rocksndiamonds-4.0.0.1/src/libgame/setup.c.CVE-2011-4606 2017-01-12 07:53:09.497075662 -0500 ++++ rocksndiamonds-4.0.0.1/src/libgame/setup.c 2017-01-12 07:58:19.319076661 -0500 +@@ -1311,11 +1311,13 @@ void sortTreeInfo(TreeInfo **node_first) + #define MODE_W_ALL (S_IWUSR | S_IWGRP | S_IWOTH) + #define MODE_X_ALL (S_IXUSR | S_IXGRP | S_IXOTH) + ++#define MODE_R_PRIVATE (S_IRUSR) + #define MODE_W_PRIVATE (S_IWUSR) ++#define MODE_X_PRIVATE (S_IXUSR) + #define MODE_W_PUBLIC_FILE (S_IWUSR | S_IWGRP) + #define MODE_W_PUBLIC_DIR (S_IWUSR | S_IWGRP | S_ISGID) + +-#define DIR_PERMS_PRIVATE (MODE_R_ALL | MODE_X_ALL | MODE_W_PRIVATE) ++#define DIR_PERMS_PRIVATE (MODE_R_PRIVATE | MODE_X_PRIVATE | MODE_W_PRIVATE) + #define DIR_PERMS_PUBLIC (MODE_R_ALL | MODE_X_ALL | MODE_W_PUBLIC_DIR) + #define DIR_PERMS_PUBLIC_ALL (MODE_R_ALL | MODE_X_ALL | MODE_W_ALL) + diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.patch new file mode 100644 index 000000000000..70c95bd076dc --- /dev/null +++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-YN.patch @@ -0,0 +1,22 @@ +diff -up rocksndiamonds-4.0.0.1/src/tools.c.yesno rocksndiamonds-4.0.0.1/src/tools.c +--- rocksndiamonds-4.0.0.1/src/tools.c.yesno 2017-01-12 07:47:09.921343574 -0500 ++++ rocksndiamonds-4.0.0.1/src/tools.c 2017-01-12 07:51:45.059649653 -0500 +@@ -3901,6 +3901,18 @@ static int RequestHandleEvents(unsigned + result = 0; + break; + ++ case KSYM_y: ++ case KSYM_Y: ++ if (req_state & REQ_ASK) ++ result = TRUE; ++ break; ++ ++ case KSYM_n: ++ case KSYM_N: ++ if (req_state & REQ_ASK) ++ result = FALSE; ++ break; ++ + default: + HandleKeysDebug(key); + break; diff --git a/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-music-info-url.patch b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-music-info-url.patch new file mode 100644 index 000000000000..f913be382e94 --- /dev/null +++ b/games-arcade/rocksndiamonds/files/rocksndiamonds-4.1.0.0-music-info-url.patch @@ -0,0 +1,71 @@ +diff -up rocksndiamonds-4.1.0.0/src/files.c.url rocksndiamonds-4.1.0.0/src/files.c +--- rocksndiamonds-4.1.0.0/src/files.c.url 2018-04-10 15:44:08.000000000 -0400 ++++ rocksndiamonds-4.1.0.0/src/files.c 2018-04-17 16:30:19.726734512 -0400 +@@ -10127,11 +10127,13 @@ static struct MusicFileInfo *get_music_f + { "artist_header", &tmp_music_file_info.artist_header }, + { "album_header", &tmp_music_file_info.album_header }, + { "year_header", &tmp_music_file_info.year_header }, ++ { "url_header", &tmp_music_file_info.url_header }, + + { "title", &tmp_music_file_info.title }, + { "artist", &tmp_music_file_info.artist }, + { "album", &tmp_music_file_info.album }, + { "year", &tmp_music_file_info.year }, ++ { "url", &tmp_music_file_info.url }, + + { NULL, NULL }, + }; +@@ -10247,11 +10249,13 @@ void LoadMusicInfo() + checked_free(music_file_info->artist_header); + checked_free(music_file_info->album_header); + checked_free(music_file_info->year_header); ++ checked_free(music_file_info->url_header); + + checked_free(music_file_info->title); + checked_free(music_file_info->artist); + checked_free(music_file_info->album); + checked_free(music_file_info->year); ++ checked_free(music_file_info->url); + + free(music_file_info); + +diff -up rocksndiamonds-4.1.0.0/src/main.h.url rocksndiamonds-4.1.0.0/src/main.h +--- rocksndiamonds-4.1.0.0/src/main.h.url 2018-04-10 15:44:08.000000000 -0400 ++++ rocksndiamonds-4.1.0.0/src/main.h 2018-04-17 16:30:19.727734490 -0400 +@@ -3463,11 +3463,13 @@ struct MusicFileInfo + char *artist_header; + char *album_header; + char *year_header; ++ char *url_header; + + char *title; + char *artist; + char *album; + char *year; ++ char *url; + + int music; + +diff -up rocksndiamonds-4.1.0.0/src/screens.c.url rocksndiamonds-4.1.0.0/src/screens.c +--- rocksndiamonds-4.1.0.0/src/screens.c.url 2018-04-17 16:30:19.728734467 -0400 ++++ rocksndiamonds-4.1.0.0/src/screens.c 2018-04-17 16:34:00.653803869 -0400 +@@ -3060,6 +3060,19 @@ void HandleInfoScreen_Music(int button) + ystart += ystep_head; + } + ++ if (!strEqual(list->url, UNKNOWN_NAME)) ++ { ++ if (!strEqual(list->url_header, UNKNOWN_NAME)) ++ DrawTextSCentered(ystart, font_head, list->url_header); ++ else ++ DrawTextSCentered(ystart, font_head, "from the website"); ++ ++ ystart += ystep_head; ++ ++ DrawTextFCentered(ystart, font_text, "%s", list->url); ++ ystart += ystep_head; ++ } ++ + DrawTextSCentered(ybottom, FONT_TEXT_4, + "Press any key or button for next page"); + diff --git a/games-arcade/rocksndiamonds/metadata.xml b/games-arcade/rocksndiamonds/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/rocksndiamonds/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-arcade/rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild b/games-arcade/rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild new file mode 100644 index 000000000000..f6f2cdcddcf4 --- /dev/null +++ b/games-arcade/rocksndiamonds/rocksndiamonds-4.1.0.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop flag-o-matic + +DESCRIPTION="A Boulderdash clone" +HOMEPAGE="http://www.artsoft.org/rocksndiamonds/" +SRC_URI="http://www.artsoft.org/RELEASES/unix/rocksndiamonds/${P}.tar.gz + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Contributions-1.2.0.zip + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/BD2K3-1.0.0.zip + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Boulder_Dash_Dream-1.0.0.zip + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/rnd-contrib-1.0.0.tar.gz + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Snake_Bite-1.0.0.zip + http://www.artsoft.org/RELEASES/rocksndiamonds/levels/Sokoban-1.0.0.zip + http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-emc-1.0.tar.gz + http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-sp-1.0.tar.gz + http://www.artsoft.org/RELEASES/unix/rocksndiamonds/levels/rockslevels-dx-1.0.tar.gz + mirror://gentoo/rnd_jue-v8.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl2[joystick,video] + media-libs/sdl2-mixer[mod,mp3,timidity] + media-libs/sdl2-net + media-libs/sdl2-image[gif] + media-libs/smpeg +" +DEPEND="${RDEPEND} + app-arch/unzip +" + +PATCHES=( + # From Fedora: + "${FILESDIR}"/${PN}-4.1.0.0-YN.patch + "${FILESDIR}"/${PN}-4.1.0.0-music-info-url.patch + "${FILESDIR}"/${PN}-4.1.0.0-CVE-2011-4606.patch +) + +src_unpack() { + unpack ${P}.tar.gz + cd "${S}" + unpack \ + rockslevels-emc-1.0.tar.gz \ + rockslevels-sp-1.0.tar.gz \ + rockslevels-dx-1.0.tar.gz + cd levels + unpack \ + rnd_jue-v8.tar.bz2 \ + BD2K3-1.0.0.zip \ + rnd-contrib-1.0.0.tar.gz \ + Snake_Bite-1.0.0.zip \ + Contributions-1.2.0.zip \ + Boulder_Dash_Dream-1.0.0.zip \ + Sokoban-1.0.0.zip +} + +src_prepare() { + default + sed -i \ + -e 's:\$(MAKE_CMD):$(MAKE) -C $(SRC_DIR):' \ + -e '/^MAKE/d' \ + -e '/^CC/d' \ + Makefile || die + + sed -i \ + -e '/^LDFLAGS/s/=/+=/' \ + src/Makefile || die +} + +src_compile() { + replace-cpu-flags k6 k6-1 k6-2 i586 + + local makeopts="RO_GAME_DIR=/usr/share/${PN} RW_GAME_DIR=/usr/share/${PN}" + emake -j1 clean + emake ${makeopts} OPTIONS="${CFLAGS}" sdl2 +} + +src_install() { + dobin rocksndiamonds + insinto "/usr/share/${PN}" + doins -r docs graphics levels music sounds + + einstalldocs + newicon graphics/gfx_classic/RocksIcon32x32.png ${PN}.png + make_desktop_entry rocksndiamonds "Rocks 'N' Diamonds" /usr/share/pixmaps/${PN}.png +} diff --git a/games-arcade/sable-1.0-r1 b/games-arcade/sable-1.0-r1 deleted file mode 100644 index e2e6635cad07..000000000000 --- a/games-arcade/sable-1.0-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=virtual/opengl media-libs/libsdl[joystick,opengl,sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer -DESCRIPTION=A frantic 3D space shooter -EAPI=6 -HOMEPAGE=http://jeuxlibres.net/showgame/sable.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=virtual/opengl media-libs/libsdl[joystick,opengl,sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer -SLOT=0 -SRC_URI=mirror://gentoo/sable-1.0-src.tgz mirror://gentoo/sable.png -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=d2f1b08ba5c8870ebd67a8afa84537b1 diff --git a/games-arcade/sable/Manifest b/games-arcade/sable/Manifest new file mode 100644 index 000000000000..45b8cfe9d640 --- /dev/null +++ b/games-arcade/sable/Manifest @@ -0,0 +1,5 @@ +AUX sable-1.0-gentoo.patch 1424 BLAKE2B 7774ac368893959acf2eeb9f3218df9b4f0a7597f7225ca4bd93e337fa55765dcddac6d754c9c1602345b42ac0eaaa7356a5f6e159b8979bf343912e3b5d7ea3 SHA512 d601bb708f982cc22c32b7006a6abeba866dcad577abe26662d7aa23c1c80360f8dad1424bec2b46e6e00619e3f01ffda0e9af77dd96432f8d0f3f2d26b27a35 +DIST sable-1.0-src.tgz 247200 BLAKE2B 5a6d0f4cc36d1f3b6f0ab5d4b6bb6e222cd95faaa722eab0c9aa4946d62857339d9a66020f505785850ff7435703e3b997365f490b0ef0222d213cc1a7d3bfb2 SHA512 ec8a8b76695b7767f04405c3bdb24f6f506116a775124e771c0c58a64f0412afd26aa88b1153945ceb36705a63b1fe905569b0b050dcf4a25880834cca158bb9 +DIST sable.png 1669 BLAKE2B 487ee36ebb2fe777f6c8ac06a0075c1fb5fe581a73cc7457700384a28beb725bd8d1ac8ab6f35a49cc2fab86afc7dda0207e5ba4ca7f436566d6296af182cf41 SHA512 08aa0ac33cefcab317df7876838141c21f3fca79995922e6f773f2b4a3f7c460d1e594b4ca742666ddefe9102a64e20f2f3839cc166b94207e0e512d42ee78dd +EBUILD sable-1.0-r1.ebuild 778 BLAKE2B 6d6f0a2ad80f241ca08f0d5ef301066b50bd2fa44e5e03174f9c14c4b3fa6c5b12ade49b67999f06be7f530c734273e469f246152fd5fd64d628fd6f4c5006ab SHA512 7a566f9c10b306baf43ea39332d228af6d446683e48ec81421fbaeb527d708d4ad9c98784749af7beb96c41ff2facc06f5d90add85cfbce5bece1a2f2d5d1de2 +MISC metadata.xml 761 BLAKE2B 86627886615bed5d2d5cb8593327f675d64c3ca52273a49bcabb427de132e543fd7e70339ae6605617bc7bc3bac954261ec3ec3c1c83bdaf5c648f591bcbc552 SHA512 ccebc168e2f7c941ec65238b69f28743e40c75e0c4e9a588d404a74119704448f5b692ddfbd329e8a5a8efd151d6b10de88a5000bda78459d97902852716f7eb diff --git a/games-arcade/sable/files/sable-1.0-gentoo.patch b/games-arcade/sable/files/sable-1.0-gentoo.patch new file mode 100644 index 000000000000..b809936ff964 --- /dev/null +++ b/games-arcade/sable/files/sable-1.0-gentoo.patch @@ -0,0 +1,57 @@ +diff -ru sable.orig/src/Makefile sable/src/Makefile +--- sable.orig/src/Makefile 2006-03-14 00:57:31.000000000 -0500 ++++ sable/src/Makefile 2009-01-21 15:15:02.000000000 -0500 +@@ -1,30 +1,10 @@ +-# are we on OSX? +-ifeq ($(shell uname), Darwin) +-OSX:=1 +-endif +- +-# C options +-CC = gcc +-NOOSXFLAGS = -c `sdl-config --cflags` -O2 -Wall -DSABLE_RESOURCEDIR=\"$(INSTALL_RESDIR)/sable/\" -Iinclude $(CFLAGS) +-ifdef OSX +-FLAGS = $(NOOSXFLAGS) -D_SABLE_OSX_ +-else +-FLAGS = $(NOOSXFLAGS) +-endif +- +-# C++ options. +-CXX = g++ +-CXXFLAGS = $(FLAGS) ++NOOSXFLAGS = -c `sdl-config --cflags` -DSABLE_RESOURCEDIR=\"$(INSTALL_RESDIR)/sable/\" -Iinclude ++ ++CFLAGS += $(NOOSXFLAGS) ++CXXFLAGS += $(NOOSXFLAGS) + + # Linker options. +-LD = g++ +-LDFLAGS = +-NOOSXLIBS = -lSDL_image -lSDL_mixer +-ifdef OSX +-LIBS = `sdl-config --static-libs` $(NOOSXLIBS) +-else +-LIBS = `sdl-config --libs` $(NOOSXLIBS) -lGL -lGLU +-endif ++LIBS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU + + COBJS = vcontrol/vcontrol.o \ + bcplrandom.o \ +@@ -35,7 +15,7 @@ + OBJS = $(COBJS) $(CXXOBJS) + + sable: $(OBJS) +- $(LD) $(LDFLAGS) -o sable $(OBJS) $(LIBS) ++ $(CXX) $(LDFLAGS) -o sable $(OBJS) $(LIBS) + + clean: + rm -f sable *.o vcontrol/*.o svaf/*.o +@@ -44,7 +24,7 @@ + find . -name \*.c\* | xargs makedepend -Y. -Iinclude >& /dev/null + + $(COBJS): %.o: %.c +- $(CC) $(FLAGS) -o $@ $< ++ $(CC) $(CFLAGS) -o $@ $< + + $(CXXOBJS): %.o: %.cpp + $(CXX) $(CXXFLAGS) -o $@ $< diff --git a/games-arcade/sable/metadata.xml b/games-arcade/sable/metadata.xml new file mode 100644 index 000000000000..2c66a7711fa8 --- /dev/null +++ b/games-arcade/sable/metadata.xml @@ -0,0 +1,18 @@ +<?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"> +Sable is a frantic 3d space shooter inspired by games such as After Burner and +Space Harrier. You pilot a ship through an obstacle-laden landscape and attack +or evade swarms of enemies. + +The game itself is quite easy to play. The arrow keys move your ship, and the +space bar fires your cannons. Holding down the space bar produces a rapid-fire +effect. Avoid enemy craft, enemy shots, and the pylons. Pylons are destroyable +but require concentrated fire to destroy. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/sable/sable-1.0-r1.ebuild b/games-arcade/sable/sable-1.0-r1.ebuild new file mode 100644 index 000000000000..9ff9a086c60e --- /dev/null +++ b/games-arcade/sable/sable-1.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A frantic 3D space shooter" +HOMEPAGE="http://jeuxlibres.net/showgame/sable.html" +SRC_URI="mirror://gentoo/${P}-src.tgz + mirror://gentoo/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + media-libs/libsdl[joystick,opengl,sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PN}" + +PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) + +src_compile() { + emake INSTALL_RESDIR="/usr/share" +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins -r models sfx textures + einstalldocs + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} Sable +} diff --git a/games-arcade/savagewheels-1.6.1-r1 b/games-arcade/savagewheels-1.6.1-r1 deleted file mode 100644 index e2c197866650..000000000000 --- a/games-arcade/savagewheels-1.6.1-r1 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test unpack -DEPEND=media-libs/libsdl sound? ( !fmod? ( media-libs/sdl-mixer[mod,modplug] ) fmod? ( >=media-libs/fmod-4.38.00 ) ) sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=2D car crashing game similar to the old classic Destruction Derby. -EAPI=6 -HOMEPAGE=https://github.com/petarov/savagewheels -IUSE=fmod sound -KEYWORDS=~amd64 -LICENSE=MIT -RDEPEND=media-libs/libsdl sound? ( !fmod? ( media-libs/sdl-mixer[mod,modplug] ) fmod? ( >=media-libs/fmod-4.38.00 ) ) -REQUIRED_USE=fmod? ( sound ) -SLOT=0 -SRC_URI=https://github.com/petarov/savagewheels/archive/1.6.1.tar.gz -> savagewheels-1.6.1.tar.gz https://github.com/petarov/savagewheels/releases/download/v1.4/savagewheels-gamedata.tar.gz -> savagewheels-gamedata-1.4.0.tar.gz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=04b7ac94a2f855415fb11e8575df25d5 diff --git a/games-arcade/savagewheels/Manifest b/games-arcade/savagewheels/Manifest new file mode 100644 index 000000000000..3ebd9eefc35c --- /dev/null +++ b/games-arcade/savagewheels/Manifest @@ -0,0 +1,5 @@ +AUX savagewheels.in 1488 BLAKE2B 5676996a1785b8653eaed1d2a606ac0a56fd55361e280517564d93c0aba1984bfbc603232a1225504c99a73bcb422659bf75121af8b7e2421a9b339550344024 SHA512 b13ff4b2739e3f5cb797c9364687c9077852863f9a3a1176fc03e3f9f030293366b177b1a494a8b12ee69ba6ee7aac8589475a5b2246135038ad3138990f2088 +DIST savagewheels-1.6.1.tar.gz 596480 BLAKE2B a1e236418e3e2af1634360c0a6c3e5debf0b429960f4dde0c3ed31a0450c9de73b0b67a833d66523004115ddd61dc32e156fcd64bd783c5cca8c3281e1684639 SHA512 0e535f5f86b1656fa20a2de3dbc9c107f9daacfd37308ca4e2e15df43b177161767a2834c0ed1b9cb93eed0b642092e4f840abf451d2de5082d3c4c721bedc0e +DIST savagewheels-gamedata-1.4.0.tar.gz 13183072 BLAKE2B 1fdd20cd3bdd5589d17d131d13d1dbe56889f05972c162583a4b9b7cdb3eadea32b7d7a1130f2eb239ec87e1cb3dc6f02d6d15504463b399e12271348106702f SHA512 102214e18edb911b168e41999d239e3070255720f250e8ea640d365b3f7fc4c772cbf322f4558ba6c05fd56d904613c758918e25712e89eb2aca3e948c26fc65 +EBUILD savagewheels-1.6.1-r1.ebuild 1400 BLAKE2B ee2ddd5e6974a2b2389acaa5e1dcc104ba36062f44d085de51ac780909cca2217c558d7fc78f374237c667043c2a25fee2bc32366dfdd73b1335128913a3ca04 SHA512 2d7fbac6c6db683dee92c09087cabfd1603128095c55b985d47773b259c40317eb79bdbe9060a130e6379c007c327987e8b45dfdff0baefaeae3b7fa747e0e7e +MISC metadata.xml 342 BLAKE2B 6f4cbacd74ec408ccba1de7cfbe4eb899ffaa4c30bb3ecc2a1500398c29f15795bde02fe21043ee3e671eeb50503931b23ac7ee95dbdf13770d0a365bfbada97 SHA512 5f3c0b7396ba31bef6d4dd9b936a2554b12aecf87cf95968c9b976709de808999598e3caa2be38c96d8a37be80850f95c67d0e71c0387a1b2bfe4982e3345d07 diff --git a/games-arcade/savagewheels/files/savagewheels.in b/games-arcade/savagewheels/files/savagewheels.in new file mode 100644 index 000000000000..c1b4c689f71c --- /dev/null +++ b/games-arcade/savagewheels/files/savagewheels.in @@ -0,0 +1,42 @@ +#!/bin/sh + +export SAVAGEWHEELS_SYS_DATADIR="${SAVAGEWHEELS_SYS_DATADIR-@CMAKE_INSTALL_DATADIR@}" +export SAVAGEWHEELS_LIBEXECDIR="${SAVAGEWHEELS_LIBEXECDIR-@CMAKE_INSTALL_LIBEXECDIR@}" +export SAVAGEWHEELS_USR_CONFDIR="${SAVAGEWHEELS_USR_CONFDIR-${HOME}/.config/savagewheels}" +export SAVAGEWHEELS_USR_DATADIR="${SAVAGEWHEELS_USR_DATADIR-${HOME}/.local/share/savagewheels}" + +if [ ! -d ${SAVAGEWHEELS_USR_CONFDIR} ]; then + if [ -e ${SAVAGEWHEELS_USR_CONFDIR} ]; then + printf "${SAVAGEWHEELS_USR_CONFDIR} exists but is not a directory.\n" >&2 + printf " Please remove.\n" >&2 + exit 1 + fi + mkdir -p ${SAVAGEWHEELS_USR_CONFDIR} + if [ $? -ne 0 ]; then + printf "Failed to create ${SAVAGEWHEELS_USR_CONFDIR}\n" >&2 + exit 1 + fi +fi + +if [ ! -d ${SAVAGEWHEELS_USR_DATADIR} ]; then + if [ -e ${SAVAGEWHEELS_USR_DATADIR} ]; then + printf "${SAVAGEWHEELS_USR_DATADIR} exists but is not a directory.\n" >&2 + printf " Please remove.\n" >&2 + exit 1 + fi + mkdir -p ${SAVAGEWHEELS_USR_DATADIR} + if [ $? -ne 0 ]; then + printf "Failed to create ${SAVAGEWHEELS_USR_DATADIR}\n" >&2 + exit 1 + fi +fi + +if [ ! -e ${SAVAGEWHEELS_USR_CONFDIR}/bindings.xml ]; then + cp ${SAVAGEWHEELS_SYS_DATADIR}/bindings.xml ${SAVAGEWHEELS_USR_CONFDIR} + if [ $? -ne 0 ]; then + printf "Failed to create ${SAVAGEWHEELS_USR_CONFDIR}/bindings.xml\n" >&2 + exit 1 + fi +fi + +exec ${SAVAGEWHEELS_LIBEXECDIR}/savagewheels "$@" diff --git a/games-arcade/savagewheels/metadata.xml b/games-arcade/savagewheels/metadata.xml new file mode 100644 index 000000000000..00392a14830e --- /dev/null +++ b/games-arcade/savagewheels/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-needed --> + <use> + <flag name="fmod">Enable the fmod music and sound effects library</flag> + </use> + <upstream> + <remote-id type="github">petarov/savagewheels</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild b/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild new file mode 100644 index 000000000000..7d06e4db88b4 --- /dev/null +++ b/games-arcade/savagewheels/savagewheels-1.6.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="2D car crashing game similar to the old classic Destruction Derby." +HOMEPAGE="https://github.com/petarov/savagewheels" + +GAMEDATA="${PN}-gamedata-1.4.0" + +SRC_URI=" + https://github.com/petarov/savagewheels/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/petarov/savagewheels/releases/download/v1.4/${PN}-gamedata.tar.gz -> ${GAMEDATA}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="fmod sound" + +RDEPEND=" + media-libs/libsdl + sound? ( + !fmod? ( media-libs/sdl-mixer[mod,modplug] ) + fmod? ( >=media-libs/fmod-4.38.00 ) + )" + +DEPEND="${RDEPEND}" + +REQUIRED_USE="fmod? ( sound )" + +src_unpack() { + unpack ${P}.tar.gz + + cp "${FILESDIR}/${PN}.in" "${S}" || die + mkdir "${WORKDIR}/${GAMEDATA}" || + die "Failed to make directory: ${WORKDIR}/${GAMEDATA}" + cd "${WORKDIR}/${GAMEDATA}" || + die "Unable to change into directory: ${WORKDIR}/${GAMEDATA}" + unpack "${GAMEDATA}.tar.gz" +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_INSTALL_DATADIR=share/${PN} + -DCMAKE_INSTALL_LIBEXECDIR=libexec/${PN} + $(usex sound $(usex fmod '-DSOUND=FMOD -DFMOD_PATH=/opt/fmodex/api' '-DSOUND=YES') '-DSOUND=NO') + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + insinto /usr/share/${PN} + doins -r "${WORKDIR}/${GAMEDATA}/." +} diff --git a/games-arcade/sdb-1.0.2-r1 b/games-arcade/sdb-1.0.2-r1 deleted file mode 100644 index cf6e41c03c3f..000000000000 --- a/games-arcade/sdb-1.0.2-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=virtual/opengl media-libs/libsdl media-libs/sdl-image[png] media-libs/sdl-mixer -DESCRIPTION=A 2D top-down action game; escape a facility full of walking death machines -EAPI=6 -HOMEPAGE=http://sdb.gamecreation.org/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=virtual/opengl media-libs/libsdl media-libs/sdl-image[png] media-libs/sdl-mixer -SLOT=0 -SRC_URI=http://gcsociety.sp.cs.cmu.edu/~frenzy/sdb-1.0.2.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=e32355ad287f5341d66f0fb43b4fda1f diff --git a/games-arcade/sdb/Manifest b/games-arcade/sdb/Manifest new file mode 100644 index 000000000000..6e545909480f --- /dev/null +++ b/games-arcade/sdb/Manifest @@ -0,0 +1,6 @@ +AUX sdb-1.0.2-endian.patch 9118 BLAKE2B de2bbe81f5d1fcf571a5b8eedf97892ff6eaccaa7a0acb74427740f27fdfb8f517cc38c1ccdaee59480fb1e224f8c7a768355af50bfd1cb66fea338eea2133a0 SHA512 65b623d93e2369353cc2c900e38b8dfb56e6896cf34447305870c3c01a97770371ecff6c9586f7b758c64b1de4f85da3e0c79264587be325e226488545ea0754 +AUX sdb-1.0.2-gcc43.patch 173 BLAKE2B a00d2ea25dc4f90ddf02bac62c099c9b47089f16c123384e00495050a26bb30f06131892f496f93349a55574810e8c0e4406ea6ca6eda703d890e3c141115392 SHA512 663b0edd244f6fd50166f053f1631f9a2fe239f97ee16bf77a7b79d5afcf3503c5f2a55370b79b5413e91be6dca23d580cc1afc9875385a8ed04981e7dfc2552 +AUX sdb-1.0.2-ldflags.patch 322 BLAKE2B edfffa4f3821726f15729d93e6e52eec5c70ef87e716fa61a081e156d7ef55197dd064af6ad68397a0df0d5509a9d271f10c3c125dc63282e30916860c6e8d0e SHA512 45795b614ec967237a1d5a24075f7238e041a21b18a3e7a4f5608e4d5fc33734b05f80993aa54a044783a8a8b099e065db278ca5dfbda23704d848133b14dc2a +DIST sdb-1.0.2.tar.gz 10342311 BLAKE2B faedcd26a55df724514b4222f617146e4590861166c49e45768982aa4ea2bb427cca5ae1c3a622eac4ba5d2b1b65fe948792902703cdf2be9e09b8171968c5b3 SHA512 670d43717224d564bfecac44a3570167e19b7b4c50a21afab6903b0b0f2f6092a5551fd2cc63b659d2c2eadff5156c97876b96db3a10beabbbadc689b1d46efc +EBUILD sdb-1.0.2-r1.ebuild 1154 BLAKE2B 003f66329d1918d69c1726981fb22af69724066453be51dfdede9cb686d4d10b53a882accef74f8358b7ad4a8beae328fdf5ae488f46c096437a62fc6a517df4 SHA512 b1b13ddc7606536b4325d77f6960ff30d9a7dff7a788a0c1e2b11d65b0f61ea5c1362ce451ab12d351db2c254daeed1c8e77753e0ed89b83cb4077ab5510c949 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/sdb/files/sdb-1.0.2-endian.patch b/games-arcade/sdb/files/sdb-1.0.2-endian.patch new file mode 100644 index 000000000000..e7b33970274f --- /dev/null +++ b/games-arcade/sdb/files/sdb-1.0.2-endian.patch @@ -0,0 +1,275 @@ +diff -Naur sdb-1.0.2.orig/src/byteswap.h sdb-1.0.2/src/byteswap.h +--- sdb-1.0.2.orig/src/byteswap.h 1970-01-01 01:00:00.000000000 +0100 ++++ sdb-1.0.2/src/byteswap.h 2005-06-11 14:02:33.401905848 +0200 +@@ -0,0 +1,187 @@ ++/* $OpenBSD: endian.h,v 1.14 2004/01/11 19:17:31 brad Exp $ */ ++ ++/*- ++ * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. ++ * ++ * Redistribution and use in source and binary forms, with or without ++ * modification, are permitted provided that the following conditions ++ * are met: ++ * 1. Redistributions of source code must retain the above copyright ++ * notice, this list of conditions and the following disclaimer. ++ * 2. Redistributions in binary form must reproduce the above copyright ++ * notice, this list of conditions and the following disclaimer in the ++ * documentation and/or other materials provided with the distribution. ++ * ++ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR ++ * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES ++ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. ++ * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, ++ * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT ++ * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, ++ * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY ++ * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ++ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++ */ ++ ++/* ++ * Generic definitions for little- and big-endian systems. Other endianesses ++ * has to be dealt with in the specific machine/endian.h file for that port. ++ * ++ * This file is meant to be included from a little- or big-endian port's ++ * machine/endian.h after setting BYTE_ORDER to either 1234 for little endian ++ * or 4321 for big.. ++ */ ++ ++#ifndef _BYTESWAP_H_ ++#define _BYTESWAP_H_ ++ ++#undef LITTLE_ENDIAN ++#define LITTLE_ENDIAN 1234 ++#undef BIG_ENDIAN ++#define BIG_ENDIAN 4321 ++#undef PDP_ENDIAN ++#define PDP_ENDIAN 3412 ++ ++#ifdef __GNUC__ ++ ++#define __swap16gen(x) __extension__({ \ ++ unsigned short __swap16gen_x = (x); \ ++ \ ++ (unsigned short)((__swap16gen_x & 0xff) << 8 | \ ++ (__swap16gen_x & 0xff00) >> 8); \ ++}) ++ ++#define __swap32gen(x) __extension__({ \ ++ unsigned int __swap32gen_x = (x); \ ++ \ ++ (unsigned int)((__swap32gen_x & 0xff) << 24 | \ ++ (__swap32gen_x & 0xff00) << 8 | \ ++ (__swap32gen_x & 0xff0000) >> 8 | \ ++ (__swap32gen_x & 0xff000000) >> 24); \ ++}) ++ ++#else /* __GNUC__ */ ++ ++/* Note that these macros evaluate their arguments several times. */ ++#define __swap16gen(x) \ ++ (unsigned short)(((unsigned short)(x) & 0xff) << 8 | ((unsigned short)(x) & 0xff00) >> 8) ++ ++#define __swap32gen(x) \ ++ (unsigned int)(((unsigned int)(x) & 0xff) << 24 | \ ++ ((unsigned int)(x) & 0xff00) << 8 | ((unsigned int)(x) & 0xff0000) >> 8 | \ ++ ((unsigned int)(x) & 0xff000000) >> 24) ++ ++#endif /* __GNUC__ */ ++ ++/* ++ * Define MD_SWAP if you provide swap{16,32}md functions/macros that are ++ * optimized for your architecture, These will be used for swap{16,32} ++ * unless the argument is a constant and we are using GCC, where we can ++ * take advantage of the CSE phase much better by using the generic version. ++ */ ++#ifdef MD_SWAP ++#if __GNUC__ ++ ++#define swap16(x) __extension__({ \ ++ unsigned short __swap16_x = (x); \ ++ \ ++ __builtin_constant_p(x) ? __swap16gen(__swap16_x) : \ ++ __swap16md(__swap16_x); \ ++}) ++ ++#define swap32(x) __extension__({ \ ++ unsigned int __swap32_x = (x); \ ++ \ ++ __builtin_constant_p(x) ? __swap32gen(__swap32_x) : \ ++ __swap32md(__swap32_x); \ ++}) ++ ++#endif /* __GNUC__ */ ++ ++#else /* MD_SWAP */ ++#define swap16 __swap16gen ++#define swap32 __swap32gen ++#endif /* MD_SWAP */ ++ ++#define swap16_multi(v, n) do { \ ++ size_t __swap16_multi_n = (n); \ ++ unsigned short *__swap16_multi_v = (v); \ ++ \ ++ while (__swap16_multi_n) { \ ++ *__swap16_multi_v = swap16(*__swap16_multi_v); \ ++ __swap16_multi_v++; \ ++ __swap16_multi_n--; \ ++ } \ ++} while (0) ++ ++#if BYTE_ORDER == LITTLE_ENDIAN ++ ++#define letohf(x) (x) ++ ++/* Can be overridden by machine/endian.h before inclusion of this file. */ ++#ifndef _QUAD_HIGHWORD ++#define _QUAD_HIGHWORD 1 ++#endif ++#ifndef _QUAD_LOWWORD ++#define _QUAD_LOWWORD 0 ++#endif ++ ++#define htobe16 swap16 ++#define htobe32 swap32 ++#define betoh16 swap16 ++#define betoh32 swap32 ++ ++#define htole16(x) (x) ++#define htole32(x) (x) ++#define letoh16(x) (x) ++#define letoh32(x) (x) ++ ++#endif /* BYTE_ORDER */ ++ ++#if BYTE_ORDER == BIG_ENDIAN ++ ++inline float letohf(float in) { ++ float retVal; ++ char* p = (char*)&retVal; ++ char* i = (char*)∈ ++ p[0] = i[3]; ++ p[1] = i[2]; ++ p[2] = i[1]; ++ p[3] = i[0]; ++ ++ return retVal; ++} ++ ++/* Can be overridden by machine/endian.h before inclusion of this file. */ ++#ifndef _QUAD_HIGHWORD ++#define _QUAD_HIGHWORD 0 ++#endif ++#ifndef _QUAD_LOWWORD ++#define _QUAD_LOWWORD 1 ++#endif ++ ++#define htole16 swap16 ++#define htole32 swap32 ++#define letoh16 swap16 ++#define letoh32 swap32 ++ ++#define htobe16(x) (x) ++#define htobe32(x) (x) ++#define betoh16(x) (x) ++#define betoh32(x) (x) ++ ++#endif /* BYTE_ORDER */ ++ ++#define htons htobe16 ++#define htonl htobe32 ++#define ntohs betoh16 ++#define ntohl betoh32 ++ ++#define NTOHL(x) (x) = ntohl((unsigned int)(x)) ++#define NTOHS(x) (x) = ntohs((unsigned short)(x)) ++#define HTONL(x) (x) = htonl((unsigned int)(x)) ++#define HTONS(x) (x) = htons((unsigned short)(x)) ++ ++#endif /* _SYS_ENDIAN_H_ */ ++ +diff -Naur sdb-1.0.2.orig/src/md2.cpp sdb-1.0.2/src/md2.cpp +--- sdb-1.0.2.orig/src/md2.cpp 2005-06-11 13:54:13.616884720 +0200 ++++ sdb-1.0.2/src/md2.cpp 2005-06-11 14:28:34.726548424 +0200 +@@ -27,6 +27,7 @@ + */ + + #include "sdb.h" ++#include "byteswap.h" + + void ModelObject::draw() + { +@@ -145,6 +146,23 @@ + errorMessage(8, "FLAGRANT SYSTEM ERROR", "Unable to load model %s", strFileName); + + fread(&m_Header, 1, sizeof(tMd2Header), m_FilePointer); ++ m_Header.magic = letoh32(m_Header.magic); ++ m_Header.version = letoh32(m_Header.version); ++ m_Header.skinWidth = letoh32(m_Header.skinWidth); ++ m_Header.skinHeight = letoh32(m_Header.skinHeight); ++ m_Header.frameSize = letoh32(m_Header.frameSize); ++ m_Header.numSkins = letoh32(m_Header.numSkins); ++ m_Header.numVertices = letoh32(m_Header.numVertices); ++ m_Header.numTexCoords = letoh32(m_Header.numTexCoords); ++ m_Header.numTriangles = letoh32(m_Header.numTriangles); ++ m_Header.numGlCommands = letoh32(m_Header.numGlCommands); ++ m_Header.numFrames = letoh32(m_Header.numFrames); ++ m_Header.offsetSkins = letoh32(m_Header.offsetSkins); ++ m_Header.offsetTexCoords = letoh32(m_Header.offsetTexCoords); ++ m_Header.offsetTriangles = letoh32(m_Header.offsetTriangles); ++ m_Header.offsetFrames = letoh32(m_Header.offsetFrames); ++ m_Header.offsetGlCommands = letoh32(m_Header.offsetGlCommands); ++ m_Header.offsetEnd = letoh32(m_Header.offsetEnd); + + if(m_Header.version != 8) + errorMessage(8, "FLAGRANT SYSTEM ERROR", "Invalid file format (version not 8) %s", strFileName); +@@ -197,12 +215,22 @@ + + // Read in all the texture coordinates in one fell swoop + fread(m_pTexCoords, sizeof(tMd2TexCoord), m_Header.numTexCoords, m_FilePointer); ++ for (int i=0; i < m_Header.numTexCoords; ++i) { ++ m_pTexCoords[i].u = letoh16(m_pTexCoords[i].u); ++ m_pTexCoords[i].v = letoh16(m_pTexCoords[i].v); ++ } + + // Move the file pointer to the triangles/face data offset + fseek(m_FilePointer, m_Header.offsetTriangles, SEEK_SET); + + // Read in the face data for each triangle (vertex and texCoord indices) + fread(m_pTriangles, sizeof(tMd2Face), m_Header.numTriangles, m_FilePointer); ++ for (int i=0; i < m_Header.numTriangles; ++i) { ++ for (int j=0; j < 3; ++j) { ++ m_pTriangles[i].vertexIndices[j] = letoh16(m_pTriangles[i].vertexIndices[j]); ++ m_pTriangles[i].textureIndices[j] = letoh16(m_pTriangles[i].textureIndices[j]); ++ } ++ } + + // Move the file pointer to the vertices (frames) + fseek(m_FilePointer, m_Header.offsetFrames, SEEK_SET); +@@ -213,6 +241,10 @@ + + // Read in the first frame of animation + fread(pFrame, 1, m_Header.frameSize, m_FilePointer); ++ for (int j=0; j < 3; ++j) { ++ pFrame->scale[j] = letohf(pFrame->scale[j]); ++ pFrame->translate[j] = letohf(pFrame->translate[j]); ++ } + + m_pFrames[i].pVertices = new tMd2Triangle [m_Header.numVertices]; + +diff -Naur sdb-1.0.2.orig/src/sdb.h sdb-1.0.2/src/sdb.h +--- sdb-1.0.2.orig/src/sdb.h 2005-06-11 13:54:13.610885632 +0200 ++++ sdb-1.0.2/src/sdb.h 2005-06-11 14:26:02.116748640 +0200 +@@ -57,11 +57,7 @@ + #include <sys/time.h> + #endif + +-#if SDL_BYTEORDER == SDL_BIG_ENDIAN +-#define MD2_SUFFIX ".md2b" +-#else + #define MD2_SUFFIX ".md2" +-#endif + + using namespace std; + diff --git a/games-arcade/sdb/files/sdb-1.0.2-gcc43.patch b/games-arcade/sdb/files/sdb-1.0.2-gcc43.patch new file mode 100644 index 000000000000..731ce7df3b52 --- /dev/null +++ b/games-arcade/sdb/files/sdb-1.0.2-gcc43.patch @@ -0,0 +1,10 @@ +--- a/src/sdb.h ++++ b/src/sdb.h +@@ -35,6 +35,7 @@ + #include <vector> + #include <fstream> + #include <iostream> ++#include <climits> + + #ifndef __APPLE__ + #include <SDL/SDL.h> diff --git a/games-arcade/sdb/files/sdb-1.0.2-ldflags.patch b/games-arcade/sdb/files/sdb-1.0.2-ldflags.patch new file mode 100644 index 000000000000..653fb814f4c0 --- /dev/null +++ b/games-arcade/sdb/files/sdb-1.0.2-ldflags.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.old 2010-09-21 10:30:41.000000000 +0200 ++++ b/src/Makefile 2010-09-21 10:30:58.000000000 +0200 +@@ -40,7 +40,7 @@ + rm -f $(OBJ) $(BIN) + + $(BIN): $(OBJ) +- $(CPP) $(LINKOBJ) -o $(BIN) $(LIBS) ++ $(CPP) $(LDFLAGS) $(LINKOBJ) -o $(BIN) $(LIBS) + + main.o: main.cpp + $(CPP) -c main.cpp -o main.o $(CXXFLAGS) diff --git a/games-arcade/sdb/metadata.xml b/games-arcade/sdb/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/sdb/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-arcade/sdb/sdb-1.0.2-r1.ebuild b/games-arcade/sdb/sdb-1.0.2-r1.ebuild new file mode 100644 index 000000000000..155c5d3a4e9c --- /dev/null +++ b/games-arcade/sdb/sdb-1.0.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A 2D top-down action game; escape a facility full of walking death machines" +HOMEPAGE="http://sdb.gamecreation.org/" +SRC_URI="http://gcsociety.sp.cs.cmu.edu/~frenzy/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + media-libs/libsdl + media-libs/sdl-image[png] + media-libs/sdl-mixer" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i \ + -e "s:models/:/usr/share/${PN}/models/:" \ + -e "s:snd/:/usr/share/${PN}/snd/:" \ + -e "s:sprites/:/usr/share/${PN}/sprites/:" \ + -e "s:levels/:/usr/share/${PN}/levels/:" \ + src/sdb.h src/game.cpp || die "setting game paths" + eapply \ + "${FILESDIR}"/${P}-endian.patch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + emake \ + -C src \ + CXXFLAGS="${CXXFLAGS} $(sdl-config --cflags)" +} + +src_install() { + dobin src/sdb + insinto /usr/share/${PN} + doins -r levels models snd sprites + newicon sprites/barrel.png ${PN}.png + make_desktop_entry sdb "Shotgun Debugger" + einstalldocs +} diff --git a/games-arcade/sdl-sopwith-1.7.5-r2 b/games-arcade/sdl-sopwith-1.7.5-r2 deleted file mode 100644 index f8a9882e42c8..000000000000 --- a/games-arcade/sdl-sopwith-1.7.5-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=>=media-libs/libsdl-1.1.3[video] >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=Port of the classic Sopwith game using LibSDL -EAPI=6 -HOMEPAGE=http://sdl-sopwith.sourceforge.net/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=media-libs/libsdl-1.1.3[video] -SLOT=0 -SRC_URI=mirror://sourceforge/sdl-sopwith/sopwith-1.7.5.tar.gz https://src.fedoraproject.org/rpms/sopwith/raw/master/f/sopwith.png -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 libtool 0081a71a261724730ec4c248494f044d multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=2c0d72913c773cbdff60f22b0ebf760c diff --git a/games-arcade/sdl-sopwith/Manifest b/games-arcade/sdl-sopwith/Manifest new file mode 100644 index 000000000000..4e5efd348f38 --- /dev/null +++ b/games-arcade/sdl-sopwith/Manifest @@ -0,0 +1,6 @@ +AUX sdl-sopwith-1.7.5-nogtk.patch 984 BLAKE2B 7478a4ef1b23322f9a89209223dca44c7e663e1530d2ae74eac7f7b72e7435ed28dbe6cf866aa0555c23b98d396f1e1b2c303a578dfe963b1d417bfbefcd6dc8 SHA512 10340a42b1da8e633505f9273976ab781e22529090f55932402fd3ff58c493c32cb66ebd5196f65a832cb6d0d98b941010670b74e2af202f2f6352e4fb6e1f18 +AUX sdl-sopwith-1.7.5-video-fix.patch 674 BLAKE2B d89107969ab7e8c97f460e49bd40cae2b9ba52d3c67905d83bbcf5c155ea68bcf0be0661617cedb79795be5247d780f890e9d92f645be360aa1b1f06c09bf0c3 SHA512 024958855d22d038fc9b00d1daa311360211b2b1f3510f0c2dbe43104a2aee8907a764bb2b11b0d367b248bafc7a4a4afebdf6fe116430733ba8ffb7ba6917ef +DIST sopwith-1.7.5.tar.gz 280883 BLAKE2B 57a2d6cf90d1bba1ac5dedbcebaa7b2f58004cee1ee7682d43be800184809e7949603490e93944d8aa1e4b9e6d33f24a9bdb386dadda945b9f9f3b9c4e8ed48c SHA512 ea78706d0190648be269142a29d10340c5181563959b0a329b802b9d9128a9dcb1e01760737269ec22883adf5b6c02c5049c8fc7b44e4eaa9f381b87abc7acae +DIST sopwith.png 675 BLAKE2B a380311db8861a75d8cbb035616523d1a21a220be758bda931340f65d658af0e844b0247e478da746d654249cd7a28ab9b681fc82b9798f909b379f38242d03f SHA512 7bcfec11930a623ff9077203640b4415e222570d32ffecdb943f5c78ed8fb11db4fefa42298b895c4aa29b46f963a82cdb90492beaf89a04d119e6e756f5ec57 +EBUILD sdl-sopwith-1.7.5-r2.ebuild 1033 BLAKE2B ec5a77ad3b6d2fb76c14ddc64d11672e278282a1d314a53079c5b2a52487defbad1d305ef84d8dd8176414c50a7ea77faac0c9d124e3db7f9903fe47d9edb544 SHA512 239d6a09d3eb99b044e51fc5c7bed5d7d9ae27a5dc879a38a48490da67cb65f893ee981c18552ed4de723ee752568618ef27adf84a78f38b6e8e759194986574 +MISC metadata.xml 334 BLAKE2B 42211acca53017e9d0c385214962d41899d10fdc4af43e7c016bb729d1576569bbd9ebb00ee1c41655283ffe0d8ae411fb121b51ab15f3ad32285bb7b310698f SHA512 3f9e062ee8d945112f164669980a7c8a8bf5982c6f0f889d100319b7959564752502b6a7b6cc30665829f6865e0f0a81a083cbf462182f5918e9386e6aafca39 diff --git a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch new file mode 100644 index 000000000000..a5dbc59f3c72 --- /dev/null +++ b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-nogtk.patch @@ -0,0 +1,42 @@ +--- a/configure.in.old ++++ b/configure.in +@@ -61,11 +61,6 @@ + SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS sdl" + ],) + +-PKG_CHECK_MODULES(GTK, glib-2.0 >= 2.0 gtk+-2.0 >= 2.0, [ +- SOPWITH_BINS="$SOPWITH_BINS" # gtksopwith" +- SOPWITH_SUBDIRS="$SOPWITH_SUBDIRS" # gtk" +-],) +- + AC_SUBST(SOPWITH_BINS) + AC_SUBST(SOPWITH_SUBDIRS) + +@@ -71,7 +71,7 @@ + + dnl check for TCPIP support + +-AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE(TCPIP),,) ++AC_CHECK_HEADER(netinet/ip.h, AC_DEFINE([TCPIP], [1], [TCP/IP support]),,) + + dnl generate Makefiles + +--- a/src/Makefile.am.old ++++ b/src/Makefile.am +@@ -6,7 +6,7 @@ + bin_PROGRAMS = @SOPWITH_BINS@ + EXTRA_PROGRAMS = sopwith gtksopwith psopwith + +-CFLAGS = @CFLAGS@ -I.. ++AM_CFLAGS = @SDL_CFLAGS@ -I.. + + COMMON_SRC = \ + video.h swcollsn.c swgames.h swmain.h swutil.h \ +--- a/src/sdl/Makefile.am.old ++++ b/src/sdl/Makefile.am +@@ -1,4 +1,4 @@ +-CFLAGS=@CFLAGS@ @SDL_CFLAGS@ -I.. ++AM_CFLAGS = @SDL_CFLAGS@ -I.. + + noinst_LIBRARIES = libsdlsopwith.a + diff --git a/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch new file mode 100644 index 000000000000..e9da16c43905 --- /dev/null +++ b/games-arcade/sdl-sopwith/files/sdl-sopwith-1.7.5-video-fix.patch @@ -0,0 +1,24 @@ +Upstream patch: fix segfault while video device detection. +Discovered here - https://bugs.gentoo.org/show_bug.cgi?id=458504 + +--- a/src/sdl/video.c.orig 2013-02-21 11:48:57.000000000 -0400 ++++ b/src/sdl/video.c 2013-02-21 11:49:35.000000000 -0400 +@@ -364,11 +364,17 @@ + int n; + int w, h; + int flags = 0; ++ int status; + + printf("CGA Screen Emulation\n"); + printf("init screen: "); + +- SDL_Init(SDL_INIT_VIDEO); ++ status = SDL_Init(SDL_INIT_VIDEO); ++ if (status == -1) ++ { ++ fprintf(stderr, "Unable to locate video device. Exiting.\n"); ++ exit(1); ++ } + + srand(time(NULL)); + set_icon(symbol_plane[rand() % 2][rand() % 16]); diff --git a/games-arcade/sdl-sopwith/metadata.xml b/games-arcade/sdl-sopwith/metadata.xml new file mode 100644 index 000000000000..a7ff32dedabd --- /dev/null +++ b/games-arcade/sdl-sopwith/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">sdl-sopwith</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild b/games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild new file mode 100644 index 000000000000..72ea6fb30eba --- /dev/null +++ b/games-arcade/sdl-sopwith/sdl-sopwith-1.7.5-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools desktop toolchain-funcs + +MY_P="${P/sdl-/}" +DESCRIPTION="Port of the classic Sopwith game using LibSDL" +HOMEPAGE="http://sdl-sopwith.sourceforge.net/" +SRC_URI=" + mirror://sourceforge/${PN}/${MY_P}.tar.gz + https://src.fedoraproject.org/rpms/sopwith/raw/master/f/sopwith.png +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.1.3[video]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + rm acconfig.h || die + + eapply "${FILESDIR}"/${P}-nogtk.patch + # bug 458504 + eapply "${FILESDIR}"/${P}-video-fix.patch + + mv configure.in configure.ac || die + eautoreconf +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc AUTHORS ChangeLog FAQ NEWS README TODO doc/*txt + rm -rf "${ED}/usr/share/doc/sopwith" + + newicon "${DISTDIR}"/sopwith.png ${PN}.png + make_desktop_entry sopwith "Sopwith" ${PN} +} diff --git a/games-arcade/sdlroids-1.3.4-r4 b/games-arcade/sdlroids-1.3.4-r4 deleted file mode 100644 index f999a464e776..000000000000 --- a/games-arcade/sdlroids-1.3.4-r4 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl media-libs/sdl-mixer -DESCRIPTION=Asteroids Clone for X using SDL -EAPI=6 -HOMEPAGE=http://david.hedbor.org/projects/sdlroids/ -KEYWORDS=~alpha ~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl media-libs/sdl-mixer -SLOT=0 -SRC_URI=mirror://sourceforge/sdlroids/sdlroids-1.3.4.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=ca3ec1c275b1c0ab44120b296d0e9def diff --git a/games-arcade/sdlroids/Manifest b/games-arcade/sdlroids/Manifest new file mode 100644 index 000000000000..499d6f9fbba8 --- /dev/null +++ b/games-arcade/sdlroids/Manifest @@ -0,0 +1,4 @@ +AUX 1.3.4-sound.patch 658 BLAKE2B c7a9a46881e1f8f9d9c48e843338bc9c61a1a3cda4d8f3ca27f9e47410f0e40eca039bbf3069c8be2bdb23f97e9b02a1dc3e955e07b5191c54dceafc12f29782 SHA512 4d01491aa3a57c9ea43cb15e815e761e78cae50c8f4c7abce4b02c2343ad7671b688d81da94bbca8036d081b427a08791e0332e3fb3fdad71ba41b15f291a619 +DIST sdlroids-1.3.4.tar.bz2 136588 BLAKE2B e2dd15c0437184af557f96daaa11d9b50ae991e7c29ccd3e4a27f2668719d0f7ef8244e681bdac2d8726b1493175ab4a3f754daf0f471f606bcb5cbe1b5aa1c8 SHA512 abd202e462ac96781481defb9442f3ee69cbfafb5b4e82ae435dca23068257c3e65ba4886c0c41f2568a8568b52267ded24b8684efb3f7cafd21754103cc31b4 +EBUILD sdlroids-1.3.4-r4.ebuild 745 BLAKE2B 9263dcceb1ae7c01de6e13b017a8d2f8db323946487780682391aaf99585d44cd9510682a371ad404aa3d006ef0e5f0888448acaad0d5be30ae58ad157ed4e15 SHA512 2a39cee0143bacdd2feabb02053a3d5d646829f413ac2cd2d710fcb5df3b9ca11a6960eb737d50e380000e39b2e44ea3c987a73c9025c02814f7174aa0593db4 +MISC metadata.xml 331 BLAKE2B 6d663f6943fa4c3419e12335c8d6c4913ad7658635d37889373a3b90bb7fb810cc80478d41eee57e2cda6099b7b3b748bd7583b248be2543293e6d48d5ccbe42 SHA512 b126b6b4997b53170da871ca8cf66be75350ad1b2492a62f99b8a512eab5ce63a8ededd8794ca480ecf711a4e585e0b81d77b4f1fa0dcee500c54bd48878305b diff --git a/games-arcade/sdlroids/files/1.3.4-sound.patch b/games-arcade/sdlroids/files/1.3.4-sound.patch new file mode 100644 index 000000000000..eb2eb0c2ada4 --- /dev/null +++ b/games-arcade/sdlroids/files/1.3.4-sound.patch @@ -0,0 +1,15 @@ +--- a/sdlsound.c.orig 2004-07-02 23:03:03.000000000 -0700 ++++ b/sdlsound.c 2004-07-02 23:05:37.000000000 -0700 +@@ -205,9 +205,9 @@ + int load_sample(int num) { + + if((samples[num] = Mix_LoadWAV(samplename[num])) || +- Mix_LoadWAV(datafilename(NULL, samplename[num])) || +- Mix_LoadWAV(datafilename(DATADIR, samplename[num])) || +- Mix_LoadWAV(datafilename(bindir, samplename[num]))) ++ (samples[num] = Mix_LoadWAV(datafilename(NULL, samplename[num]))) || ++ (samples[num] = Mix_LoadWAV(datafilename(DATADIR, samplename[num]))) || ++ (samples[num] = Mix_LoadWAV(datafilename(bindir, samplename[num])))) + return 1; + return 0; + } diff --git a/games-arcade/sdlroids/metadata.xml b/games-arcade/sdlroids/metadata.xml new file mode 100644 index 000000000000..baad890bb595 --- /dev/null +++ b/games-arcade/sdlroids/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">sdlroids</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild b/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild new file mode 100644 index 000000000000..83678ee1a7b4 --- /dev/null +++ b/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Asteroids Clone for X using SDL" +HOMEPAGE="http://david.hedbor.org/projects/sdlroids/" +SRC_URI="mirror://sourceforge/sdlroids/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-mixer +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -i \ + -e 's/$(SOUNDSDIR)/$(DESTDIR)$(SOUNDSDIR)/' \ + -e 's/$(GFXDIR)/$(DESTDIR)$(GFXDIR)/' Makefile.in \ + || die "sed failed" + eapply "${FILESDIR}"/${PV}-sound.patch +} + +src_install() { + default + newicon icons/sdlroids-48x48.xpm ${PN}.xpm + make_desktop_entry ${PN} SDLRoids ${PN} +} diff --git a/games-arcade/sdlsasteroids-3.0.1-r1 b/games-arcade/sdlsasteroids-3.0.1-r1 deleted file mode 100644 index 3b0d2bec4210..000000000000 --- a/games-arcade/sdlsasteroids-3.0.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=virtual/opengl media-libs/sdl-mixer media-libs/libsdl[sound,joystick,video] media-libs/sdl-image[png] media-libs/sdl-ttf -DESCRIPTION=Rework of Sasteroids using SDL -EAPI=6 -HOMEPAGE=http://sdlsas.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 freedist -RDEPEND=virtual/opengl media-libs/sdl-mixer media-libs/libsdl[sound,joystick,video] media-libs/sdl-image[png] media-libs/sdl-ttf -SLOT=0 -SRC_URI=mirror://sourceforge/sdlsas/SDLSasteroids-3.0.1.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=ca56d0412fff2812d7374e3a865fdf7f diff --git a/games-arcade/sdlsasteroids/Manifest b/games-arcade/sdlsasteroids/Manifest new file mode 100644 index 000000000000..1f3c0c8ccd8f --- /dev/null +++ b/games-arcade/sdlsasteroids/Manifest @@ -0,0 +1,5 @@ +AUX sdlsasteroids-3.0.1-gcc43.patch 422 BLAKE2B abe2fb65829d30b3f9d66eb585621e7ad4409831887cec96b6872e0bdd311ad9061b8be3208adf2f50adf2eafc87bc048834fbf91a65ab8401b939530e47b147 SHA512 3915518301cbf842de73f59caf70f8bf318d6824120386c1bc3844f454fe05676feab62e6f05adb17b13dd8f1c965da19d30c53391a0350c1f2849eac6a6aa59 +AUX sdlsasteroids-3.0.1-ldflags.patch 374 BLAKE2B 2b4ae7b2ca09f5573a1bbd317cb0cf9170eba0b56a9f04ed3bf825d4217d7b209c98983b1e757b71786ba0a25cc7a7a60485d7c418fc3bfce937f84d0a07ae22 SHA512 6e7ae0cb9b78f311d628859d0804ab635ff6c92106e9692591d83c13298fb491c0d75df188ab5a93d21170b3ebb9cae29a392b93343ade3eafc702dd4b320525 +DIST SDLSasteroids-3.0.1.tar.gz 531781 BLAKE2B 83d2f84623dd369bd0e36ddfec3a328f50b5ef1a9daf2bd4f6d2e5ff4bfd38f2832ff5378961c66fbf149fe82e45e48ad12aaf8a95abf4244a59fc7321403682 SHA512 5758e1a8540dd16b0993146e706d2f600713cf80500de32b5102e23933fad7e5f5d5b31bf7ebe0efcc89223f54ec67505728e5d3b8e2c8691b8efce671fcbdbc +EBUILD sdlsasteroids-3.0.1-r1.ebuild 1232 BLAKE2B b6d1d0df6e42e54a06c0bdb09eeba1659f35d9186759bf93ae4d08d5c2a0b6c0df1233bedd3b9cf18d3adfa88a891d0d8b23d65b5cee946e50cbd6f3cab1d4ca SHA512 cd4a6419e04e1448cc5aff7565b17857dabba6876348fd526b0d85d8f138a2fcbe9bff153d9671f07ab2dc256c8f492edb10522f1dfa7b411c39ab3df76851f0 +MISC metadata.xml 329 BLAKE2B dba011e413928b68ccfbc07eb71a2cca9eb7071165c8d3f53ea47bcd54ffa03f16c670fbc41c1c0fc3b7de36da510109b3884f2b6a0e996bc8c3c5479ffac3f5 SHA512 4f3b7531ceb47a03591edb619cccddec6bb2f86bc9c66be1e88cb745d0b44220ab5e542f6d56bdb89494c341120c673f2e0cc34de6aeae2f1599cbb9b800f75d diff --git a/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch new file mode 100644 index 000000000000..9863f0c051e9 --- /dev/null +++ b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-gcc43.patch @@ -0,0 +1,11 @@ +--- a/src/sbitmap.h ++++ b/src/sbitmap.h +@@ -36,7 +36,7 @@ + void LoadImage(char* path); + void LoadSurface(SDL_Surface* surface); + +- void put(float x, float y, float rotate = 1.0f, float rotate = 1.0f, float layer = 0.0f); ++ void put(float x, float y, float sf = 1.0f, float rotate = 1.0f, float layer = 0.0f); + void putA(float x, float y, float layer = 0.0f, float alpha = 1.0f); + + inline float width() const diff --git a/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch new file mode 100644 index 000000000000..581010b51388 --- /dev/null +++ b/games-arcade/sdlsasteroids/files/sdlsasteroids-3.0.1-ldflags.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.old 2010-09-22 08:44:57.000000000 +0200 ++++ b/src/Makefile 2010-09-22 08:45:43.000000000 +0200 +@@ -26,7 +26,7 @@ + + + $(SASTEROIDS): $(SASTEROIDS_O) +- g++ -Wall -o $(SASTEROIDS) $(SASTEROIDS_O) $(DEFINES) $(DEBUG) $(OPTS) $(CFLAGS) $(LIBS) ++ g++ $(LDFLAGS) -Wall -o $(SASTEROIDS) $(SASTEROIDS_O) $(DEFINES) $(DEBUG) $(OPTS) $(CFLAGS) $(LIBS) + + + .cpp.o: diff --git a/games-arcade/sdlsasteroids/metadata.xml b/games-arcade/sdlsasteroids/metadata.xml new file mode 100644 index 000000000000..11957fc04bd7 --- /dev/null +++ b/games-arcade/sdlsasteroids/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">sdlsas</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild b/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild new file mode 100644 index 000000000000..24ecc1564280 --- /dev/null +++ b/games-arcade/sdlsasteroids/sdlsasteroids-3.0.1-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Rework of Sasteroids using SDL" +HOMEPAGE="http://sdlsas.sourceforge.net/" +SRC_URI="mirror://sourceforge/sdlsas/SDLSasteroids-${PV}.tar.gz" + +LICENSE="GPL-2 freedist" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + media-libs/sdl-mixer + media-libs/libsdl[sound,joystick,video] + media-libs/sdl-image[png] + media-libs/sdl-ttf" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/SDLSasteroids-${PV}" + +src_prepare() { + default + eapply \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-ldflags.patch + sed -i \ + -e 's/make /$(MAKE) /' \ + -e 's/--strip//' \ + Makefile || die + sed -i \ + -e '/^CC/d' \ + -e 's/g++/$(CXX)/' \ + -e 's/CC/CXX/' \ + -e 's/CFLAGS/CXXFLAGS/' \ + src/Makefile || die +} + +src_compile() { + emake \ + GAMEDIR="/usr/share/${PN}" \ + OPTS="${CXXFLAGS}" +} + +src_install() { + dodir /usr/share/man/man6/ + emake \ + GAMEDIR="${D}/usr/share/${PN}" \ + BINDIR="${D}/usr/bin" \ + MANDIR="${D}/usr/share/man/" \ + install + dodoc ChangeLog README README.xast TODO description + newicon graphics/sprite/bigast.png ${PN}.png + make_desktop_entry sasteroids "Sasteroids" ${PN} +} diff --git a/games-arcade/skystreets-0.2.4 b/games-arcade/skystreets-0.2.4 deleted file mode 100644 index 8f16141c6bc1..000000000000 --- a/games-arcade/skystreets-0.2.4 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=virtual/opengl virtual/glu media-libs/libsdl[opengl,video] media-libs/sdl-image -DESCRIPTION=A remake of the old DOS game Skyroads -EAPI=5 -HOMEPAGE=http://freecode.com/projects/skystreets -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=OSL-2.0 -RDEPEND=virtual/opengl virtual/glu media-libs/libsdl[opengl,video] media-libs/sdl-image games-misc/games-envd -SLOT=0 -SRC_URI=mirror://gentoo/skystreets-0.2.4.tar.bz2 -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=698db8ca6092866a6c2c8c2b4cab25bb diff --git a/games-arcade/skystreets/Manifest b/games-arcade/skystreets/Manifest new file mode 100644 index 000000000000..ebf5bf991e17 --- /dev/null +++ b/games-arcade/skystreets/Manifest @@ -0,0 +1,5 @@ +AUX 0.2.4-gl.patch 240 BLAKE2B 6f3b25ba5ea166b58c6fd89b9b0ea8e0a2bfb846fd6e94707e159f1305e1137593ab930ba5ba38efc2dd2835dd926fb5e0c2e6cd3fa7c6d31f5aff05580d615c SHA512 2199f827f414bf44b1d52cc48293ec9070445d39f91c153ad748e0b6dde9dbad41ed7aecb142c18f49ff0a7e8e2b850f24536861a330a955025a9dc940552785 +AUX skystreets-0.2.4-as-needed.patch 437 BLAKE2B f6f97ad09aaae150d8edf40941fe65dc3c28a16a7dd5becd45584ef19e8fe489c8a4c1dc0db55c45ccb11070d2a32cad8c0ba36b04eeb165f499b7c4b4e930aa SHA512 a62e31cb23e766ef53460f6dde86e35040218e94939607622d0d9a625d5c291007b6cd59a7e3267e109cbb6d2c20f31b841a5340a19a570852b9f20cd1b6e18b +DIST skystreets-0.2.4.tar.bz2 1838860 BLAKE2B b52af4fc799b4ab7063030c6281faa0cae66c9a64c3f6797ad8907f5ba72fa7dcb0bc4db8c21260464f4af4aca2e91c06277913117997c36edd538ae2a0b149e SHA512 b27ac359f3f4e187aa3fa6d576574301baee56a90a7502b10976924b7def95a65adac47940637b02467ad3902df981e33871cfb7f81e583f478b7319e6baafe6 +EBUILD skystreets-0.2.4.ebuild 667 BLAKE2B ed81d7cd9318a2875993a5b5874006c81195354abb03ca6a85772605864d4a507b9c80caa8fd14496f1ad62da23151956c3baca268fad4cb20b71a00003483f1 SHA512 fa9751500a315225ea7f85b5f9ffd3d98455cf993c84b91d162970d8fbb25be608272aee942890a0b5f43f5cb95848d4e23051ecad0718999b38eddb7c7b44dc +MISC metadata.xml 330 BLAKE2B 3a6ed60562a802028d6c3f2d22f30903952817a4e3fd6e7c49f04d5855c852ae48b2747dc673474f17614951c75f0c4f7ea48fb19bcc5f2d70d8dac065332520 SHA512 6b25b5c3f1337101ef3bafd5e88f5b134605c7fff1759c859db1948ab23423f02bd128cc407cb4af451923e9031fa5558339ec0e32b1e9378fd8abbd0e85d325 diff --git a/games-arcade/skystreets/files/0.2.4-gl.patch b/games-arcade/skystreets/files/0.2.4-gl.patch new file mode 100644 index 000000000000..6ff5548a5fa3 --- /dev/null +++ b/games-arcade/skystreets/files/0.2.4-gl.patch @@ -0,0 +1,10 @@ +--- game.cpp.old 2004-12-31 01:02:13.351382184 +1100 ++++ game.cpp 2004-12-31 01:02:26.415396152 +1100 +@@ -8,6 +8,7 @@ + #include <windows.h> + #endif + ++#define GL_GLEXT_PROTOTYPES 1 + #include <GL/gl.h> + #include "SDL.h" + #include <string.h> diff --git a/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch b/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch new file mode 100644 index 000000000000..414cd3d61ce4 --- /dev/null +++ b/games-arcade/skystreets/files/skystreets-0.2.4-as-needed.patch @@ -0,0 +1,11 @@ +--- Makefile.in.old 2009-02-02 18:04:04.000000000 +0100 ++++ Makefile.in 2009-02-02 18:04:37.000000000 +0100 +@@ -78,7 +78,7 @@ + EXTRA_DIST = *.h CODE BUGS + INCLUDES = `sdl-config --cflags` -Wall -O2 -DDATAPATH=\"$(pkgdatadir)\" + #LDFLAGS = -lSDL_image -lm +-LDFLAGS = -lSDL_image -lGL -lGLU -lm ++LDADD = -lSDL_image -lGL -lGLU -lm + # LDFLAGS = `sdl-config --libs` -lSDL_image -lm + SUBDIRS = audio gfx levels + AUTOMAKE_OPTIONS = dist-bzip2 diff --git a/games-arcade/skystreets/metadata.xml b/games-arcade/skystreets/metadata.xml new file mode 100644 index 000000000000..47eeb6f42b45 --- /dev/null +++ b/games-arcade/skystreets/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">skystreets</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/skystreets/skystreets-0.2.4.ebuild b/games-arcade/skystreets/skystreets-0.2.4.ebuild new file mode 100644 index 000000000000..405cb2fa532b --- /dev/null +++ b/games-arcade/skystreets/skystreets-0.2.4.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 remake of the old DOS game Skyroads" +HOMEPAGE="http://freecode.com/projects/skystreets" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="OSL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + virtual/glu + media-libs/libsdl[opengl,video] + media-libs/sdl-image" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${PV}-gl.patch \ + "${FILESDIR}"/${P}-as-needed.patch +} + +src_install() { + default + newicon gfx/sunscene.png ${PN}.png + make_desktop_entry ${PN} SkyStreets + prepgamesdirs +} diff --git a/games-arcade/slimevolley-2.4.2-r1 b/games-arcade/slimevolley-2.4.2-r1 deleted file mode 100644 index 3d787a496610..000000000000 --- a/games-arcade/slimevolley-2.4.2-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=media-libs/libsdl[X,sound,video] media-libs/sdl-ttf media-libs/sdl-image[png] net? ( media-libs/sdl-net ) virtual/libintl sys-devel/gettext sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=A simple volleyball game -EAPI=6 -HOMEPAGE=http://slime.tuxfamily.org/index.php -IUSE=net -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 -RDEPEND=media-libs/libsdl[X,sound,video] media-libs/sdl-ttf media-libs/sdl-image[png] net? ( media-libs/sdl-net ) virtual/libintl -SLOT=0 -SRC_URI=http://downloads.tuxfamily.org/slime/v242/slimevolley_2.4.2.tar.bz2 -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=e8978cba956ad27bf1efab7a54f809a0 diff --git a/games-arcade/slimevolley/Manifest b/games-arcade/slimevolley/Manifest new file mode 100644 index 000000000000..bc7ec350773a --- /dev/null +++ b/games-arcade/slimevolley/Manifest @@ -0,0 +1,5 @@ +AUX slimevolley-2.4.2-nodatalocal.patch 746 BLAKE2B ff7a336c459395724931e613fab39c212fd06f578342ef7628a934a7b066c085af909bdd35dccac54b6b698f4628b594766caa8c8c814c30837da443a73fcec3 SHA512 e679365056b118e8cf6c5a6828709f8beed67eb2e84a1ce5082abfc0498f82624bbce6584f663cf371eaf81201e6c5bfb1619fedc99ab6395e3b87472e61bd1e +AUX slimevolley-2.4.2-underlink.patch 232 BLAKE2B 29e3d0ed66ace5a588d6e0133a2427eebd225ff77100336426db8ad892f52ec552bc562f6edf6c8834e5915094558940254a5ef9c5e6444a7ffa415654bec7f6 SHA512 402baf0b3955d86768ea40a0eaa289cd160f06551392e653255c32f47d4aed22c33f57a67e98fb3fe28500ed6914f9b8e465737b5aa958fd3332721fb2fe419f +DIST slimevolley_2.4.2.tar.bz2 2402839 BLAKE2B 5f3ca09b11721076c115af78117e8185b9c243efc23369f7fac4c5243e942b3b0cddd403f727cad1400a7ffbd77c080bad0d1ee123dfc015be7a98337bfbda36 SHA512 7a72329d9e22396f2e304d40370896b2c1a0ae22d5bf1769a46cad8fb1131b1ae9c16de0e5f847b8a31004df074cdeb710a28bfd1e1d94beceb1c8eb0a750680 +EBUILD slimevolley-2.4.2-r1.ebuild 905 BLAKE2B b9961b1b837685914f1854f772876c051137285b1333e9a63639e721bbd22b3ca4705f40ca47af2878f7ddd1c0464aa03fd3a7509e93a66de3a49c5af9e84dc1 SHA512 4d793d5df21368617eb6792d8e5ec98efd8d00b96b04ea84e0016adbc576f88a12c09a15bb0c16f0f65291cfc1cb811568768f1110f1ac7aa4cccd9e0995ec27 +MISC metadata.xml 307 BLAKE2B 3bd3dcad0f6b179a7477a9f6c0a30060dff7d0a959c0270083ce111d5f9f8e5ebc0817f44db3e98979eca1f936b4ec7a33914c38ad78a735b97507848ccb431c SHA512 53bd5a746338b99640591dd7fd27b7ed24d44396d2c382a73b7f45b7d0bfa7236bb66229ad2a02135eec39ca524700aa2b0a68b7ad9f19c6f7c750de340b0924 diff --git a/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch b/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch new file mode 100644 index 000000000000..a1ab7616a645 --- /dev/null +++ b/games-arcade/slimevolley/files/slimevolley-2.4.2-nodatalocal.patch @@ -0,0 +1,23 @@ +diff -ru slimevolley-2.4.1.orig/src/themes_std.c slimevolley-2.4.1/src/themes_std.c +--- slimevolley-2.4.1.orig/src/themes_std.c 2008-11-30 04:36:52.000000000 -0500 ++++ slimevolley-2.4.1/src/themes_std.c 2010-05-05 13:00:23.875723904 -0400 +@@ -30,7 +30,6 @@ + #include "audio.h" + #include "themes.h" + +-#define DATA_LOCAL "data" + #define DOSS_THEMES "themes" + #define DOSS_SLIMES "slimes" + #define SLIME_D_NOM "slimeJD%d.png" +@@ -74,10 +73,7 @@ + chemin[0] = '\0'; + + if(var_env == NULL) { +- if(access(DATA_LOCAL, R_OK | X_OK) == 0) { +- strncpy(chemin, DATA_LOCAL, sizeof(chemin) - 1); +- +- } else if(access(DATA_DIR, R_OK | X_OK) == 0) { ++ if(access(DATA_DIR, R_OK | X_OK) == 0) { + strncpy(chemin, DATA_DIR, sizeof(chemin) - 1); + } + diff --git a/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch b/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch new file mode 100644 index 000000000000..1aad45f6cf5f --- /dev/null +++ b/games-arcade/slimevolley/files/slimevolley-2.4.2-underlink.patch @@ -0,0 +1,10 @@ +--- a/CMakeLists.txt.old 2011-06-20 20:42:26.545500925 +0200 ++++ b/CMakeLists.txt 2011-06-20 20:42:34.407999223 +0200 +@@ -42,6 +42,7 @@ + ${SDL_LIBRARY} + ${SDLTTF_LIBRARY} + ${SDLIMAGE_LIBRARY} ++ m + ) + + INCLUDE(FindGettext.cmake) diff --git a/games-arcade/slimevolley/metadata.xml b/games-arcade/slimevolley/metadata.xml new file mode 100644 index 000000000000..668a9c261470 --- /dev/null +++ b/games-arcade/slimevolley/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="net">Enable network support</flag> +</use> +</pkgmetadata> diff --git a/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild b/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild new file mode 100644 index 000000000000..e4a8fe67dfab --- /dev/null +++ b/games-arcade/slimevolley/slimevolley-2.4.2-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils + +DESCRIPTION="A simple volleyball game" +HOMEPAGE="http://slime.tuxfamily.org/index.php" +SRC_URI="http://downloads.tuxfamily.org/slime/v242/${PN}_${PV}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="net" + +RDEPEND=" + media-libs/libsdl[X,sound,video] + media-libs/sdl-ttf + media-libs/sdl-image[png] + net? ( media-libs/sdl-net ) + virtual/libintl +" +DEPEND="${RDEPEND} + sys-devel/gettext +" + +DOCS="docs/README docs/TODO" + +PATCHES=( + "${FILESDIR}"/${P}-nodatalocal.patch + "${FILESDIR}"/${P}-underlink.patch +) + +S="${WORKDIR}/${PN}" + +src_configure() { + local mycmakeargs=( + "-DCMAKE_VERBOSE_MAKEFILE=TRUE" + "-DCMAKE_INSTALL_PREFIX=/usr" + "-DDATA_DIR=/usr/share/slimevolley" + $(use net && echo "-DNO_NET=0" || echo "-DNO_NET=1") + ) + cmake-utils_src_configure +} diff --git a/games-arcade/snake3d-0.9 b/games-arcade/snake3d-0.9 deleted file mode 100644 index 1d77c0e2fdde..000000000000 --- a/games-arcade/snake3d-0.9 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/sdl-net virtual/opengl media-libs/freeglut virtual/glu media-libs/libsdl -DESCRIPTION=variant of the snake game -EAPI=5 -HOMEPAGE=https://sourceforge.net/projects/worms3d/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/sdl-net virtual/opengl media-libs/freeglut virtual/glu media-libs/libsdl games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/worms3d/snake3d-0.9.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=0a53f64a594c40aee1ceb148adf3d791 diff --git a/games-arcade/snake3d/Manifest b/games-arcade/snake3d/Manifest new file mode 100644 index 000000000000..cd14d5cbd501 --- /dev/null +++ b/games-arcade/snake3d/Manifest @@ -0,0 +1,5 @@ +AUX snake3d-0.9-amd64.patch 860 BLAKE2B 49aa7d5647f603b6c8606e44ae847b3271f49c045a42bd68bada1b2d1ae403c015fdff22e2f41e74a902b1e7d6c4eef85f628d9a8ddbce69f25e6413ca440da4 SHA512 a7012bc3742e90c2c78a2f56a54f1a162a0840d31189f96557d267448076d653d2f68666634e2faa489dbe01d2a6c49fe786017aa21c7622c7be84c3d9b91a74 +AUX snake3d-0.9-build.patch 881 BLAKE2B 131b30c31b00bb3f736241d322d5204fc7b97ff67ba0da6bed04625f3abcf9d213873de763e971d68cff530ba4e80a0b9719e56d1504fe8dbf3c882bbb573fd7 SHA512 dc26cf5102f59c2ab8fcf54a2b91262dad4639236a8acdc4cfb879f211625d2fb9e1bbb9b62eb74f9c0d9c023ca63106535e200ff8cb4914a7e9b9444fc4563a +DIST snake3d-0.9.tar.gz 62900 BLAKE2B 8520ddf52705cf086374c707f319fef5f3d9d964a05f367da8aab19c46f4f8e42947e104cdc4f3d7db20901308d995470f29a840af22500fd6c4c4d2ab7a301b SHA512 2bc2d3e68fd782d58c5f702727a8a72fb67096e7ff78e1e00f3a79767bad627fe3a2ceec05a621e8d5b4b3ba009a01814c93b7d21f180512b13411bf61ac1065 +EBUILD snake3d-0.9.ebuild 733 BLAKE2B 386654ee29beca8ceb1ce4067faf02c2adfa83ed38c615cf1f1e7d0ed717a1b6f602092eb6c4ec4f7b2220f92d7fcdae1b963ba242fbb90b10c5f2844b211baa SHA512 bfc0509ba04abc50ce5b2c2881d6678a8d74420b386b9d1299b69697575a4c3c700dc69dd3cdcd3d187275b0eb8a4750722bebb612d5899ef3e972f1b15bcdcf +MISC metadata.xml 608 BLAKE2B 293c3db365ab9938fab9796ea2caf9498f33007e10fcd6561a40edfa4c5a72902be3d786a89d6412d61ad4357abe96d9ab477fe47115119644d79fa478747999 SHA512 38171efa331066de83f6fc6933ea805ce19ad8467dc9d06759ff1630cbff1de8d61069723bd481752a16a5399fe324c6d7c36d805778b0ac2939ead2150bf802 diff --git a/games-arcade/snake3d/files/snake3d-0.9-amd64.patch b/games-arcade/snake3d/files/snake3d-0.9-amd64.patch new file mode 100644 index 000000000000..d2b5f2c79acd --- /dev/null +++ b/games-arcade/snake3d/files/snake3d-0.9-amd64.patch @@ -0,0 +1,37 @@ +--- src/functions.cpp.old 2007-03-31 11:04:10.000000000 +0200 ++++ src/functions.cpp 2007-03-31 11:11:52.000000000 +0200 +@@ -107,8 +107,8 @@ + pointer = end; + } + +- memcpy(str, i, (int)pointer - (int)i); +- str[(int)pointer - (int)i] = 0; ++ memcpy(str, i, ssize_t(pointer - i)); ++ str[pointer - i] = 0; + + drawString(x, y, str); + +@@ -501,15 +501,21 @@ + + Uint32 timer(Uint32 interval, void* value) { + ++ union { ++ void *value; ++ int p_mode; ++ } p_modeConv; ++ p_modeConv.value = value; ++ + //if ((int)value != gameModeValue) +- if ((int)value != p_mode) ++ if (p_modeConv.p_mode != p_mode) + return 0; + + SDL_Event event; + SDL_UserEvent userevent; + + userevent.type = SDL_USEREVENT; +- userevent.code = (int)value; ++ userevent.code = p_modeConv.p_mode; + userevent.data1 = NULL; + userevent.data2 = NULL; + diff --git a/games-arcade/snake3d/files/snake3d-0.9-build.patch b/games-arcade/snake3d/files/snake3d-0.9-build.patch new file mode 100644 index 000000000000..f7d8c4404df4 --- /dev/null +++ b/games-arcade/snake3d/files/snake3d-0.9-build.patch @@ -0,0 +1,24 @@ +--- src/Makefile ++++ src/Makefile +@@ -1,10 +1,10 @@ + OBJ = board.o snake.o game.o menu.o snake3d.o global.o consts.o cube.o functions.o preferences.o rooms2.o network.o userInput.o server.o packets.o client.o classic2d.o +-CXXFLAGS = -g -Wall -I/usr/X11R6/include/ `sdl-config --cflags` ++CXXFLAGS += -Wall $(shell sdl-config --cflags) + CXX = g++ + CC = g++ + #LDFLAGSMAC = -framework GLUT -framework OpenGL -framework Cocoa -bind_at_load -L/sw/lib/ -lSDL -lSDLmain + LDFLAGSMAC = `sdl-config --libs` -framework GLUT -framework OpenGL -lSDL_net +-LDFLAGS = -L/usr/X11R6/lib/ -lGL -lglut -lGLU -lSDL -lSDL_net ++LIBS = -lGL -lglut -lGLU $(shell sdl-config --libs) -lSDL_net + + all: snake3d + +@@ -18,7 +18,7 @@ + g++ $(LDFLAGSMAC) $(OBJ) -o ../snake3d + + snake3d.linux: $(OBJ) +- g++ $(LDFLAGS) $(OBJ) -o ../snake3d ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) $(OBJ) $(LIBS) -o ../snake3d + + + clean: diff --git a/games-arcade/snake3d/metadata.xml b/games-arcade/snake3d/metadata.xml new file mode 100644 index 000000000000..261d7fab00c9 --- /dev/null +++ b/games-arcade/snake3d/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> + <longdescription lang="en"> +snake3d is a variant of the snake game. You are a snake in a 3d world trying to +eat as many icosahedrons as possible, which makes your tail longer. There are +other snakes (network players) in the world which will try to fail you. +</longdescription> + <upstream> + <remote-id type="sourceforge">worms3d</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/snake3d/snake3d-0.9.ebuild b/games-arcade/snake3d/snake3d-0.9.ebuild new file mode 100644 index 000000000000..57db6998ed0b --- /dev/null +++ b/games-arcade/snake3d/snake3d-0.9.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils toolchain-funcs games + +DESCRIPTION="variant of the snake game" +HOMEPAGE="https://sourceforge.net/projects/worms3d/" +SRC_URI="mirror://sourceforge/worms3d/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/sdl-net + virtual/opengl + media-libs/freeglut + virtual/glu + media-libs/libsdl" +RDEPEND="${DEPEND}" +S=${WORKDIR}/${PN} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-amd64.patch \ + "${FILESDIR}"/${P}-build.patch +} + +src_compile() { + emake CXX=$(tc-getCXX) -C src snake3d.linux +} + +src_install() { + dogamesbin ${PN} + dodoc ChangeLog README TODO + prepgamesdirs +} diff --git a/games-arcade/solarwolf-1.5-r1 b/games-arcade/solarwolf-1.5-r1 deleted file mode 100644 index 30b56faacd56..000000000000 --- a/games-arcade/solarwolf-1.5-r1 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=install prepare -DESCRIPTION=Action/arcade recreation of SolarFox -EAPI=6 -HOMEPAGE=http://www.pygame.org/shredwheat/solarwolf/ -KEYWORDS=~alpha ~amd64 ~hppa ~x86 -LICENSE=LGPL-2.1 -RDEPEND=>=dev-python/pygame-1.5.6 media-libs/sdl-mixer[mod,vorbis] -SLOT=0 -SRC_URI=http://www.pygame.org/shredwheat/solarwolf/solarwolf-1.5.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=1b4367dae10b41f8322c256d25ebfe97 diff --git a/games-arcade/solarwolf/Manifest b/games-arcade/solarwolf/Manifest new file mode 100644 index 000000000000..d8bce2e450ac --- /dev/null +++ b/games-arcade/solarwolf/Manifest @@ -0,0 +1,3 @@ +DIST solarwolf-1.5.tar.gz 2045888 BLAKE2B 66498b1d9b202b45ff87ea9d4b1ab14dcb6e343e8b0761576cfbf1c84ee9575cbf665e4b94552eb764f5e4fbaa02739f62c9eb20217085a6d18483d3ca7eb587 SHA512 44d84976f7797e3b859f1e5e50f9f964e5c6d6d4437ad25cf04720035e8697cc0c86490fdbbf8d923320a5c15c6e3afd1fbcfb9f17e7e31ce6f7264004e991f2 +EBUILD solarwolf-1.5-r1.ebuild 798 BLAKE2B ba969bfbaacf80d6a40385f4e6f60e603b0389287a1f71f541a9a9f87f98d9674ea63d167e07ff1b13a14669a074d6b45076d9c6740f1bf87ba8bb9b98894c28 SHA512 6e250abdab04450254a5d29bdb6aa8962c3a9194ade5eab8669b95db6ab9a620c1388a8a7a757ccc2f2b58de601d885b028c67add97a44373f5e12a4ab416218 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/solarwolf/metadata.xml b/games-arcade/solarwolf/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/solarwolf/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-arcade/solarwolf/solarwolf-1.5-r1.ebuild b/games-arcade/solarwolf/solarwolf-1.5-r1.ebuild new file mode 100644 index 000000000000..dc3d846b8b7a --- /dev/null +++ b/games-arcade/solarwolf/solarwolf-1.5-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils + +DESCRIPTION="Action/arcade recreation of SolarFox" +HOMEPAGE="http://www.pygame.org/shredwheat/solarwolf/" +SRC_URI="http://www.pygame.org/shredwheat/solarwolf/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~x86" +IUSE="" + +RDEPEND=" + >=dev-python/pygame-1.5.6 + media-libs/sdl-mixer[mod,vorbis] +" +DEPEND="" + +src_prepare() { + default + find . -name .xvpics -print0 | xargs -0 rm -fr + gunzip dist/${PN}.6.gz || die #619948 +} + +src_install() { + insinto /usr/share/${PN} + doins -r code data *py + make_wrapper ${PN} "python2 ./solarwolf.py" /usr/share/${PN} + doicon dist/${PN}.png + make_desktop_entry ${PN} SolarWolf + einstalldocs + doman dist/${PN}.6 +} diff --git a/games-arcade/spacerider-0.13-r1 b/games-arcade/spacerider-0.13-r1 deleted file mode 100644 index ef42d8b2e418..000000000000 --- a/games-arcade/spacerider-0.13-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-gfx media-libs/sdl-mixer media-libs/sdl-image[jpeg] media-libs/sdl-net media-libs/sdl-ttf -DESCRIPTION=Space-shooter written in C++, using the SDL -EAPI=6 -HOMEPAGE=http://www.hackl.dhs.org/spacerider/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-gfx media-libs/sdl-mixer media-libs/sdl-image[jpeg] media-libs/sdl-net media-libs/sdl-ttf -SLOT=0 -SRC_URI=mirror://gentoo/spacerider-0.13.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=1e4ae2a7db821235c4e32ad38b0e2622 diff --git a/games-arcade/spacerider/Manifest b/games-arcade/spacerider/Manifest new file mode 100644 index 000000000000..11d28caf20db --- /dev/null +++ b/games-arcade/spacerider/Manifest @@ -0,0 +1,8 @@ +AUX spacerider-0.13-font.patch 409 BLAKE2B e01077b6e2fafd317618218b54596036928c36812043976610f9109205aefb497f5b47ab814fe89e17ca0d1f191c2f78017d9c2c06518b78788d002a702d17ea SHA512 efbb6b47b19dcc653b380eaabfd817518887cc77aadb54e9dcfb7dc9c37e3a91c156eab7076eea90ffee698c1b9d1ac745a1638e023d35778eb35482d8f8dec5 +AUX spacerider-0.13-gcc41.patch 468 BLAKE2B 0c3b75a8a573ecacf808bb597429ca12ca59501b58bbf2aa73f64ce150a594659184ff32ff88770ea038eac232936491c750e75be81611ce8cd91910007a8922 SHA512 0cbd0c0003554bf90d8261af1c5db1617489bc5427b1e52caa0d56350df07939f007ba035cbdbb209176e3bbcec125c9171714631400ad5cad2323b8059f0765 +AUX spacerider-0.13-gcc49.patch 775 BLAKE2B 4b77bee14741fc4258d0fb3e8af69e9cceff2ac3886f97acab65c1e84dad27ccfc602aa0fb4d535b91d2c1947fc5adc1671cc725799e88ac60d78a01ebf791a5 SHA512 6ef7af29e88365fe3e34517ae6ee193a9b3765c77ecc883c8a34480c1944900388a9f89ca253031f673adae9552ff68eac5ec5af2203beff6835005a3f23bfb3 +AUX spacerider-0.13-gentoo.patch 737 BLAKE2B 7660dd666c6a838b7a8b64cd173f1a5dc7393163a42c2cdb919a8c719600e3cbb1b08ee2230f2d4675fa9702cf56ad556337eccee0fd66c3b82ef012aa641a47 SHA512 89bcf2565833ab462fdcdd16a97a5a339dcb82ad7e685754dfc3dca5c37093c10c787615338791c62b431222734953b2add3545fa41812ea0c6f63f7c02ce267 +AUX spacerider-0.13-ovflfix.patch 347 BLAKE2B 977a25efb7badce88c80f4ee5c68768910aa2139b94f3cd56ee996aac26053c749eea7d671f5bf02d055251060f3f9536493de513f79c617e96a1db4f8b90c91 SHA512 227d519c51555fa99a162e2abc939b53feb0abc817667c5b2edc502ff6e7265a0f86a750498dbed5f0741f7d5e6840b86c0421fc7770b10a7ac862cdaafb1af1 +DIST spacerider-0.13.tar.bz2 283861 BLAKE2B 89687ca24a663addb81af0c775201e1a57e6d524e9fb99766d4003a4401dc406e50c8d103600c57c7d4b30ee620b3ec60089f05aaa4e0ad9da72a6f5e64fd527 SHA512 4f8d506abfe242039247d5c4e43c012ded14f3b18de710aea0c9c6d933cb60fde3116008723d44acadd490b3666e107506fad6ee027d2b31c47d118185e0c03e +EBUILD spacerider-0.13-r1.ebuild 1049 BLAKE2B 0855a5400194c53dc8d5bd7984feaf491feecd192f64c64fe8357eca3bc00ae7108beff6c2d294498102b1145ee86b34be58aa31581095b5ddf688c6cafbed59 SHA512 916debef11bf13ee5eda029b5c067525a94baafd7b72308884ebd2c76259ff3ecf6dcd6725aad7c0dbaf9383aad0b1293d08bbddbfc06a0f5e556242b21e8fa6 +MISC metadata.xml 357 BLAKE2B 92788e73f724c0a4de633ee3b5a4f4b07c487b82de01a57ef7d2829b5f3f75617eda10727e8499f3d243360a7afcec28427e495f72d2ba48d6e32893865d3a33 SHA512 51a7291b12ee0c0f12cf55a0d24d8e2dd3cf44f9ef2023caa9c457b659dc677a9882512472525073c17717a7f56180c94a88a40d3db2d33bd843e31ca862739d diff --git a/games-arcade/spacerider/files/spacerider-0.13-font.patch b/games-arcade/spacerider/files/spacerider-0.13-font.patch new file mode 100644 index 000000000000..87732a106633 --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-font.patch @@ -0,0 +1,14 @@ +Ugly brute-force method for avoiding a double-free segfault on exit. +Better patch welcome. + +--- a/spacerider.cpp.orig 2015-03-31 23:24:17.770966147 -0400 ++++ b/spacerider.cpp 2015-03-31 23:24:41.592174463 -0400 +@@ -306,8 +306,6 @@ + /* free screen */ + SDL_FreeSurface(screen); + } +- /* call the TTF-Library cleanup function */ +- TTF_Quit(); + + /* call the NET-Library cleanup function */ + SDLNet_Quit(); diff --git a/games-arcade/spacerider/files/spacerider-0.13-gcc41.patch b/games-arcade/spacerider/files/spacerider-0.13-gcc41.patch new file mode 100644 index 000000000000..e5524b6e6430 --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-gcc41.patch @@ -0,0 +1,10 @@ +--- a/spacerider.cpp.old 2007-02-18 11:25:38.000000000 +0100 ++++ b/spacerider.cpp 2007-02-18 11:27:00.000000000 +0100 +@@ -17,6 +17,7 @@ + #include <unistd.h> + } + ++int send_score_thread(void *param); + + Spacerider::Spacerider(const int argc, char *argv[]) : fullscreen(FULLSCREEN), game_over(false), online_highscore(ONLINE_HIGHSCORE), score_sent(false), name_input(true), highscore_thread_started(false), scroll(0), last_enemy(0), score(0), lives(LIVES), fps(FPS) + { diff --git a/games-arcade/spacerider/files/spacerider-0.13-gcc49.patch b/games-arcade/spacerider/files/spacerider-0.13-gcc49.patch new file mode 100644 index 000000000000..b4d5ca6d5764 --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-gcc49.patch @@ -0,0 +1,22 @@ +--- a/effect.cpp.orig 2015-03-31 22:36:53.336131373 -0400 ++++ b/effect.cpp 2015-03-31 22:37:04.359755281 -0400 +@@ -18,7 +18,7 @@ + void Effect::add(const int x, const int y) + { + object_struct *effect; +- if((effect = add_object(x, y)) == NULL) ++ if((effect = add_object(x, y, 0, 0)) == NULL) + { + return; + } +--- a/object.h.orig 2015-03-31 22:35:22.939214561 -0400 ++++ b/object.h 2015-03-31 22:37:19.654233441 -0400 +@@ -172,7 +172,7 @@ + return object->next; + } + +-template <class T>struct Object<T>::object_struct *Object<T>::add_object(const int x, const int y, const int speedx = 0, const int speedy = 0) ++template <class T>struct Object<T>::object_struct *Object<T>::add_object(const int x, const int y, const int speedx, const int speedy) + { + object_struct *object; + diff --git a/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch new file mode 100644 index 000000000000..ecfdcc513cd0 --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-gentoo.patch @@ -0,0 +1,27 @@ +--- a/Makefile ++++ b/Makefile +@@ -3,12 +3,12 @@ + BINDIR=/usr/bin/ + MANDIR=/usr/share/man/man1/ + DATADIR=/usr/share/games/spacerider/ +-CXX=g++ ++CXX?=g++ + CP=cp + MKDIR=mkdir -p + INSTALL=install + RM=rm -f +-CXXFLAGS=-Wall -fomit-frame-pointer -O3 `sdl-config --cflags` ++CXXFLAGS+=$(shell sdl-config --cflags) + OBJS=main.o globals.o spacerider.o music.o sprite.o enemy.o effect.o visible.o box.o features.o font.o image.o bullet.o + OUTPUT=spacerider + LIBS=`sdl-config --libs` -lSDL_image -lSDL_ttf -lSDL_mixer -lSDL_net -lSDL_gfx +@@ -22,8 +22,7 @@ + + + $(OUTPUT): $(OBJS) +- $(CXX) $(CXXFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) +- strip $(OUTPUT) ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $(OUTPUT) $(OBJS) $(LIBS) + + %.o: %.cpp + $(CXX) $(CXXFLAGS) -c $< diff --git a/games-arcade/spacerider/files/spacerider-0.13-ovflfix.patch b/games-arcade/spacerider/files/spacerider-0.13-ovflfix.patch new file mode 100644 index 000000000000..c590400f649f --- /dev/null +++ b/games-arcade/spacerider/files/spacerider-0.13-ovflfix.patch @@ -0,0 +1,11 @@ +--- a/spacerider.cpp.old 2010-10-29 10:12:19.000000000 +0200 ++++ b/spacerider.cpp 2010-10-29 10:13:47.000000000 +0200 +@@ -112,7 +112,7 @@ + break; + case 'n': + /* specify a name for the online-highscore */ +- strncpy(name, optarg, 128); ++ strncpy(name, optarg, sizeof (name)); + online_highscore = true; + break; + case 't': diff --git a/games-arcade/spacerider/metadata.xml b/games-arcade/spacerider/metadata.xml new file mode 100644 index 000000000000..6d3980e569e5 --- /dev/null +++ b/games-arcade/spacerider/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> +<longdescription lang="en"> +spacerider is a space-shooter written in C++, using the SDL. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/spacerider/spacerider-0.13-r1.ebuild b/games-arcade/spacerider/spacerider-0.13-r1.ebuild new file mode 100644 index 000000000000..8cf24d976f7d --- /dev/null +++ b/games-arcade/spacerider/spacerider-0.13-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Space-shooter written in C++, using the SDL" +HOMEPAGE="http://www.hackl.dhs.org/spacerider/" +SRC_URI="mirror://gentoo/${P}.tar.bz2" # stupid php script + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-gfx + media-libs/sdl-mixer + media-libs/sdl-image[jpeg] + media-libs/sdl-net + media-libs/sdl-ttf" +RDEPEND="${DEPEND}" + +src_prepare() { + default + eapply "${FILESDIR}/${P}"-gentoo.patch \ + "${FILESDIR}/${P}"-gcc41.patch \ + "${FILESDIR}"/${P}-ovflfix.patch \ + "${FILESDIR}"/${P}-gcc49.patch \ + "${FILESDIR}"/${P}-font.patch + sed -i \ + -e "s:/usr/share/games/spacerider:/usr/share/${PN}:" \ + globals.cpp || die +} + +src_install() { + dobin ${PN} + insinto "/usr/share/${PN}" + doins -r data + einstalldocs + newman ${PN}.{1,6} + newicon data/sprites/star_monster1/1.bmp ${PN}.bmp + make_desktop_entry ${PN} Spacerider /usr/share/pixmaps/${PN}.bmp +} diff --git a/games-arcade/spout-1.3-r1 b/games-arcade/spout-1.3-r1 deleted file mode 100644 index 4aeb52633d29..000000000000 --- a/games-arcade/spout-1.3-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install postinst -DEPEND=>=media-libs/libsdl-1.2.6 -DESCRIPTION=Abstract Japanese caveflier / shooter -EAPI=6 -HOMEPAGE=http://freshmeat.net/projects/spout/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=LGPL-2 -RDEPEND=>=media-libs/libsdl-1.2.6 -SLOT=0 -SRC_URI=http://rohanpm.net/files/old/spout-unix-1.3.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 readme.gentoo-r1 54aecea034d5e90bdb0684b80da5c9f3 -_md5_=0df36a69309862cf448bb6228ba45327 diff --git a/games-arcade/spout/Manifest b/games-arcade/spout/Manifest new file mode 100644 index 000000000000..41920a399fbc --- /dev/null +++ b/games-arcade/spout/Manifest @@ -0,0 +1,3 @@ +DIST spout-unix-1.3.tar.bz2 92144 BLAKE2B 4512a3f47fddfbed7471fe81f8a7fa296f44aa12b3e3b69c0d665a4f95c82508460ab007a798c098ccbea68f1ccc827699f8428203e1217ea7a493e96810771c SHA512 46ed12a617a4084e8a5d1da56799fe7784ed288a254385b109ced6138ce904e658a44af445c1577112a3701a0b108fc886e3d06df41743b0d82b028eb8a846d6 +EBUILD spout-1.3-r1.ebuild 960 BLAKE2B 3a01a39fccda8a3fee2df1db0f3629d9d37a5aa777381fd2cc650f5f1a8dbb8ed51a548d98b1175a24d83fd81a50d6e54e02c21a1b98b771fd7e23ca2ade0d4b SHA512 debffeaa7e28627861ab768ad0caa241500cb282ff95e42a3c3938695bbcef36ce1f7df1cf92227668061472d3917490c331516aa6397617ba49f56fee7b7cce +MISC metadata.xml 326 BLAKE2B 850fd4b72c1d6f35416e4950315f83ad45cb8f30baad1c103497f5829b36417e578ef45e43218b2cac33a464a728580fb4fa7ff0a769e0d634d0bdd237d5b6bd SHA512 6dcfdd1cb6906123842e4cc0262237fff7f99f1744cf1a798e42d42da560e866b16f898a71d996cdcdd27d818f92dbd19745a023cd963f9d762e49003beb92ea diff --git a/games-arcade/spout/metadata.xml b/games-arcade/spout/metadata.xml new file mode 100644 index 000000000000..2e04b38a71db --- /dev/null +++ b/games-arcade/spout/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">spout</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/spout/spout-1.3-r1.ebuild b/games-arcade/spout/spout-1.3-r1.ebuild new file mode 100644 index 000000000000..b9ba1a3b7a60 --- /dev/null +++ b/games-arcade/spout/spout-1.3-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop readme.gentoo-r1 + +MY_P="spout-unix-${PV}" +DESCRIPTION="Abstract Japanese caveflier / shooter" +HOMEPAGE="http://freshmeat.net/projects/spout/" +SRC_URI="http://rohanpm.net/files/old/${MY_P}.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.6" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +To play in fullscreen mode, do 'spout f'. +To play in a greater resolution, do 'spout x', where +x is an integer; the larger x is, the higher the resolution. + +To play: +* Accelerate - spacebar, enter, z, x +* Pause - escape +* Exit - shift+escape +* Rotate - left or right +" + +src_install() { + dobin spout + doicon spout.png + make_desktop_entry spout "Spout" + einstalldocs + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/games-arcade/stardork-0.7-r1 b/games-arcade/stardork-0.7-r1 deleted file mode 100644 index ee1c58b5bf87..000000000000 --- a/games-arcade/stardork-0.7-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=sys-libs/ncurses:0= virtual/pkgconfig -DESCRIPTION=An ncurses-based space shooter -EAPI=6 -HOMEPAGE=http://stardork.sourceforge.net/ -KEYWORDS=~amd64 ~ppc64 ~x86 -LICENSE=GPL-2 -RDEPEND=sys-libs/ncurses:0= -SLOT=0 -SRC_URI=mirror://sourceforge/stardork/stardork-0.7.tar.gz -_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=13094b5bf3c82a83bca7e3766ec94508 diff --git a/games-arcade/stardork/Manifest b/games-arcade/stardork/Manifest new file mode 100644 index 000000000000..a5f5e8e2e8f6 --- /dev/null +++ b/games-arcade/stardork/Manifest @@ -0,0 +1,3 @@ +DIST stardork-0.7.tar.gz 3951 BLAKE2B a35e8ceed5b5a6eb210408d6a7a32e2c38a3e2bbd05458055e44a1866b1bd0d2f222a6dce8ee8cbf6fe11d0c0541095ae0d9bad8e0b883ea74fd255e96364019 SHA512 3726b55cc2f107a0d69580b3c30406ea2596769433db915d4b3bded4345611c9d67596cbf373b19671960909d0bfdfc997d5c41d677f0309317445aeadcae733 +EBUILD stardork-0.7-r1.ebuild 593 BLAKE2B e65d8708d524c06dcd4f1dabff799f4a39d0160c7983d7174f0648cece2b3369724e1cb906af291479974910a5a593c4c797d60a7e90c90e95fbed05fa360a34 SHA512 dd679250b1555a16e44b5897b240552a6f0cc1a514090d8095c9618a39a9e7112e71ec09033639efe739e10df6db01366c5eb7ab5b1c310aba0e78907a83cca5 +MISC metadata.xml 331 BLAKE2B a08b7d4e1bf2c2afac8b4aaf9ac40efb25aa1cfd8227a1a51371a9fc893a7219f21438134d479f739b7f9e5d7fe668199c9392fdfd08b7248423092f69da0351 SHA512 b02a062748ef75daffb05cb8fbd3ea3eddea2f60b2aa64fbb6d7edb6529f260c60ec56d32f799e437d6dae4ce4b09c381afe8fee145d7c82672e52c830d1caed diff --git a/games-arcade/stardork/metadata.xml b/games-arcade/stardork/metadata.xml new file mode 100644 index 000000000000..9ec7c6ba6559 --- /dev/null +++ b/games-arcade/stardork/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">stardork</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/stardork/stardork-0.7-r1.ebuild b/games-arcade/stardork/stardork-0.7-r1.ebuild new file mode 100644 index 000000000000..d2458f6571f1 --- /dev/null +++ b/games-arcade/stardork/stardork-0.7-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="An ncurses-based space shooter" +HOMEPAGE="http://stardork.sourceforge.net/" +SRC_URI="mirror://sourceforge/stardork/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +RDEPEND="sys-libs/ncurses:0=" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + default + rm -f Makefile +} + +src_compile() { + emake CC="$(tc-getCC)" LDLIBS="$(pkg-config ncurses --libs)" ${PN} +} + +src_install() { + dobin ${PN} + einstalldocs +} diff --git a/games-arcade/supertransball2-1.5-r1 b/games-arcade/supertransball2-1.5-r1 deleted file mode 100644 index 724fd58911ec..000000000000 --- a/games-arcade/supertransball2-1.5-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install prepare unpack -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image media-libs/sdl-mixer media-libs/sdl-sound media-libs/sge app-arch/unzip -DESCRIPTION=Thrust clone -EAPI=6 -HOMEPAGE=http://www.braingames.getput.com/stransball2/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image media-libs/sdl-mixer media-libs/sdl-sound media-libs/sge -SLOT=0 -SRC_URI=http://braingames.bugreport.nl/stransball2/stransball2-v15-linux.zip mirror://debian/pool/main/s/supertransball2/supertransball2_1.5-8.debian.tar.xz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f versionator 26ca8a8bd95d6a74122c08ba98a4ee72 -_md5_=b0de973d27cb4423fae1289a32dc43f8 diff --git a/games-arcade/supertransball2/Manifest b/games-arcade/supertransball2/Manifest new file mode 100644 index 000000000000..dfc7559f0a85 --- /dev/null +++ b/games-arcade/supertransball2/Manifest @@ -0,0 +1,4 @@ +DIST stransball2-v15-linux.zip 302212 BLAKE2B 8b45e32f37c805e75ba0d19ef004d75baea689fe87e946d50301cef01230492fd531b4100bc6200a261c24463443b2811faea8d200d15b15af0c884dbc285d2a SHA512 e87655dfca039c0c8553372b4da139f1d8fa420aad1909b422318dc049a9f7972c8d2398b83fde677b3eaf21d2d70fad73d7ec0c4b7bcbeacbf3544e6e575f6a +DIST supertransball2_1.5-8.debian.tar.xz 26148 BLAKE2B 50ada1b6976da9686aa5cabd5e3a04222e30f9c69565018eebe51271842842dab88829c0672d7375995e3835c3be4983c8990e736278177d7d10596ed2453a0c SHA512 efbb8517b73d4413755663f96aa01eb679b43876091920a6d9a9fc0a31d001828aa536ac59e74172fa519d14b1dff117c150c022fb8f3898efbee2901a418a53 +EBUILD supertransball2-1.5-r1.ebuild 1346 BLAKE2B 5614b4f90e27a8da89bafa0562b8fc5414aeb9fefb9f7b76e37baf2bd5b295fcdd0feff5cb9b57875737d6f8561a9aca8844fbce40549ca58e20da9f81706e45 SHA512 eb13c56975274f9b2f88cfe4abe7221422e4206ba272848d6b2a912af0f73a5315f413b033b0109a40561ccab86e7811e319a8fd364a7f592e0794341f9d117f +MISC metadata.xml 732 BLAKE2B 02a55b153806bf73c5f777a196d4bcaa79f3bf4155eda30b792b56ba1289df14c5d8597e38b1a2b122d7b53c4792e589a01b57bf31fafbae99333b3dead5e9f8 SHA512 ff6eef56c6c80e08bac6a0d2ce6f848d22e90c1326a2a3e0927c04fdabe38cd0736b8f3555cd8f0743d1ba6cc5094946488cb0b9cf1c1db4ee4176f3bde79e8d diff --git a/games-arcade/supertransball2/metadata.xml b/games-arcade/supertransball2/metadata.xml new file mode 100644 index 000000000000..e1b87682aaf5 --- /dev/null +++ b/games-arcade/supertransball2/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> +<longdescription lang="en"> +"Super Transbal 2" is the sequel of "Transball" and "Transball 2", Inspired in +THRUST type of games (and concretely in ZARA THRUSTA for the Amiga 500). In each +level of Transball, the goal is to find the SPHERE, capture it and carry it to +the upper part of the level. The main obstacle is the gravity, that impulses you +towards the ground. But many other obstacles, canons, tanks, doors, etc. will +try to make difficult your journey... +</longdescription> +</pkgmetadata> diff --git a/games-arcade/supertransball2/supertransball2-1.5-r1.ebuild b/games-arcade/supertransball2/supertransball2-1.5-r1.ebuild new file mode 100644 index 000000000000..96768ec7e1cd --- /dev/null +++ b/games-arcade/supertransball2/supertransball2-1.5-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit epatch desktop versionator + +MY_PV="$(delete_all_version_separators)" +MY_P="stransball2-v${MY_PV}" +FILE="${MY_P}-linux" + +DESCRIPTION="Thrust clone" +HOMEPAGE="http://www.braingames.getput.com/stransball2/" +SRC_URI="http://braingames.bugreport.nl/stransball2/${FILE}.zip + mirror://debian/pool/main/s/${PN}/${PN}_${PV}-8.debian.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + media-libs/libsdl[sound,video] + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-sound + media-libs/sge +" +DEPEND="${RDEPEND} + app-arch/unzip +" + +S="${WORKDIR}/${P}/sources" + +src_unpack() { + unpack ${A} + mv -f "${FILE}" ${P} +} + +src_prepare() { + default + sed -i \ + -e "s:/usr/share/games:/usr/share:" \ + "${WORKDIR}"/debian/patches/0001-Fix-unix-paths-and-Makefile.patch || die + + epatch "${WORKDIR}"/debian/patches/*.patch + + sed -i \ + -e "s: -I/usr/local/include/SDL::" \ + -e "s:-g3 -O3:\$(CXXFLAGS):" \ + -e "s:c++:\$(CXX):" \ + Makefile || die "sed Makefile failed" +} + +src_install() { + cd .. + dobin ${PN} + + doicon ../debian/${PN}.png + make_desktop_entry ${PN} "Super Transball 2" + dodoc readme.txt + doman ../debian/supertransball2.6 + + insinto "/usr/share/${PN}" + doins -r demos graphics maps sound +} diff --git a/games-arcade/supertux-0.5.1 b/games-arcade/supertux-0.5.1 deleted file mode 100644 index c90985255c91..000000000000 --- a/games-arcade/supertux-0.5.1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=dev-games/physfs dev-libs/boost:= media-libs/glew:= virtual/opengl media-libs/libvorbis media-libs/openal >=media-libs/libsdl2-2.0.1[joystick,video] >=media-libs/sdl2-image-2.0.0[png,jpeg] >=net-misc/curl-7.21.7 virtual/pkgconfig dev-util/ninja >=dev-util/cmake-3.9.6 -DESCRIPTION=A game similar to Super Mario Bros. -EAPI=6 -HOMEPAGE=https://supertux.org/ -IUSE=debug -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2+ GPL-3+ ZLIB MIT CC-BY-SA-2.0 CC-BY-SA-3.0 -RDEPEND=dev-games/physfs dev-libs/boost:= media-libs/glew:= virtual/opengl media-libs/libvorbis media-libs/openal >=media-libs/libsdl2-2.0.1[joystick,video] >=media-libs/sdl2-image-2.0.0[png,jpeg] >=net-misc/curl-7.21.7 -SLOT=0 -SRC_URI=https://github.com/SuperTux/supertux/releases/download/v0.5.1/SuperTux-v0.5.1-Source.tar.gz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=67691f5894e5bda83431da8914d5660a diff --git a/games-arcade/supertux/Manifest b/games-arcade/supertux/Manifest new file mode 100644 index 000000000000..520ddb9e7622 --- /dev/null +++ b/games-arcade/supertux/Manifest @@ -0,0 +1,9 @@ +AUX supertux-0.4.0-desktop.patch 347 BLAKE2B fd34f3607975c4715dbba48e87c1090b992927e8ef5cd94a9054ea62de4bd79dcaa1b74e14a7af55aba68c06abc61311cfef2e2fd5ac79c78b86698dcc1579c4 SHA512 cc73bafd7862c52e7e52a2bb6b9198e731ae3c63a2c15a99df291a121c82b0f3daf5ffcbd565a3ba8bbbabf1d339ff88cfcd01549a0ea8846ad9a0c98961cec0 +AUX supertux-0.4.0-icon.patch 546 BLAKE2B c5e26bdb22cee7ffd8a3d9a9f87e0c2a486c4eb6857a7f9754106bac3fdcd80d2e95c7b62af2dcb32f34abd25af93d4de5d69a449ee1232ebc87a27d6319b6c0 SHA512 538adade8a8fafb187f893cdf870a9b212df52cc0c7d54d94438cfc4f4ddcaf871817aacac306656a6201dae70581de608a76694530e3d1138c70e5937f5fb6c +AUX supertux-0.4.0-license.patch 599 BLAKE2B a89b596876956f260de582d7f31e1b8ded03471e5fbefd0cf9214dd95a54c889b295707becfbf9f98d32269e414acf498713cae47ae882604e8683eac926086a SHA512 d3609c7d0053d8f2bdaf4f91449ba71d8c2a2509bb6718393e06add5ff9b59a3dc78f70fcdb7ace4f73eab9325ab5ef64cf9399c0e65a9b31f5fc4bfeb6bb751 +AUX supertux-0.5.0-obstack.patch 958 BLAKE2B 41da812369a4a64040e7759a4c56a7b3fb42898f50fc58ef03d76a9c27cc904db9909223eee98f9f5a7f12b5c0fde295701633eab308fe495333df3989071de7 SHA512 aecba33369bb255c9fef8e0ed873d7c457ddd85340f2788bd3f517b1a126e943e0ec1085239f1fea7eb242d0344efaa5ddeaa14865cc61a6863dab44b854f9ed +AUX supertux-0.5.0-tinygettext.patch 920 BLAKE2B 9558c2df82a03e1893ae10c0f283f257fda90493947e4fbaec24a6e4d540e0dcf28505be92be3224b4cb5f6ca978abc09adac0b86503132203e9ce0cacf2b1c2 SHA512 eaf1c0ca534cb6d0cd216bd69283856bdad46830210edb6b00d4d382b2a2045eede8e96fa7b1832e8e2246144452b59a82966621441362c56c8bd3ace758097e +AUX supertux-0.5.1-ninja.patch 1045 BLAKE2B 2f59d8fdf05e1994ae9690cdce001ea6235f8c06e7438eba41b54264e631188210591adce6d212f08a497c31cca9f08542b4dff1cac4568b0fdb4410eaaecdb6 SHA512 8b877ab382913d74db9890bf19867efc0c6ff4a5901a679ffbfbe72142341e61c804e1f4def1bd1157f3f144b50f2eca143420b08940eeaaed93a9b8fc1c8d5d +DIST SuperTux-v0.5.1-Source.tar.gz 90564367 BLAKE2B ba6549c135655d59ebbbed1431baf30cce1e0fb1bcdaee3dd050732992a02bb4dbd25b5399c83d3a7145f8afd20b3e8f4471007d424d2bc40c906d6121678123 SHA512 1a841cec9b71ff482aa271ec94f0563052ed33c65b26958c15c818f897f184356605a115abb70bdb8302f8cdb6e6107cf336790c3929cbc7e3dc78d31b4e2c8a +EBUILD supertux-0.5.1.ebuild 1502 BLAKE2B fdda1513fc69f1c990243b3375e6e5f11dc46bef8434331a6b28aa0b3e78db1c2af81765a1b71d69b953721b68e24d64de1cc4a074773421e2312d09894851f7 SHA512 af5b234a5893f3162a88e006758f3d3ffc8631a3dd18d422a9ca598fbc00ff933fe62ed51ddbcfefecbfca9d10e74a609b06575d14398f842f5477e551292c01 +MISC metadata.xml 389 BLAKE2B 960cbba61ef7e12c35b66f36620ba2570e159517b06a520b0c233496c0910b2949f4f87b789f3c948621b6beb2ba0a4d5e8bdb277516213cbbc115d31af58698 SHA512 e61b89a6c0da8bf74f2b126e185fbf4be02b7ac7bc80082bd4c6e80384ab00db73a196af1ed9448a31435dbb62768b7eee8c8e64a40c51a6257bffe8170deb65 diff --git a/games-arcade/supertux/files/supertux-0.4.0-desktop.patch b/games-arcade/supertux/files/supertux-0.4.0-desktop.patch new file mode 100644 index 000000000000..74a087263368 --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.4.0-desktop.patch @@ -0,0 +1,11 @@ +--- a/supertux2.desktop ++++ b/supertux2.desktop +@@ -35,7 +35,7 @@ + Comment[pt]=Joga este clássico de plataformas 2D + Comment[pt_BR]=Encarne o pinguin Tux neste jogo inspirado em clássicos de Pular&Correr + Comment[hu]=Egy klasszikus 2D-s oldalnézeti játék +-Icon=supertux.png ++Icon=supertux + Exec=supertux2 + Terminal=false + StartupNotify=false diff --git a/games-arcade/supertux/files/supertux-0.4.0-icon.patch b/games-arcade/supertux/files/supertux-0.4.0-icon.patch new file mode 100644 index 000000000000..66be0ebe493b --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.4.0-icon.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -571,7 +571,7 @@ + + SET(APPS "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${INSTALL_SUBDIR_BIN}/supertux2") + +- INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.png ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.xpm DESTINATION "share/pixmaps/") ++ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/images/engine/icons/supertux.png DESTINATION "share/pixmaps/") + + ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin" AND DISABLE_CPACK_BUNDLING) + ENDIF(WIN32 AND NOT UNIX) diff --git a/games-arcade/supertux/files/supertux-0.4.0-license.patch b/games-arcade/supertux/files/supertux-0.4.0-license.patch new file mode 100644 index 000000000000..e35f85ce416f --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.4.0-license.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -578,7 +578,7 @@ + + INSTALL(TARGETS supertux2_exe DESTINATION ${INSTALL_SUBDIR_BIN}) + +-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/INSTALL.md ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt ${CMAKE_CURRENT_SOURCE_DIR}/NEWS.md DESTINATION ${INSTALL_SUBDIR_DOC}) ++INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/INSTALL.md ${CMAKE_CURRENT_SOURCE_DIR}/README.md ${CMAKE_CURRENT_SOURCE_DIR}/NEWS.md DESTINATION ${INSTALL_SUBDIR_DOC}) + + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/credits.txt DESTINATION ${INSTALL_SUBDIR_SHARE}) + diff --git a/games-arcade/supertux/files/supertux-0.5.0-obstack.patch b/games-arcade/supertux/files/supertux-0.5.0-obstack.patch new file mode 100644 index 000000000000..1b05369f67f3 --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.5.0-obstack.patch @@ -0,0 +1,19 @@ +--- supertux-0.5.0/CMakeLists.txt ++++ supertux-0.5.0/CMakeLists.txt +@@ -382,7 +382,6 @@ + include_directories(${CMAKE_BINARY_DIR}/) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/) + include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/external/findlocale/) +-include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/external/obstack/) + include_directories(SYSTEM ${CMAKE_CURRENT_SOURCE_DIR}/external/sexp-cpp/include/) + + IF(WIN32) +@@ -392,7 +391,7 @@ + + ## Build list of sources for supertux binary + +-FILE(GLOB SUPERTUX_SOURCES_C RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} external/obstack/*.c external/findlocale/findlocale.c) ++FILE(GLOB SUPERTUX_SOURCES_C RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} external/findlocale/findlocale.c) + + FILE(GLOB SUPERTUX_SOURCES_CXX RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} src/*/*.cpp src/supertux/menu/*.cpp src/video/sdl/*.cpp) + FILE(GLOB SUPERTUX_RESOURCES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${PROJECT_BINARY_DIR}/tmp/*.rc") diff --git a/games-arcade/supertux/files/supertux-0.5.0-tinygettext.patch b/games-arcade/supertux/files/supertux-0.5.0-tinygettext.patch new file mode 100644 index 000000000000..3bedc38eb803 --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.5.0-tinygettext.patch @@ -0,0 +1,30 @@ +--- SuperTux-v0.5.0-Source/external/tinygettext/CMakeLists.txt ++++ SuperTux-v0.5.0-Source/external/tinygettext/CMakeLists.txt +@@ -59,7 +59,7 @@ + ) + + ## Reveal library type choice to users +-option(BUILD_SHARED_LIBS "Produce dynamic library instead of static archive" ON) ++option(BUILD_SHARED_LIBS "Produce dynamic library instead of static archive" OFF) + + # TinyGetText library compilation + +@@ -128,17 +128,7 @@ + ## Debug options + + option(WERROR "Stops on first compiler warning in debug mode" OFF) +-option(WARNINGS "Enable long list of warnings for compiler to check" ON) +- +-CHECK_CXX_FLAG(std=c++0x) +-CHECK_CXX_FLAG(O3) +-IF(NOT MSVC) +- #MSVC is excessivly verbose when Wall is activated +- CHECK_CXX_FLAG(Wall) +-ENDIF() +-CHECK_CXX_FLAG(Wextra) +-CHECK_CXX_FLAG(Weffc++) +-CHECK_CXX_FLAG(pedantic) ++option(WARNINGS "Enable long list of warnings for compiler to check" OFF) + + if(WARNINGS) + CHECK_CXX_FLAG(Wabi) diff --git a/games-arcade/supertux/files/supertux-0.5.1-ninja.patch b/games-arcade/supertux/files/supertux-0.5.1-ninja.patch new file mode 100644 index 000000000000..d5181177fdcd --- /dev/null +++ b/games-arcade/supertux/files/supertux-0.5.1-ninja.patch @@ -0,0 +1,30 @@ +Allow building with ninja instead of CMake, see also: + + https://bugs.gentoo.org/649458 + https://cmake.org/pipermail/cmake/2015-April/060234.html + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -332,7 +332,10 @@ + -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} + -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} + -DCMAKE_INSTALL_PREFIX=${SQUIRREL_PREFIX} +- -DINSTALL_INC_DIR=include) ++ -DINSTALL_INC_DIR=include ++ BUILD_BYPRODUCTS ++ squirrel/lib/libsquirrel_static.a ++ squirrel/lib/libsqstdlib_static.a) + + IF(WIN32) + ADD_LIBRARY(squirrel_lib SHARED IMPORTED) +@@ -370,7 +373,9 @@ + -DHAVE_SDL=ON + -DCMAKE_INSTALL_PREFIX=${TINYGETTEXT_PREFIX} + -DSDL2_INCLUDE_DIRS=${SDL2_INCLUDE_DIRS} +- -DLIB_SUFFIX=${LIB_SUFFIX}) ++ -DLIB_SUFFIX=${LIB_SUFFIX} ++ BUILD_BYPRODUCTS ++ tinygettext/lib${LIB_SUFFIX}/libtinygettext.a) + + ADD_LIBRARY(tinygettext_lib STATIC IMPORTED) + SET_TARGET_PROPERTIES(tinygettext_lib PROPERTIES IMPORTED_LOCATION "${TINYGETTEXT_PREFIX}/lib${LIB_SUFFIX}/${CMAKE_STATIC_LIBRARY_PREFIX}tinygettext${CMAKE_STATIC_LIBRARY_SUFFIX}") diff --git a/games-arcade/supertux/metadata.xml b/games-arcade/supertux/metadata.xml new file mode 100644 index 000000000000..f4836cbdbe41 --- /dev/null +++ b/games-arcade/supertux/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">super-tux</remote-id> + <remote-id type="github">SuperTux/supertux</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/supertux/supertux-0.5.1.ebuild b/games-arcade/supertux/supertux-0.5.1.ebuild new file mode 100644 index 000000000000..c1773f3228cd --- /dev/null +++ b/games-arcade/supertux/supertux-0.5.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +inherit cmake-utils flag-o-matic + +MY_P="SuperTux-v${PV}-Source" + +DESCRIPTION="A game similar to Super Mario Bros." +HOMEPAGE="https://supertux.org/" +SRC_URI="https://github.com/SuperTux/${PN}/releases/download/v${PV}/${MY_P}.tar.gz" + +LICENSE="GPL-2+ GPL-3+ ZLIB MIT CC-BY-SA-2.0 CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND="dev-games/physfs + dev-libs/boost:= + media-libs/glew:= + virtual/opengl + media-libs/libvorbis + media-libs/openal + >=media-libs/libsdl2-2.0.1[joystick,video] + >=media-libs/sdl2-image-2.0.0[png,jpeg] + >=net-misc/curl-7.21.7" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.4.0-{desktop,license,icon}.patch + "${FILESDIR}"/${PN}-0.5.0-{obstack,tinygettext}.patch + "${FILESDIR}"/${PN}-0.5.1-ninja.patch +) + +src_prepare() { + cmake-utils_src_prepare + + # This is not a developer release so switch the logo to the non-dev one. + sed -e 's@logo_dev@logo@' \ + -i data/images/objects/logo/logo.sprite || die +} + +src_configure() { + append-cxxflags -std=c++11 + + local mycmakeargs=( + -DWERROR=OFF + -DINSTALL_SUBDIR_BIN=bin + -DINSTALL_SUBDIR_DOC=share/doc/${PF} + -DINSTALL_SUBDIR_SHARE=share/${PN}2 + -DENABLE_SQDBG="$(usex debug)" + -DENABLE_BOOST_STATIC_LIBS=OFF # bug! Please check if this is still required. + -DUSE_SYSTEM_PHYSFS=ON + ) + cmake-utils_src_configure +} diff --git a/games-arcade/syobon-1.0.1-r1 b/games-arcade/syobon-1.0.1-r1 deleted file mode 100644 index 3b90731e482f..000000000000 --- a/games-arcade/syobon-1.0.1-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install -DEPEND=media-libs/libsdl[sound,video,joystick] media-libs/sdl-gfx media-libs/sdl-image[png] media-libs/sdl-ttf media-libs/sdl-mixer[vorbis] virtual/pkgconfig -DESCRIPTION=Syobon Action (also known as Cat Mario or Neko Mario) -EAPI=6 -HOMEPAGE=http://zapek.com/?p=189 -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,video,joystick] media-libs/sdl-gfx media-libs/sdl-image[png] media-libs/sdl-ttf media-libs/sdl-mixer[vorbis] -SLOT=0 -SRC_URI=http://download.zapek.com/software/syobon/syobon_1.0.1_src.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=048edf46c3a5dbb0d59f683b56473d98 diff --git a/games-arcade/syobon/Manifest b/games-arcade/syobon/Manifest new file mode 100644 index 000000000000..a55aba692267 --- /dev/null +++ b/games-arcade/syobon/Manifest @@ -0,0 +1,3 @@ +DIST syobon_1.0.1_src.tar.gz 2721153 BLAKE2B 4e5dd2689f531478aef2bc5f6723da1b0c2bcf04bd532775f6883660aedcd4226f9f42dc1ce5d19baa0d4544b4ff3084195a06ffef732cc9adbae412f1c7fd6a SHA512 9a8ff389bb23563a16f1b56aefdb93cf0ee5be74c6d48276ce76a17159bc021f517a69eb300a1c17ee81d4112ba26f0d386a1e2e37bced681044c3a3ca4f7ca5 +EBUILD syobon-1.0.1-r1.ebuild 772 BLAKE2B 6512720e67757b7b7a819dc5d0d8b6f2f40bd7e05e0de7f3884d51dd3f0e1499d3bc7e4b750304be0ce8b21eea84ae3a6da21af2619203757c6edfd7e97ff886 SHA512 27130ae3a6ea68707e492510c1741c745ed1daf2b1439ce7ed2ec692c7ce542690e5b1b7e74afeff332fb965722c742caaae09a76f6ae74632cb6b359be52cbc +MISC metadata.xml 447 BLAKE2B a8c3653a831764ec241f5e4448fa03df5b3e13fc18e188864027dac2302195719428f2c7553159140624d496bc94c5b76f83192bcfb5b4e485d2d186845bf0d9 SHA512 e05cc20ab94d71e669fd1b3048226a34585c76bfd30d92e1cc997301d8f100242c190c8770eb28a61b338347a5c0666e76c564e46a2692304f0d67246a0eb2f5 diff --git a/games-arcade/syobon/metadata.xml b/games-arcade/syobon/metadata.xml new file mode 100644 index 000000000000..2febf6c19b63 --- /dev/null +++ b/games-arcade/syobon/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> +<longdescription> +Syobon Action (also known as Cat Mario or Neko Mario) is a platform game with a similar gameplay experience as Super Mario Bros, except it's a lot more difficult. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/syobon/syobon-1.0.1-r1.ebuild b/games-arcade/syobon/syobon-1.0.1-r1.ebuild new file mode 100644 index 000000000000..c0bb5d581bbb --- /dev/null +++ b/games-arcade/syobon/syobon-1.0.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +MY_P="${PN}_${PV}_src" + +DESCRIPTION="Syobon Action (also known as Cat Mario or Neko Mario)" +HOMEPAGE="http://zapek.com/?p=189" +SRC_URI="http://download.zapek.com/software/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + media-libs/libsdl[sound,video,joystick] + media-libs/sdl-gfx + media-libs/sdl-image[png] + media-libs/sdl-ttf + media-libs/sdl-mixer[vorbis] +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/${PN}" + +src_compile() { + emake GAMEDATA="/usr/share/${PN}" +} + +src_install() { + dobin ${PN} + + insinto "/usr/share/${PN}" + doins -r BGM SE res + einstalldocs + + make_desktop_entry ${PN} +} diff --git a/games-arcade/tecnoballz-0.92 b/games-arcade/tecnoballz-0.92 deleted file mode 100644 index 5364ba9b6074..000000000000 --- a/games-arcade/tecnoballz-0.92 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=media-libs/libsdl media-libs/sdl-mixer media-libs/sdl-image[png] media-libs/libmikmod:0 >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=An exciting Brick Breaker -EAPI=5 -HOMEPAGE=http://linux.tlk.fr/games/TecnoballZ/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-3 -RDEPEND=media-libs/libsdl media-libs/sdl-mixer media-libs/sdl-image[png] media-libs/libmikmod:0 games-misc/games-envd -SLOT=0 -SRC_URI=http://linux.tlk.fr/games/TecnoballZ/download/tecnoballz-0.92.tgz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=9ec3d67c79c1f4e5b3e093cb4b413e72 diff --git a/games-arcade/tecnoballz/Manifest b/games-arcade/tecnoballz/Manifest new file mode 100644 index 000000000000..36cb99b2d9d0 --- /dev/null +++ b/games-arcade/tecnoballz/Manifest @@ -0,0 +1,6 @@ +AUX tecnoballz-0.92-automake.patch 3753 BLAKE2B eebbb25a20b0916413f294764a6c5c88c686634bf722dbaf549ddb2829fb6fafab41bf41a3bcdec81c706acec3190c59acd67f3c4d9133674e083e439d1b127e SHA512 d18460a5129f97315384061858aa8f0b7d899daf3420ed442bc76840c013a732add50309d437c9dca37902b1d8820a7ff58839785017f4d314f614195c7e51d2 +AUX tecnoballz-0.92-gcc43.patch 456 BLAKE2B 01496e6a99ccf11507f0c0bdb6542551a99e7e25ef7f4cfd0005668ead93bab8f8e74ca4b7ef086f93c9f1d512422e76c62ee651a5e0a3af6c571caba2ba1ea1 SHA512 2fd980efff3bc9f1c68cd8c882cce877e1539c02fefeb241ff7c495fe2c4e872d143271cbaec45a576fd125c01fe45c4652201db9d20fb47eb51e7a372f1a2e7 +AUX tecnoballz-0.92-gcc6.patch 1583 BLAKE2B 27cab826c7f5fbd0cabd127618ab86136663865bb8d9090a78d5910c63763480d990fca36115b93a3c3743ef0fd2e61e1982fe97edd1c22dcb98ac7ae065505c SHA512 ffaa131b2d23c6cbb2cdba16443d898dd3719b54eac7f71b3c24678b4050520df19155ae92d1b095f9da4bf33cc80496ff57a4f4bcf78073dd220ce0face0c89 +DIST tecnoballz-0.92.tgz 2763879 BLAKE2B a9414c402781e9d65da5e3c0cfe4815fd80978ff874fa245237baca960278c85ba33ff2a59debf0cd6547d75e20f39afc058bd1204405ecef27d62bb8bdfdbb7 SHA512 e3868e846cdebaed6ee78050560be86557c6d01ee6512375a09eccbcf70f0cd12e419c6997a348794a41dfb75f0f3cb70321f1bb9a9bf1156a90976b0e401e13 +EBUILD tecnoballz-0.92.ebuild 1132 BLAKE2B a941c72e6338ed2ceed871a43bf668a323465be7cf558532da858253e51f163d7ea5cecca8cdfd9d4f3eb3b6b5bfe7416592bfa4b22730af3cc886feee0b0346 SHA512 f28c04a33233d2178440cf1fcaf26eb3e16daa9d4913fc2432ab855be4bb527b175c19b9a9a1fdefb703855e0bebb830530a5169dd2a739ad0da76ca1f59fbd6 +MISC metadata.xml 639 BLAKE2B ba0f916050e1914e47eec668152e2d935e537d68a54bb5d75613fe8b3a4162e8bcff96e6910230d55aa3899d2131757002d28f925aa38b9ed983467a8c070353 SHA512 edcb9678cca9ef9f537c4f2716799a5aa6a5890188173c06d9702fa99cb68411003d0aeb04e4df90faeb6efcdd024c4e494a51ed8645b7217fc073aa9916b8a5 diff --git a/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch b/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch new file mode 100644 index 000000000000..b2f0379e4899 --- /dev/null +++ b/games-arcade/tecnoballz/files/tecnoballz-0.92-automake.patch @@ -0,0 +1,116 @@ +--- Makefile.am.old 2008-10-07 10:42:11.000000000 +0200 ++++ Makefile.am 2008-10-07 10:49:35.000000000 +0200 +@@ -1,18 +1,6 @@ + +-gamesdir = $(prefix)/games +-scoredir = /var/games/tecnoballz +-score = tecnoballz.hi ++localstate_DATA = tecnoballz.hi + +-SUBDIRS = src ++SUBDIRS = src man + +-pkgdatadir = $(mandir)/man6 +-dist_pkgdata_DATA = man/tecnoballz.6 +- +-install-data-hook: +- -chown root:games "$(DESTDIR)/$(gamesdir)/tecnoballz" +- -chmod 2755 "$(DESTDIR)/$(gamesdir)/tecnoballz" +- $(INSTALL) -d $(DESTDIR)/$(scoredir) +- $(INSTALL) $(score) $(DESTDIR)/$(scoredir) +- -chown root:games "$(DESTDIR)/$(scoredir)/$(score)" +- -chmod 664 "$(DESTDIR)/$(scoredir)/$(score)" + +--- src/Makefile.am.old 2008-10-07 11:16:44.000000000 +0200 ++++ src/Makefile.am 2008-10-07 11:18:32.000000000 +0200 +@@ -1,14 +1,12 @@ + + NULL = +-gamesdir = $(prefix)/games +-scoredir = /var/games/tecnoballz + score = tecnoballz.hi + + SUBDIRS = TecnoballZ + +-games_PROGRAMS = tecnoballz ++bin_PROGRAMS = tecnoballz + tecnoballz_SOURCES = $(SOURCES_MAIN) +-tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" -DSCOREFILE=\"$(scoredir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ @MIKMOD_FLAGS@ ++tecnoballz_CXXFLAGS = -DDATADIR=\"$(datadir)/tecnoballz\" -DSCOREFILE=\"$(localstatedir)/$(score)\" @XLIB_CFLAGS@ @SDL_CFLAGS@ @MIKMOD_FLAGS@ + tecnoballz_LDADD = @XLIB_LIBS@ @SDL_LIBS@ @MM_LIBS@ @MIKMOD_LIBS@ -L. + + SOURCES_MAIN = \ +--- src/TecnoballZ/Makefile.am.old 2008-10-07 17:17:47.000000000 +0200 ++++ src/TecnoballZ/Makefile.am 2008-10-07 17:20:03.000000000 +0200 +@@ -1,6 +1,6 @@ + NULL = + +-SUBDIRS = lores hires textures sounds musics ++SUBDIRS = lores hires textures sounds musics texts + + pkgdatadir = $(datadir)/tecnoballz + dist_pkgdata_DATA = \ +@@ -14,4 +14,5 @@ + tilemap-guardians_40.data \ + tilemap-menu_20.data \ + tilemap-menu_40.data \ ++ levels-data.xml \ + $(NULL) +--- /dev/null 2008-09-26 15:07:13.448004290 +0200 ++++ src/TecnoballZ/texts/Makefile.am 2008-10-07 17:30:18.000000000 +0200 +@@ -0,0 +1,11 @@ ++textsdir = $(pkgdatadir)/texts ++texts_DATA = main_menu_en.txt \ ++ main_menu_fr.txt \ ++ popup_menu_en.txt \ ++ popup_menu_fr.txt \ ++ scrolltext_en.txt \ ++ scrolltext_fr.txt \ ++ shop_en.txt \ ++ shop_fr.txt \ ++ short_info_messages_en.txt \ ++ short_info_messages_fr.txt +--- configure.ac.old 2008-10-08 23:10:26.000000000 +0200 ++++ configure.ac 2008-10-08 23:11:08.000000000 +0200 +@@ -50,21 +50,6 @@ + + LDFLAGS_="${LDFLAGS_save}" + +-AC_CHECK_LIB(vorbisfile, ov_raw_seek, [ +- MM_LIBS="${MM_LIBS} -lvorbisfile" +-],[ +- AC_MSG_ERROR(Could not find the vorbisfile lib : -lvorbisfile) +-]) +-AC_CHECK_LIB(ogg, ogg_stream_packetin, [ +- MM_LIBS="${MM_LIBS} -logg" +-],[ +- AC_MSG_ERROR(Could not find the ogg lib : -logg) +-]) +-AC_CHECK_LIB(smpeg, SMPEG_play, [ +- MM_LIBS="${MM_LIBS} -lsmpeg" +-],[ +- AC_MSG_ERROR(Could not find the smpeg lib : -lsmpeg) +-]) + AC_SUBST(MM_LIBS) + + AC_CHECK_LIB(mikmod, Player_Stop, [ +@@ -81,5 +81,8 @@ + + + dnl Output makefiles +-AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile) ++AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile ++ src/TecnoballZ/texts/Makefile ++ man/Makefile ++ man/fr/Makefile) + +--- /dev/null 2008-09-26 15:07:13.448004290 +0200 ++++ man/Makefile.am 2008-10-08 10:36:15.000000000 +0200 +@@ -0,0 +1,2 @@ ++SUBDIRS = fr ++man_MANS = tecnoballz.6 +--- /dev/null 2008-09-26 15:07:13.448004290 +0200 ++++ man/fr/Makefile.am 2008-10-08 10:36:15.000000000 +0200 +@@ -0,0 +1,2 @@ ++mandir = @mandir@/fr ++man_MANS = tecnoballz.6 diff --git a/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch b/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch new file mode 100644 index 000000000000..ae190abd64c6 --- /dev/null +++ b/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc43.patch @@ -0,0 +1,11 @@ +--- include/surface_sdl.h.old 2008-10-07 10:16:25.000000000 +0200 ++++ include/surface_sdl.h 2008-10-07 10:16:38.000000000 +0200 +@@ -46,7 +46,7 @@ + ~surface_sdl (); + SDL_Surface* get_surface (); + char* get_pixel_data (); +- char* get_pixel_data (Uint32 coord_x, Uint32 coord_x); ++ char* get_pixel_data (Uint32 coord_x, Uint32 coord_y); + Uint32 get_row_size (); + Uint32 get_offset (Uint32 xcoord, Uint32 ycoord); + void clear (Uint32 color = 0); diff --git a/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc6.patch b/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc6.patch new file mode 100644 index 000000000000..f06a2ac2a0db --- /dev/null +++ b/games-arcade/tecnoballz/files/tecnoballz-0.92-gcc6.patch @@ -0,0 +1,45 @@ +Bug: https://bugs.gentoo.org/show_bug.cgi?id=610974 +Commit: https://github.com/brunonymous/tecnoballz/commit/29c5f137555897c8fb73b4780295524b214b24a2 + +--- a/include/tiles_background.h ++++ b/include/tiles_background.h +@@ -47,7 +47,7 @@ + static tiles_background* tiles_background_singleton; + static Sint32 table_pos1[16]; + static Sint32 table_pos2[16]; +- static char couleurs[448]; ++ static unsigned char couleurs[448]; + static const Sint32 TILES_32_WIDTH = 32; + static const Sint32 TILES_32_HEIGHT = 32; + static const Sint32 TILES_64_WIDTH = 64; +@@ -63,7 +63,7 @@ + * or TILES_32x32_WITH_4_COLORS */ + Uint32 type_of_tiles; + /** 4 color palette index */ +- Uint32 palette_index; ++ Sint32 palette_index; + + bitmap_data *current_tiles; + Uint32 *map_tiles; +--- a/src/tiles_background.cc ++++ b/src/tiles_background.cc +@@ -663,8 +663,8 @@ + + } + palette_index = pal_index; +- char *color = &couleurs[0]; +- unsigned char *colPT = (unsigned char *) (color) + pal_index; ++ unsigned char *color = &couleurs[0]; ++ unsigned char *colPT = (color) + pal_index; + SDL_Color *pal = display->get_palette (); + SDL_Color *lighted = pal + 1; + SDL_Color *dark = lighted + 128; +@@ -702,7 +702,7 @@ + * 4 * 4 : 16 composantes by palette + * 112 * 4 : 448 composantes + */ +-char ++unsigned char + tiles_background::couleurs[448] = { + 0x00, 0x40, 0x20, 0x40, 0x00, 0x60, 0x40, 0x60, 0x00, 0x80, 0x60, 0x80, + 0x00, 0xA0, 0x80, 0xA0, 0x00, 0x00, 0x20, 0x40, 0x00, 0x20, diff --git a/games-arcade/tecnoballz/metadata.xml b/games-arcade/tecnoballz/metadata.xml new file mode 100644 index 000000000000..5dbd2510d79a --- /dev/null +++ b/games-arcade/tecnoballz/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"> +A exciting Brick Breaker with 50 levels of game and 11 special levels, +distributed on the 2 modes of game to give the player a sophisticated system of +attack weapons with an enormous power of fire that can be build by gaining +bonuses. Numerous decors, musics and sounds complete this great game. This +game was ported from the Commodore Amiga. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/tecnoballz/tecnoballz-0.92.ebuild b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild new file mode 100644 index 000000000000..3ece75e8838e --- /dev/null +++ b/games-arcade/tecnoballz/tecnoballz-0.92.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools games + +DESCRIPTION="An exciting Brick Breaker" +HOMEPAGE="http://linux.tlk.fr/games/TecnoballZ/" +SRC_URI="http://linux.tlk.fr/games/TecnoballZ/download/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image[png] + media-libs/libmikmod:0" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc6.patch \ + "${FILESDIR}"/${P}-automake.patch + mv man/${PN}.fr.6 man/fr/${PN}.6 || die + # don't combine explicit and implicit rules for make 3.82 (bug #334629) + sed -i -e '/supervisor.c /s/.c /.cc /' src/Makefile.am || die + sed -i -e '/^CXXFLAGS=/d' configure.ac || die + eautoreconf +} + +src_install() { + default + fperms g+w "${GAMES_STATEDIR}"/${PN}.hi || die + make_desktop_entry ${PN} Tecnoballz + prepgamesdirs +} + +pkg_postinst() { + has_version "media-libs/sdl-mixer[mikmod]" \ + || ewarn "To have background music, emerge sdl-mixer with USE=mikmod" + games_pkg_postinst +} diff --git a/games-arcade/thinktanks-demo-1.1-r3 b/games-arcade/thinktanks-demo-1.1-r3 deleted file mode 100644 index 0303215dae22..000000000000 --- a/games-arcade/thinktanks-demo-1.1-r3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install unpack -DESCRIPTION=Tank combat game with lighthearted, fast paced pandemonium -EAPI=6 -HOMEPAGE=http://www.garagegames.com/pg/product/view.php?id=12 -KEYWORDS=-* ~amd64 ~x86 -LICENSE=THINKTANKS -RDEPEND=media-libs/libsdl[video,joystick,abi_x86_32(-)] media-libs/libogg[abi_x86_32(-)] media-libs/libvorbis[abi_x86_32(-)] x11-libs/libX11[abi_x86_32(-)] x11-libs/libXext[abi_x86_32(-)] -RESTRICT=strip -SLOT=0 -SRC_URI=ftp://ggdev-1.homelan.com/thinktanks/ThinkTanksDemo_v1.1.sh.bin -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 unpacker 87633b2194cdb56adaa1f5a5c8862c44 -_md5_=72494249f263f835f73c50334e10ecf7 diff --git a/games-arcade/thinktanks-demo/Manifest b/games-arcade/thinktanks-demo/Manifest new file mode 100644 index 000000000000..e4aa43c86512 --- /dev/null +++ b/games-arcade/thinktanks-demo/Manifest @@ -0,0 +1,3 @@ +DIST ThinkTanksDemo_v1.1.sh.bin 12115802 BLAKE2B 398df35dc7f6020cadfcf36209ddec3c10229f62539f0a6cead3c5b815a36816a2d51e9d09315ccae2e60855a3e7e1310196276758b41e66c7b32e7f102ddfbc SHA512 9134c44c4e02df4bd7edbd3946125598c87dc3adbeff318f0b265dd2c5fbcebd49bd810d848cc5da29c86ad323fdb2c9adc0006b26680b0bd78b4d0de54419a1 +EBUILD thinktanks-demo-1.1-r3.ebuild 1144 BLAKE2B fa96fca23a1659748aba95a423e5a9dd244de6d9ca479fa6374abd40a7f71a402c1643860677c223fca089e9b07e2b73b0c11732298d15747566de0fbd339b32 SHA512 960d72cd762c9f24f90a21f3d801185558e52528af5fe046f70e16ca62583ac5df448bb5310bdbd1b37fa6e1b6714ef7d4c32d5d9322e51533eb626d01f5c557 +MISC metadata.xml 2343 BLAKE2B 81e0b71bd2aa43d390cabc4cf316034817c03a694c561aa223959401a3b90637225ea6b2b2748feee5d9e270a158b92acd9ee689f870f62753c863f7942991b2 SHA512 bdf46a6c55e6cbddc81b70134d0d906dc2e0c28714c0278affcd60465c8ab1b5e9ad440e463db1c6a589b080d8a3e7c88a2ee1f857d29f1515f5b92f9146b234 diff --git a/games-arcade/thinktanks-demo/metadata.xml b/games-arcade/thinktanks-demo/metadata.xml new file mode 100644 index 000000000000..736bc171d9e2 --- /dev/null +++ b/games-arcade/thinktanks-demo/metadata.xml @@ -0,0 +1,43 @@ +<?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> +ThinkTanks is a tank combat game designed to be a blast for the new and +experienced gamer alike with lighthearted, fast paced pandemonium. Either +battling against brain-hungry bots in solo play or going head-to-head against +others online, ThinkTanks has something for everyone. + +You find yourself in a ThinkTank... just one of many brain slaves imprisoned by +Alien Mind Control-- only you have managed to escape their brain rays. But the +moment you are free, you are besieged on all sides by insane bot-tanks. You must +destroy or be destroyed and keep on your toes at all times. Luckily you can +collect powerups that give you wacky weapons to help you stay alive. As you +progress through each level, the bot tanks get smarter, stronger and crazier as +Alien Mind Control reprograms the bot tanks to match your wits. Your goal is to +beat the bosses, then rescue your brain-brethren and continue the fight on other +worlds. + +Upon entering, you are immediately engaged by heavy artillery. This is +no-holds-barred warfare and to the victor go the points. You can be catapulted or +thrust in any direction by rolling over the boost and jump pads to escape attack +or rush the enemy. The lush, green hills are scattered with bots on the warpath, +bots choking in their own smoke, floating orbs with special powers and +ammunition, boulders, trees, AND the dreaded pit of doom. The goal here is to +keep your brain intact, and triumph over bots of every shape, size, speed and +skill. + +You are cast into a veritable feeding frenzy of tanks. You need to simultaneously +track the position of your tank relative to the scrum ball using your radarscope, +while navigating your tank along the bumpy terrain. If you are quick enough to +pick up the ball yourself, you must make a mad dash to the goal, evading the +thirsty pack of mad bots heavy on your trail. You win by capturing the most scrum +balls in the allotted time. + +Both On-line BattleMode and Scrum games have team-play variants and online chat +that allow players to play together cooperatively. +</longdescription> +</pkgmetadata> diff --git a/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild b/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild new file mode 100644 index 000000000000..a672cd15f03e --- /dev/null +++ b/games-arcade/thinktanks-demo/thinktanks-demo-1.1-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop unpacker + +DESCRIPTION="Tank combat game with lighthearted, fast paced pandemonium" +HOMEPAGE="http://www.garagegames.com/pg/product/view.php?id=12" +SRC_URI="ftp://ggdev-1.homelan.com/thinktanks/ThinkTanksDemo_v${PV}.sh.bin" + +LICENSE="THINKTANKS" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="strip" + +RDEPEND=" + media-libs/libsdl[video,joystick,abi_x86_32(-)] + media-libs/libogg[abi_x86_32(-)] + media-libs/libvorbis[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] +" +DEPEND="" + +S="${WORKDIR}" +dir="/opt/${PN}" + +QA_PREBUILT="${dir:1}/ThinkTanks.bin" + +src_install() { + dodir "${dir}" "/usr/bin" + + tar -zxf ThinkTanks.tar.gz -C "${ED}/${dir}" || die + + exeinto "${dir}" + doexe bin/Linux/x86/thinktanksdemo + dosym "${dir}"/thinktanksdemo /usr/bin/thinktanks-demo + # Using system libraries + rm -rf "${ED}/${dir}"/lib + + insinto "${dir}" + doins icon.xpm + + newicon icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Thinktanks (Demo)" /usr/share/pixmaps/${PN}.xpm + + dodoc ReadMe_Linux.txt +} diff --git a/games-arcade/tomatoes-1.55-r2 b/games-arcade/tomatoes-1.55-r2 deleted file mode 100644 index 118c990cf8a5..000000000000 --- a/games-arcade/tomatoes-1.55-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=virtual/opengl virtual/glu media-libs/libsdl[sound,video] media-libs/sdl-image[jpeg,png] media-libs/sdl-mixer[mod] -DESCRIPTION=How many tomatoes can you smash in ten short minutes? -EAPI=5 -HOMEPAGE=http://tomatoes.sourceforge.net/about.html -KEYWORDS=~amd64 ~ppc64 ~x86 -LICENSE=ZLIB -RDEPEND=virtual/opengl virtual/glu media-libs/libsdl[sound,video] media-libs/sdl-image[jpeg,png] media-libs/sdl-mixer[mod] games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/tomatoes/tomatoes-linux-src-1.55.tar.bz2 mirror://sourceforge/tomatoes/tomatoes-linux-1.5.tar.bz2 -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=170747b34b3a011637e3faf890c35b6e diff --git a/games-arcade/tomatoes/Manifest b/games-arcade/tomatoes/Manifest new file mode 100644 index 000000000000..d11ce04e52c5 --- /dev/null +++ b/games-arcade/tomatoes/Manifest @@ -0,0 +1,7 @@ +AUX tomatoes-1.55-c_str.patch 573 BLAKE2B eccedf249d78074ce6292d580ad71cf9ff9b55f70d03976f26225f144b06c090714c4815c925cfc425bd8094e28fb1e5d0a5bf3ed6a48b6400c892afc922a812 SHA512 fce01efcdea6f14c497b747158e03e57fc39f532ddad7f8da80d6c94be6e9ec6b46b43e908e96f9b3744029ff285699f72b91a73b21b3e213d7054bf4e14f927 +AUX tomatoes-1.55-gcc43.patch 278 BLAKE2B 6597c2e500add91cf58f3a45e88d26b684f90b6a7a4644063701958cd5ba9b7f2d7c296f4c0adbd7718e72fdfc0198cfb0531d256f4d6c37d2ac54afa8b39ae1 SHA512 b0f6e5c3468902f73b2f88327f510b726082af6ace75d15f1d72c95d7ff19cfefef5558f2cdb2e0cf363a80f3c624c912825a1abb251608577bd617972b88e1c +AUX tomatoes-1.55-underlink.patch 977 BLAKE2B 15d602a7a1618e331a4fe62ee72c22ff91af47cd1dfbf11f6b7039d7e43599c97d9a79705091f65cf1f2be5adbc8d8ed11f0246a8386134bc5694de901302175 SHA512 c6b1fb64b0196f0eb6a6f0d6a779d437d09901737670f66309598a84706615e1c9e48e60a7f6db15ce10f9237c1bdf8589cec39c46a4659fd4fcb3fe39225aa8 +DIST tomatoes-linux-1.5.tar.bz2 8807421 BLAKE2B ee2128018d13d274b0ed5b27f9339b4e9d47a15753411c30d4174607c252d10d64a40e40b25454adb6f14ec96845b92cf9b0fe57b3bdcbbb70fe905ec0bf1c0e SHA512 517f592bb3c3fb43cb740c58011f06b7a71c96eaff74ce1088db8dbd4aafa3463bba516547cd010e9ef2ca947fd36962c3d13ece6e979cab8adf01ffa991c308 +DIST tomatoes-linux-src-1.55.tar.bz2 62947 BLAKE2B 22561900842dfe4cb56128ddaf471fac56a2c93b4c24ce3cca7045d10235ab60b81184c9617f9f4d10877df23e6db0d5abc0dc032d38788993daab1a2c49ab1e SHA512 b5a6287659746179f0418630c55d34dc34897b532687007386b0b540ec728cc2492813f0d454314994a26a3629a24c802630085f64b969d1e6ea9ec936f5fe35 +EBUILD tomatoes-1.55-r2.ebuild 1590 BLAKE2B 8fcbf3ecad477c5f4e3d80082be96ee75f951233d7be70f7538692ccc91e737e55cfdb50968bdde922f579009a35e9e6ed6da21928af30e39298e74368b1aa4d SHA512 253966b1037eeb4e4143ed467f93e18df6eda3e0cb89a8a4e462b71925d72aff3faba5b685bb18b4a6be03173e200ca43f2c4fe6c6f48e764dc9bde98e07a068 +MISC metadata.xml 331 BLAKE2B 312d2ef06020a89fa08e79d82b22727eff32e689182f3f142bbc788555d2b05ddf93414a616deff188bc6d2ae35561da8fd832c2541c404d6136da144950c5b9 SHA512 adee588bcc930244c19ea9a3ac34b70c3afbbbed2b68d61289742fd7ca3d97eae5724cef90d350a4e5b8ff8b594f8d25fc1a5fbc672459034d0a492bb155223d diff --git a/games-arcade/tomatoes/files/tomatoes-1.55-c_str.patch b/games-arcade/tomatoes/files/tomatoes-1.55-c_str.patch new file mode 100644 index 000000000000..dd6927e54153 --- /dev/null +++ b/games-arcade/tomatoes/files/tomatoes-1.55-c_str.patch @@ -0,0 +1,24 @@ +--- src/config.cpp.orig 2004-09-27 11:35:48.000000000 +0200 ++++ src/config.cpp 2006-02-13 00:00:01.000000000 +0100 +@@ -78,6 +78,7 @@ + // makefile. + char *get_config_location(bool write) { + #ifdef LINUX ++ static char *config_path = NULL; + // Get the path to the config file + string tmp = get_tomatoes_dir() + "config.cfg"; + +@@ -90,8 +91,11 @@ + } + fclose(ftest); + } +- +- return (char*)tmp.c_str(); ++ if (!config_path) { ++ config_path = new char[tmp.length()+1]; ++ strcpy(config_path,tmp.c_str()); ++ } ++ return config_path; + #endif + + // Return the CONFIG_DIR diff --git a/games-arcade/tomatoes/files/tomatoes-1.55-gcc43.patch b/games-arcade/tomatoes/files/tomatoes-1.55-gcc43.patch new file mode 100644 index 000000000000..cd85e31e5936 --- /dev/null +++ b/games-arcade/tomatoes/files/tomatoes-1.55-gcc43.patch @@ -0,0 +1,14 @@ +--- src/config.cpp ++++ src/config.cpp +@@ -27,8 +27,9 @@ + + *************************************************************************/ + +-#include <stdio.h> +-#include <stdlib.h> ++#include <cstring> ++#include <cstdio> ++#include <cstdlib> + #include "config.h" + #include "init.h" + diff --git a/games-arcade/tomatoes/files/tomatoes-1.55-underlink.patch b/games-arcade/tomatoes/files/tomatoes-1.55-underlink.patch new file mode 100644 index 000000000000..c028c79ba4a7 --- /dev/null +++ b/games-arcade/tomatoes/files/tomatoes-1.55-underlink.patch @@ -0,0 +1,38 @@ +--- makefile.old 2011-06-18 17:35:38.947020335 +0200 ++++ makefile 2011-06-18 17:37:42.337811088 +0200 +@@ -48,7 +47,7 @@ + LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -pg + else + CFLAGS = -MMD -O3 -march=$(MARCH) -Wall $(SDL_FLAGS) +-LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -s ++LDLIBS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lGL -lGLU -lm + endif + endif + +@@ -58,7 +57,7 @@ + OBJS := $(subst src/,obj/,$(OBJS)) + + # Include directories +-INCLUDES = -I./include ++INCLUDES = -I./include $(SDL_FLAGS) + + + # Targets +@@ -69,7 +68,7 @@ + -include $(DEPS) + + $(TARGET): $(OBJS) +- $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS) ++ $(CXX) -o $(TARGET) $(OBJS) $(LDFLAGS) $(LDLIBS) + + clean: + rm -f $(OBJS) $(TARGET) +@@ -80,7 +79,7 @@ + rebuild: veryclean all + + obj/%.o: src/%.cpp +- $(CC) $(CFLAGS) $(INCLUDES) $(DIR_DEFINES) -c $< -o $@ ++ $(CXX) $(CXXFLAGS) $(INCLUDES) $(DIR_DEFINES) -c $< -o $@ + + # Compress the exe with UPX + compress: $(TARGET) diff --git a/games-arcade/tomatoes/metadata.xml b/games-arcade/tomatoes/metadata.xml new file mode 100644 index 000000000000..b774279148e4 --- /dev/null +++ b/games-arcade/tomatoes/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">tomatoes</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild b/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild new file mode 100644 index 000000000000..dd5658f861bf --- /dev/null +++ b/games-arcade/tomatoes/tomatoes-1.55-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DATA_PV=1.5 +DESCRIPTION="How many tomatoes can you smash in ten short minutes?" +HOMEPAGE="http://tomatoes.sourceforge.net/about.html" +SRC_URI="mirror://sourceforge/tomatoes/tomatoes-linux-src-${PV}.tar.bz2 + mirror://sourceforge/tomatoes/tomatoes-linux-${DATA_PV}.tar.bz2" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND="virtual/opengl + virtual/glu + media-libs/libsdl[sound,video] + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +src_prepare() { + mv ../tomatoes-1.5/* . || die "mv failed" + mv icon.png ${PN}.png + + epatch \ + "${FILESDIR}"/${P}-c_str.patch \ + "${FILESDIR}"/${P}-underlink.patch \ + "${FILESDIR}"/${P}-gcc43.patch + + sed -i \ + -e "/^MPKDIR = /s:./:${GAMES_DATADIR}/${PN}/:" \ + -e "/^MUSICDIR = /s:./music/:${GAMES_DATADIR}/${PN}/music/:" \ + -e "/^HISCOREDIR = /s:./:${GAMES_STATEDIR}/${PN}/:" \ + -e "/^CONFIGDIR = /s:./:${GAMES_SYSCONFDIR}/${PN}/:" \ + -e "/^OVERRIDEDIR = /s:./data/:${GAMES_DATADIR}/${PN}/data/:" \ + makefile \ + || die "sed failed" +} + +src_install() { + dogamesbin tomatoes + dodoc README README-src + + insinto "${GAMES_DATADIR}"/${PN} + doins -r tomatoes.mpk music + + doicon ${PN}.png + make_desktop_entry tomatoes "I Have No Tomatoes" + + dodir "${GAMES_STATEDIR}"/${PN} + touch "${D}${GAMES_STATEDIR}"/${PN}/hiscore.lst || die "touch failed" + fperms 660 "${GAMES_STATEDIR}"/${PN}/hiscore.lst + + insinto "${GAMES_SYSCONFDIR}"/${PN} + doins config.cfg + + prepgamesdirs +} diff --git a/games-arcade/trailblazer-0.9 b/games-arcade/trailblazer-0.9 deleted file mode 100644 index 2e079ae0dd07..000000000000 --- a/games-arcade/trailblazer-0.9 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=>=media-libs/libsdl-1.2.7[video] -DESCRIPTION=Guide a ball through a succession of levels while avoiding holes -EAPI=5 -HOMEPAGE=http://www.autismuk.freeserve.co.uk/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=>=media-libs/libsdl-1.2.7[video] games-misc/games-envd -SLOT=0 -SRC_URI=http://www.autismuk.freeserve.co.uk/trailblazer-0.9.tgz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=09694ddac07bcacb6772768b6c5ce609 diff --git a/games-arcade/trailblazer/Manifest b/games-arcade/trailblazer/Manifest new file mode 100644 index 000000000000..3e42c34f58a2 --- /dev/null +++ b/games-arcade/trailblazer/Manifest @@ -0,0 +1,5 @@ +AUX trailblazer-0.9-ldflags.patch 317 BLAKE2B 49b4737c6527b209d12260314569224909ae9eba4a4b7643b426fdebf438ffc975f3a812380fa8bedfb7a4a3d1e36cc82cda0f2381a5cfcf42dee284c83b86ec SHA512 ba7885017a4e1d6a653119d591205a9e640d9c17c7a8b79226ce1c8f6b3ff3e1a6727a7b2d78cb7cfe21263c290288c8e140d6abcce751e1d9c79feeed5c2ff2 +AUX trailblazer-0.9-underlink.patch 320 BLAKE2B 06f88c4d95d5cafd818611d3f2c991cc82213a6e7f655f0ae8a2017d6404495568edb279e8cd509eaa2c437918dc33df83b160bc5950877ce974c0d582d789ac SHA512 c7f1f69b86e81e26257cffed457c921bbf4d8e991249913b5f6a3a04bd5b24974f46e34484c96ce7f2c2b261e69ce711e5b14cb86c2026cbdfacfda783e3c05d +DIST trailblazer-0.9.tgz 20753 BLAKE2B f2cce7647ac9f5b9c2f048f6395f735a6c19432aafbbcea4e7210826a0773bf012a2772da1e44219d12d0ef1a96dc3f410404f0887bd0cbf8c1c5285ef708e22 SHA512 fddb379c2aee41e85042f4100bf08b2f1ca6393716fef1afa964c25dbcabfcd7df1d5c678c23b0f0f3ae1e1c757b01945e04934f67273434d0b51d441114f884 +EBUILD trailblazer-0.9.ebuild 1068 BLAKE2B f3b991d6fea73440b58f2341c83520a529b4916a685766e77cde058ef8b194000208d01178f1ce41bd107cd0ec19bf7ee49130524708ccb694de28472ffa54c0 SHA512 5eb1c4c2dfd506ff807d8d0c4dc0a8594cc66e877ca1909c144a90f1129ffd99745b292f6611c4d7eaf73e3d75d0e00e97ec613cf7f6a5a5c3a77aa335a4060b +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch b/games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch new file mode 100644 index 000000000000..034a74e75f9e --- /dev/null +++ b/games-arcade/trailblazer/files/trailblazer-0.9-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2010-09-30 23:56:21.000000000 +0200 ++++ Makefile 2010-09-30 23:56:35.000000000 +0200 +@@ -9,7 +9,7 @@ + bdir = /tmp/trailblazer-$(version) + + all: +- $(CC) $(sources) -o trailblazer $(cflags) $(libs) ++ $(CC) $(LDFLAGS) $(sources) -o trailblazer $(cflags) $(libs) + + install: + cp trailblazer /usr/bin diff --git a/games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch b/games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch new file mode 100644 index 000000000000..31e9a1000324 --- /dev/null +++ b/games-arcade/trailblazer/files/trailblazer-0.9-underlink.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2011-06-20 20:49:09.928013768 +0200 ++++ Makefile 2011-06-20 20:49:18.725566328 +0200 +@@ -3,7 +3,7 @@ + # + + sources = game.c main.c road.c map.c gfx.c +-libs = `sdl-config --libs` ++libs = `sdl-config --libs` -lm + cflags = -O2 -Wall `sdl-config --cflags` + version = 0.9 + bdir = /tmp/trailblazer-$(version) diff --git a/games-arcade/trailblazer/metadata.xml b/games-arcade/trailblazer/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/trailblazer/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-arcade/trailblazer/trailblazer-0.9.ebuild b/games-arcade/trailblazer/trailblazer-0.9.ebuild new file mode 100644 index 000000000000..5638d0339bc1 --- /dev/null +++ b/games-arcade/trailblazer/trailblazer-0.9.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="Guide a ball through a succession of levels while avoiding holes" +HOMEPAGE="http://www.autismuk.freeserve.co.uk/" +SRC_URI="http://www.autismuk.freeserve.co.uk/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=media-libs/libsdl-1.2.7[video]" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-underlink.patch + + sed -i \ + -e "s:-O2:${CFLAGS}:" \ + Makefile || die "sed Makefile failed" + + sed -i \ + -e "s:/usr/share/trailblazer/trail\.dat:${GAMES_DATADIR}/${PN}/trail.dat:" \ + -e "s:/usr/share/trailblazer/trail\.time:${GAMES_STATEDIR}/trail.time:" \ + map.c || die "sed map.c failed" +} + +src_install() { + dogamesbin trailblazer + insinto "${GAMES_DATADIR}/${PN}" + doins trail.dat + dodoc README + + dodir "${GAMES_STATEDIR}" \ + && touch "${D}${GAMES_STATEDIR}/trail.time" + + prepgamesdirs + fperms 660 "${GAMES_STATEDIR}/trail.time" +} diff --git a/games-arcade/triplexinvaders-1.08-r1 b/games-arcade/triplexinvaders-1.08-r1 deleted file mode 100644 index 5bb6d077fae8..000000000000 --- a/games-arcade/triplexinvaders-1.08-r1 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=install prepare setup -DEPEND=app-arch/unzip -DESCRIPTION=An Alien Invaders style game with 3d graphics -EAPI=6 -HOMEPAGE=http://triplexinvaders.infogami.com -IUSE=python_targets_python2_7 -KEYWORDS=~amd64 ~x86 -LICENSE=MIT -RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/pyopengl[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] -REQUIRED_USE=python_targets_python2_7 -SLOT=0 -SRC_URI=http://acm.jhu.edu/~arthur/invaders/triplexinvaders-1.08.zip -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=7b0bce9c1d2ec55bdb23b82b03553b89 diff --git a/games-arcade/triplexinvaders/Manifest b/games-arcade/triplexinvaders/Manifest new file mode 100644 index 000000000000..98cc47b913ab --- /dev/null +++ b/games-arcade/triplexinvaders/Manifest @@ -0,0 +1,4 @@ +AUX triplexinvaders-1.08-gentoo.patch 2313 BLAKE2B 0e5880be3bf8e1bbb79d5fade576cffe7a6a3137eb92e67888883d93446d305750baa9eb33f626f535de4f86ebc2f2040b2c26a0662e320f5b54480f04a7746d SHA512 912c1879cc2fe177decbe166c616c231c5496f240ecb4492a34952931f45ec549de700ed836aeb56c9b871074eac5adfd48a92d1ca21f07c4037b2ac2dceb429 +DIST triplexinvaders-1.08.zip 354188 BLAKE2B 5bce384ab55edd1dc0e3ed385002447c6cc81da95091b38e654fcb28c4df8f3c39907dfb23afadceaacd51491c53d4a8c937e09079905df2dd63ebe10a403164 SHA512 c763cf650046612152c9305a2067f52feedfeac5f16dd292031a184563f40efc9d95553bc01d59c5c6382394fd2a2d3fe971471cf775fe64c3b1f3c4842a0780 +EBUILD triplexinvaders-1.08-r1.ebuild 1023 BLAKE2B 70dcb43aab815ebb92640c33ecb175645955cc0727f8de1ef4923b7244e1de9731c2c20c8707c32a6e7b889558e124a508a4f0cacfde91a438f7489d17c19e0d SHA512 0b08c9efe793853cf442b63ba1a68f510c990c53d2bd0cf3221a1c284940d6d8ae300dadf884da28f99ab759fc3ea5d3a6429ed9caa63ba2e1e4fd3a28c71918 +MISC metadata.xml 454 BLAKE2B 677d6dbcf7b8dbe4126aadce45c160731d1e159c53ecc0f0159c2f4e709603b23d8cce9b658d15f11778cc8d6ccf0725b8470118f2940eb0251ea43eee00f22f SHA512 bfd1ac0a3820beb15f021ab53527d316be512ed123f8eb7253c03efe82a569298b3474c7618e999cb134ea90aebb9d508909e5e938657e751fd9ac18552e6276 diff --git a/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch b/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch new file mode 100644 index 000000000000..85c88afcfe8a --- /dev/null +++ b/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch @@ -0,0 +1,62 @@ +--- a/sound.py.old 2007-04-14 21:52:02.000000000 +0200 ++++ b/sound.py 2007-04-14 21:52:27.000000000 +0200 +@@ -16,7 +16,7 @@ + + + def reloadMusic(): +- pygame.mixer.music.load(os.path.join('sound', choice(music))) ++ pygame.mixer.music.load(os.path.join('@GENTOO_DATADIR@/sound', choice(music))) + pygame.mixer.music.set_endevent(ENDMUSIC) + pygame.mixer.music.play() + +@@ -24,7 +24,7 @@ + + def getSound(name, volume=0.4): + if name not in LoadedSounds: +- sound = pygame.mixer.Sound(os.path.join('sound', '%s.ogg' % name)) ++ sound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@/sound', '%s.ogg' % name)) + sound.set_volume(volume) + LoadedSounds[name] = sound + return LoadedSounds[name] +--- a/util.py.old 2007-04-14 21:56:30.000000000 +0200 ++++ b/util.py 2007-04-14 21:56:48.000000000 +0200 +@@ -30,7 +30,7 @@ + LoadedTextures = weakref.WeakValueDictionary() + + def loadTexture(name): +- filename = os.path.join('textures', '%s.png' % name) ++ filename = os.path.join('@GENTOO_DATADIR@/textures', '%s.png' % name) + textureSurface = pygame.image.load(filename) + textureData = pygame.image.tostring(textureSurface, "RGBA", True) + texid = glGenTextures(1) +@@ -47,7 +47,7 @@ + + def getModel(name): + if name not in LoadedModels: +- model = wavefront.load(os.path.join('models', '%s.obj' % name), name) ++ model = wavefront.load(os.path.join('@GENTOO_DATADIR@/models', '%s.obj' % name), name) + LoadedModels[name] = model + return LoadedModels[name] + +--- a/hiscore.py.old 2007-04-14 22:04:04.000000000 +0200 ++++ b/hiscore.py 2007-04-14 22:04:25.000000000 +0200 +@@ -5,7 +5,7 @@ + # copy the highscores to the user's homedir + highscorefile = os.path.join(configdir, 'hiscores') + if not os.path.exists(highscorefile): +- oldpath = 'hiscores' ++ oldpath = '@GENTOO_DATADIR@/hiscores' + shutil.copy(oldpath, highscorefile) + + def write(score, name): +--- a/options.py.old 2007-04-14 22:05:23.000000000 +0200 ++++ b/options.py 2007-04-14 22:05:42.000000000 +0200 +@@ -5,7 +5,7 @@ + # copy the options to the user's homedir + optionfile = os.path.join(configdir, 'options.conf') + if not os.path.exists(optionfile): +- oldpath = 'options.conf' ++ oldpath = '@GENTOO_DATADIR@/options.conf' + shutil.copy(oldpath, optionfile) + + execfile(optionfile) diff --git a/games-arcade/triplexinvaders/metadata.xml b/games-arcade/triplexinvaders/metadata.xml new file mode 100644 index 000000000000..6ae220aaf948 --- /dev/null +++ b/games-arcade/triplexinvaders/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> + <longdescription lang="en"> +In Triplex Invaders, the player pilots a spaceship against a never ending horde +of enemy ships. It has psychedelic 3d graphics (but 2d gameplay). +</longdescription> +</pkgmetadata> diff --git a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild new file mode 100644 index 000000000000..b3774eb8c6f9 --- /dev/null +++ b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-single-r1 + +DESCRIPTION="An Alien Invaders style game with 3d graphics" +HOMEPAGE="http://triplexinvaders.infogami.com" +SRC_URI="http://acm.jhu.edu/~arthur/invaders/${P}.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] + dev-python/pyopengl[${PYTHON_USEDEP}] +" +DEPEND="app-arch/unzip" + +src_prepare() { + default + eapply "${FILESDIR}/${P}"-gentoo.patch + sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ + sound.py \ + util.py \ + hiscore.py \ + options.py || die "sed failed" +} + +src_install() { + local libdir=/usr/$(get_libdir) + + insinto "${libdir}/${PN}" + doins -r *.py + insinto "/usr/share/${PN}" + doins -r models sound options.conf hiscores + make_wrapper ${PN} "python2 ./invaders.py" "${libdir}/${PN}" + einstalldocs + make_desktop_entry ${PN} +} diff --git a/games-arcade/tuxanci-20110429-r1 b/games-arcade/tuxanci-20110429-r1 deleted file mode 100644 index 4b2d058d3eca..000000000000 --- a/games-arcade/tuxanci-20110429-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test -DEPEND=!dedicated? ( >=media-libs/fontconfig-2.7.0 media-libs/libsdl[X,opengl?] media-libs/sdl-ttf[X] >=media-libs/sdl-image-1.2.10[png] sound? ( >=media-libs/sdl-mixer-1.2.11[vorbis] ) ) physfs? ( dev-games/physfs[zip] ) !physfs? ( >=dev-libs/libzip-0.9 ) virtual/pkgconfig nls? ( sys-devel/gettext ) sys-devel/make >=dev-util/cmake-3.9.6 -DESCRIPTION=Tuxanci is first tux shooter inspired by game Bulanci -EAPI=6 -HOMEPAGE=http://www.tuxanci.org/ -IUSE=debug dedicated +ipv6 nls opengl physfs +sound -KEYWORDS=~amd64 ~ppc64 ~x86 -LICENSE=GPL-2 -RDEPEND=!dedicated? ( >=media-libs/fontconfig-2.7.0 media-libs/libsdl[X,opengl?] media-libs/sdl-ttf[X] >=media-libs/sdl-image-1.2.10[png] sound? ( >=media-libs/sdl-mixer-1.2.11[vorbis] ) ) physfs? ( dev-games/physfs[zip] ) !physfs? ( >=dev-libs/libzip-0.9 ) -SLOT=0 -SRC_URI=http://dev.gentooexperimental.org/~scarabeus/tuxanci-20110429.tar.xz -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=b649a1c74ce7105885fbafec38b6fbd7 diff --git a/games-arcade/tuxanci-99999999 b/games-arcade/tuxanci-99999999 deleted file mode 100644 index ed578765ed00..000000000000 --- a/games-arcade/tuxanci-99999999 +++ /dev/null @@ -1,11 +0,0 @@ -DEFINED_PHASES=compile configure install prepare test unpack -DEPEND=!dedicated? ( >=media-libs/fontconfig-2.7.0 media-libs/libsdl[X,opengl?] media-libs/sdl-ttf[X] >=media-libs/sdl-image-1.2.10[png] sound? ( >=media-libs/sdl-mixer-1.2.11[vorbis] ) ) physfs? ( dev-games/physfs[zip] ) !physfs? ( >=dev-libs/libzip-0.9 ) virtual/pkgconfig nls? ( sys-devel/gettext ) sys-devel/make >=dev-util/cmake-3.9.6 >=dev-vcs/git-1.8.2.1[curl] -DESCRIPTION=Tuxanci is first tux shooter inspired by game Bulanci -EAPI=6 -HOMEPAGE=http://www.tuxanci.org/ -IUSE=debug dedicated +ipv6 nls opengl physfs +sound -LICENSE=GPL-2 -RDEPEND=!dedicated? ( >=media-libs/fontconfig-2.7.0 media-libs/libsdl[X,opengl?] media-libs/sdl-ttf[X] >=media-libs/sdl-image-1.2.10[png] sound? ( >=media-libs/sdl-mixer-1.2.11[vorbis] ) ) physfs? ( dev-games/physfs[zip] ) !physfs? ( >=dev-libs/libzip-0.9 ) -SLOT=0 -_eclasses_=cmake-utils 57384a259cf0c7985ce651b2c0865405 desktop 1b286a7e7143d8c4ec89cd0d2743a097 eapi7-ver d97a56a62c7df8614afddcb25f5ff00f epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc flag-o-matic 5128c4729303400bd8d4b0b966530955 git-r3 8f6de46b0aa318aea0e8cac62ece098b ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 ninja-utils d2e7e7d290428bb25c56dcf2502badc1 preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=b649a1c74ce7105885fbafec38b6fbd7 diff --git a/games-arcade/tuxanci/Manifest b/games-arcade/tuxanci/Manifest new file mode 100644 index 000000000000..8c5f61856d6d --- /dev/null +++ b/games-arcade/tuxanci/Manifest @@ -0,0 +1,4 @@ +DIST tuxanci-20110429.tar.xz 4283540 BLAKE2B c45aef1a6f89284dc1d41de1718342f0f7d3303d7281698291c74acf5aee262c8ed782d73f955ad3e22a88015adb077d8950e3ce69c7295a9fe97116518045e2 SHA512 72305be823981699e9ac38c090dda2baafd45bd36554eba65bd438646e0b0b8a3ab17a7516610db17e225292c39e0cdabb383193f8b07d2d31d638483feafeea +EBUILD tuxanci-20110429-r1.ebuild 1479 BLAKE2B aaa850ba078f09a4a717ea4b03bd37c4fe3db3e33246cc76eaade3bb0e874854c35758b81a9e5404e79b75929ce67ee1f010928a40af91612467c1bd922c92d5 SHA512 23f75fb0604b979537eab263d3dbf6ec9f51d841abe28b0712debebf15df085110c199e427cdb91f3653c9502f56635141d192a494a45274359a7ac3b1116491 +EBUILD tuxanci-99999999.ebuild 1479 BLAKE2B aaa850ba078f09a4a717ea4b03bd37c4fe3db3e33246cc76eaade3bb0e874854c35758b81a9e5404e79b75929ce67ee1f010928a40af91612467c1bd922c92d5 SHA512 23f75fb0604b979537eab263d3dbf6ec9f51d841abe28b0712debebf15df085110c199e427cdb91f3653c9502f56635141d192a494a45274359a7ac3b1116491 +MISC metadata.xml 432 BLAKE2B 80a36c8203e39b5c0615892040b4f98bcaf5c43b7531cca6a1709db0fe2b94f68eda72e52c7a32005b7a6b54880884ed27c5f8be1ee36b7ef0712cccab48717d SHA512 d8b287f078d5b18855fdc12c57b353cc5ff1f655d1c6d6fe3a4beb738119c4b295c580ed72346a41e76ad98a6cec86cfbd9938d461fe6d9ff329f0e7f857d6a1 diff --git a/games-arcade/tuxanci/metadata.xml b/games-arcade/tuxanci/metadata.xml new file mode 100644 index 000000000000..6c319f2cbfce --- /dev/null +++ b/games-arcade/tuxanci/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> + <use> + <flag name="sound">Enable sound</flag> + <flag name="physfs">Use <pkg>dev-games/physfs</pkg> instead of <pkg>dev-libs/libzip</pkg> to load compressed data</flag> + </use> +</pkgmetadata> diff --git a/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild new file mode 100644 index 000000000000..8fe8dd9427ea --- /dev/null +++ b/games-arcade/tuxanci/tuxanci-20110429-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci" +HOMEPAGE="http://www.tuxanci.org/" + +if [[ ${PV} = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" +else + SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug dedicated +ipv6 nls opengl physfs +sound" + +# >=x11-libs/cairo-1.8.8[X,svg] +RDEPEND=" + !dedicated? ( + >=media-libs/fontconfig-2.7.0 + media-libs/libsdl[X,opengl?] + media-libs/sdl-ttf[X] + >=media-libs/sdl-image-1.2.10[png] + sound? ( + >=media-libs/sdl-mixer-1.2.11[vorbis] + ) + ) + physfs? ( dev-games/physfs[zip] ) + !physfs? ( >=dev-libs/libzip-0.9 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +src_configure() { + local mycmakeargs=( + -DWITH_AUDIO=$(usex sound) + -DBUILD_SERVER=$(usex dedicated) + -DWITH_NLS=$(usex nls) + -DWITH_PHYSFS=$(usex physfs) + -DWITH_OPENGL=$(usex opengl) + -DENABLE_IPV6=$(usex ipv6) + -DDEVELOPER=$(usex debug) + -DCMAKE_INSTALL_ICONDIR="${EPREFIX}"/usr/pixmaps/ + -DCMAKE_INSTALL_DESKTOPDIR="${EPREFIX}"/usr/applications/ + -DCMAKE_DATA_PATH="${EPREFIX}"/usr/share/ + -DCMAKE_LOCALE_PATH="${EPREFIX}"/usr/share/locale/ + -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} + -DCMAKE_CONF_PATH="${EPREFIX}"/etc + ) + cmake-utils_src_configure +} diff --git a/games-arcade/tuxanci/tuxanci-99999999.ebuild b/games-arcade/tuxanci/tuxanci-99999999.ebuild new file mode 100644 index 000000000000..8fe8dd9427ea --- /dev/null +++ b/games-arcade/tuxanci/tuxanci-99999999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci" +HOMEPAGE="http://www.tuxanci.org/" + +if [[ ${PV} = *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" +else + SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" + KEYWORDS="~amd64 ~ppc64 ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug dedicated +ipv6 nls opengl physfs +sound" + +# >=x11-libs/cairo-1.8.8[X,svg] +RDEPEND=" + !dedicated? ( + >=media-libs/fontconfig-2.7.0 + media-libs/libsdl[X,opengl?] + media-libs/sdl-ttf[X] + >=media-libs/sdl-image-1.2.10[png] + sound? ( + >=media-libs/sdl-mixer-1.2.11[vorbis] + ) + ) + physfs? ( dev-games/physfs[zip] ) + !physfs? ( >=dev-libs/libzip-0.9 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" + +src_configure() { + local mycmakeargs=( + -DWITH_AUDIO=$(usex sound) + -DBUILD_SERVER=$(usex dedicated) + -DWITH_NLS=$(usex nls) + -DWITH_PHYSFS=$(usex physfs) + -DWITH_OPENGL=$(usex opengl) + -DENABLE_IPV6=$(usex ipv6) + -DDEVELOPER=$(usex debug) + -DCMAKE_INSTALL_ICONDIR="${EPREFIX}"/usr/pixmaps/ + -DCMAKE_INSTALL_DESKTOPDIR="${EPREFIX}"/usr/applications/ + -DCMAKE_DATA_PATH="${EPREFIX}"/usr/share/ + -DCMAKE_LOCALE_PATH="${EPREFIX}"/usr/share/locale/ + -DCMAKE_DOC_PATH="${EPREFIX}"/usr/share/doc/${PF} + -DCMAKE_CONF_PATH="${EPREFIX}"/etc + ) + cmake-utils_src_configure +} diff --git a/games-arcade/tuxdash-0.8-r1 b/games-arcade/tuxdash-0.8-r1 deleted file mode 100644 index d95659e8cf64..000000000000 --- a/games-arcade/tuxdash-0.8-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install prepare -DEPEND=media-libs/libsdl[video] media-libs/sdl-ttf -DESCRIPTION=A simple BoulderDash clone -EAPI=6 -HOMEPAGE=http://www.tuxdash.de/index.php?language=EN -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[video] media-libs/sdl-ttf -SLOT=0 -SRC_URI=http://www.tuxdash.de/ressources/downloads/tuxdash_src_0.8.tar.bz2 -_eclasses_=multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=67ea19fe2b4dfca41a5026815644b46a diff --git a/games-arcade/tuxdash/Manifest b/games-arcade/tuxdash/Manifest new file mode 100644 index 000000000000..f2a1d0065da9 --- /dev/null +++ b/games-arcade/tuxdash/Manifest @@ -0,0 +1,6 @@ +AUX tuxdash-0.8-fix-build-system.patch 575 BLAKE2B 8975cac0d0bb753a4f1882e68d8d15449685b4ae4f5f97f83b8cae591cfd10f25c2d09fbf53e6843102c0039b3d94e5552884f05295de23e6361f575c3dd2f9d SHA512 bda193ee657973c26bccdd2f2caa8414be454e0e6b016673aad07dce23be300d79103bdbac40ee2aeb0a0dd1ae875f9d0b1b36b20aa4af2b40052b464574dd73 +AUX tuxdash-0.8-fix-c++14.patch 4251 BLAKE2B f3ef29821b2f0a13a4ab67381ccaca9c05adb6742687a9b94063dc618802d21da84ea1bd5965cbaa5cc1a338f0fa22099f3448635f23abfeee0923e67cf26072 SHA512 5314fe0be54a2232ce10d5c518bc30913303aad3d7d5af94a7e3e24661545c3a5ef50eedd2db4ab0cac1021a78064c362b3ef6731703ffb7e5020bfb4787c725 +AUX tuxdash-0.8-fix-paths.patch 1671 BLAKE2B 21498fb303cfade6754bb06fb7d540e8a33f3851d777112f30e729fdb29ae37041c561cccbf3e9e46c93c11b5b1df76c6c9214e7f901b8672f5d2ea895e25a80 SHA512 ff896b3ea57f95e9298a8640a8c2eb31049ab83a7cca1ecf40f73d9e7a1b1ee386f9f41d6a5af0b004015b2c97fa8ef0ed4eb11cc109c5efcd53b55fe0094d93 +DIST tuxdash_src_0.8.tar.bz2 447560 BLAKE2B 023deef628c1a6e0ea602fd87e3fe6347f38308dff45623aa59406d15805b87aafdb21e4756e5f2b90c97b56a76d4052c4aacb1401ff03e1e3157cac170b1536 SHA512 5c42b89ce3121025801d78d35962a2aa3d10e4443f6c929e7df4b45673e6285f37ed353877aa33eaa0edf584f7a428a8f485301ba1476865a498ab699ee81f86 +EBUILD tuxdash-0.8-r1.ebuild 845 BLAKE2B 33145206bd41914bdfa6df243fe7c6c76e9e2a7868f855fc8f0bf91fe81549b845982cf1167dcfa7dec9db2597cfc031ef8af4fd267a1579cd32f90aab382607 SHA512 31e9c0c923cd31d5f71d8dbdddb5400345827faeb52654c8a89259fc4d0147d2767597581cc6c612c6d7330038595bd5c9159e3c3b1373b2f1074e5eddeb255b +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/tuxdash/files/tuxdash-0.8-fix-build-system.patch b/games-arcade/tuxdash/files/tuxdash-0.8-fix-build-system.patch new file mode 100644 index 000000000000..9f861d98e8cc --- /dev/null +++ b/games-arcade/tuxdash/files/tuxdash-0.8-fix-build-system.patch @@ -0,0 +1,11 @@ +Fix build system to honour all user variables. + +--- a/src/Makefile ++++ b/src/Makefile +@@ -1,4 +1,4 @@ + all: +- g++ main.cpp -Wall `/usr/bin/sdl-config --libs --cflags` -lSDL_ttf -o ../TuxDash ++ $(CXX) main.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) `/usr/bin/sdl-config --libs --cflags` -lSDL_ttf -o ../tuxdash + static: +- g++ -static main.cpp -Wall `/usr/bin/sdl-config --cflags --static-libs` -lSDL_ttf -lfreetype -lz -o ../TuxDash ++ $(CXX) -static main.cpp $(LDFLAGS) $(CXXFLAGS) $(CPPFLAGS) `/usr/bin/sdl-config --cflags --static-libs` -lSDL_ttf -lfreetype -lz -o ../tuxdash diff --git a/games-arcade/tuxdash/files/tuxdash-0.8-fix-c++14.patch b/games-arcade/tuxdash/files/tuxdash-0.8-fix-c++14.patch new file mode 100644 index 000000000000..b37f456f559b --- /dev/null +++ b/games-arcade/tuxdash/files/tuxdash-0.8-fix-c++14.patch @@ -0,0 +1,101 @@ +Modernise C++ to avoid errors in C++14 mode. +See also: https://bugs.gentoo.org/show_bug.cgi?id=600084 + +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -66,7 +66,7 @@ + + void writeconfig(const map& game_map) { + ofstream config((ostring)TuxHomeDirectory + "/config"); // open config file +- if(config == NULL) { // error check ++ if(!config) { // error check + cout << "Warning: Couldn't write to file " << (ostring)TuxHomeDirectory + "/config" << endl; + return; + } +@@ -124,7 +124,7 @@ + + void readconfig(class map& game_map) { + ifstream config((ostring)TuxHomeDirectory + "/config"); // open config file +- if(config==0) { // error check ++ if(!config) { // error check + cout << "Warning: Couldn't find configuration file " << (ostring)TuxHomeDirectory + "/config" << ". Using default values." << endl; + return; + } +--- a/src/map.cpp ++++ b/src/map.cpp +@@ -346,13 +346,13 @@ + cout << "-- copy map --" << endl; // print status message + ifstream in_file(path); // open source file + +- if(in_file == 0) { // error checking ++ if(!in_file) { // error checking + cout << "Couldn't open sourcefile \"" << filename << "\"" << endl; + cout << endl << "-- error in copymap --" << endl; + return 1; + } + +- if(out_file == 0) { // error checking ++ if(!out_file) { // error checking + cout << "Couldn't open target file \"" << temp_path << "\" for writing " << endl; + cout << endl << "-- error in copymap --" << endl; + return 1; +@@ -390,7 +390,7 @@ + path = mapfolder; + path += filename; + file.open(path); // open file +- if(file == NULL) { ++ if(!file) { + cout << "map::savemap : error while saving map to file '" << path << "'" << endl; + return 1; + } +@@ -402,7 +402,7 @@ + path = savefolder; + path += filename; + file.open(path); // open file +- if(file == NULL) { ++ if(!file) { + cout << "map::savemap : error while saving game to file '" << path << "'" << endl; + return 1; + } +--- a/src/menu.cpp ++++ b/src/menu.cpp +@@ -119,7 +119,7 @@ + + // add a selection box + +-class element* menu_mgm::add_box(int x, int y, const ostring& text, const ostring& value, bool selectable, int size, int xgroup, int ygroup, int max, int width, int height, unsigned char r, unsigned char g, unsigned char b, int value_type, bool dependency, char* depend) { ++class element* menu_mgm::add_box(int x, int y, const ostring& text, const ostring& value, bool selectable, int size, int xgroup, int ygroup, int max, int width, int height, unsigned char r, unsigned char g, unsigned char b, int value_type, bool dependency, const char* depend) { + class element& newone = add(); + newone.value = value; + newone.posx = x; +--- a/src/menu.h ++++ b/src/menu.h +@@ -56,7 +56,7 @@ + void check_custom_parameters(); // check if parameters are okay + ostring keytoa(SDLKey); // cast SDLKey to ASCII + class element* add_text(int, int, const ostring&, bool, int, int =-1, int =-1, unsigned char =0, unsigned char =0, unsigned char = 0, int = -1, int = -1); // add a text element +- class element* add_box(int, int, const ostring&, const ostring&, bool, int, int, int, int, int, int, unsigned char, unsigned char, unsigned char, int = 0, bool =false, char* =0); // add a box element ++ class element* add_box(int, int, const ostring&, const ostring&, bool, int, int, int, int, int, int, unsigned char, unsigned char, unsigned char, int = 0, bool =false, const char* =0); // add a box element + class element* add_select(int, int, const ostring&, const ostring&, bool, int, int, int, const char* oneoftwo=0); // add a select element + void draw_window(); // draw the current menu screen with all elements + void selection_mgm(char); // process user input for menu navigation +--- a/src/surface.cpp ++++ b/src/surface.cpp +@@ -92,7 +92,7 @@ + else file_tmp = file; + + TTF_Font *font = TTF_OpenFont(file_tmp, size); +- SDL_Color color = {r, g, b, 0}; ++ SDL_Color color = {(Uint8)r, (Uint8)g, (Uint8)b, 0}; + + area = TTF_RenderText_Solid(font, text, color); + +@@ -118,7 +118,7 @@ + SDL_Surface* text_surface; + SDL_Rect temp; + TTF_Font *font_tmp = TTF_OpenFont(font, size); +- SDL_Color farbe = {r, g, b, 0}; ++ SDL_Color farbe = {(Uint8)r, (Uint8)g, (Uint8)b, 0}; + text_surface = TTF_RenderText_Solid(font_tmp, text, farbe); + TTF_CloseFont(font_tmp); + temp = pos; diff --git a/games-arcade/tuxdash/files/tuxdash-0.8-fix-paths.patch b/games-arcade/tuxdash/files/tuxdash-0.8-fix-paths.patch new file mode 100644 index 000000000000..72cde9d411f8 --- /dev/null +++ b/games-arcade/tuxdash/files/tuxdash-0.8-fix-paths.patch @@ -0,0 +1,45 @@ +Change paths for Gentoo's filesystem layout. + +--- a/config ++++ b/config +@@ -1,11 +1,11 @@ + # Fullscreen enable/disable +-Fullscreen = 0 ++Fullscreen = 1 + # Width of screen in blocks + screenX = 21 + # Height of screen in blocks + screenY = 16 + # Theme Folder - path to a valid theme +-theme = themes/original/ ++theme = /usr/share/tuxdash/themes/original/ + # Distance in X direction, before scrolling starts + scrolldistX = 3 + # Distance in Y direction, before scrolling starts +--- a/src/main.cpp ++++ b/src/main.cpp +@@ -340,9 +340,7 @@ + + // set tuxdash's config / working directory + char* HomeDirectory; +- char* CurrentDirectory; + HomeDirectory = getenv("HOME"); // get users home directory +- CurrentDirectory = getenv("PWD"); // get TuxDash's working directory + TuxHomeDirectory = new char[strlen(HomeDirectory)+strlen("/.tuxdash")+1]; // align space for the string containing the path to tuxdash's config directory + strcpy(TuxHomeDirectory, HomeDirectory); + strcat(TuxHomeDirectory, "/.tuxdash"); +@@ -355,12 +353,12 @@ + } + else { + mkdir((ostring)TuxHomeDirectory + "/themes", 0711); // create the themes folder. The default themes are not copied there, but the folder is created for possible additional themes added by the player +- chdir(CurrentDirectory); ++ chdir("/usr/share/tuxdash"); + system((ostring)"cp -r maps savegames config " + TuxHomeDirectory); + } + } + cout << endl << " Using " << TuxHomeDirectory << " for configuration, map and savegame files" << endl; +- chdir(CurrentDirectory); ++ chdir("/usr/share/tuxdash"); + // finished with check of working directory + + int running=1, start, stop, framestart = time(0), frames=0, frame_count = 0; diff --git a/games-arcade/tuxdash/metadata.xml b/games-arcade/tuxdash/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/tuxdash/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-arcade/tuxdash/tuxdash-0.8-r1.ebuild b/games-arcade/tuxdash/tuxdash-0.8-r1.ebuild new file mode 100644 index 000000000000..77af51944756 --- /dev/null +++ b/games-arcade/tuxdash/tuxdash-0.8-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A simple BoulderDash clone" +HOMEPAGE="http://www.tuxdash.de/index.php?language=EN" +SRC_URI="http://www.tuxdash.de/ressources/downloads/${PN}_src_${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + media-libs/libsdl[video] + media-libs/sdl-ttf" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.8-fix-build-system.patch + "${FILESDIR}"/${PN}-0.8-fix-c++14.patch + "${FILESDIR}"/${PN}-0.8-fix-paths.patch +) + +src_prepare() { + default + rm -f GPL TuxDash || die +} + +src_configure() { + tc-export CXX +} + +src_compile() { + emake -C src +} + +src_install() { + dobin tuxdash + einstalldocs + + insinto /usr/share/${PN} + doins -r themes maps fonts savegames config +} diff --git a/games-arcade/tuxpuck-0.8.2-r2 b/games-arcade/tuxpuck-0.8.2-r2 deleted file mode 100644 index d7afe2112850..000000000000 --- a/games-arcade/tuxpuck-0.8.2-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=media-libs/libsdl media-libs/libpng:0= virtual/jpeg:0 media-libs/libvorbis media-libs/freetype:2 virtual/pkgconfig -DESCRIPTION=Hover hockey -EAPI=6 -HOMEPAGE=http://home.no.net/munsuun/tuxpuck/ -KEYWORDS=~alpha ~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl media-libs/libpng:0= virtual/jpeg:0 media-libs/libvorbis -SLOT=0 -SRC_URI=http://home.no.net/munsuun/tuxpuck/files/tuxpuck-0.8.2.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=8708a74f1b25419f7b55b97a0e5dbaa6 diff --git a/games-arcade/tuxpuck/Manifest b/games-arcade/tuxpuck/Manifest new file mode 100644 index 000000000000..d570c5f86d67 --- /dev/null +++ b/games-arcade/tuxpuck/Manifest @@ -0,0 +1,7 @@ +AUX tuxpuck-0.8.2-freetype_pkgconfig.patch 377 BLAKE2B 73f974e8e93cb425e72745fa00a1943a30830dae4bfdee5eef75adc240ebf9885b4dd30f1bfb6291fb873a35a0f63595a11b0399e3b028263065b59a9193542b SHA512 b41eb1a0e64aac8a01ceeab8be43bdaa8da394f6e2fa09222eb78baec0d4b9f622340434111237f37afc8b58ea1d887a012c777afddae75a9394a4519b3925f4 +AUX tuxpuck-0.8.2-ldflags.patch 411 BLAKE2B 0b0a20abe1daf4f02e07f23f8cc0273b5b7cf229ea3b9de3cb13ea4611ba5b6b932ebf9286ebcdb19605de672b66300530a6fb3ca776bdfd1a05a377976d7746 SHA512 50e91cfb89be78e7fbf45c361d9bd2bc2ef84770d868978dbc200bb9954b51789478e611f8e1197e418775624ce57c62424a6a456cd62ffe45ccb93aaa58a88a +AUX tuxpuck-0.8.2-parallel.patch 1705 BLAKE2B a9402f63386287c1d77f58d6998869c5e946016fda93932f851de73e3edae4b3ec3e08fea68f86c98e5e490d5a168c1bb809332d379470c00db0527fd462e972 SHA512 e489e76fe86f62962017615015f9bca7f15e3b001265d7212ae99a27e833152ab6b1a4caacffc32c4143a47e06ee4d010114d70f57548c7d91ccc8e61667b5e0 +AUX tuxpuck-0.8.2-png15.patch 2128 BLAKE2B b9ebbeff8974dbfd0693dea225e9e73c044aaf5c0d8159458c2c8439fb3d1985c223c71a9e69d47d1c648abcf2784ed7a7d6f9a59a880d2e5b485d3498f0172e SHA512 d6d05b8e10736010a80af565d9dd6cc3aa076070796f348d86c0af8a7d008e1fbb9cffd4422d2193bbe880c0a2637f424879c6e9ce84427f01badbd2129c3b4a +DIST tuxpuck-0.8.2.tar.gz 384009 BLAKE2B e60241c5e6825ae6570a0d3242178578ef1202d3fbb4276726fdfddb894883fe5e25218bb29f6fd8148d273ab91dd36f0624c814756d8375cea5b88f090fcde7 SHA512 875680f7fd9d4257884c58d8a5529082aac4dc10f1a9c9d08acd4e67ddb5e9c66dd84a4fbcc27e3673e329d845b0966ea683412ffe61f0a403d195eac0f32a46 +EBUILD tuxpuck-0.8.2-r2.ebuild 1186 BLAKE2B 7d7ec8016949dbbce3137f8745d474b8cdb2e5e4c3b1d0b9366df7a8773a4a18e678e7a78abb590cd24993e5f899e403cc669d17e18891119969ae8306a4f973 SHA512 c07569fc3b6c69b38e9f7b42dcb4fea01b452a07687c6780f66f3744f814d13e6e69a0be0220a3f557dbffb65a553efe0376441c7e99344250a103842fe326de +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch new file mode 100644 index 000000000000..410024e48dcd --- /dev/null +++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-freetype_pkgconfig.patch @@ -0,0 +1,11 @@ +--- tuxpuck-0.8.2/utils/Makefile ++++ tuxpuck-0.8.2/utils/Makefile +@@ -6,7 +6,7 @@ + all : ttf2font data2c anim + + ttf2font : ttf2font.c +- $(CC) $(CFLAGS) ttf2font.c `freetype-config --cflags --libs` -o ttf2font ++ $(CC) $(CFLAGS) ttf2font.c `pkg-config --cflags --libs freetype2` -o ttf2font + + data2c : data2c.c + $(CC) $(CFLAGS) data2c.c `sdl-config --cflags --libs` -o data2c diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch new file mode 100644 index 000000000000..b4abb60f0fd4 --- /dev/null +++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-ldflags.patch @@ -0,0 +1,11 @@ +--- a/Makefile.old 2010-10-05 10:34:57.000000000 +0200 ++++ b/Makefile 2010-10-05 10:35:28.000000000 +0200 +@@ -20,7 +20,7 @@ + + $(NAME) : $(OBJS) + cd data; $(MAKE) +- $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \ ++ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \ + -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME) + + w32icon.o : data/icons/tuxpuck.ico diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch new file mode 100644 index 000000000000..7d9b199f55cf --- /dev/null +++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-parallel.patch @@ -0,0 +1,58 @@ +--- a/data/Makefile.old 2015-01-07 14:22:34.852150894 +0100 ++++ b/data/Makefile 2015-01-07 14:57:44.079822614 +0100 +@@ -15,20 +15,29 @@ + ar r libdata.a $(OBJS) + ranlib libdata.a + +-$(SOURCES): +- cd ../utils/; $(MAKE) ++monos_fnt.c: + ../utils/ttf2font ttfs/mono.ttf monos.fnt 30 30 + ../utils/data2c monos.fnt monos_fnt ++ rm monos.fnt ++monob_fnt.c: + ../utils/ttf2font ttfs/mono.ttf monob.fnt 45 45 + ../utils/data2c monob.fnt monob_fnt +- rm *.fnt ++ rm monob.fnt ++title_jpg.c: + ../utils/data2c jpgs/title.jpg title_jpg ++board_jpg.c: + ../utils/data2c jpgs/board.jpg board_jpg ++logo_jpg.c: + ../utils/data2c jpgs/logo.jpg logo_jpg ++pad_png.c: pngs/pad.png + ../utils/data2c pngs/pad.png pad_png ++puck_png.c: pngs/puck.png + ../utils/data2c pngs/puck.png puck_png ++scoreboard_png.c: + ../utils/data2c pngs/scoreboard.png scoreboard_png ++mousebar_png.c: + ../utils/data2c pngs/mousebar.png mousebar_png ++glass_png.c: + ../utils/data2c pngs/glass.png glass_png + ../utils/data2c pngs/piece1.png piece1_png + ../utils/data2c pngs/piece2.png piece2_png +@@ -37,15 +46,22 @@ + ../utils/data2c pngs/piece5.png piece5_png + mv glass_png.c temp; cat temp piece?_png.c > glass_png.c + rm piece?_png.c temp ++crash_ogg.c: + ../utils/data2c sounds/crash.ogg crash_ogg ++nock_ogg.c: + ../utils/data2c sounds/nock.ogg nock_ogg ++tux_eyes_spr.c: + # Tux + ../utils/anim tux/eyes.ac tux_eyes.spr + ../utils/data2c tux_eyes.spr tux_eyes_spr + rm tux_eyes.spr ++tux_png.c: tux/tux.png + ../utils/data2c tux/tux.png tux_png ++tux_apps_ogg.c: + ../utils/data2c tux/apps.ogg tux_apps_ogg ++tux_boos_ogg.c: + ../utils/data2c tux/boos.ogg tux_boos_ogg ++arcana_png.c: + # Arcana + ../utils/data2c arcana/arcana.png arcana_png + clean : diff --git a/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch new file mode 100644 index 000000000000..5860d2b1c171 --- /dev/null +++ b/games-arcade/tuxpuck/files/tuxpuck-0.8.2-png15.patch @@ -0,0 +1,63 @@ +--- a/png.c.old 2011-09-14 16:25:54.415338149 +0200 ++++ b/png.c 2011-09-14 17:41:02.190803110 +0200 +@@ -38,6 +38,8 @@ + png_color_16 *transv; + SDL_RWops *src = NULL; + Uint32 size; ++ int num_palette; ++ png_colorp png_palette; + + memcpy(&size, data, sizeof(Uint32)); + if (memcounter) +@@ -74,7 +76,7 @@ + * the normal method of doing things with libpng). REQUIRED unless you + * set up your own error handlers in png_create_read_struct() earlier. + */ +- if (setjmp(png_ptr->jmpbuf)) { ++ if (setjmp(png_jmpbuf(png_ptr))) { + SDL_SetError("Error reading the PNG file."); + goto done; + } +@@ -142,9 +144,9 @@ + Rmask = 0x000000FF; + Gmask = 0x0000FF00; + Bmask = 0x00FF0000; +- Amask = (info_ptr->channels == 4) ? 0xFF000000 : 0; ++ Amask = (png_get_channels(png_ptr, info_ptr) == 4) ? 0xFF000000 : 0; + } else { +- int s = (info_ptr->channels == 4) ? 0 : 8; ++ int s = (png_get_channels(png_ptr, info_ptr) == 4) ? 0 : 8; + Rmask = 0xFF000000 >> s; + Gmask = 0x00FF0000 >> s; + Bmask = 0x0000FF00 >> s; +@@ -152,7 +154,7 @@ + } + } + surface = SDL_AllocSurface(SDL_SWSURFACE, width, height, +- bit_depth * info_ptr->channels, Rmask, Gmask, ++ bit_depth * png_get_channels(png_ptr, info_ptr), Rmask, Gmask, + Bmask, Amask); + if (surface == NULL) { + SDL_SetError("Out of memory"); +@@ -197,12 +199,15 @@ + palette->colors[i].g = i; + palette->colors[i].b = i; + } +- } else if (info_ptr->num_palette > 0) { +- palette->ncolors = info_ptr->num_palette; +- for (i = 0; i < info_ptr->num_palette; ++i) { +- palette->colors[i].b = info_ptr->palette[i].blue; +- palette->colors[i].g = info_ptr->palette[i].green; +- palette->colors[i].r = info_ptr->palette[i].red; ++ } else { ++ png_get_PLTE(png_ptr, info_ptr, &png_palette, &num_palette); ++ if (num_palette > 0) { ++ palette->ncolors = num_palette; ++ for (i = 0; i < num_palette; ++i) { ++ palette->colors[i].b = png_palette[i].blue; ++ palette->colors[i].g = png_palette[i].green; ++ palette->colors[i].r = png_palette[i].red; ++ } + } + } + } diff --git a/games-arcade/tuxpuck/metadata.xml b/games-arcade/tuxpuck/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/tuxpuck/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-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild new file mode 100644 index 000000000000..092a49327277 --- /dev/null +++ b/games-arcade/tuxpuck/tuxpuck-0.8.2-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Hover hockey" +HOMEPAGE="http://home.no.net/munsuun/tuxpuck/" +SRC_URI="http://home.no.net/munsuun/tuxpuck/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + media-libs/libsdl + media-libs/libpng:0= + virtual/jpeg:0 + media-libs/libvorbis +" +DEPEND="${RDEPEND} + media-libs/freetype:2 + virtual/pkgconfig +" + +src_prepare() { + default + # Bug #376741 - Make unpack call compatible with both + # PMS and <sys-apps/portage-2.1.10.10. + cd man || die + unpack ./${PN}.6.gz + cd .. || die + sed -i \ + -e 's/-Werror//' \ + -e '/^CC/d' \ + Makefile \ + utils/Makefile \ + data/Makefile \ + || die "sed failed" + + eapply "${FILESDIR}"/${P}-ldflags.patch \ + "${FILESDIR}"/${P}-png15.patch \ + "${FILESDIR}"/${P}-parallel.patch \ + "${FILESDIR}"/${P}-freetype_pkgconfig.patch +} + +src_compile() { + emake -C utils + emake -C data + emake +} + +src_install() { + dobin tuxpuck + doman man/tuxpuck.6 + dodoc *.txt + doicon data/icons/${PN}.ico + make_desktop_entry ${PN} "TuxPuck" /usr/share/pixmaps/${PN}.ico + einstalldocs +} diff --git a/games-arcade/vor-0.5.7-r1 b/games-arcade/vor-0.5.7-r1 deleted file mode 100644 index a97b1de30286..000000000000 --- a/games-arcade/vor-0.5.7-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install postinst postrm preinst -DEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer[mod] >=sys-apps/sed-4 -DESCRIPTION=Variations on Rockdodger: Dodge the rocks until you die -EAPI=6 -HOMEPAGE=http://jasonwoof.org/vor -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2+ -RDEPEND=media-libs/libsdl[sound,video] media-libs/sdl-image[png] media-libs/sdl-mixer[mod] -SLOT=0 -SRC_URI=https://jasonwoof.com/downloads/vor/vor-0.5.7.tgz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf xdg-utils f2c8335407f0b935b0a96d4adf23ef25 -_md5_=6e68ae4668a2c75f8b7ab03f8351b05f diff --git a/games-arcade/vor/Manifest b/games-arcade/vor/Manifest new file mode 100644 index 000000000000..a8471772c47a --- /dev/null +++ b/games-arcade/vor/Manifest @@ -0,0 +1,3 @@ +DIST vor-0.5.7.tgz 358032 BLAKE2B 96813207a8529d6a7ae5863811fa02666d51b4108afd96cf5b4aed0405d6cc32668f0a7abfbc571141877803a15678c46c8664fe3599cd12e0c6fe95ab5d880f SHA512 32dbfe95971298f9f0191cc95fdb5e9ec34c5f6771df1566554b128644770bfba618df3aac7242e647c8af2f41fc59c9e5620a4c56932d3af72197f6a19f0bce +EBUILD vor-0.5.7-r1.ebuild 743 BLAKE2B 8f3d66e038bf230e67fb4a470949aa7d13c6c22960e9caae716d4e6826d45388ac0a2a50b693c8363c905ce7d8a2e59a0158d904e004821c618371d2e1b1b1d5 SHA512 ee36425ae69fef18b3f69454f61e3eb6c83f50ce2fe308fbe2dd7bcc8561bb234cca316246c846a795d8756897108709cb6465745bb89ba4e603d38bdd451cc9 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/vor/metadata.xml b/games-arcade/vor/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/vor/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-arcade/vor/vor-0.5.7-r1.ebuild b/games-arcade/vor/vor-0.5.7-r1.ebuild new file mode 100644 index 000000000000..67a35306efe8 --- /dev/null +++ b/games-arcade/vor/vor-0.5.7-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop gnome2-utils + +DESCRIPTION="Variations on Rockdodger: Dodge the rocks until you die" +HOMEPAGE="http://jasonwoof.org/vor" +SRC_URI="https://jasonwoof.com/downloads/vor/${P}.tgz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="media-libs/libsdl[sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +src_install() { + dodir /usr/bin + DOCS="README* todo" default + newicon -s 48 data/icon.png ${PN}.png + make_desktop_entry ${PN} VoR +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/games-arcade/watermelons-1.1.1-r1 b/games-arcade/watermelons-1.1.1-r1 deleted file mode 100644 index 988d7ba40df6..000000000000 --- a/games-arcade/watermelons-1.1.1-r1 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] -DESCRIPTION=A thrilling watermelon bouncing game -EAPI=5 -HOMEPAGE=http://www.imitationpickles.org/melons/index.html -IUSE=python_targets_python2_7 -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] games-misc/games-envd -REQUIRED_USE=python_targets_python2_7 -SLOT=0 -SRC_URI=mirror://gentoo/melons-1.1.1.tgz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=a012d9e4917ff7fac3802b06148cb73f diff --git a/games-arcade/watermelons/Manifest b/games-arcade/watermelons/Manifest new file mode 100644 index 000000000000..239819da8038 --- /dev/null +++ b/games-arcade/watermelons/Manifest @@ -0,0 +1,3 @@ +DIST melons-1.1.1.tgz 318692 BLAKE2B b950e58062f85632cf87a205ede2437ddb9ac573574cb7cd5e73eabd3cbd7af8e2ee9a2dc06a31cb2f322198fb0bcb97b0c292a886711bf4fb868b4f90738a1c SHA512 50bb66de9806fb1bbe946ad5063e68d3327d6184b3e95230573f71053426ed877fc9762ef2b44e6964c9d7b8dc5081e9c3015885800dd6644a1dd88c9c5dc357 +EBUILD watermelons-1.1.1-r1.ebuild 1341 BLAKE2B 8042bdde7e2e08d25d68bae4fe295ee43ec2c98ab5f65169c4da17871a9366b0248a3ea95c57fc9fa85a9c3f0df7b2a5186994c0546fed0526cf7f3cd8d9e2e9 SHA512 3400eec09823777c70f4e9ab9dafa883bfa5cd05f765a9623e04ce75fdd2415ba921827383189737561b766bc8f7fb7d8e4ef306225217e2ffb35132a1e92508 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/watermelons/metadata.xml b/games-arcade/watermelons/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/watermelons/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-arcade/watermelons/watermelons-1.1.1-r1.ebuild b/games-arcade/watermelons/watermelons-1.1.1-r1.ebuild new file mode 100644 index 000000000000..72fec90aec30 --- /dev/null +++ b/games-arcade/watermelons/watermelons-1.1.1-r1.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 + +MY_PN="melons" +DESCRIPTION="A thrilling watermelon bouncing game" +HOMEPAGE="http://www.imitationpickles.org/melons/index.html" +SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tgz" +# No version upstream +#SRC_URI="http://www.imitationpickles.org/${MY_PN}/${MY_PN}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="dev-python/pygame[${PYTHON_USEDEP}] + ${PYTHON_DEPS}" +RDEPEND=${DEPEND} +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${MY_PN} + +pkg_setup() { + python-single-r1_pkg_setup + games_pkg_setup +} + +src_prepare() { + sed -i \ + -e "s:melons.hs:${GAMES_STATEDIR}/${PN}/&:" \ + main.py || die + + cat <<-EOF > "${PN}" || die + #!/bin/bash + cd "${GAMES_DATADIR}/${PN}" + exec ${EPYTHON} main.py +EOF +} + +src_install() { + dogamesbin ${PN} + insinto "${GAMES_DATADIR}/${PN}" + doins -r data pgu const.py game.py main.py melon.py melons.py menu.py trampoline.py + python_optimize "${D}${GAMES_DATADIR}/${PN}" + dodoc *.txt + dodir "${GAMES_STATEDIR}/${PN}" + touch "${D}${GAMES_STATEDIR}"/${PN}/melons.hs + fperms 664 "${GAMES_STATEDIR}"/${PN}/melons.hs + newicon data/mellon0013.png "${PN}.png" + make_desktop_entry ${PN} Watermelons + prepgamesdirs +} diff --git a/games-arcade/whichwayisup-0.7.9-r2 b/games-arcade/whichwayisup-0.7.9-r2 deleted file mode 100644 index 1d5440a885a2..000000000000 --- a/games-arcade/whichwayisup-0.7.9-r2 +++ /dev/null @@ -1,14 +0,0 @@ -DEFINED_PHASES=install prepare setup -DEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] app-arch/unzip -DESCRIPTION=A traditional and challenging 2D platformer game with a slight rotational twist -EAPI=6 -HOMEPAGE=http://hectigo.net/puskutraktori/whichwayisup/ -IUSE=python_targets_python2_7 -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 CC-BY-3.0 -RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] dev-python/pygame[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),python_single_target_python2_7(+)] -REQUIRED_USE=python_targets_python2_7 -SLOT=0 -SRC_URI=http://hectigo.net/puskutraktori/whichwayisup/whichwayisup_b079.zip -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 multilib 97f470f374f2e94ccab04a2fb21d811e python-single-r1 26fdbe5e685d53f67303a3a43d9e4848 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=ae6a27dfad16a33c11dda425138f610e diff --git a/games-arcade/whichwayisup/Manifest b/games-arcade/whichwayisup/Manifest new file mode 100644 index 000000000000..e27b41e2b46c --- /dev/null +++ b/games-arcade/whichwayisup/Manifest @@ -0,0 +1,4 @@ +AUX whichwayisup-32.xpm 1694 BLAKE2B 079e9f6e3dde54c1d2bb7f576330663fa886bc112f3e20398c3e50521c19ccc4c68647b37e9d3ed4dc88a7f2c2ac60d11c171e3350e7ec84fee0b193e4eeb830 SHA512 e0329876d45aa575abe07024d7f154ff743f1899c4dbb58b8e317ae9173c2aadd63a511924e99115a9f56f42411507f542225e4980d9588e09f7765cf41bf95c +DIST whichwayisup_b079.zip 1001890 BLAKE2B bfc8f15376ae7c93cc3921a7c0537d44bca44cbfd5e19533912c56151b8811a40e96271e0f3b8634a6fc4625bd32c9668fc3c321f1d2ea0306517067f3d31e24 SHA512 49ac6b8224f3cf7b0711b297c9dd96ff2a0969f7c16fa1da500bef1ea5d793bd900be124a9b9874239c98db6fd2db92917b8ce2ee09b685e184cfd87bf519809 +EBUILD whichwayisup-0.7.9-r2.ebuild 1238 BLAKE2B 9470470daf38683f8a2f0e25872564ffd7117cd80c4eae2191d87db21089879b07d13738c24be27e11b515221a0bcf557ce29d7e222b1f78c71cae17dd0594b3 SHA512 c27361684ecb16ed1ee09f85adf191bec985703a0d6012e318c98859359354e30bb00c249c37fab47741fde4c233ac9285f4b4e3e0657b6473ef28af1b743f6a +MISC metadata.xml 491 BLAKE2B 7c632e2660757b2796dc732506e95b040890bc30941d152f4b650a2aad266e9aa3c013ce8054d02979c64610559ace6b4ac4b6d8ed9b5277a0dd9c92d9414b4c SHA512 a53511b1c0d5b69a34c5dfb0c302505cda98b9a54edb6b4f74868a48ee7870b1ec83dfedff7833e2997a97160182fb35f610a2f97c3577ca4b4cc297c98eeb1b diff --git a/games-arcade/whichwayisup/files/whichwayisup-32.xpm b/games-arcade/whichwayisup/files/whichwayisup-32.xpm new file mode 100644 index 000000000000..f5a6ff33c0dc --- /dev/null +++ b/games-arcade/whichwayisup/files/whichwayisup-32.xpm @@ -0,0 +1,67 @@ +/* XPM */ +static char * whichwayisup_32_xpm[] = { +"32 32 32 1", +" c None", +". c #03151B", +"+ c #016C87", +"@ c #225361", +"# c #363636", +"$ c #387D9A", +"% c #0A2B35", +"& c #4E4F50", +"* c #ECEBEB", +"= c #9D866F", +"- c #E3D9D3", +"; c #A8947C", +"> c #CDCDCD", +", c #C5BDA7", +"' c #B2A38C", +") c #D0C9B4", +"! c #AEACAB", +"~ c #FDFDFD", +"{ c #020202", +"] c #856B5D", +"^ c #262524", +"/ c #6E6E6E", +"( c #888987", +"_ c #121111", +": c #9E9D9D", +"< c #4F6871", +"[ c #BCBDBD", +"} c #023B4A", +"| c #6E4C3B", +"1 c #7D5945", +"2 c #4F2C21", +"3 c #401D14", +" .+@@# ", +" ++++$ ", +" #%&@&@@@. ", +" *=-;>,'- ", +" )*=!~ ", +" {{#]]]#{{ ", +" {{^^%+@/(%_/#_ ", +" {{&:*>@+<&<<%[~[&{ ", +" _#:~~~~<+@/@&&(-~~/_ ", +" _#>~~[<^{}%%@{_&{<>~:{ ", +" _#-~>&{{ }}.+{ {^:~({ ", +" ^>~>_^(;>,:((((--,) {(~& ", +" {(~*#{ ,),))))))),,; _>[{ ", +" #^*~({ ;',,,,,),,,=| {&*# ", +" _/~~&{ ;;',)),)),=1] ^*/{ ", +" _(~*^_ =;;'),,))=|11 {>[_ ", +" _!~*_{ ====',,,=|1|2 {:-^ ", +" _:~*^{ ;;;';')=|]1## {:*^ ", +" {(~*^{ ;=;=;=]||12&2 {:~^ ", +" _&~~&{ ==;==|321^:/^ {[~^ ", +" _>~/{ =';;13222&~#3 {#~>_ ", +" {/~!{ =;=|3333_[~^# {:~(^ ", +" ^_>~^{ ''|3222_#~*^| {#~*^ ", +" {#~:{&'123232{/~*^^{_>~/{ ", +" {&*&^|323333{(~*&{#>~:{ ", +" {&!# {(~~[!*~:{{ ", +" {^#_ {/~*~~~:{{ ", +" __{{ {#~~~~~:^{ ", +" _>~~~~~-/_{ ", +" {#([*~~~~[&_{ ", +" {{^&(:[**!&{ ", +" {{_^&&#{"}; diff --git a/games-arcade/whichwayisup/metadata.xml b/games-arcade/whichwayisup/metadata.xml new file mode 100644 index 000000000000..e60b4379f974 --- /dev/null +++ b/games-arcade/whichwayisup/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> + <longdescription>A traditional and challenging 2D platformer game with a + slight rotational twist. Help a mysterious big-eared salaryman named Guy + find his keys in a labyrinth of dangers and bad dialogue.</longdescription> +</pkgmetadata> diff --git a/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild b/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild new file mode 100644 index 000000000000..84964d15a797 --- /dev/null +++ b/games-arcade/whichwayisup/whichwayisup-0.7.9-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit desktop python-single-r1 + +MY_PV="${PV//./}" +MY_P="${PN}_b${MY_PV}" + +DESCRIPTION="A traditional and challenging 2D platformer game with a slight rotational twist" +HOMEPAGE="http://hectigo.net/puskutraktori/whichwayisup/" +SRC_URI="http://hectigo.net/puskutraktori/whichwayisup/${MY_P}.zip" + +LICENSE="GPL-2 CC-BY-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/pygame[${PYTHON_USEDEP}] +" +DEPEND="${RDEPEND} + app-arch/unzip +" + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + sed -i \ + -e "s:libdir\ =\ .*:libdir\ =\ \"/usr/$(get_libdir)/${PN}\":" \ + run_game.py || die + sed -i \ + -e "s:data_dir\ =\ .*:data_dir\ =\ \"/usr/share/${PN}\":" \ + lib/data.py || die + rm data/pictures/Thumbs.db + python_fix_shebang . +} + +src_install() { + newbin run_game.py ${PN} + + insinto "/usr/$(get_libdir)/${PN}" + doins lib/*.py + + python_optimize "${ED}/usr/$(get_libdir)/${PN}" + + einstalldocs + + insinto "/usr/share/${PN}" + doins -r data/* + + newicon "${FILESDIR}"/${PN}-32.xpm ${PN}.xpm + make_desktop_entry ${PN} "Which Way Is Up?" +} diff --git a/games-arcade/wop-0.4.3-r2 b/games-arcade/wop-0.4.3-r2 deleted file mode 100644 index 1d9f44cfa035..000000000000 --- a/games-arcade/wop-0.4.3-r2 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=configure install -DEPEND=media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer media-libs/sdl-net media-libs/sdl-ttf x11-misc/makedepend -DESCRIPTION=Worms of Prey - A multi-player, real-time clone of Worms -EAPI=6 -HOMEPAGE=http://wormsofprey.org/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl media-libs/sdl-image media-libs/sdl-mixer media-libs/sdl-net media-libs/sdl-ttf -SLOT=0 -SRC_URI=http://wormsofprey.org/download/wop-0.4.3-src.tar.bz2 http://wormsofprey.org/download/wopdata-2005-12-21.tar.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=55b830f547e669d8c6a03534a121426b diff --git a/games-arcade/wop/Manifest b/games-arcade/wop/Manifest new file mode 100644 index 000000000000..dde18551c81b --- /dev/null +++ b/games-arcade/wop/Manifest @@ -0,0 +1,7 @@ +AUX wop-0.4.3-fix-build-system.patch 2381 BLAKE2B 8115f6da93c503b1f5271bf0f8cf40c0513b0a3d74ec2387201d4ed2ec52a1518171e382518541315964b3dc6ca19ed99562c660653dcfefb0f5057f5c35d936 SHA512 73c7196caeeaf247bcc70336c8ce105b43ff08948d0f959487fa497c540e3a7447eadabdc8cc9753e7436ae86aad2fbdeb6190e2da75e7f0bf5bd23ff57b0d33 +AUX wop-0.4.3-gcc43.patch 761 BLAKE2B 7800d46a067f23ac40f9fca23699579fbbbe644550394fc41fe6dc8fde9103a8d456c35d29114829f388244dc2410309fbfc5bc26eecf01883d4034e23618bc0 SHA512 24ecbb265e9b38c8515b50a5f897c295e3573d6f5ca2a0f463db178d404456875af65c5ce0e9ea72bebffae3250dec44e4ae86da6558ea60db0760ce5247014a +AUX wop-0.4.3-gcc6.patch 673 BLAKE2B 0c535efe1aa0b005f30bbf17a075de0f51822d4d0474f635bd0c23e0e667d2e5e94f0735079498d23e0be9035545e09f0b394bf3b4102372159db21775caf17e SHA512 7e0624b4a7a99eacbb854b1e0075ecc06c7b4b10d8a7ad18e01d5908cab7a7c222d8d15d833a2cd85f49d75d3b6aa1709bb7ec6ba69f29ed98ea17778df1a057 +DIST wop-0.4.3-src.tar.bz2 280974 BLAKE2B 8a24aa604ba0eab141e9a59b595ea882a5b0fb22662bb10752d2fdac79e00be4bce4721cdfca479d8f55bcaee5f1f33e7af57573dbd4c7994c88124ac35fd551 SHA512 259f9f455e6fbfae2ffb6e169dcf1661f1353e28a5e51b6e907f2868a50c5f54982b4d383dcfcec201c9a2d0429fb468c44c974695364c5fd28d25328e10c6b8 +DIST wopdata-2005-12-21.tar.bz2 4217006 BLAKE2B 0ebe5dd4ee8ca2ea026313ec9ee6a283699ad144e39a7d1f6984c37720b0beafb98a8864a0695484427c3398969908f3ca16909ef07601046540accb3cfbe103 SHA512 6ebc264d1811091550d664a77aeae68184a058c666db486e4ae411e0849abbd02dd2037a3a1a9a31a73774e5f616c21840b0c1de58636dde0e59bd0e952cb505 +EBUILD wop-0.4.3-r2.ebuild 1117 BLAKE2B 669cb80cf2020b122c7472e7af59231658701b8014e8d4c125a8b1a814e838d2f43a984d916ba6f6f25d20ad71a724274a717ab8fceebcd82f16e7f75e710dd3 SHA512 077eeb187309698d84c354deda455f27212bdf11e7d57f296ba39b08fb7caaa1abace85b16630bed68ca9dd5823e6ab6ab7640b16a1ccdfa7d6c33dd29cbff62 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/wop/files/wop-0.4.3-fix-build-system.patch b/games-arcade/wop/files/wop-0.4.3-fix-build-system.patch new file mode 100644 index 000000000000..5af16960a95a --- /dev/null +++ b/games-arcade/wop/files/wop-0.4.3-fix-build-system.patch @@ -0,0 +1,100 @@ +* Remove hardcoded user variables +* Respect LDFLAGS and CPPFLAGS +* Fix installation dir for arch-independent files + +--- a/Makefile ++++ b/Makefile +@@ -3,22 +3,22 @@ + sinclude Makefile.local + + all: +- +cd sdlwidgets; make +- +cd src; make ++ $(MAKE) -C sdlwidgets ++ $(MAKE) -C src + runc: +- +cd src; make runc ++ $(MAKE) -C src runc + runs: +- +cd src; make runs ++ $(MAKE) -C src runs + doc: +- cd src; make doc ++ $(MAKE) -C src doc + clean: +- cd sdlwidgets; make clean +- cd src; make clean ++ $(MAKE) -C sdlwidgets clean ++ $(MAKE) -C src clean + cd doc; rm -rf html + unison: +- cd src; make unison ++ $(MAKE) -C src unison + gunison: +- cd src; make gunison ++ $(MAKE) -C src gunison + snapshot-src: + ln -s . wop; \ + tar cjvf wop-`date +%F`.tar.bz2 \ +--- a/sdlwidgets/Makefile ++++ b/sdlwidgets/Makefile +@@ -9,16 +9,12 @@ + CXXFLAGS ?= -Wall -Wshadow -Wsign-compare -Wparentheses -Wconversion -g -O3 -ansi + CXXFLAGS += $(shell sdl-config --cflags) + +-CXX = g++ +-AR = ar cru +-RANLIB = ranlib +- + sinclude ../src/Makefile.local + + all: $(TARGET) + + $(TARGET): $(OBJECT_FILES) Makefile +- $(AR) $(TARGET) $(OBJECT_FILES) ++ $(AR) cru $(TARGET) $(OBJECT_FILES) + $(RANLIB) $(TARGET) + + %.o: %.cpp Makefile +--- a/src/Makefile ++++ b/src/Makefile +@@ -18,14 +18,13 @@ + -DUSE_SDL -DNEW=new\(std::nothrow\) \ + -I../sdlwidgets \ + $(shell sdl-config --cflags) # -g +-LDFLAGS = -L../sdlwidgets -lsdlwidgets -lz \ ++LIBS = -L../sdlwidgets -lsdlwidgets -lz \ + -lm -lSDL_net -lSDL_mixer -lSDL_ttf -lSDL_image \ + $(shell sdl-config --libs) # -g + + WOPFLAGS = data=../data + DOXYGENFLAGS = ../doc/doxygen.rc + +-CXX = g++ + DOXYGEN = doxygen + UNISON_SOURCE = ssh://131.188.67.22//homes/staff/pohlt/wop/.unison_data + +@@ -56,10 +55,10 @@ + + $(TARGET): $(OBJECT_FILES) Makefile ../sdlwidgets/libsdlwidgets.a + -mkdir ../bin +- $(CXX) $(OBJECT_FILES) -o $(TARGET) $(LDFLAGS) ++ $(CXX) $(LDFLAGS) $(OBJECT_FILES) -o $(TARGET) $(LIBS) + + %.o: %.cpp Makefile +- $(CXX) $(CXXFLAGS) -c $< -o $@ ++ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $< -o $@ + + clean: + -rm -f $(TARGET) *.o Makefile.depend* +--- a/woprc ++++ b/woprc +@@ -30,7 +30,7 @@ + + ## path of the data directory + ## - optional, default "./data" +-data = ./data ++data = /usr/share/wop + + ## server name or IP address + ## - optional, default "localhost" diff --git a/games-arcade/wop/files/wop-0.4.3-gcc43.patch b/games-arcade/wop/files/wop-0.4.3-gcc43.patch new file mode 100644 index 000000000000..d4273f18ff6e --- /dev/null +++ b/games-arcade/wop/files/wop-0.4.3-gcc43.patch @@ -0,0 +1,32 @@ +--- a/src/scusibot.cpp ++++ b/src/scusibot.cpp +@@ -5,6 +5,7 @@ + #include "stationarygun.hpp" + #include "global.hpp" + #include <vector> ++#include <algorithm> + + ScusiBot::ScusiBot() + : m_event( Event::EMPTY ), m_count( 0 ), m_state( IDLE ) { +--- a/src/gameinfowindow.cpp ++++ b/src/gameinfowindow.cpp +@@ -10,6 +10,8 @@ + #include "avatarworm.hpp" + #include "wopsprites.hpp" + #include "wopsprites.cpp" ++#include "spriteset.cpp" ++#include "spritesequence.cpp" + #include "scorekeeper.hpp" + #include "wopgui.hpp" + +--- a/src/map.cpp ++++ b/src/map.cpp +@@ -9,6 +9,8 @@ + #include "world.hpp" + #include "wopsettings.hpp" + #include "objectpaths.hpp" ++#include "spriteset.cpp" ++#include "spritesequence.cpp" + + /**********************************************************/ + diff --git a/games-arcade/wop/files/wop-0.4.3-gcc6.patch b/games-arcade/wop/files/wop-0.4.3-gcc6.patch new file mode 100644 index 000000000000..14eea98c1a4e --- /dev/null +++ b/games-arcade/wop/files/wop-0.4.3-gcc6.patch @@ -0,0 +1,17 @@ +--- a/src/global.cpp ++++ b/src/global.cpp +@@ -44,10 +44,10 @@ + #define GREEN(s) s + #define RED(s) s + #else +-#define BLACK(s) "\033[0;1m"s"\033[0m" +-#define BLINKINK_BLACK_ON_RED(s) "\033[05;1;41m"s"\033[0m" +-#define GREEN(s) "\033[32m"s"\033[0m" +-#define RED(s) "\033[31m"s"\033[0m" ++#define BLACK(s) "\033[0;1m" s "\033[0m" ++#define BLINKINK_BLACK_ON_RED(s) "\033[05;1;41m" s "\033[0m" ++#define GREEN(s) "\033[32m" s "\033[0m" ++#define RED(s) "\033[31m" s "\033[0m" + #endif + + /**********************************************************/ diff --git a/games-arcade/wop/metadata.xml b/games-arcade/wop/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/wop/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-arcade/wop/wop-0.4.3-r2.ebuild b/games-arcade/wop/wop-0.4.3-r2.ebuild new file mode 100644 index 000000000000..f0ef50085b68 --- /dev/null +++ b/games-arcade/wop/wop-0.4.3-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils toolchain-funcs + +MY_DATA_V="2005-12-21" +MY_DATA_P="${PN}data-${MY_DATA_V}" + +DESCRIPTION="Worms of Prey - A multi-player, real-time clone of Worms" +HOMEPAGE="http://wormsofprey.org/" +SRC_URI=" + http://wormsofprey.org/download/${P}-src.tar.bz2 + http://wormsofprey.org/download/${MY_DATA_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=" + media-libs/libsdl + media-libs/sdl-image + media-libs/sdl-mixer + media-libs/sdl-net + media-libs/sdl-ttf" +DEPEND="${RDEPEND} + x11-misc/makedepend" + +PATCHES=( + "${FILESDIR}"/${P}-fix-build-system.patch + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc6.patch +) + +src_configure() { + tc-export AR CXX RANLIB +} + +src_install() { + dobin bin/${PN} + + insinto /usr/share/${PN} + doins -r "${WORKDIR}/${MY_DATA_P}"/. + + insinto /etc + doins woprc + + newicon "${WORKDIR}/${MY_DATA_P}"/images/misc/icons/wop16.png ${PN}.png + make_desktop_entry wop "Worms of Prey" + + dodoc AUTHORS ChangeLog README{,-Libraries.txt} REVIEWS +} diff --git a/games-arcade/xbill-2.1-r2 b/games-arcade/xbill-2.1-r2 deleted file mode 100644 index 78172386543e..000000000000 --- a/games-arcade/xbill-2.1-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=gtk? ( x11-libs/gtk+:2 ) !gtk? ( x11-libs/libXaw ) virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 -DESCRIPTION=A game about an evil hacker called Bill! -EAPI=5 -HOMEPAGE=http://www.xbill.org/ -IUSE=gtk -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=GPL-1 -RDEPEND=gtk? ( x11-libs/gtk+:2 ) !gtk? ( x11-libs/libXaw ) games-misc/games-envd -SLOT=0 -SRC_URI=http://www.xbill.org/download/xbill-2.1.tar.gz -_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=2e370a36a16f805688fd6d70e3208bd0 diff --git a/games-arcade/xbill/Manifest b/games-arcade/xbill/Manifest new file mode 100644 index 000000000000..3aa4155109d8 --- /dev/null +++ b/games-arcade/xbill/Manifest @@ -0,0 +1,5 @@ +AUX xbill-2.1-gentoo.patch 9281 BLAKE2B 852ac415c5525daeb47f321c2e91d76a2af842b5e934a0082e481a940919cffff3c600cd373c76564741346d580db01eba8ce502ba7f47c627a3c66bf042aa5a SHA512 81bdcb950260b6d8b52b9857d1d09b351b422df5789319873ea6e6f2431559c6a0a5a963a87313ed23b2a496d570c6c02e50df2c22f4195c48506f7711a740b8 +AUX xbill-2.1-gtk2.patch 582 BLAKE2B 6f1c3a23a672f4b1f2acd7fbb3e26df4b762eadbbdbb94fc9d2b0b12afe09cafdef6d6834bfb8cd5b7467575a4be72b985c804e95389a36061b676bd31c1abaa SHA512 628db81665e33431391f8756969c97bcb4514ad91c3248470204c41b386b01b3e2733d7a8a524f282b304e7fa5eafdf77ec6a7e4f1c45cadc09e6a3a355359f7 +DIST xbill-2.1.tar.gz 77610 BLAKE2B aeadc62fa01a3d37b1ae6388987e5d5e3a2d73b9c5afa99b9a2c61155eeb5fb2efc4a36dd2cbeb3fd2f677b385550146d75964afa5f7e83a27f6dc7a16db83c9 SHA512 127604d88258db0ec47084209c656f8817146d70b0fe16f5a1d79883415cf38200594834b39080d78c627104ae6d204f3c12caf127fa094108c4edfbfa98d966 +EBUILD xbill-2.1-r2.ebuild 788 BLAKE2B 956b073a41e85d3529c1bd7ac1881de3c46edabefcff01ab5f073c23fa046fdc5fc39718f128cff2973f88cad9441e6b7290f38d6cd437106bee185d9fc497f1 SHA512 7bb90ea958abc709616dcc1997499d348cca76b6a844620435ec8051b221cda99a9ac70d5cd5dc5593491a5f70c29e5782cf06320a64cbf80d231ef43edbbe3a +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/xbill/files/xbill-2.1-gentoo.patch b/games-arcade/xbill/files/xbill-2.1-gentoo.patch new file mode 100644 index 000000000000..3446de74c92d --- /dev/null +++ b/games-arcade/xbill/files/xbill-2.1-gentoo.patch @@ -0,0 +1,353 @@ +diff -urN xbill-2.1.orig/bitmaps/gentoo.xbm xbill-2.1/bitmaps/gentoo.xbm +--- xbill-2.1.orig/bitmaps/gentoo.xbm 1970-01-01 01:00:00.000000000 +0100 ++++ xbill-2.1/bitmaps/gentoo.xbm 2008-08-23 00:48:57.000000000 +0200 +@@ -0,0 +1,11 @@ ++#define gentoo_width 28 ++#define gentoo_height 24 ++static unsigned char gentoo_bits[] = { ++ 0x00, 0x69, 0x00, 0x00, 0x20, 0x80, 0x03, 0x00, 0x10, 0x00, 0x0e, 0x00, ++ 0x08, 0x00, 0x18, 0x00, 0x04, 0x00, 0x70, 0x00, 0x02, 0xc0, 0xa5, 0x00, ++ 0x02, 0xf0, 0x69, 0x00, 0x02, 0xf8, 0xc1, 0x01, 0x06, 0xe0, 0x5a, 0x01, ++ 0x0c, 0x00, 0xa0, 0x03, 0x38, 0x00, 0x54, 0x01, 0xe0, 0x00, 0xa8, 0x09, ++ 0x00, 0x00, 0x52, 0x04, 0x00, 0x00, 0x2a, 0x06, 0x00, 0x00, 0x14, 0x03, ++ 0x00, 0x80, 0x82, 0x00, 0x00, 0x00, 0x61, 0x00, 0x00, 0x20, 0x38, 0x00, ++ 0x00, 0x00, 0x0e, 0x00, 0x00, 0x80, 0x03, 0x00, 0x01, 0xe0, 0x00, 0x00, ++ 0x02, 0x7c, 0x00, 0x00, 0xfe, 0x0f, 0x00, 0x00, 0xf8, 0x01, 0x00, 0x00 }; +diff -urN xbill-2.1.orig/gtk.c xbill-2.1/gtk.c +--- xbill-2.1.orig/gtk.c 2001-10-30 19:28:27.000000000 +0100 ++++ xbill-2.1/gtk.c 2008-08-23 00:57:55.000000000 +0200 +@@ -179,6 +179,7 @@ + #include "bitmaps/hand_down_mask.xbm" + #include "bitmaps/hand_up.xbm" + #include "bitmaps/hand_up_mask.xbm" ++#include "bitmaps/gentoo.xbm" + + typedef struct cursormap { + const char *name; +@@ -195,7 +196,7 @@ + static cursormap cursors[] = { + CURSOR_ADD(apple), CURSOR_ADD(bsd), CURSOR_ADD(hurd), + CURSOR_ADD(linux), CURSOR_ADD(next), CURSOR_ADD(os2), CURSOR_ADD(palm), +- CURSOR_ADD(redhat), CURSOR_ADD(sgi), CURSOR_ADD(sun), ++ CURSOR_ADD(redhat), CURSOR_ADD(sgi), CURSOR_ADD(sun), CURSOR_ADD(gentoo), + CURSOR_ADD(bucket), + CURSOR_ADD_MASKED(hand_up), CURSOR_ADD_MASKED(hand_down), + {NULL, 0, 0, NULL, NULL}, +diff -urN xbill-2.1.orig/Makefile.in xbill-2.1/Makefile.in +--- xbill-2.1.orig/Makefile.in 2001-10-30 19:31:09.000000000 +0100 ++++ xbill-2.1/Makefile.in 2008-08-23 00:50:05.000000000 +0200 +@@ -46,13 +46,13 @@ + pixmaps/palm.xpm pixmaps/palmcpu.xpm pixmaps/redhat.xpm \ + pixmaps/sgi.xpm pixmaps/sgicpu.xpm pixmaps/spark_0.xpm \ + pixmaps/spark_1.xpm pixmaps/sun.xpm pixmaps/suncpu.xpm \ +- pixmaps/toaster.xpm pixmaps/wingdows.xpm ++ pixmaps/toaster.xpm pixmaps/wingdows.xpm pixmaps/gentoo.xpm + + XBMS = bitmaps/apple.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm \ + bitmaps/hand_down.xbm bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm \ + bitmaps/hand_up_mask.xbm bitmaps/hurd.xbm bitmaps/linux.xbm \ + bitmaps/next.xbm bitmaps/os2.xbm bitmaps/palm.xbm bitmaps/redhat.xbm \ +- bitmaps/sgi.xbm bitmaps/sun.xbm ++ bitmaps/sgi.xbm bitmaps/sun.xbm bitmaps/gentoo.xbm + + MANDIR = man6 + MAN = xbill.6 +diff -urN xbill-2.1.orig/OS.c xbill-2.1/OS.c +--- xbill-2.1.orig/OS.c 2001-10-30 19:28:27.000000000 +0100 ++++ xbill-2.1/OS.c 2008-08-23 00:50:26.000000000 +0200 +@@ -7,7 +7,7 @@ + #define MIN_PC 6 /* OS >= MIN_PC means the OS is a PC OS */ + + static const char *osname[] = {"wingdows", "apple", "next", "sgi", "sun", +- "palm", "os2", "bsd", "linux", "redhat", "hurd"}; ++ "palm", "os2", "bsd", "linux", "redhat", "hurd", "gentoo"}; + #define NUM_OS (sizeof(osname) / sizeof(osname[0])) + + static Picture *os[NUM_OS]; /* array of OS pictures*/ +diff -urN xbill-2.1.orig/pixmaps/gentoo.xpm xbill-2.1/pixmaps/gentoo.xpm +--- xbill-2.1.orig/pixmaps/gentoo.xpm 1970-01-01 01:00:00.000000000 +0100 ++++ xbill-2.1/pixmaps/gentoo.xpm 2008-08-23 00:49:01.000000000 +0200 +@@ -0,0 +1,283 @@ ++/* XPM */ ++static char * gentoo_xpm[] = { ++"28 24 256 2", ++" c None", ++". c #9B91FA", ++"+ c #998FFB", ++"@ c #9D97C7", ++"# c #958EC6", ++"$ c #FEFEFE", ++"% c #FFFFFF", ++"& c #FCFCFE", ++"* c #F3F3FC", ++"= c #C4C0EF", ++"- c #948BE3", ++"; c #958BF1", ++"> c #9992D1", ++", c #D8D6F0", ++"' c #F7F7FC", ++") c #EDEDFB", ++"! c #E4E3FA", ++"~ c #DAD9F8", ++"{ c #9185F7", ++"] c #9287F7", ++"^ c #948BE4", ++"/ c #FAFAFD", ++"( c #F0F0FC", ++"_ c #E7E6FA", ++": c #DCDCF7", ++"< c #D3D2F7", ++"[ c #C9C8F5", ++"} c #9D95F6", ++"| c #9184F7", ++"1 c #8F83F4", ++"2 c #FCFCFD", ++"3 c #F2F2FB", ++"4 c #E9E8FA", ++"5 c #DFDEF8", ++"6 c #D5D4F6", ++"7 c #CBCAF4", ++"8 c #C1C0F3", ++"9 c #BBBAF2", ++"0 c #AAA4F4", ++"a c #9388F8", ++"b c #CECDF5", ++"c c #9E95F6", ++"d c #E0E0F8", ++"e c #D6D5F7", ++"f c #CCCBF5", ++"g c #C2C1F2", ++"h c #BBB8F2", ++"i c #B5B2F4", ++"j c #B5B2F2", ++"k c #9084EF", ++"l c #8E82F8", ++"m c #EBE9FD", ++"n c #9184F2", ++"o c #9084F0", ++"p c #998FF6", ++"q c #908AB7", ++"r c #D5D5F5", ++"s c #CCCCF4", ++"t c #C3C2F3", ++"u c #BBB9F2", ++"v c #B5B2F3", ++"w c #AFABF3", ++"x c #C3C2F4", ++"y c #C6C6F4", ++"z c #8E81F4", ++"A c #9186ED", ++"B c #9287ED", ++"C c #9287EB", ++"D c #524C76", ++"E c #CCCBF4", ++"F c #BBB9F3", ++"G c #AFABF4", ++"H c #AAA5F5", ++"I c #D9D8F6", ++"J c #DADAF7", ++"K c #9085EF", ++"L c #C5C2F6", ++"M c #FEFEFF", ++"N c #9D97C9", ++"O c #8C86B3", ++"P c #938AE6", ++"Q c #514C76", ++"R c #CBCBF5", ++"S c #BAB9F2", ++"T c #B4B1F3", ++"U c #AFAAF4", ++"V c #A9A4F5", ++"W c #A59DF6", ++"X c #E0DEF9", ++"Y c #EFEFFC", ++"Z c #9388EA", ++"` c #BCBCF3", ++" . c #BCBBF2", ++".. c #BEBDF2", ++"+. c #FBFBFE", ++"@. c #FAFAFF", ++"#. c #E7E7F9", ++"$. c #DEDEF9", ++"%. c #D4D4F7", ++"&. c #CAC9F4", ++"*. c #C0BFF3", ++"=. c #BAB8F2", ++"-. c #B4B0F4", ++";. c #AEAAF4", ++">. c #A9A3F5", ++",. c #A39CF6", ++"'. c #9F96F5", ++"). c #958AE3", ++"!. c #D2D2F6", ++"~. c #D3D2F6", ++"{. c #D6D5F6", ++"]. c #F9F9FD", ++"^. c #EFEFFB", ++"/. c #E5E5F9", ++"(. c #DCDBF8", ++"_. c #D2D1F6", ++":. c #C8C7F4", ++"<. c #BFBEF3", ++"[. c #B9B7F2", ++"}. c #B3AFF4", ++"|. c #ADA9F3", ++"1. c #A9A1F5", ++"2. c #A29CF6", ++"3. c #9E95F7", ++"4. c #F3F2FE", ++"5. c #968DDE", ++"6. c #968EDD", ++"7. c #978DDC", ++"8. c #988EDB", ++"9. c #EAEAFA", ++"0. c #FFFFFE", ++"a. c #F5F5FD", ++"b. c #EBEBFB", ++"c. c #E2E2F8", ++"d. c #D8D8F8", ++"e. c #D0CEF6", ++"f. c #C6C5F4", ++"g. c #B7B4F3", ++"h. c #B1AEF4", ++"i. c #ADA8F5", ++"j. c #A7A1F5", ++"k. c #A19AF6", ++"l. c #9D93F7", ++"m. c #9890D6", ++"n. c #FBFBFD", ++"o. c #FAFAFE", ++"p. c #F1F1FB", ++"q. c #E8E7F9", ++"r. c #D5D5F7", ++"s. c #C2C1F3", ++"t. c #BBBAF3", ++"u. c #B5B3F2", ++"v. c #B1ACF4", ++"w. c #ABA6F4", ++"x. c #A69FF5", ++"y. c #A199F6", ++"z. c #9D96C8", ++"A. c #FDFDFD", ++"B. c #F5F5FC", ++"C. c #ECECFB", ++"D. c #E3E3F9", ++"E. c #D2D0F6", ++"F. c #C8C8F5", ++"G. c #BFBEF2", ++"H. c #B9B7F3", ++"I. c #AAA4F5", ++"J. c #9E96F5", ++"K. c #9B95C3", ++"L. c #9B95C2", ++"M. c #CDCCF4", ++"N. c #C4C3F3", ++"O. c #BCBAF2", ++"P. c #B1AEF3", ++"Q. c #ACA8F4", ++"R. c #958FBC", ++"S. c #948EBB", ++"T. c #F8F8FC", ++"U. c #F1F1FC", ++"V. c #E9E9FB", ++"W. c #E1E1F9", ++"X. c #D9D8F8", ++"Y. c #D0D0F6", ++"Z. c #C7C7F4", ++"`. c #B5B1F4", ++" + c #B0ABF4", ++".+ c #908AB8", ++"++ c #8E88B6", ++"@+ c #8E88B5", ++"#+ c #9892C2", ++"$+ c #FEFEFD", ++"%+ c #F1F0FB", ++"&+ c #EAE9FA", ++"*+ c #E2E2F9", ++"=+ c #DBDAF7", ++"-+ c #CBCAF5", ++";+ c #BCB9F2", ++">+ c #B6B4F2", ++",+ c #8A84B1", ++"'+ c #8983B0", ++")+ c #9791BE", ++"!+ c #F0EFFB", ++"~+ c #E8E9FB", ++"{+ c #E2E1F9", ++"]+ c #DBDAF8", ++"^+ c #D3D3F7", ++"/+ c #C5C4F4", ++"(+ c #D0CFF7", ++"_+ c #857FAB", ++":+ c #847EAA", ++"<+ c #837DA8", ++"[+ c #F6F6FD", ++"}+ c #F2F1FC", ++"|+ c #ECECFA", ++"1+ c #E6E7F9", ++"2+ c #E1E0F9", ++"3+ c #D4D3F6", ++"4+ c #C5C4F3", ++"5+ c #D1CFDF", ++"6+ c #7E78A5", ++"7+ c #7D77A4", ++"8+ c #F3F2FB", ++"9+ c #F0EFFC", ++"0+ c #E8E8FA", ++"a+ c #DFDEF9", ++"b+ c #D3D1F5", ++"c+ c #C3C3F3", ++"d+ c #FDFDFE", ++"e+ c #78729E", ++"f+ c #77719D", ++"g+ c #76709C", ++"h+ c #EAEAFB", ++"i+ c #E6E6FA", ++"j+ c #6B6594", ++"k+ c #736D99", ++"l+ c #736D98", ++"m+ c #726C97", ++"n+ c #7A749F", ++"o+ c #DADAF8", ++"p+ c #6F6995", ++"q+ c #6E6894", ++"r+ c #6C6693", ++"s+ c #6C6692", ++"t+ c #C7C4D5", ++"u+ c #6D6792", ++"v+ c #6B658F", ++"w+ c #6A648E", ++"x+ c #68628D", ++"y+ c #67618D", ++"z+ c #67618B", ++"A+ c #69638E", ++"B+ c #68628E", ++"C+ c #67618C", ++"D+ c #655F8A", ++"E+ c #645E89", ++"F+ c #645E88", ++"G+ c #635D88", ++" . + ", ++" @ # $ % % & * = - ; ", ++" > , % % % % % % ' ) ! ~ { ] ", ++" ^ % % % % % % % % / ( _ : < [ } | ", ++" 1 $ $ $ $ $ $ $ $ $ 2 3 4 5 6 7 8 9 0 ", ++" a % $ % $ % $ % $ % $ % b c d e f g h i j k ", ++" l % % % $ $ % % $ $ % m n o p q r s t u v w x y ", ++" z $ % % $ $ % % $ $ v A B C C D D E g F i G H I J ", ++" K G L % % % % % % % M N O P Q e R g S T U V W X Y ", ++" Z ` ...$ % % % $ % % +.@.#.$.%.&.*.=.-.;.>.,.'.$ $ ", ++" ).).!.~.{.% $ $ $ % ].^./.(._.:.<.[.}.|.1.2.3.4.$ ", ++" 5.6.7.8.9.) $ $ 0.a.b.c.d.e.f.` g.h.i.j.k.l.$ $ ", ++" m.n.$ % $ o.p.q.5 r.f s.t.u.v.w.x.y.$ % z.", ++" $ $ $ $ $ A.B.C.D.J E.F.G.H.T ;.I.J.$ $ K.L.", ++" $ $ % $ $ $ ' ^._ $.e M.N.O.g.P.Q.% % $ R.S. ", ++" $ $ % $ $ $ T.U.V.W.X.Y.Z.<.H.`. +$ % .+++@+ ", ++" #+$ $ $ $ $ $+T.%+&+*+=+!.-+t ;+>+% $ $ ,+'+ ", ++" )+$ % % $ $ / B.!+~+{+]+^+f /+ .(+$ % _+:+<+ ", ++" % $ % & ].[+}+|+1+2+=+3+s 4+9 % % 5+6+7+ ", ++"'+$ [+B.8+9+C.0+! a+X.b+f c+$ % d+e+f+g+ ", ++" $ $ h+~+i+c.a+~ e Y.$ % % j+k+l+m+ ", ++" n+% % ].J o+0.$ $ % % p+q+r+s+ ", ++" l+m+t+% $ $ % u+v+w+x+y+z+ ", ++" A+B+y+C+D+E+F+G+ "}; diff --git a/games-arcade/xbill/files/xbill-2.1-gtk2.patch b/games-arcade/xbill/files/xbill-2.1-gtk2.patch new file mode 100644 index 000000000000..70817b09c7ab --- /dev/null +++ b/games-arcade/xbill/files/xbill-2.1-gtk2.patch @@ -0,0 +1,18 @@ +--- configure.in.old 2007-12-05 22:37:57.000000000 +0100 ++++ configure.in 2007-12-05 22:54:57.000000000 +0100 +@@ -88,12 +88,11 @@ + [ --enable-gtk build with the GTK widget set]) + + if test "$enable_gtk" != "no"; then +- AC_CHECK_PROG(GTKCONFIG, gtk-config, yes, no) ++ PKG_CHECK_MODULES(GTK, gtk+-2.0) + +- if test "X$GTKCONFIG" = X"yes"; then ++ if test $pkg_failed = no; then + AC_DEFINE(USE_GTK) +- GTK_CFLAGS="`gtk-config --cflags`" +- WIDGET_LIBS="$WIDGET_LIBS `gtk-config --libs`" ++ WIDGET_LIBS="$WIDGET_LIBS $GTK_LIBS" + WIDGET_OBJS="$WIDGET_OBJS gtk.o" + fi + fi diff --git a/games-arcade/xbill/metadata.xml b/games-arcade/xbill/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xbill/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-arcade/xbill/xbill-2.1-r2.ebuild b/games-arcade/xbill/xbill-2.1-r2.ebuild new file mode 100644 index 000000000000..1152f2caca38 --- /dev/null +++ b/games-arcade/xbill/xbill-2.1-r2.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 autotools games + +DESCRIPTION="A game about an evil hacker called Bill!" +HOMEPAGE="http://www.xbill.org/" +SRC_URI="http://www.xbill.org/download/${P}.tar.gz" + +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="gtk" + +RDEPEND="gtk? ( x11-libs/gtk+:2 ) + !gtk? ( x11-libs/libXaw )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gtk2.patch \ + "${FILESDIR}"/${P}-gentoo.patch + eautoreconf +} + +src_configure() { + egamesconf \ + --disable-motif \ + $(use_enable gtk) \ + $(use_enable !gtk athena) +} + +src_install() { + default + newicon pixmaps/icon.xpm ${PN}.xpm + make_desktop_entry ${PN} XBill ${PN} + prepgamesdirs +} diff --git a/games-arcade/xboing-2.4-r3 b/games-arcade/xboing-2.4-r3 deleted file mode 100644 index e141fe0c78f1..000000000000 --- a/games-arcade/xboing-2.4-r3 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install prepare setup -DEPEND=x11-libs/libXpm app-text/rman x11-misc/gccmakedep x11-misc/imake -DESCRIPTION=Blockout type game where you bounce a ball trying to destroy blocks -EAPI=6 -HOMEPAGE=http://www.techrescue.org/xboing/ -KEYWORDS=~amd64 ~x86 -LICENSE=xboing -RDEPEND=x11-libs/libXpm -SLOT=0 -SRC_URI=http://www.techrescue.org/xboing/xboing2.4.tar.gz mirror://gentoo/xboing-2.4-debian.patch.bz2 -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=eb606fbc3ad1878957d7c5f1fbb8dceb diff --git a/games-arcade/xboing/Manifest b/games-arcade/xboing/Manifest new file mode 100644 index 000000000000..993ec6a26b0d --- /dev/null +++ b/games-arcade/xboing/Manifest @@ -0,0 +1,6 @@ +AUX xboing-2.4-buffer.patch 356 BLAKE2B 7a027064739bf3fe51f4ecad262c5461877186de4fc922340a930339e34b484138897581d70c2f5a64b15305bd6f107bf636ad600077c6104d02bde4f4f2c1d1 SHA512 8cd226cf2058d44bfb9055dec90b75eae32d68be40bf4e6a97d51edb443d425fd6de18efd82a3f254a5cf5e4bf4a815e21f45b7f51620adacd65bbb44309c038 +AUX xboing-2.4-sleep.patch 397 BLAKE2B cb872777d74f62474c24e58c6cd84888620a761b55904763cb8d1d7efc5ce72596904798a526713129121bcb867b581292cb74c1e9f98c64d5c5b30b3d5e6423 SHA512 3d77c9ac4502c34e3a004b260e01a14f34115dfff7a73bcef0fcfe8e7bcc94cbb959e408d4c6ccc5329f1fb2b2b90500b5c8e51d4e8899a202754645e599f8c0 +DIST xboing-2.4-debian.patch.bz2 7740 BLAKE2B 284aedee90ca6bca940be405c10e5440d9df9237d6cc6f11c51204f3c1e2f383589a918997461c0399747d33e9f7142016323e101c4b48b1c3e35704cab20902 SHA512 bffd9b747b1e8840aef872988f9ef8b341a56e63d390e386a8ca71358318ba9c0b37bebd91b1f036b52c56e70acf98ec35f92f4c0fa1e19e2f8c4fcc83c1e7d9 +DIST xboing2.4.tar.gz 588811 BLAKE2B 1d29c457108c70608ec2c2ea7d4856553e3e174e7a8852f3da671c64e9e6a6349ee511841facc937bf6252cdd0e094ece7fe09e548835b7a288514aa7ece82d2 SHA512 4b6987329bfe79b3b9709ca02974d0043c6e35210aa73903940efbd09e94b1873ce09b1bea014646029b77e9bd063279935843adceb6635817f15c8025a0c454 +EBUILD xboing-2.4-r3.ebuild 1394 BLAKE2B a3027d506e00a68d4de1ef939fc9046b494c4e6a1fff60520422574ca8cdfc826c58711cd25023610fc1f91504f01c236fab3f3f9477635d5bf30830283382f7 SHA512 4150f4ad241b3504a7b3959189a7bd26f9d9b782cfa96202ee1ebcadef3757152c334078b819cc830ec5a662000bd0f2380a65d9d2e9a20c64d5f7dd95c25c3d +MISC metadata.xml 214 BLAKE2B 86c649fbb74ec8627ccee25d0b0d3cbac3b6f9ba8e164327c15faf02abca8583969e3e2a35bb629643500d079e873cdb8093c5ed3d7bb5c4348269d485088ae2 SHA512 eb9f85ca2fca14bf2aae5fe6001c2d7d1cf93e00bd4de8dac2f71f23ad3c7a7c8fcd65593b1adf77a07260cc546339846f4b33ec99032e353da07d1b3bff8f08 diff --git a/games-arcade/xboing/files/xboing-2.4-buffer.patch b/games-arcade/xboing/files/xboing-2.4-buffer.patch new file mode 100644 index 000000000000..381ae69982d9 --- /dev/null +++ b/games-arcade/xboing/files/xboing-2.4-buffer.patch @@ -0,0 +1,12 @@ +diff -ruN xboing.orig/init.c xboing/init.c +--- xboing.orig/init.c 1996-11-22 02:28:46.000000000 +0100 ++++ xboing/init.c 2013-02-02 19:57:55.000000000 +0100 +@@ -266,7 +266,7 @@ + #endif + { + /* Create all required font structures */ +- char str[80]; ++ char str[200]; + + /* Font used for titles */ + if (!(titleFont = XLoadQueryFont(display, TITLE_FONT))) diff --git a/games-arcade/xboing/files/xboing-2.4-sleep.patch b/games-arcade/xboing/files/xboing-2.4-sleep.patch new file mode 100644 index 000000000000..80723465185f --- /dev/null +++ b/games-arcade/xboing/files/xboing-2.4-sleep.patch @@ -0,0 +1,13 @@ +diff -ru xboing.debian/misc.c xboing/misc.c +--- xboing.debian/misc.c 2013-02-02 20:07:07.000000000 +0100 ++++ xboing/misc.c 2013-02-02 20:11:51.000000000 +0100 +@@ -116,9 +116,7 @@ + long SyncTime; + static unsigned long accu; + +-#ifdef __alpha__ + ms *= 1000; /* convert from milliseconds to microseconds for usleep */ +-#endif + + gettimeofday(&st, NULL); + XSync(display, False); diff --git a/games-arcade/xboing/metadata.xml b/games-arcade/xboing/metadata.xml new file mode 100644 index 000000000000..84503c2b1c29 --- /dev/null +++ b/games-arcade/xboing/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"><email>dilfridge@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/games-arcade/xboing/xboing-2.4-r3.ebuild b/games-arcade/xboing/xboing-2.4-r3.ebuild new file mode 100644 index 000000000000..2d0088210afb --- /dev/null +++ b/games-arcade/xboing/xboing-2.4-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils user + +DESCRIPTION="Blockout type game where you bounce a ball trying to destroy blocks" +HOMEPAGE="http://www.techrescue.org/xboing/" +SRC_URI="http://www.techrescue.org/xboing/${PN}${PV}.tar.gz + mirror://gentoo/xboing-${PV}-debian.patch.bz2" + +LICENSE="xboing" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libXpm" +DEPEND="${RDEPEND} + app-text/rman + x11-misc/gccmakedep + x11-misc/imake +" + +S=${WORKDIR}/${PN} + +pkg_setup(){ + enewgroup gamestat 36 +} + +src_prepare() { + epatch "${WORKDIR}"/xboing-${PV}-debian.patch + epatch "${FILESDIR}"/xboing-${PV}-buffer.patch + epatch "${FILESDIR}"/xboing-${PV}-sleep.patch + sed -i '/^#include/s:xpm\.h:X11/xpm.h:' *.c || die + eapply_user +} + +src_configure() { + xmkmf -a || die + sed -i -e "s:GENTOO_VER:${PF/${PN}-/}:" Imakefile || die +} + +src_compile() { + emake \ + CXXOPTIONS="${CXXFLAGS}" \ + CDEBUGFLAGS="${CFLAGS}" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + XBOING_DIR="/usr/share/${PN}" +} + +src_install() { + make \ + PREFIX="${D}" \ + BINDIR="${D}/usr/bin" \ + LOCAL_LDFLAGS="${LDFLAGS}" \ + XBOING_DIR="/usr/share/${PN}" \ + install || die + newman xboing.man xboing.6 + dodoc README docs/*.doc + + fowners root:gamestat /var/games/xboing.score /usr/bin/xboing + fperms 660 /var/games/xboing.score + fperms 2755 /usr/bin/xboing +} diff --git a/games-arcade/xbubble-0.5.8-r1 b/games-arcade/xbubble-0.5.8-r1 deleted file mode 100644 index b2774154e47a..000000000000 --- a/games-arcade/xbubble-0.5.8-r1 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=configure install prepare -DEPEND=x11-libs/libX11 x11-libs/libXt media-libs/libpng:0= nls? ( virtual/libintl ) nls? ( sys-devel/gettext ) -DESCRIPTION=A Puzzle Bobble clone similar to Frozen-Bubble -EAPI=6 -HOMEPAGE=http://www.nongnu.org/xbubble/ -IUSE=nls -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=x11-libs/libX11 x11-libs/libXt media-libs/libpng:0= nls? ( virtual/libintl ) -SLOT=0 -SRC_URI=http://www.ibiblio.org/pub/mirrors/gnu/ftp/savannah/files/xbubble/xbubble-0.5.8.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=b76a67f0d346d8e5c245eb86f587ab83 diff --git a/games-arcade/xbubble/Manifest b/games-arcade/xbubble/Manifest new file mode 100644 index 000000000000..80b4c9ce7f7d --- /dev/null +++ b/games-arcade/xbubble/Manifest @@ -0,0 +1,7 @@ +AUX xbubble-0.5.8-libpng14.patch 419 BLAKE2B 0111cee77be12e9eb12714aec7c79276c7b316bb47344104e6a171863dd60ef56c287fe460f89552ea448cb26498dffd46d4f4b0ba2b27a2416868390b58bcca SHA512 65e011385081d93ef4d633298726fd1783cc75505610bd54609fdadb7d390366a040856cfddca6444ecaaafb97b6cae69156e6ad96235eb01487680ffe34dd29 +AUX xbubble-0.5.8-locale.patch 252 BLAKE2B ed7312a3e4cd175dd45c3c1e7f8a0b8fc69a8bbd1d7889f722e024cddfa38e6ad82388160e5e03c064d3a60b3c77fcfb15f229c51a35d46b59056544d910e7be SHA512 0154b666cc21496304ed7fab382980e67bc7429ff74bbb5e92cdf2ed42db265b51e4fead878a6d96899eed58e4e5a35af0b2316178bb95ecbb2780fe01947014 +AUX xbubble-0.5.8-png15.patch 698 BLAKE2B 4481e2bf43876e043bc15dc6fff24a931f138628afa252db9e4eaf8a17899fbe2d8bcf8493780163f1c6ee9d1efb077e2240fb7ae4cc950ba40f6766eaa0ed77 SHA512 13f993dbd9e209de6fc13e6f2d656a95e285acec28058d3049f5b4019600a12848ac52e766781ee33273b60b57794897135d57298ae65bdc7348dbddc66a7440 +AUX xbubble-0.5.8-xpaths.patch 204 BLAKE2B 795352b16d86bf722041bba0fa047c12bf20108e175acd58bc30efc6a437387aa31ed97809ef7bf3d937aa205ae05b31776ec925e1025b348fba0af7c0625e4c SHA512 dd6854ef5ca24fa2bc89c3239d79fa0b122525776f4a3df8581566178ac139031abf4b46cea07cca8bbd1a0bbddf2227f20d6a2e4075dc68e7542018fcb69bfd +DIST xbubble-0.5.8.tar.gz 5544359 BLAKE2B d52d5fd59c795087d6208656227e696b76424a34aa2dee8aced4a63f5105d7b9e95177a63ae71187c0ba07b6a58464c8ecb40b5252980971e9b3dc3799e0717a SHA512 132052d8e57218a2991ce0a0383f69f8818deafbf56046acaa3bc1c8ed7f31e5fb6b9b045df11eb3eaf77a8347b16ad663bb0f727823995e5df6d3adfcb75df2 +EBUILD xbubble-0.5.8-r1.ebuild 1095 BLAKE2B bad7066d4966047dabeff7c5bc49421def0b9e69486d3df928f8dadcaa3a9119f094465047a1e2bbaeef525acdcc19a76789e91c36f922f84331fb9fe4791a0d SHA512 bb6f43667345d1aa0c67146f7b959817315bb6e22d75790d2fbf558e6d3c5e8b8bd4be0ceda6a23c517806b7fdff1fb790fc0d7f08a95ccee7e15d47edbf5f63 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/xbubble/files/xbubble-0.5.8-libpng14.patch b/games-arcade/xbubble/files/xbubble-0.5.8-libpng14.patch new file mode 100644 index 000000000000..4fe12672db65 --- /dev/null +++ b/games-arcade/xbubble/files/xbubble-0.5.8-libpng14.patch @@ -0,0 +1,13 @@ +http://bugs.gentoo.org/show_bug.cgi?id=308731 + +--- a/src/loadpng.c ++++ b/src/loadpng.c +@@ -55,7 +55,7 @@ unsigned char * load_png_file( const cha + } + /* ensure that we opened a PNG file */ + fread( header, 1, 8, fd ); +- if ( ! png_check_sig( header, 8 ) ) { ++ if ( png_sig_cmp( header, 0, 8 ) ) { + fclose(fd); + fprintf(stderr,_("File %s does not have a valid PNG signature.\n"), file); + return NULL; diff --git a/games-arcade/xbubble/files/xbubble-0.5.8-locale.patch b/games-arcade/xbubble/files/xbubble-0.5.8-locale.patch new file mode 100644 index 000000000000..99c03b0c82af --- /dev/null +++ b/games-arcade/xbubble/files/xbubble-0.5.8-locale.patch @@ -0,0 +1,10 @@ +--- a/src/gettext.h.orig 2008-10-07 12:01:37.000000000 -0400 ++++ b/src/gettext.h 2008-10-07 12:01:45.000000000 -0400 +@@ -24,6 +24,7 @@ + + /* Get declarations of GNU message catalog functions. */ + # include <libintl.h> ++# include <locale.h> + + #else + diff --git a/games-arcade/xbubble/files/xbubble-0.5.8-png15.patch b/games-arcade/xbubble/files/xbubble-0.5.8-png15.patch new file mode 100644 index 000000000000..bbbae5c31076 --- /dev/null +++ b/games-arcade/xbubble/files/xbubble-0.5.8-png15.patch @@ -0,0 +1,20 @@ +--- a/src/loadpng.c.old 2011-09-14 09:58:40.503566961 +0200 ++++ b/src/loadpng.c 2011-09-14 10:03:39.708531447 +0200 +@@ -73,7 +73,7 @@ + return NULL; + } + /* libpng does a longjmp here when it encounters an error */ +- if ( setjmp( png_ptr->jmpbuf ) ) { ++ if ( setjmp( png_jmpbuf(png_ptr) ) ) { + png_destroy_read_struct( &png_ptr, &info_ptr, NULL); + fclose(fd); + return NULL; +@@ -95,7 +95,7 @@ + png_set_gray_to_rgb(png_ptr); + + /* detect alpha layer */ +- if (( info_ptr->color_type & PNG_COLOR_MASK_ALPHA )|| ++ if (( png_get_color_type(png_ptr, info_ptr) & PNG_COLOR_MASK_ALPHA )|| + ( png_get_valid( png_ptr, info_ptr, PNG_INFO_tRNS ))) + *has_alpha = 1; + else diff --git a/games-arcade/xbubble/files/xbubble-0.5.8-xpaths.patch b/games-arcade/xbubble/files/xbubble-0.5.8-xpaths.patch new file mode 100644 index 000000000000..4db0b8f10ccf --- /dev/null +++ b/games-arcade/xbubble/files/xbubble-0.5.8-xpaths.patch @@ -0,0 +1,11 @@ +the x_libraries variable isnt always defined +http://bugs.gentoo.org/92688 + +--- a/configure ++++ b/configure +@@ -4511,3 +4511,5 @@ + fi ++if test x"$x_libraries" != x; then + LIBS="-L$x_libraries $LIBS" ++fi + diff --git a/games-arcade/xbubble/metadata.xml b/games-arcade/xbubble/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xbubble/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-arcade/xbubble/xbubble-0.5.8-r1.ebuild b/games-arcade/xbubble/xbubble-0.5.8-r1.ebuild new file mode 100644 index 000000000000..67c8f575299f --- /dev/null +++ b/games-arcade/xbubble/xbubble-0.5.8-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A Puzzle Bobble clone similar to Frozen-Bubble" +HOMEPAGE="http://www.nongnu.org/xbubble/" +SRC_URI="http://www.ibiblio.org/pub/mirrors/gnu/ftp/savannah/files/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="nls" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXt + media-libs/libpng:0= + nls? ( virtual/libintl ) +" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) +" + +DOCS=( AUTHORS ChangeLog NEWS NetworkProtocol README TODO ) + +src_prepare() { + default + eapply \ + "${FILESDIR}"/${P}-xpaths.patch \ + "${FILESDIR}"/${P}-locale.patch \ + "${FILESDIR}"/${P}-libpng14.patch \ + "${FILESDIR}"/${P}-png15.patch + sed -i \ + -e '/^AM_CFLAGS/d' \ + src/Makefile.in || die + sed -i \ + -e '/^localedir/s:=.*:=/usr/share/locale:' \ + configure po/Makefile.in.in || die +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + newicon data/themes/fancy/Bubble_black_DEAD_01.png ${PN}.png + make_desktop_entry ${PN} XBubble +} diff --git a/games-arcade/xevil-2.02_p2-r1 b/games-arcade/xevil-2.02_p2-r1 deleted file mode 100644 index f48e9056a534..000000000000 --- a/games-arcade/xevil-2.02_p2-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=x11-libs/libXpm app-arch/unzip -DESCRIPTION=3rd person, side-view, fast-action, kill-them-before-they-kill-you game -EAPI=5 -HOMEPAGE=http://www.xevil.com/ -KEYWORDS=~x86 -LICENSE=GPL-2 -RDEPEND=x11-libs/libXpm games-misc/games-envd -SLOT=0 -SRC_URI=http://www.xevil.com/download/stable/xevilsrc2.02r2.zip mirror://debian/pool/main/x/xevil/xevil_2.02r2-7.diff.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=4c2a4512cf477bb035e61e0e347732cc diff --git a/games-arcade/xevil/Manifest b/games-arcade/xevil/Manifest new file mode 100644 index 000000000000..1d7addc19389 --- /dev/null +++ b/games-arcade/xevil/Manifest @@ -0,0 +1,5 @@ +AUX xevil-2.02_p2-glibc-2.10.patch 645 BLAKE2B 0d65a0ceef77ed1843679b12c90c2f84e1060934cf7c695c5ef4191fb398e6c6ec039ccfed83fb46a42c7d61be22b531ef58779772d63852addb14a154b73a32 SHA512 e14396ede761833d2fe2171fb7679040617c8809846a56f80cc8848a6444bcc1f85b571c7fb917b736cd3d9bf3059bc986ca06d188307e8f24d98720611440e9 +DIST xevil_2.02r2-7.diff.gz 31205 BLAKE2B b90dcff021633e92ad8ab41f9715b05aa2661be68ad2bce303ac9c86056b265852e1112739b5da030eb3b5e90afded0858fbcf8f083e64154005a04ee8535f2c SHA512 03fbe2aa62b3856bef6af824444c484dced8a627087ba68ad946c3bfce7d0c0b5138902ea7668927d22ad37925daa07b489a2e70aa680cf477367c87833e1a58 +DIST xevilsrc2.02r2.zip 1857315 BLAKE2B e2d2272e81cc676089343288a95b56960837d6c50e68b89bb2fd563d23ed4b511fec2f7af34522fe003dfd626d5f75483872f9a827e29a75a7fcd57101a2e926 SHA512 ce9422da914234290797258f22fa5f8d6502dc5930eac1c3ce92d708196050ce5d75761c987e2d28b167699460b9c8fd72596242983a0b8ba6d2008c72b2354f +EBUILD xevil-2.02_p2-r1.ebuild 1094 BLAKE2B 185279c7e3444dcfbbede5c0c59bb02cc1ed346696d3cb59ff883c8f2a267971805fc87b52d3cc343f5d492fb3faa4ea1d584143dc5325d9a0130187d7c35e9c SHA512 9fcd56d12a95c7c83287caf2ae9cbdf7dea70b245d6f9936854aa311fc48f17a4b4e07c5d15cedce66e93aed31ea447614775b419046707c86cb4d941a2b7ac8 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/xevil/files/xevil-2.02_p2-glibc-2.10.patch b/games-arcade/xevil/files/xevil-2.02_p2-glibc-2.10.patch new file mode 100644 index 000000000000..5375f2208a0d --- /dev/null +++ b/games-arcade/xevil/files/xevil-2.02_p2-glibc-2.10.patch @@ -0,0 +1,20 @@ +diff -ur cmn.old/utils.h cmn/utils.h +--- cmn.old/utils.h 2009-08-22 02:16:21.000000000 +0300 ++++ cmn/utils.h 2009-08-22 02:26:33.000000000 +0300 +@@ -238,13 +238,13 @@ + same. */ + + static char* strchr(const char* cs,int c) +- {return ::strchr(cs,c);} ++ {return const_cast<char*>(::strchr(cs,c));} + + static char* strrchr(const char* cs,int c) +- {return ::strrchr(cs,c);} ++ {return const_cast<char*>(::strrchr(cs,c));} + + static char* strstr(const char* cs,const char* ct) +- {return ::strstr(cs,ct);} ++ {return const_cast<char*>(::strstr(cs,ct));} + + static void strcpy(char* s,const char* ct) + {::strcpy(s,ct);} diff --git a/games-arcade/xevil/metadata.xml b/games-arcade/xevil/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xevil/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-arcade/xevil/xevil-2.02_p2-r1.ebuild b/games-arcade/xevil/xevil-2.02_p2-r1.ebuild new file mode 100644 index 000000000000..71b2f1c6fee3 --- /dev/null +++ b/games-arcade/xevil/xevil-2.02_p2-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 eutils games + +DEB_PATCH=7 +MY_PV=${PV/_p/r} +DESCRIPTION="3rd person, side-view, fast-action, kill-them-before-they-kill-you game" +HOMEPAGE="http://www.xevil.com/" +SRC_URI="http://www.xevil.com/download/stable/xevilsrc${MY_PV}.zip + mirror://debian/pool/main/x/xevil/xevil_${MY_PV}-${DEB_PATCH}.diff.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="x11-libs/libXpm" +DEPEND="${RDEPEND} + app-arch/unzip" + +S=${WORKDIR} + +src_prepare() { + edos2unix readme.txt x11/*.{cpp,h} cmn/*.{cpp,h} makefile config.mk + epatch "${WORKDIR}"/xevil_${MY_PV}-${DEB_PATCH}.diff + sed -i \ + -e 's:-static::' \ + -e 's/CC="g++"/CC=$(CXX)/' \ + -e "s:CFLAGS=\":CFLAGS=\"${CXXFLAGS} :g" \ + -e 's:-lXpm:-lXpm -lpthread:g' \ + -e "s:LINK_FLAGS=\":LINK_FLAGS=\"${LDFLAGS} :" \ + config.mk || die + epatch "${FILESDIR}"/${P}-glibc-2.10.patch +} + +src_install() { + dogamesbin x11/REDHAT_LINUX/xevil + newgamesbin x11/REDHAT_LINUX/serverping xevil-serverping + dodoc readme.txt + prepgamesdirs +} diff --git a/games-arcade/xgalaga-2.1.1.0 b/games-arcade/xgalaga-2.1.1.0 deleted file mode 100644 index 71304a467b7f..000000000000 --- a/games-arcade/xgalaga-2.1.1.0 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=x11-libs/libX11 x11-libs/libXmu x11-libs/libXpm x11-libs/libXext x11-libs/libXt x11-base/xorg-proto -DESCRIPTION=A clone of the classic game Galaga for the X Window System -EAPI=5 -HOMEPAGE=https://sourceforge.net/projects/xgalaga -KEYWORDS=~alpha ~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=x11-libs/libX11 x11-libs/libXmu x11-libs/libXpm x11-libs/libXext x11-libs/libXt games-misc/games-envd -SLOT=0 -SRC_URI=mirror://sourceforge/xgalaga/xgalaga-2.1.1.0.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=e8a887a439e1a5d84bb1e083574aeeab diff --git a/games-arcade/xgalaga/Manifest b/games-arcade/xgalaga/Manifest new file mode 100644 index 000000000000..b4dd759817b7 --- /dev/null +++ b/games-arcade/xgalaga/Manifest @@ -0,0 +1,3 @@ +DIST xgalaga-2.1.1.0.tar.gz 331621 BLAKE2B 290881eb89cacc7a2be469af8da2c11d710dea45f165daa43d4a10a310e681c9f6ffb012e057e266f1e50c5629122ca38cfd97e31a788104e7710f02d756f59d SHA512 087db9e0501cedb042bb673a217f9de32640d3e4f4f529a29fd25ed682a1aece9ae1beacdc2ee77fc93ac931411a1051e2cd19873578ccffe5f03a083bffe513 +EBUILD xgalaga-2.1.1.0.ebuild 1270 BLAKE2B 2f312b99ca63124cb1da72e0e7ddccb981c4e2bb317ef73bab24eec0f785db1f90998715b27c275c1cc857e8a6cd32e4845968cc1e938c38b4d72a38b7151279 SHA512 2dca4cde2f85ac9ccb179037af473138d1fb88d6a423ebee2387a8ef79b7ae75a4ccc6af3bfe37f0119191843e70f9d01797e373c46ab06fed49374ee5577a46 +MISC metadata.xml 330 BLAKE2B b3e61a8f4911203a72c70798959045a62572b4a814bbf8f03ccf17f8da74eaa4c542883da6f2ff780c7e83ab26398ff95a46b36a41c22785903b0299707e6e9c SHA512 2c0045dadc3b72dda9b7f3389aebb5a2d38b91f2cd63891a9bd97e2f23971c916ce515cbbda6b0c6f2b8a600fc56bd77d9db749d223eee5cd6edc99525217545 diff --git a/games-arcade/xgalaga/metadata.xml b/games-arcade/xgalaga/metadata.xml new file mode 100644 index 000000000000..70dbf6fb8a56 --- /dev/null +++ b/games-arcade/xgalaga/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">xgalaga</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/xgalaga/xgalaga-2.1.1.0.ebuild b/games-arcade/xgalaga/xgalaga-2.1.1.0.ebuild new file mode 100644 index 000000000000..4d3b86a97566 --- /dev/null +++ b/games-arcade/xgalaga/xgalaga-2.1.1.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DESCRIPTION="A clone of the classic game Galaga for the X Window System" +HOMEPAGE="https://sourceforge.net/projects/xgalaga" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXmu + x11-libs/libXpm + x11-libs/libXext + x11-libs/libXt" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +src_prepare() { + sed -i \ + -e "/LEVELDIR\|SOUNDDIR/ s:prefix:datadir/${PN}:" \ + -e "/\/scores/ s:prefix:localstatedir/${PN}:" \ + configure \ + || die "sed configure failed" + sed -i \ + -e "/SOUNDDEFS/ s:(SOUNDSRVDIR):(SOUNDSRVDIR)/bin:" \ + -e 's:make ;:$(MAKE) ;:' \ + Makefile.in \ + || die "sed Makefile.in failed" +} + +src_install() { + dogamesbin xgalaga xgal.sndsrv.oss xgalaga-hyperspace + dodoc README README.SOUND CHANGES + newman xgalaga.6x xgalaga.6 + + insinto "${GAMES_DATADIR}/${PN}/sounds" + doins sounds/*.raw + + insinto "${GAMES_DATADIR}/${PN}/levels" + doins levels/*.xgl + + make_desktop_entry ${PN} XGalaga + + dodir "${GAMES_STATEDIR}/${PN}" + touch "${D}${GAMES_STATEDIR}/${PN}/scores" + fperms 660 "${GAMES_STATEDIR}/${PN}/scores" + prepgamesdirs +} diff --git a/games-arcade/xjump-2.7.5 b/games-arcade/xjump-2.7.5 deleted file mode 100644 index 45dbf50a630b..000000000000 --- a/games-arcade/xjump-2.7.5 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack -DEPEND=x11-libs/libX11 x11-libs/libXaw x11-libs/libXpm x11-libs/libXt x11-base/xorg-proto -DESCRIPTION=An X game where one tries to jump up as many levels as possible -EAPI=5 -HOMEPAGE=http://packages.debian.org/stable/games/xjump -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=x11-libs/libX11 x11-libs/libXaw x11-libs/libXpm x11-libs/libXt games-misc/games-envd -SLOT=0 -SRC_URI=mirror://debian/pool/main/x/xjump/xjump_2.7.5.orig.tar.gz mirror://debian/pool/main/x/xjump/xjump_2.7.5-6.1.debian.tar.gz -_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf -_md5_=06988e4193d3a9843fa370b6cd8715a1 diff --git a/games-arcade/xjump/Manifest b/games-arcade/xjump/Manifest new file mode 100644 index 000000000000..1279b77ea5d8 --- /dev/null +++ b/games-arcade/xjump/Manifest @@ -0,0 +1,5 @@ +AUX xjump-2.7.5-ldflags.patch 407 BLAKE2B d4a09bcb067facb9066156cfe2d5c4ec533492ab5e74d802c5976efa176c75c83e52077333b53dd741f2718f92b78d869b04c8994a5a171a01e3a3d1773a6b0f SHA512 8c21088e09053906c20f13027832d1cd0778c6707b6764a93c6cc5de904a2aa80a80ac5fa8372885889beca82f4cbb8c637ca0c186f05e54d441d2f15957b6af +DIST xjump_2.7.5-6.1.debian.tar.gz 9803 BLAKE2B 0a51a579aec18c71561f32d1f6321c383c8137dbe3923f3afdf00100f1c47ec062e2200a04a3281f32124f5fe72094abb6a1fc6a86de00c4886d872a21fe9a79 SHA512 c4962acd25c4cabef37acd3b5d39867a955f2fa769cc203fb00edfe37f37ce25369099b589a282189847e7bffeb874b4eaf8deea9320a9083da7e95425625cf8 +DIST xjump_2.7.5.orig.tar.gz 15940 BLAKE2B 9a022f9c6f522d8977268cd00709cc7a8aed9cf6ead042d1c75c0c0e7c011a1898690fa74e957198c5916806da4cc3d80d7d235342e7e41a33c2086553b91075 SHA512 6ce846d6681bf8b084edc06f8415a57f66d1778ec9af8b9b170f4f37292a8172b3507a08c85032a5b8588b50a7f2eefe205add4c779edd7c7ef8fb6d818d9300 +EBUILD xjump-2.7.5.ebuild 1271 BLAKE2B 12b4cd0d1c8ce41aa8223c558efb9c89489243374780e65a1e0d4e3b5df315152afec05fc9cc05398c1b16362442244fd3b9505ec8c94b413604478fd0a09f83 SHA512 99a3286a1ab129622da893a7be10d0ba73c12c06cc651356dc4ba5676b50ec712e85e5d8f1e57998e6728140801792d39e097fb83ef74f18e3b1014120edd4f0 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch b/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch new file mode 100644 index 000000000000..a30736811318 --- /dev/null +++ b/games-arcade/xjump/files/xjump-2.7.5-ldflags.patch @@ -0,0 +1,11 @@ +--- Makefile.old 2010-10-01 07:05:03.000000000 +0200 ++++ Makefile 2010-10-01 07:05:39.000000000 +0200 +@@ -28,7 +28,7 @@ + ########################################################## + + xjump : main.o game.o key.o misc.o record.o resource.o +- $(CC) $(CFLAGS) -o xjump \ ++ $(CC) $(LDFLAGS) $(CFLAGS) -o xjump \ + main.o game.o key.o misc.o record.o resource.o\ + -lXaw -lXmu -lXt -lXpm -lXext -lX11 $(LDIR) + diff --git a/games-arcade/xjump/metadata.xml b/games-arcade/xjump/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xjump/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-arcade/xjump/xjump-2.7.5.ebuild b/games-arcade/xjump/xjump-2.7.5.ebuild new file mode 100644 index 000000000000..a8f98a997109 --- /dev/null +++ b/games-arcade/xjump/xjump-2.7.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils games + +DEBIAN_PATCH="6.1" +DESCRIPTION="An X game where one tries to jump up as many levels as possible" +HOMEPAGE="http://packages.debian.org/stable/games/xjump" +SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz + mirror://debian/pool/main/x/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="x11-libs/libX11 + x11-libs/libXaw + x11-libs/libXpm + x11-libs/libXt" + +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +S=${WORKDIR}/${P}.orig + +src_prepare() { + # Where we will keep the highscore file: + HISCORE_FILENAME=xjump.hiscores + HISCORE_FILE="${GAMES_STATEDIR}/${HISCORE_FILENAME}" + + epatch \ + "${WORKDIR}"/debian/patches/0*.patch \ + "${FILESDIR}"/${P}-ldflags.patch + + # set up where we will keep the highscores file: + sed -i \ + -e "/^CC/d" \ + -e "/^CFLAGS/d" \ + -e "s,/var/games/xjump,${GAMES_STATEDIR}," \ + -e "s,/record,/${HISCORE_FILENAME}," \ + Makefile || die +} + +src_install() { + dogamesbin xjump + dodoc README.euc + + # Set up the hiscores file: + dodir "${GAMES_STATEDIR}" + touch "${D}/${HISCORE_FILE}" + fperms 660 "${HISCORE_FILE}" + prepgamesdirs +} diff --git a/games-arcade/xrick-021212-r2 b/games-arcade/xrick-021212-r2 deleted file mode 100644 index a0933c133624..000000000000 --- a/games-arcade/xrick-021212-r2 +++ /dev/null @@ -1,13 +0,0 @@ -DEFINED_PHASES=install prepare unpack -DEPEND=media-libs/libsdl[video] -DESCRIPTION=Clone of the Rick Dangerous adventure game from the 80's -EAPI=6 -HOMEPAGE=http://www.bigorno.net/xrick/ -KEYWORDS=~amd64 ~ppc64 ~x86 ~x86-fbsd -LICENSE=GPL-1+ xrick -RDEPEND=media-libs/libsdl[video] -RESTRICT=mirror bindist -SLOT=0 -SRC_URI=http://www.bigorno.net/xrick/xrick-021212.tgz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=66f11f5285dbbbdef043e38c8a1f117f diff --git a/games-arcade/xrick/Manifest b/games-arcade/xrick/Manifest new file mode 100644 index 000000000000..15a2fff52d07 --- /dev/null +++ b/games-arcade/xrick/Manifest @@ -0,0 +1,6 @@ +AUX xrick-021212-exit.patch 702 BLAKE2B 58323696fb2abde318706e0d37c50d31d7bc65ce3a86163991019d2d43675dcc5d6562d65e13d96a0476164bc1dfd6db1270e63e405449d798cb5996dc9e6b6d SHA512 8d22419f6912297a900d3ad7101684af1c52c093ea3ea513aea52220b41b5b2a5c2b474883da887b4160b16ab3c9f90a885e48694a48a68470083b643be6d551 +AUX xrick-021212-fullscreen.patch 950 BLAKE2B e46b147ef3283f64d985b2e6fa1445b31c27c29a28a6a5859ff420ebc3bda2a15e633f85799cd2c32751ec25e726c6a57f13cead5d6b0829572f3a1a29e10ec8 SHA512 694d56f9094483bf5e11b905bb21408a684669b3c6d1fc150de8c1300b56ca2349dfbceefff5c936328eb202776bc3f5b6ea74b54ffbb082de27aa7827d7ce7c +AUX xrick-021212-zlib.patch 372 BLAKE2B 9811ee9464790c7cb804a06a3f8cc71dff3489ae00bf30f7f56e8bf10f88d7d2eed5c92abda943a47d7913a4885f5f04b0fbfa41afc7653028fa23f86dbcaf35 SHA512 48933852c71f2979ae865fb72e89edeb7a3d314710472bd572e37877ff5fc627ecaa9c39661f8968c19d1e8b3e820600ab0d9985da029739cb78abedd2ff7d0f +DIST xrick-021212.tgz 1648538 BLAKE2B d8ba387f4645d4ef0fd97b346ee202fb8573fd694e4f278791115ea5a2ab6ca509a8fffec3c5754e0160eec919aaa7a90509858bd80ae0244f28c32055070636 SHA512 7a6547dfce586512c3c4aa7fd5aa0d7d8bd223dbec6a9211e858034bd73d44f168266441d8f3475cddbed8f3a19c7c0df31345b62e2ecfb860664e54facb48bf +EBUILD xrick-021212-r2.ebuild 1189 BLAKE2B 2d46e88e5a217eb37cf643849b0ffe95396985046eac28784a60f3e8cfb10cc2441f1eae8076a8cb2b596f50e25b47e2f61810aeacb046f0adcce2b2e92ad102 SHA512 55bf54b1fd439bd6ed6d5ffe4ef026201ab74558dd7af431a796a86889ea4d902c8691c78451db95f116d2b78c726ce81734ddbd4fc1ee94268402b358f8a057 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/xrick/files/xrick-021212-exit.patch b/games-arcade/xrick/files/xrick-021212-exit.patch new file mode 100644 index 000000000000..4486a969b346 --- /dev/null +++ b/games-arcade/xrick/files/xrick-021212-exit.patch @@ -0,0 +1,23 @@ +diff -ur xrick-021212/src/sysjoy.c xrick-021212.patched/src/sysjoy.c +--- xrick-021212/src/sysjoy.c 2010-10-23 00:33:33.000000000 +0400 ++++ xrick-021212.patched/src/sysjoy.c 2010-10-23 00:42:25.000000000 +0400 +@@ -56,6 +56,7 @@ + { + if (j) + SDL_JoystickClose(j); ++ j = NULL; + } + + #endif /* ENABLE_JOYSTICK */ +diff -ur xrick-021212/src/xrick.c xrick-021212.patched/src/xrick.c +--- xrick-021212/src/xrick.c 2010-10-23 00:33:33.000000000 +0400 ++++ xrick-021212.patched/src/xrick.c 2010-10-23 00:40:47.000000000 +0400 +@@ -29,7 +29,7 @@ + data_setpath("/usr/games/lib/xrick/data.zip"); + game_run(); + data_closepath(); +- sys_shutdown(); ++ /* sys_shutdown is called via atexit */ + return 0; + } + diff --git a/games-arcade/xrick/files/xrick-021212-fullscreen.patch b/games-arcade/xrick/files/xrick-021212-fullscreen.patch new file mode 100644 index 000000000000..97271a33a28e --- /dev/null +++ b/games-arcade/xrick/files/xrick-021212-fullscreen.patch @@ -0,0 +1,21 @@ +diff -ur xrick-021212/src/sysvid.c xrick-021212.patched/src/sysvid.c +--- xrick-021212/src/sysvid.c 2002-12-24 16:33:43.000000000 +0300 ++++ xrick-021212.patched/src/sysvid.c 2011-01-14 03:03:16.636668016 +0300 +@@ -145,10 +145,14 @@ + IFDEBUG_VIDEO(sys_printf("xrick/video: SDL says, use these modes:\n");); + for (i = 0; modes[i]; i++) { + IFDEBUG_VIDEO(sys_printf(" %dx%d\n", modes[i]->w, modes[i]->h);); +- if (modes[i]->w <= modes[mode]->w && modes[i]->w >= SYSVID_WIDTH && +- modes[i]->h * SYSVID_WIDTH >= modes[i]->w * SYSVID_HEIGHT) { ++ if ((!fszoom && modes[i]->w <= modes[mode] && ++ modes[i]->w >= SYSVID_WIDTH) || ++ (fszoom && modes[i]->w > modes[mode]->w)) { + mode = i; +- fszoom = modes[mode]->w / SYSVID_WIDTH; ++ if (modes[i]->h * SYSVID_WIDTH >= modes[i]->w * SYSVID_HEIGHT) ++ fszoom = modes[mode]->w / SYSVID_WIDTH; ++ else ++ fszoom = modes[mode]->h / SYSVID_HEIGHT; + } + } + if (fszoom != 0) { diff --git a/games-arcade/xrick/files/xrick-021212-zlib.patch b/games-arcade/xrick/files/xrick-021212-zlib.patch new file mode 100644 index 000000000000..bd7d6287925f --- /dev/null +++ b/games-arcade/xrick/files/xrick-021212-zlib.patch @@ -0,0 +1,13 @@ +--- a/include/unzip.h.old 2012-03-24 16:13:16.012854948 +0100 ++++ b/include/unzip.h 2012-03-24 16:15:42.744346771 +0100 +@@ -49,6 +49,10 @@ + #include "zlib.h" + #endif + ++#ifdef _Z_OF ++#define OF _Z_OF ++#endif ++ + #if defined(STRICTUNZIP) || defined(STRICTZIPUNZIP) + /* like the STRICT of WIN32, we define a pointer that cannot be converted + from (void*) without cast */ diff --git a/games-arcade/xrick/metadata.xml b/games-arcade/xrick/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xrick/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-arcade/xrick/xrick-021212-r2.ebuild b/games-arcade/xrick/xrick-021212-r2.ebuild new file mode 100644 index 000000000000..9e95cbe3a4b2 --- /dev/null +++ b/games-arcade/xrick/xrick-021212-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Clone of the Rick Dangerous adventure game from the 80's" +HOMEPAGE="http://www.bigorno.net/xrick/" +SRC_URI="http://www.bigorno.net/xrick/${P}.tgz" + +LICENSE="GPL-1+ xrick" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~x86-fbsd" +IUSE="" +RESTRICT="mirror bindist" # bug #149097 + +DEPEND="media-libs/libsdl[video]" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./xrick.6.gz +} + +src_prepare() { + default + eapply "${FILESDIR}"/${P}*.patch + sed -i \ + -e "/^run from/d" \ + -e "/data.zip/ s:the directory where xrick is:$(get_libdir)/${PN}.:" \ + xrick.6 || die + + sed -i \ + -e "s:data.zip:/usr/$(get_libdir)/${PN}/data.zip:" \ + src/xrick.c || die + + sed -i \ + -e "s/-g -ansi -pedantic -Wall -W -O2/${CFLAGS}/" \ + -e '/LDFLAGS/s/=/+=/' \ + -e '/CC=/d' \ + -e "/CPP=/ { s/gcc/\$(CC)/; s/\"/'/g }" \ + Makefile || die +} + +src_install() { + dobin xrick + insinto /usr/"$(get_libdir)"/${PN} + doins data.zip + newicon src/xrickST.ico ${PN}.ico + make_desktop_entry ${PN} ${PN} /usr/share/pixmaps/${PN}.ico + dodoc README KeyCodes + doman xrick.6 +} diff --git a/games-arcade/xscavenger-1.4.4-r1 b/games-arcade/xscavenger-1.4.4-r1 deleted file mode 100644 index 2976fe31ea82..000000000000 --- a/games-arcade/xscavenger-1.4.4-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile configure install prepare -DEPEND=x11-libs/libXext x11-misc/imake -DESCRIPTION=Lode-Runner-like arcade game -EAPI=6 -HOMEPAGE=http://www.xdr.com/dash/scavenger.html -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=x11-libs/libXext -SLOT=0 -SRC_URI=http://www.xdr.com/dash/xscavenger-1.4.4.tgz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f multilib 97f470f374f2e94ccab04a2fb21d811e toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 -_md5_=e38c46e6377921db4994ae8bc9b816cc diff --git a/games-arcade/xscavenger/Manifest b/games-arcade/xscavenger/Manifest new file mode 100644 index 000000000000..07b8dfa819a5 --- /dev/null +++ b/games-arcade/xscavenger/Manifest @@ -0,0 +1,4 @@ +AUX 1.4.4-gentoo.patch 5762 BLAKE2B 626debb4f67b0c9b90a783887ae2601cf2750c7358ba03638176e0afe7f2b51fe1e450e6ad56dbdfadbfd4413a31e6014c22b46409afec5ea438546b12338b78 SHA512 95e5c803b4d60b110be44254d1ceb78ea4ba3c7c72d6d95d856616902160141975ee57ee40c4a8c785220d71821531a02d2b823cfa5dca2cbbdd6b8b9bb842a5 +DIST xscavenger-1.4.4.tgz 193346 BLAKE2B eb86b97fad8a9d261935579d298f43e7063fbd0624e8fd654c72b4130e98db38541d54c59938375c8d6df4b50193436f86826c49b8bafe123b4be5c80d3f75d8 SHA512 5f200912b9114ea0c09f0bfcc3f06be2e7c2e1700a744319081f5f3a22c8b93663477076af27837326acf9830af6f597cf8f8fb44562db7d00128321487841ec +EBUILD xscavenger-1.4.4-r1.ebuild 894 BLAKE2B 0eb536645b6e2fedd209d7236a87034c48e2f96857f20be25cfe708670f09f5d7baf7b5cb9239f5b9055443d08617e08c887f5ad60768617c897769a1e007fd6 SHA512 74ca79787d535b16b741ce5fa3c9a5856aabfc0e51b4ff9cdd3bf1be068a700ce263eee5fa497575986aeb19b9cf8ad1d22815742669db262c17c03857a89020 +MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/xscavenger/files/1.4.4-gentoo.patch b/games-arcade/xscavenger/files/1.4.4-gentoo.patch new file mode 100644 index 000000000000..df5936ed3de8 --- /dev/null +++ b/games-arcade/xscavenger/files/1.4.4-gentoo.patch @@ -0,0 +1,200 @@ +diff -urN xscavenger-1.4.4.orig/src/Imakefile xscavenger-1.4.4/src/Imakefile +--- xscavenger-1.4.4.orig/src/Imakefile ++++ xscavenger-1.4.4/src/Imakefile +@@ -1,20 +1,36 @@ + # set this to the path where data files should be stored. LIBDIR + # is automatically defined by imake, usually to /usr/X11R6/lib/X11, so + # this should be a good default. +-LIBNAME = $(LIBDIR)/scavenger ++LIBNAME = GENTOO_DATADIR/scavenger + + SRCS = anim.c edit.c scav.c x.c sound.c + OBJS = $(SRCS:.c=.o) + ++# the "subst" hack below is because imake uses the C preprocessor, which ++# will interpret an unquoted "/*" as a comment beginning. ++#LIB_DATA = $(subst S,/,..SdataS*) + LIB_DATA = \ +- ../data/badguy.lbm ../data/brownblue.lbm ../data/death.raw \ +- ../data/dig.raw ../data/fall.raw ../data/levels.scl \ +- ../data/microman.lbm ../data/pop.raw ../data/redbrick.lbm \ +- ../data/reddevil.lbm ../data/regularguy.lbm ../data/spiralthing.lbm \ ++ ../data/badguy.lbm \ ++ ../data/brownblue.lbm \ ++ ../data/death.raw \ ++ ../data/dig.raw \ ++ ../data/fall.raw \ ++ ../data/flashspiral.lbm \ ++ ../data/gems.lbm \ ++ ../data/jungle.lbm \ ++ ../data/levels.scl \ ++ ../data/microman.lbm \ ++ ../data/pop.raw \ ++ ../data/redbrick.lbm \ ++ ../data/reddevil.lbm \ ++ ../data/regularguy.lbm \ ++ ../data/spiralthing.lbm \ + ../data/victory.raw + + LOCAL_LIBRARIES = $(XLIB) + EXTRA_DEFINES = -DLIBNAME=\"$(LIBNAME)\" + +-ComplexProgramTarget(scavenger) ++AllTarget(scavenger) ++NormalProgramTarget(scavenger,$(OBJS),,,$(XLIB)) ++InstallProgram(scavenger,GENTOO_BINDIR) + InstallMultipleFlags($(LIB_DATA),$(LIBNAME),-m 644) +diff -urN xscavenger-1.4.4.orig/src/scav.c xscavenger-1.4.4/src/scav.c +--- xscavenger-1.4.4.orig/src/scav.c ++++ xscavenger-1.4.4/src/scav.c +@@ -240,15 +240,19 @@ + + + ++/* 14 Dec 2002: re-wrote to be more portable - don't assume two's-complement ++ * representation for integers, and fix bug when sizeof(long) > 4. ++ */ + long readlong() + { +-long val1=0; +- +- val1=myci()<<24L; +- val1|=myci()<<16L; +- val1|=myci()<<8; +- val1|=myci(); ++ long val1=0; ++ int i,j; + ++ for (i=0; i<4; i++) { ++ j = myci(); ++ if (j==-1) return -1L; ++ val1 = (val1<<8) + j; ++ } + return val1; + } + int rbs() +@@ -309,7 +313,7 @@ + bmw=bmh=byteswide=0; + while( (type=readlong()) ) + { +- if(type==0xffffffffL) break; ++ if(type==-1L) break; + size=readlong(); + if(size&1) size++; + if(type==BMHD) +@@ -402,16 +406,16 @@ + input=open(resourcename,O_RDONLY); + if(input<0) return -1; + got=read(input,buff,8); +- if(got!=8) return -2; +- if (strncmp(buff,"SCAV",4)) return -3; ++ if(got!=8) {close(input);return -2;} ++ if (strncmp(buff,"SCAV",4)) {close(input);return -3;} + max=(buff[4]<<24) | (buff[5]<<16) | (buff[6]<<8) | buff[7]; +- if(num>=max) return 0; ++ if(num>=max) {close(input);return 0;} + lseek(input,(num+1)<<3,SEEK_SET); + got=read(input,buff,8); + offset=(buff[0]<<24) | (buff[1]<<16) | (buff[2]<<8) | buff[3]; + length=(buff[4]<<24) | (buff[5]<<16) | (buff[6]<<8) | buff[7]; + if(len>length) len=length; +- if(!offset || !len) return 0; ++ if(!offset || !len) {close(input);return 0;} + lseek(input,offset,SEEK_SET); + got=read(input,put,len); + close(input); +@@ -448,8 +452,8 @@ + input=open(resourcename,O_RDONLY); + if(input==-1) return -4; + got=read(input,buff,8); +- if(got!=8) return -2; +- if(strncmp(buff,"SCAV",4)) return -3; ++ if(got!=8) {close(input);return -2;} ++ if(strncmp(buff,"SCAV",4)) {close(input);return -3;} + output=creat(bakname,00600); + if(output==-1) {close(input);return -6;} + +@@ -473,12 +477,12 @@ + for(i=0;i<max;i++) + if(headers[i+i]) + headers[i+i]+=delta; +- if (write(output,"SCAV",4) != 4) return -200; +- if (!rlout(output,max)) return -200; ++ if (write(output,"SCAV",4) != 4) {close(input);close(output);return -200;} ++ if (!rlout(output,max)) {close(input);close(output);return -200;} + headers[num+num]=0; + headers[num+num+1]=len; + for(i=0;i<max+max;i++) +- if (!rlout(output,headers[i])) return -200; ++ if (!rlout(output,headers[i])) {close(input);close(output);return -200;} + + if(offset) + { +@@ -487,8 +491,8 @@ + while(count) + { + got=count>1024 ? 1024 : count; +- if (read(input,copybuff,got) != got) return -200; +- if (write(output,copybuff,got) != got) return -200; ++ if (read(input,copybuff,got) != got) {close(input);close(output);return -200;} ++ if (write(output,copybuff,got) != got) {close(input);close(output);return -200;} + count-=got; + } + lseek(input,length,SEEK_CUR); +@@ -498,17 +502,17 @@ + { + got=read(input, copybuff, 1024); + if (!got) break; +- if (write (output, copybuff, got) != got) return -200; ++ if (write (output, copybuff, got) != got) {close(input);close(output);return -200;} + offset += got; + } + if(len) + { +- if (write (output, take, len) != len) return -200; ++ if (write (output, take, len) != len) {close(input);close(output);return -200;} + lseek (output, (num+1) << 3, SEEK_SET); +- if (!rlout (output, offset)) return -200; ++ if (!rlout (output, offset)) {close(input);close(output);return -200;} + } + close (input); +- if (fsync(output)) return -200; ++ if (fsync(output)) {close(output);return -200;} + if (close(output)) return -200; + err=rename(bakname,resourcename); + if(err) return -1; +@@ -1382,6 +1386,7 @@ + break; + } + } ++ close(file); + } + + void remslash(char *str) +@@ -1416,6 +1421,8 @@ + return -3; + } + } while(len); ++ close(input); ++ close(output); + return 0; + } + +@@ -1448,7 +1455,7 @@ + printf("Failed to create directory %s, exiting\n",temp); + exit(1); + } +- } ++ } else close(file); + + sprintf(resourcename,"%s/%s/%s",localname,localdirname,LEVELSNAME); + file=open(resourcename,O_RDONLY); +@@ -1485,7 +1492,7 @@ + printf("Couldn't create %s\n",temp); + exit(1); + } +- } ++ } else close(file); + } + + void makercname(char *str) diff --git a/games-arcade/xscavenger/metadata.xml b/games-arcade/xscavenger/metadata.xml new file mode 100644 index 000000000000..78274e0fa550 --- /dev/null +++ b/games-arcade/xscavenger/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-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild b/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild new file mode 100644 index 000000000000..6a578398112d --- /dev/null +++ b/games-arcade/xscavenger/xscavenger-1.4.4-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop epatch toolchain-funcs + +DESCRIPTION="Lode-Runner-like arcade game" +HOMEPAGE="http://www.xdr.com/dash/scavenger.html" +SRC_URI="http://www.xdr.com/dash/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libXext" +DEPEND="${RDEPEND} + x11-misc/imake +" + +S="${WORKDIR}/${P}/src" + +src_prepare() { + default + epatch "${FILESDIR}/${PV}-gentoo.patch" + sed -i \ + -e "s:GENTOO_DATADIR:/usr/share:" \ + -e "s:GENTOO_BINDIR:/usr/bin:" \ + Imakefile \ + || die +} + +src_configure() { + xmkmf || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CDEBUGFLAGS="${CFLAGS}" \ + EXTRA_LDOPTIONS="${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ../{CREDITS,DOC,README,TODO,changelog} + make_desktop_entry scavenger "XScavenger" +} diff --git a/games-arcade/xsfcave-0.5-r1 b/games-arcade/xsfcave-0.5-r1 deleted file mode 100644 index 0e3c5c5cd5a7..000000000000 --- a/games-arcade/xsfcave-0.5-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=x11-libs/libXext x11-libs/libSM -DESCRIPTION=A X11 sfcave clone -EAPI=6 -HOMEPAGE=http://xsfcave.idios.org -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=public-domain -RDEPEND=x11-libs/libXext x11-libs/libSM -SLOT=0 -SRC_URI=mirror://sourceforge/scrap/xsfcave-0.5.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=f97b5feca54f489c514fb5365a41f5f9 diff --git a/games-arcade/xsfcave/Manifest b/games-arcade/xsfcave/Manifest new file mode 100644 index 000000000000..3494684f8066 --- /dev/null +++ b/games-arcade/xsfcave/Manifest @@ -0,0 +1,3 @@ +DIST xsfcave-0.5.tar.gz 88113 BLAKE2B bddf18277b8df3c3e17f8d9cd18ad517d95adbeb9479cf1552fe3e69f097344a229bbbb33348c34fd082194f4a3db3a8921dfd4644d983ba30320f7c9c961068 SHA512 5dd5c7e581362b1d4faf2edd73f5ea6a068d05a94b6fac7813fa2cae323453ed3380c9e40b92a2ed9b3672ab931d5a2951d2ad7fc74cf64588e6e9fe7723f09a +EBUILD xsfcave-0.5-r1.ebuild 444 BLAKE2B 3b5abd4777869fa9c5d5c122b41c815898be4881c1eb7c0db6fd6391b8f1bf2ac7ceaf6cc5c3a0df4f6823cfb6422af25f28ba6a79b8bbea20a699caeb6cfbcb SHA512 9cac05246213cd666769a5d429c6bd6afebfb2a09e7156e6ec0395200678a62ce814887ff82076e37ce64a20419b537123b9f939352569f67f7a40b3d8f60b9b +MISC metadata.xml 579 BLAKE2B 879e8e393b026691db4293d4e66354dc1613cce3e23cfad38ac0fe149da05733ad5b76f7e6f0de92c3c540e398785c36db15c85c87c963081f0e9df2b29cf98b SHA512 3bca9dd2cb0d9a5f8795a213f9ba45a19ccfd5cadc516f26367a7cec5506bf9dfc511f308ea9d4eca780aba075ea41dbae88ab8142fe3384d3cfd4d598885a4f diff --git a/games-arcade/xsfcave/metadata.xml b/games-arcade/xsfcave/metadata.xml new file mode 100644 index 000000000000..2eaca6d18e4d --- /dev/null +++ b/games-arcade/xsfcave/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> + <longdescription lang="en"> +xsfcave is a X11 sfcave clone. The game consist of surviving in a tunel by not +hitting in the walls and obstacles. The first versions of the game are greatly +influenced by the Java version of this game. +</longdescription> + <upstream> + <remote-id type="sourceforge">scrap</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/xsfcave/xsfcave-0.5-r1.ebuild b/games-arcade/xsfcave/xsfcave-0.5-r1.ebuild new file mode 100644 index 000000000000..5d28c027ce64 --- /dev/null +++ b/games-arcade/xsfcave/xsfcave-0.5-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A X11 sfcave clone" +HOMEPAGE="http://xsfcave.idios.org" +SRC_URI="mirror://sourceforge/scrap/${P}.tar.gz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="x11-libs/libXext + x11-libs/libSM" +RDEPEND="${DEPEND}" + +src_install() { + default + make_desktop_entry "${PN}" +} diff --git a/games-arcade/xtux-20030306-r1 b/games-arcade/xtux-20030306-r1 deleted file mode 100644 index 0510e31bed99..000000000000 --- a/games-arcade/xtux-20030306-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=compile install prepare -DEPEND=x11-libs/libXpm -DESCRIPTION=Multiplayer Gauntlet-style arcade game -EAPI=6 -HOMEPAGE=http://xtux.sourceforge.net/ -KEYWORDS=~amd64 ~x86 -LICENSE=GPL-2 -RDEPEND=x11-libs/libXpm media-fonts/font-adobe-75dpi -SLOT=0 -SRC_URI=mirror://sourceforge/xtux/xtux-src-20030306.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=26a208fb7ff196e7456c8195b25c3a20 diff --git a/games-arcade/xtux/Manifest b/games-arcade/xtux/Manifest new file mode 100644 index 000000000000..61a1f6012969 --- /dev/null +++ b/games-arcade/xtux/Manifest @@ -0,0 +1,5 @@ +AUX xtux-20030306-ldflags.patch 805 BLAKE2B 1d3cda6f7bfb2619507caad5fb5fb769dbfe89fd7e377c9e747e0ec4a515f03079d9c4d34c9ac204f21d504812662676322c643feae68f80ddb9eded0c10668b SHA512 089d03e2ef4072b0d134940771820f151e4e51d95c8f01230a78933e0160fa204dd277b4b0bbd7a4288dbb6fabf1ebe7a976f0ead2096b8eaa21daf82f6c97eb +AUX xtux-20030306-particles.patch 1411 BLAKE2B 22db279e8bdca02029be6a115dc0329893dc69ffd39fcbf773fead770db1cac85c52086bf9bf7e5b23774981f94c86b6858653673f797f082aa3b205bf165443 SHA512 4288325e2e24cbbc2b0407c526d733b028d670d4ce182957392d16675b666c2a9ef44c23227f3acae526bcb439df1e73f13772612ee2c25ac5f373c7863927fd +DIST xtux-src-20030306.tar.gz 1640928 BLAKE2B 0db135f741a978a943035df5b78773bbb3fbbeecc2fd740525614e4f942e7e23b67a6fa5640fa82c2c32d2aa2abe73badc9d341ab0ec06922513a8ed0783ce7a SHA512 edb137b4d6b0fe7d673e8eedffbd9c521800a8e51aff0a36e5aa02d46a157d42142326b334b9c7358cfb5debf4b78a2a9951f82121dd538cfe288cf292a269d4 +EBUILD xtux-20030306-r1.ebuild 1241 BLAKE2B dcc32bf27f2df307d4d940ac5d971164c31eb5a6a5fd866798c9a54adbd52f40e6452afa68bf76ee6b4450e7f4e86069546bb31a0fe707195f2231e4c6922dec SHA512 dcb83c916fc67c3fc01067473e31fd8d608183f3203701c1f46ca27025b04ef5aae5fa0f99718bc00c3ad1ce11c693e8f0ac6e2b0c57ee5f464f501b7efb163b +MISC metadata.xml 327 BLAKE2B c3a5163b1311672e516ad8cec744bc8813705ef58da277f566101f8699cf1db7bd519bf80d35b5410ee32185ba3a38ae3f4a04dacd49ed5cfda24dfa45ddea19 SHA512 cda1520a7e746d0b8e78cfe62b83466123b01bc02186b63d365f170bce8477be0f408a73d1436b916538c7c1906a77e73114f8d81fb799d48e7bdb4b0fd5c418 diff --git a/games-arcade/xtux/files/xtux-20030306-ldflags.patch b/games-arcade/xtux/files/xtux-20030306-ldflags.patch new file mode 100644 index 000000000000..4a4877a6d65a --- /dev/null +++ b/games-arcade/xtux/files/xtux-20030306-ldflags.patch @@ -0,0 +1,22 @@ +--- a/src/client/Makefile.old 2010-09-30 18:08:16.000000000 +0200 ++++ b/src/client/Makefile 2010-09-30 18:08:41.000000000 +0200 +@@ -48,7 +48,7 @@ + + #Apps + client: $(OBJECTS) +- $(CC) -o $(BINARY) $(CFLAGS) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(X11LIB) $(XPMLIB) $(SOCKLIB) $(GGZLIB) ++ $(CC) -o $(BINARY) $(LDFLAGS) $(CFLAGS) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(X11LIB) $(XPMLIB) $(SOCKLIB) $(GGZLIB) + + # OBJECTS + .c.o: client.h $*.c +--- a/src/server/Makefile.old 2010-09-30 18:09:55.000000000 +0200 ++++ b/src/server/Makefile 2010-09-30 18:10:16.000000000 +0200 +@@ -41,7 +41,7 @@ + + #Apps + server: $(OBJECTS) +- $(CC) -o $(BINARY) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(SOCKLIB) $(GGZLIB) ++ $(CC) $(LDFLAGS) -o $(BINARY) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(SOCKLIB) $(GGZLIB) + + # OBJECTS + .c.o: server.h $*.h $*.c diff --git a/games-arcade/xtux/files/xtux-20030306-particles.patch b/games-arcade/xtux/files/xtux-20030306-particles.patch new file mode 100644 index 000000000000..9a340821dd6e --- /dev/null +++ b/games-arcade/xtux/files/xtux-20030306-particles.patch @@ -0,0 +1,30 @@ +diff -u -r xtux.old/src/client/particle.c xtux/src/client/particle.c +--- xtux.old/src/client/particle.c 2008-09-02 20:34:24.000000000 +0200 ++++ xtux/src/client/particle.c 2008-09-02 20:35:40.000000000 +0200 +@@ -340,11 +340,11 @@ + ptl->pos[i].y = src_y; + d = dir + 128; + d += i%SHARD_ANGLE - SHARD_ANGLE/2; +- ptl->vel[i].x = sin_lookup[dir + 64 + rand()%64] * SHARD_EXP_VEL; +- ptl->vel[i].y = -cos_lookup[dir + 64 + rand()%64] * SHARD_EXP_VEL; ++ ptl->vel[i].x = sin_lookup[(dir + 64 + rand()%64) % DEGREES] * SHARD_EXP_VEL; ++ ptl->vel[i].y = -cos_lookup[(dir + 64 + rand()%64) % DEGREES] * SHARD_EXP_VEL; + vel = SHARD_MIN_VEL + (SHARD_MAX_VEL*rand()/(RAND_MAX+SHARD_MIN_VEL)); +- ptl->vel[i].x += vel * sin_lookup[d] * 10; +- ptl->vel[i].y += vel * -cos_lookup[d] * 10; ++ ptl->vel[i].x += vel * sin_lookup[d % DEGREES] * 10; ++ ptl->vel[i].y += vel * -cos_lookup[d % DEGREES] * 10; + } + + ptl = particles_new(color2, PTL_TOP, num_sh2); +@@ -357,8 +357,8 @@ + ptl->vel[i].x = sin_lookup[rand()%256] * SHARD_EXP_VEL; + ptl->vel[i].y = -cos_lookup[rand()%256] * SHARD_EXP_VEL; + vel = SHARD_MIN_VEL + (SHARD_MAX_VEL*rand()/(RAND_MAX+SHARD_MIN_VEL)); +- ptl->vel[i].x += vel * sin_lookup[d] * 20; +- ptl->vel[i].y += vel * -cos_lookup[d] * 20; ++ ptl->vel[i].x += vel * sin_lookup[d % DEGREES] * 20; ++ ptl->vel[i].y += vel * -cos_lookup[d % DEGREES] * 20; + } + + /* "Extra" particles (ie bullet holes) */ diff --git a/games-arcade/xtux/metadata.xml b/games-arcade/xtux/metadata.xml new file mode 100644 index 000000000000..b9b705622a97 --- /dev/null +++ b/games-arcade/xtux/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">xtux</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/xtux/xtux-20030306-r1.ebuild b/games-arcade/xtux/xtux-20030306-r1.ebuild new file mode 100644 index 000000000000..35368df77f3f --- /dev/null +++ b/games-arcade/xtux/xtux-20030306-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Multiplayer Gauntlet-style arcade game" +HOMEPAGE="http://xtux.sourceforge.net/" +SRC_URI="mirror://sourceforge/xtux/xtux-src-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="x11-libs/libXpm" +RDEPEND="${DEPEND} + media-fonts/font-adobe-75dpi +" + +S="${WORKDIR}/${PN}" + +src_prepare() { + default + + find data/ -type d -name .xvpics -exec rm -rf \{\} + + sed -i \ + -e "s:-g -Wall -O2:${CFLAGS}:" \ + src/{client,common,server}/Makefile \ + || die "sed failed" + sed -i \ + -e "s:./tux_serv:tux_serv:" \ + src/client/menu.c \ + || die "sed failed" + + eapply "${FILESDIR}/${P}-particles.patch" \ + "${FILESDIR}"/${P}-ldflags.patch +} + +src_compile() { + # Not parallel-make friendly (bug #247332) + emake DATADIR="/usr/share/xtux/data" common + emake DATADIR="/usr/share/xtux/data" ggz + emake DATADIR="/usr/share/xtux/data" server + emake DATADIR="/usr/share/xtux/data" client +} + +src_install () { + dobin xtux tux_serv + insinto "/usr/share/xtux" + doins -r data/ + dodoc AUTHORS CHANGELOG README README.GGZ doc/* + newicon data/images/icon.xpm ${PN}.xpm + make_desktop_entry xtux "Xtux" +} diff --git a/games-arcade/yarsrevenge-0.99-r1 b/games-arcade/yarsrevenge-0.99-r1 deleted file mode 100644 index f39de7c63df2..000000000000 --- a/games-arcade/yarsrevenge-0.99-r1 +++ /dev/null @@ -1,12 +0,0 @@ -DEFINED_PHASES=install -DEPEND=media-libs/libsdl[sound,joystick,video] -DESCRIPTION=Remake of the Atari 2600 classic Yar's Revenge -EAPI=6 -HOMEPAGE=http://freshmeat.net/projects/yarsrevenge/ -KEYWORDS=~amd64 ~x86 ~x86-fbsd -LICENSE=GPL-2 -RDEPEND=media-libs/libsdl[sound,joystick,video] -SLOT=0 -SRC_URI=http://www.autismuk.freeserve.co.uk/yar-0.99.tar.gz -_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 -_md5_=da978b585bcb30546481d521271174e6 diff --git a/games-arcade/yarsrevenge/Manifest b/games-arcade/yarsrevenge/Manifest new file mode 100644 index 000000000000..9c53d738b413 --- /dev/null +++ b/games-arcade/yarsrevenge/Manifest @@ -0,0 +1,6 @@ +AUX 0.99-math.patch 182 BLAKE2B 18d5fd5b465ef6bd67caa435184b5dabb96114128b50c824ca12c01066b3138391008e96500b1c0b1b9e92f28a73c994cddb7a7ab770c428703964b6e5bd3cfd SHA512 6688e2c6a4a2537af94823d0bc845f6d764cb755689309712d29af951a092b4df030645792c248752e88a5013730dc34a6256be1219a57d0a3498738aeeb3a0a +AUX yarsrevenge-0.99-gcc43.patch 219 BLAKE2B 23b1aa4f4e15abb04b1391ac65b0258bc65a778ea646824ba5ed49ecc4405dfa09f93bd323bd0cb4a3b531be89de8af3d8b14b4735f027958a89a102569eb5d0 SHA512 2cd2549113930e0868fb551ad7a2e024278a8012b013b44762059303cb967d9c57d557e67702b5b01d0195fa885533770820a18c0e742838122e77473c86f93f +AUX yarsrevenge-0.99-gcc44.patch 258 BLAKE2B 71defcf5d287e3611b54850c50ebbceff81fbd0b84420dfac44c618cce1bb4db9014f532e6daced744b846fe634e8ccf040395192195b589d16f85909b9b8eef SHA512 dc3fbec65cd49950141bbd64b7b4a711217b0ac267166c71a9d175f1ba20fcedad97c1b89476d5c6f3a1630c5eae68d0f44738dba4383bb576edd059acd060e8 +DIST yar-0.99.tar.gz 535043 BLAKE2B 8760a039b987d701cfbeccf7612b14d60a1867b737999afb94383d9123cd82fe385dc12d410d333dceb07f580c75b7a515131f4b1ce2be25ee1725e6961150be SHA512 c520b9c6c7ff2c60c2e7e18e6c0d2ff376334706fb190ce0d015acba21815680029a30d7a573d0b4c41da2d9f932108417804141bf4557bc99550e30f699e8bb +EBUILD yarsrevenge-0.99-r1.ebuild 654 BLAKE2B 73d35237b0560d7daabe2c120c167acfb99cb6c641b83192f8c768af648160f32bc0a803881d609bbd462a589347d704bbb9b34b746689768f0e101e9a73e008 SHA512 4a06a7235e5dd96c3d26661f2ff39aaa4da23d0447c803c200a57036f3f575a11ad98e69db3eda7c388a03fe8400fdd09b2d86a98755ebfe4a9a92f1df437a00 +MISC metadata.xml 501 BLAKE2B ea182028d3c0df8a6c1ecaa82bc71ccab959b16316e1d1044f12d9ffbad8c4ec40aadac0fa2a3f46e65cfebfa33c64eac58fc44822ff702e6ca68d0496715caa SHA512 c822cb194e0fbc444a4b5a577d2abb319d010318cf2107507c87d24ca9ade92e2ce1afddac8d196f3f23667a3401224868ae157a559d761bc09ef668aa5406f3 diff --git a/games-arcade/yarsrevenge/files/0.99-math.patch b/games-arcade/yarsrevenge/files/0.99-math.patch new file mode 100644 index 000000000000..5e1136972325 --- /dev/null +++ b/games-arcade/yarsrevenge/files/0.99-math.patch @@ -0,0 +1,6 @@ +--- a/yar/graphics.cpp.orig 2004-06-02 14:14:38.174071320 -0400 ++++ b/yar/graphics.cpp 2004-06-02 14:14:50.352219960 -0400 +@@ -18,2 +18,3 @@ + #include "yar.hxx" ++#include <cmath> + diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch new file mode 100644 index 000000000000..511fad0091e1 --- /dev/null +++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc43.patch @@ -0,0 +1,10 @@ +--- a/yar/sgw.hxx ++++ b/yar/sgw.hxx +@@ -24,6 +24,7 @@ +
+ #include <iostream>
+ #include <string>
++#include <cstdlib>
+
+ #define DEFAULT_SCX (1024) // Default Screen Size and Depth
+ #define DEFAULT_SCY (768)
diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch new file mode 100644 index 000000000000..29a52125c904 --- /dev/null +++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-gcc44.patch @@ -0,0 +1,10 @@ +--- a/yar/game.cpp ++++ b/yar/game.cpp +@@ -15,6 +15,7 @@ + * * + ***************************************************************************/ + ++#include <cstdio> + #include "yar.hxx" + + diff --git a/games-arcade/yarsrevenge/metadata.xml b/games-arcade/yarsrevenge/metadata.xml new file mode 100644 index 000000000000..9a4a1e47a78a --- /dev/null +++ b/games-arcade/yarsrevenge/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> +A rather weird shoot-em-up game that originated on the Atari 2600. It's more +fun than it looks. Just released so might be tweaked. +</longdescription> + <upstream> + <remote-id type="freshmeat">yarsrevenge</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild b/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild new file mode 100644 index 000000000000..b6923570b8f4 --- /dev/null +++ b/games-arcade/yarsrevenge/yarsrevenge-0.99-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Remake of the Atari 2600 classic Yar's Revenge" +HOMEPAGE="http://freshmeat.net/projects/yarsrevenge/" +SRC_URI="http://www.autismuk.freeserve.co.uk/yar-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="media-libs/libsdl[sound,joystick,video]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/yar-${PV}" + +PATCHES=( + "${FILESDIR}"/${PV}-math.patch + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-gcc44.patch +) + +src_install() { + default + make_desktop_entry "${PN}" "Yar's Revenge" +} |