summaryrefslogtreecommitdiff
path: root/games-arcade
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/Manifest.gzbin22571 -> 22560 bytes
-rw-r--r--games-arcade/abe/Manifest5
-rw-r--r--games-arcade/abe/abe-1.1-r1.ebuild64
-rw-r--r--games-arcade/abe/abe-1.1.ebuild47
-rw-r--r--games-arcade/abe/files/abe-1.1-doublefree.patch11
-rw-r--r--games-arcade/abe/files/abe-1.1-format-security.patch87
-rw-r--r--games-arcade/abe/files/abe-1.1-format.patch11
-rw-r--r--games-arcade/afternoonstalker/Manifest2
-rw-r--r--games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild (renamed from games-arcade/afternoonstalker/afternoonstalker-1.1.5.ebuild)13
-rw-r--r--games-arcade/alienwave/Manifest2
-rw-r--r--games-arcade/alienwave/alienwave-0.4.0-r1.ebuild (renamed from games-arcade/alienwave/alienwave-0.4.0.ebuild)14
-rw-r--r--games-arcade/amphetamine/Manifest9
-rw-r--r--games-arcade/amphetamine/amphetamine-0.8.10-r1.ebuild (renamed from games-arcade/amphetamine/amphetamine-0.8.10.ebuild)30
-rw-r--r--games-arcade/amphetamine/files/amphetamine-0.8.10-bugs.patch56
-rw-r--r--games-arcade/amphetamine/files/amphetamine-0.8.10-build.patch4
-rw-r--r--games-arcade/amphetamine/files/amphetamine-0.8.10-etc.patch126
-rw-r--r--games-arcade/amphetamine/files/amphetamine-0.8.10-missing-headers.patch13
-rw-r--r--games-arcade/amphetamine/files/amphetamine-0.8.10-newline.patch358
-rw-r--r--games-arcade/amphetamine/files/amphetamine-0.8.10-no-lxt.patch14
-rw-r--r--games-arcade/aop/Manifest4
-rw-r--r--games-arcade/aop/aop-0.6-r1.ebuild (renamed from games-arcade/aop/aop-0.6.ebuild)14
-rw-r--r--games-arcade/aop/files/aop-0.6-as-needed.patch4
-rw-r--r--games-arcade/apricots/Manifest6
-rw-r--r--games-arcade/apricots/apricots-0.2.6-r2.ebuild (renamed from games-arcade/apricots/apricots-0.2.6-r1.ebuild)37
-rw-r--r--games-arcade/apricots/files/apricots-0.2.6-freealut.patch12
-rw-r--r--games-arcade/apricots/files/apricots-0.2.6-ldflags.patch4
-rw-r--r--games-arcade/ascii-invaders/Manifest2
-rw-r--r--games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild (renamed from games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild)13
-rw-r--r--games-arcade/asteroid/Manifest6
-rw-r--r--games-arcade/asteroid/asteroid-1.1.ebuild31
-rw-r--r--games-arcade/asteroid/asteroid-1.2.1.ebuild26
-rw-r--r--games-arcade/asteroid/files/asteroid-1.1-include.patch11
-rw-r--r--games-arcade/asteroid/files/asteroid-1.2.1-libm.patch24
-rw-r--r--games-arcade/balloonchase/Manifest4
-rw-r--r--games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild (renamed from games-arcade/balloonchase/balloonchase-0.9.6.ebuild)24
-rw-r--r--games-arcade/balloonchase/files/0.9.6-gentoo.patch8
-rw-r--r--games-arcade/batrachians/Manifest2
-rw-r--r--games-arcade/batrachians/batrachians-0.1.6-r1.ebuild (renamed from games-arcade/batrachians/batrachians-0.1.6.ebuild)33
-rw-r--r--games-arcade/berusky/Manifest3
-rw-r--r--games-arcade/berusky/berusky-1.7.1-r1.ebuild33
-rw-r--r--games-arcade/berusky/berusky-1.7.1.ebuild61
-rw-r--r--games-arcade/berusky/files/berusky-1.7.1-gentoo.patch71
-rw-r--r--games-arcade/ceferino/Manifest2
-rw-r--r--games-arcade/ceferino/ceferino-0.97.8-r2.ebuild (renamed from games-arcade/ceferino/ceferino-0.97.8-r1.ebuild)23
-rw-r--r--games-arcade/circuslinux/Manifest2
-rw-r--r--games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild (renamed from games-arcade/circuslinux/circuslinux-1.0.3.ebuild)11
-rw-r--r--games-arcade/cob/Manifest6
-rw-r--r--games-arcade/cob/cob-0.9-r1.ebuild (renamed from games-arcade/cob/cob-0.9.ebuild)19
-rw-r--r--games-arcade/cob/files/cob-0.9-gcc43.patch8
-rw-r--r--games-arcade/cob/files/cob-0.9-gcc44.patch12
-rw-r--r--games-arcade/conveysdl/Manifest6
-rw-r--r--games-arcade/conveysdl/conveysdl-1.3-r1.ebuild (renamed from games-arcade/conveysdl/conveysdl-1.3.ebuild)21
-rw-r--r--games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch4
-rw-r--r--games-arcade/conveysdl/files/conveysdl-1.3-speed.patch4
-rw-r--r--games-arcade/cosmosmash/Manifest2
-rw-r--r--games-arcade/cosmosmash/cosmosmash-1.4.7-r1.ebuild (renamed from games-arcade/cosmosmash/cosmosmash-1.4.7.ebuild)13
-rw-r--r--games-arcade/crack-attack/Manifest6
-rw-r--r--games-arcade/crack-attack/crack-attack-1.1.14-r2.ebuild (renamed from games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild)23
-rw-r--r--games-arcade/crack-attack/files/crack-attack-1.1.14-gcc43.patch4
-rw-r--r--games-arcade/crack-attack/files/crack-attack-1.1.14-glut.patch4
-rw-r--r--games-arcade/criticalmass/Manifest10
-rw-r--r--games-arcade/criticalmass/criticalmass-1.0.2-r1.ebuild (renamed from games-arcade/criticalmass/criticalmass-1.0.2.ebuild)31
-rw-r--r--games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch4
-rw-r--r--games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch4
-rw-r--r--games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch8
-rw-r--r--games-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch12
-rw-r--r--games-arcade/defendguin/Manifest2
-rw-r--r--games-arcade/defendguin/defendguin-0.0.12-r1.ebuild (renamed from games-arcade/defendguin/defendguin-0.0.12.ebuild)16
-rw-r--r--games-arcade/digger/Manifest2
-rw-r--r--games-arcade/digger/digger-20140423-r1.ebuild (renamed from games-arcade/digger/digger-20140423.ebuild)15
70 files changed, 1090 insertions, 483 deletions
diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz
index 17b2d07ede30..44afbb496f7e 100644
--- a/games-arcade/Manifest.gz
+++ b/games-arcade/Manifest.gz
Binary files differ
diff --git a/games-arcade/abe/Manifest b/games-arcade/abe/Manifest
index 4dd30396d46b..db8c3ca31be0 100644
--- a/games-arcade/abe/Manifest
+++ b/games-arcade/abe/Manifest
@@ -1,4 +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.ebuild 1037 BLAKE2B a01e14a61a56373e143b6f4cfd0b9ce1d48d954be6c2323ec984a126ceb32da91d0bb410455662fbc1d00bb91343dfcef72dc54c255c9989c9951d05f00f14e7 SHA512 cad6f2e2b8bc9879b2deb384024a820a6b85b349f54eeaaed51106a47b5f9a56f0cf4a241bda4b4909ab9d0cf17d4075cc12d8fd797bd6dded2e316939f88ed7
+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/abe-1.1.ebuild b/games-arcade/abe/abe-1.1.ebuild
deleted file mode 100644
index 78fcff1e13fa..000000000000
--- a/games-arcade/abe/abe-1.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils toolchain-funcs games
-
-DESCRIPTION="A 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
-}
-
-src_prepare() {
- sed -i \
- -e "/^TR_CFLAGS/d" \
- -e "/^TR_CXXFLAGS/d" \
- configure || die
- epatch "${FILESDIR}"/${P}-settings.patch
-}
-
-src_configure() {
- egamesconf --with-data-dir="${GAMES_DATADIR}"/${PN}
-}
-
-src_install() {
- dogamesbin src/abe
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r images sounds maps
- newicon tom1.bmp abe.bmp
- make_desktop_entry abe "Abe's Amazing Adventure" /usr/share/pixmaps/abe.bmp
- dodoc AUTHORS ChangeLog README
- prepgamesdirs
-}
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/afternoonstalker/Manifest b/games-arcade/afternoonstalker/Manifest
index 7a3d974393e9..517abd31b285 100644
--- a/games-arcade/afternoonstalker/Manifest
+++ b/games-arcade/afternoonstalker/Manifest
@@ -1,3 +1,3 @@
DIST afternoonstalker-1.1.5.tar.gz 202663 BLAKE2B 1572e5fa2b7ac0c9e24897cd8e31333c1a1819fc36576a3410cbb2ab6676ee505182dc71dd97e65ccaaff8218c470065bdc942a380aafb506f4c0032d4325df4 SHA512 ff08cc72385deddfaffabf98c3cc67f72f8c6db77de1feb4e19d2d3dcf6ca1018a71d6e052d2e2373dc758e119a4c068a3f4195cb6fbf1b01900bdedf193a7e0
-EBUILD afternoonstalker-1.1.5.ebuild 844 BLAKE2B a815920e8ae1768b63b1f686d007b1376d3ffe729ef4cf91c3e1359c773869352506384e493a692e68e978b1b69b6c5c872737a4fe97dce3573f54813b7603d7 SHA512 ebccdf1e9bd82f79be287055c95be6c9b579e6a4bf40957c3b8e8c3db272157712790440d1691b032554eff570f781bc4bea9384bdd65a7cf5bf25ea15d031f5
+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.ebuild b/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild
index 9f0422562b43..f7f3afc9f23e 100644
--- a/games-arcade/afternoonstalker/afternoonstalker-1.1.5.ebuild
+++ b/games-arcade/afternoonstalker/afternoonstalker-1.1.5-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools games
+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"
@@ -15,9 +15,11 @@ IUSE=""
RDEPEND=">=dev-games/flatzebra-0.1.6"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
src_prepare() {
+ default
sed -i \
-e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
-e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
@@ -29,6 +31,5 @@ src_prepare() {
src_install() {
emake -C src DESTDIR="${D}" install
doman doc/${PN}.6
- dodoc AUTHORS NEWS README THANKS
- prepgamesdirs
+ einstalldocs
}
diff --git a/games-arcade/alienwave/Manifest b/games-arcade/alienwave/Manifest
index 7936ec41d3f7..ad6934d9c279 100644
--- a/games-arcade/alienwave/Manifest
+++ b/games-arcade/alienwave/Manifest
@@ -1,4 +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.ebuild 572 BLAKE2B 127f031a313f6f7a87ef05573fe564b4f6a1ae923aaa1129401045b50c2274f598d07ce30b45ab9dc76fc9327194031c9de22885a9525800f003a5be539159a0 SHA512 8774c915163b4c9a3da2bfa4a4aba833a785e4d1a62588f606c81ce6b9487ae487af8644c1af43bea776339b8d1a28f499e991a7e2c1eba6800d60db72a1cea6
+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.ebuild b/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild
index c633e6d751cf..eda16474a7f5 100644
--- a/games-arcade/alienwave/alienwave-0.4.0.ebuild
+++ b/games-arcade/alienwave/alienwave-0.4.0-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
DESCRIPTION="An ncurses-based Xenon clone"
HOMEPAGE="http://www.alessandropira.org/alienwave/aw.html"
@@ -16,14 +15,11 @@ IUSE=""
DEPEND="sys-libs/ncurses:0"
RDEPEND=${DEPEND}
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
src_install() {
- dogamesbin alienwave
+ dobin alienwave
dodoc TO_DO README STORY
- prepgamesdirs
}
diff --git a/games-arcade/amphetamine/Manifest b/games-arcade/amphetamine/Manifest
index 081ceb1eec00..6ab9a96f6553 100644
--- a/games-arcade/amphetamine/Manifest
+++ b/games-arcade/amphetamine/Manifest
@@ -1,6 +1,11 @@
AUX amphetamine-0.8.10-64bit.patch 2708 BLAKE2B 6abc82e1758000b1fbb3e930f51873026a9e6ab0c1558b2f793a9fad75d240b5c31fec6d69f7144a9c3a91eca809fca6860fdb72a1211b8aefd0d4d64480774a SHA512 8216a5b59c52488f35416295256087771c82e8996787e74d03d416829b628267d17b47cc5f6d7bae2ff87b442bdb38aec4f78f14cd130fb045f5c8272f6b4c9d
-AUX amphetamine-0.8.10-build.patch 696 BLAKE2B d2902d43619415686dc335ba2b58185ccdd62d4a24537f7efdee912359b60837f5f44b16b881203b7a08ebec423d92d32d18b3494da67c1e643582f5fba11b87 SHA512 cc7bfe701db5ca54a0437104217ffdad4cb0cc788b7b11db9eca3bbbfa8d2051ea3e76330046be53ec2b0f91d40d82187fd6fba3805993a724a3cf0be0ecf7d0
+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-etc.patch 3838 BLAKE2B 0aa89ad89f0131db3fcb8c7935b2350cfa690d50d61b538fc29d859c8c8dd029b24ebc3036a214c7ce84ec83b2af137bc572e041a5f95fbfe578b7c264a6c234 SHA512 a1afaf30fdd86dfb518bb370b65c46ae4bf46b3acd4a81767f557b93b0a60983ac880b7082240c14c7b551263af116c4f26880ab7fe2bde5ca8f599e82ef1d2e
+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.ebuild 973 BLAKE2B 978e4860d2d464834cb251c1d9a44124453edc7c47194ffb9364cbbb00d95966b572d52ae14941540aa0079064d208d11fa433c17e5608d81c469b3ba0ecc7a0 SHA512 75f51f220bc86738786702f2448217d054a149fa7f3d0e264f20344792c07e2e1688eba49ba8e5a4d5e377ceee5901029d5423f129e3f8c8ac86c4142093ef32
+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.ebuild b/games-arcade/amphetamine/amphetamine-0.8.10-r1.ebuild
index 4955b35b0d95..8df81545c760 100644
--- a/games-arcade/amphetamine/amphetamine-0.8.10.ebuild
+++ b/games-arcade/amphetamine/amphetamine-0.8.10-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+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"
@@ -18,23 +18,31 @@ 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() {
- epatch \
- "${FILESDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-64bit.patch
+ default
sed -i -e '55d' src/ObjInfo.cpp || die
}
src_compile() {
- emake INSTALL_DIR="${GAMES_DATADIR}"/${PN}
+ emake INSTALL_DIR=/usr/share/${PN}
}
src_install() {
- newgamesbin amph ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ newbin amph ${PN}
+ insinto /usr/share/${PN}
doins -r ../amph/*
newicon amph.xpm ${PN}.xpm
make_desktop_entry ${PN} Amphetamine ${PN}
- dodoc BUGS ChangeLog NEWS README
- prepgamesdirs
+ einstalldocs
}
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
index 2c0185f3ff01..185826c35c37 100644
--- a/games-arcade/amphetamine/files/amphetamine-0.8.10-build.patch
+++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-build.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -26,8 +26,8 @@
# makemake variables
diff --git a/games-arcade/amphetamine/files/amphetamine-0.8.10-etc.patch b/games-arcade/amphetamine/files/amphetamine-0.8.10-etc.patch
new file mode 100644
index 000000000000..f4ad132dce64
--- /dev/null
+++ b/games-arcade/amphetamine/files/amphetamine-0.8.10-etc.patch
@@ -0,0 +1,126 @@
+description: use /etc/amphetamine for config files
+Index: amphetamine-0.8.10/src/ConstVal.cpp
+===================================================================
+--- amphetamine-0.8.10.orig/src/ConstVal.cpp 2006-05-15 19:16:56.000000000 +0200
++++ amphetamine-0.8.10/src/ConstVal.cpp 2006-05-15 19:17:02.000000000 +0200
+@@ -19,7 +19,7 @@
+ {
+ char levelSetString[11] = "xxLevelSet";
+ char levelBkgndString[13] = "xxLevelBkgnd";
+- FILE *paramFile = fopen(gSystem->QualifyDataDir(kParFileName), "r"); // by LL
++ FILE *paramFile = fopen(gSystem->QualifyEtcDir(kParFileName), "r"); // by LL
+
+ gConst = new tConstValues;
+
+@@ -159,7 +159,7 @@
+ fclose(paramFile);
+
+ // Hier sollte auch im Home Directory gesucht werden...
+- paramFile = gSystem->FindFile(gConst->kFileConfig); // by LL
++ paramFile = fopen(gSystem->QualifyEtcDir(gConst->kFileConfig), "r"); // by LL
+
+ gConfigData->leftKey = GetLongConstant(paramFile, "LeftKey");
+ GetStringConstant(paramFile, "LeftKeyText", gConfigData->leftKeyText);
+@@ -212,6 +212,7 @@
+ char c = 0;
+ short n;
+
++ key[0] = '\0';
+ fseek(f, 0, SEEK_SET);
+
+ while (strcmp(key, constName)) {
+Index: amphetamine-0.8.10/src/Gui.cpp
+===================================================================
+--- amphetamine-0.8.10.orig/src/Gui.cpp 2006-05-15 19:16:56.000000000 +0200
++++ amphetamine-0.8.10/src/Gui.cpp 2006-05-15 19:17:02.000000000 +0200
+@@ -688,7 +688,7 @@
+
+ void CGUI::LoadMessages()
+ {
+- FILE *f = fopen(gSystem->QualifyDataDir(kParFileName), "r"); // by LL
++ FILE *f = fopen(gSystem->QualifyEtcDir(kParFileName), "r"); // by LL
+ char msgString[6] = "msgxx";
+ short n;
+
+@@ -724,7 +724,7 @@
+
+ void LoadGUIParameters()
+ {
+- FILE *f = fopen(gSystem->QualifyDataDir(kParFileName), "r"); // by LL
++ FILE *f = fopen(gSystem->QualifyEtcDir(kParFileName), "r"); // by LL
+
+ gGUIConst = new tGUIConstants;
+
+Index: amphetamine-0.8.10/src/System.cpp
+===================================================================
+--- amphetamine-0.8.10.orig/src/System.cpp 2006-05-15 19:16:56.000000000 +0200
++++ amphetamine-0.8.10/src/System.cpp 2006-05-15 19:17:02.000000000 +0200
+@@ -143,6 +143,14 @@
+ return tmp;
+ }
+
++char *CSystem::QualifyEtcDir(const char *fname)
++{
++ char *tmp = new char[strlen(etcDir)+strlen(fname)+2];
++ sprintf(tmp, "%s/%s", etcDir, fname);
++
++ return tmp;
++}
++
+ void CSystem::GetHomeDir()
+ {
+ char *tmp;
+@@ -169,7 +177,9 @@
+ GetHomeDir();
+ dataDir = new char[strlen(INSTALL_DIR)+1];
+ strcpy(dataDir, INSTALL_DIR);
+-
++ etcDir = new char[strlen(ETC_DIR)+1];
++ strcpy(etcDir, ETC_DIR);
++
+ char *logFileName = QualifyHomeDir(kLogFileName);
+
+ logFile = fopen(logFileName, "w"); // by LL
+@@ -180,6 +190,8 @@
+ if ( SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO) < 0 ) {
+ MSG("SDL_Init_Failed.");
+ MSG(SDL_GetError());
++ /* Ouput to stdout too. */
++ printf("SDL_Init_Failed: %s\n", SDL_GetError());
+
+ exit(1);
+ }
+Index: amphetamine-0.8.10/src/System.hpp
+===================================================================
+--- amphetamine-0.8.10.orig/src/System.hpp 2006-05-15 19:16:57.000000000 +0200
++++ amphetamine-0.8.10/src/System.hpp 2006-05-15 19:17:02.000000000 +0200
+@@ -16,6 +16,10 @@
+ #define INSTALL_DIR "/usr/local/games/amph"
+ #endif
+
++#ifndef ETC_DIR
++#define ETC_DIR "/etc/amphetamine"
++#endif
++
+ #if SDL_BYTEORDER == SDL_LIL_ENDIAN
+ #undef __BIG_ENDIAN__
+ #else
+@@ -76,6 +80,7 @@
+ RGBcolor *palColors;
+ char *homeDir;
+ char *dataDir;
++ char *etcDir;
+ int workingSound;
+
+ //"""""""""""""""" System Stuff
+@@ -107,8 +112,10 @@
+ void GetHomeDir();
+ char *QualifyDataDir(const char *fname);
+ char *QualifyHomeDir(const char *fname);
++ char *QualifyEtcDir(const char *fname);
+ void ScreenShot();
+ FILE *FindFile(const char *fname);
+ };
+
+ #endif
++
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/aop/Manifest b/games-arcade/aop/Manifest
index 2dae3bb9df68..17bf26f2798b 100644
--- a/games-arcade/aop/Manifest
+++ b/games-arcade/aop/Manifest
@@ -1,4 +1,4 @@
-AUX aop-0.6-as-needed.patch 203 BLAKE2B a97dbc1469f2bafcb8d7a9f171a6f99358e86b4bd908b1ffc874d671e515b78d54f9fdab8a76219096807f74d984974089d0c04a12543d02a253ef7b4b44e51d SHA512 4c013704d0a0310b920c1ce3dcbc9cefd7d1c2423692b8f2f377ecca7ddd6b57d5cc83917fcdee66a7b4227167b9466af9a52b1839ea719ae56aeada8ae3b42b
+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.ebuild 697 BLAKE2B 3901b9b9671d31b1394bf9f9fbd2a050bc2447d955258008a0ba69de1f93dd1333c1df58b76135f74da6ad1d4d0a9466270a0826630e82c03231276c8b3abcc2 SHA512 d54f4dcef4c1f3b4b1ccdb7c74a0aeb6b6b0fd9abbdd224930f8031a8865aaf6ceb0ecccc9773b05ca98b6968964c76ea76e517356d9dbce6047a34c1fc6346f
+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.ebuild b/games-arcade/aop/aop-0.6-r1.ebuild
index 572546e8b1ed..751bc0e7fd13 100644
--- a/games-arcade/aop/aop-0.6.ebuild
+++ b/games-arcade/aop/aop-0.6-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
DESCRIPTION="Ambassador of Pain is a curses based game with only 64 lines of code"
HOMEPAGE="http://raffi.at/view/code/aop"
@@ -18,15 +17,16 @@ DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
+ default
sed -i \
-e "s#/usr/local/share#${GAMES_DATADIR}#" \
aop.c || die
- epatch "${FILESDIR}"/${P}-as-needed.patch
+ eapply "${FILESDIR}"/${P}-as-needed.patch
}
src_install() {
- dogamesbin aop
- insinto "${GAMES_DATADIR}/${PN}"
+ dobin aop
+ insinto "/usr/shate/${PN}"
doins aop-level-*.txt
- prepgamesdirs
+ 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
index 5d70e2b01af4..f172919553b4 100644
--- a/games-arcade/aop/files/aop-0.6-as-needed.patch
+++ b/games-arcade/aop/files/aop-0.6-as-needed.patch
@@ -1,5 +1,5 @@
---- Makefile.old 2009-01-30 17:00:58.000000000 +0100
-+++ Makefile 2009-01-30 17:01:15.000000000 +0100
+--- 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
diff --git a/games-arcade/apricots/Manifest b/games-arcade/apricots/Manifest
index 714b71d2723b..85580776e0e7 100644
--- a/games-arcade/apricots/Manifest
+++ b/games-arcade/apricots/Manifest
@@ -1,5 +1,5 @@
-AUX apricots-0.2.6-freealut.patch 1596 BLAKE2B 80f661cac024c10314c3027c0d5d45c6d77e563ec4a6db83e3c071e4b2aed51da89c1ef132c00cba779e47d56d78545830e23f75968e44b5c303e70c1497851d SHA512 1a3efc32776ab364ca242611ec8a5ee6018b470a122430e22b222934361ceafd09e3fbc2c60e273990263c599f08d097887babde10500a78269356611fde75ad
-AUX apricots-0.2.6-ldflags.patch 829 BLAKE2B ab9f620de4967185e965ca2acb2282135623beb20be4fb1b1e2eac11419fb7c03e30e2950b2cacb598dc4b5b5269aef6867f1d8a5f6b99605e3f74e40aba22ba SHA512 51da904011d7fa65b40c3239819ef9a03e59d669c23caee30eb16a06349f17509d016d7c70ccfdbcbfc956097bd989c317fb0242cfe9a034efb9001411386bbf
+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-r1.ebuild 1563 BLAKE2B e519b3067dba6fab9761d2d89504f38e9d11e10afd71aed974002298024be8a5a309d064fd6658e508d1754219e3f9a97999eea5c821685a6b3c9b448ba5c322 SHA512 58302d0e91a295f54fa2d37940ebb9201b39c64c3052eb3db14333f4820e26a4ce91da95269ded2206770f68286667e70431404690e10dacfaa1c8b7c42e3105
+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-r1.ebuild b/games-arcade/apricots/apricots-0.2.6-r2.ebuild
index a67017a31fa7..b0a37bd7912b 100644
--- a/games-arcade/apricots/apricots-0.2.6-r1.ebuild
+++ b/games-arcade/apricots/apricots-0.2.6-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils games
+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"
@@ -19,24 +19,28 @@ DEPEND="media-libs/libsdl[sound,video]
RDEPEND="${DEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-freealut.patch \
+ 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=\\\\\\"${GAMES_DATADIR}/${PN}/\\\\\\"":' \
+ -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(\"${GAMES_SYSCONFDIR}/${PN}/\"):" \
+ -e "s:filename(AP_PATH):filename(\"/etc/${PN}/\"):" \
${PN}/init.cpp || die
sed -i \
- -e "s:apricots.cfg:${GAMES_SYSCONFDIR}/${PN}/apricots.cfg:" \
+ -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
}
@@ -45,20 +49,15 @@ src_compile() {
}
src_install() {
- dodoc AUTHORS README TODO ChangeLog
- dohtml apricots.html
+ HTML_DOCS="apricots.html"
+ einstalldocs
+
cd ${PN}
- dogamesbin apricots
- insinto "${GAMES_DATADIR}"/${PN}
+ dobin apricots
+ insinto /usr/share/${PN}
doins *.wav *.psf *.shapes
- insinto "${GAMES_SYSCONFDIR}"/${PN}
+ insinto /etc/${PN}
doins apricots.cfg
- make_desktop_entry ${PN} Apricots
- prepgamesdirs
-}
-pkg_postinst() {
- games_pkg_postinst
- elog "You can change the game options by editing:"
- elog "${GAMES_SYSCONFDIR}/${PN}/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
index 4f663071340a..d2e1b27f6f34 100644
--- a/games-arcade/apricots/files/apricots-0.2.6-freealut.patch
+++ b/games-arcade/apricots/files/apricots-0.2.6-freealut.patch
@@ -1,5 +1,5 @@
---- apricots/apricots.cpp
-+++ apricots/apricots.cpp
+--- a/apricots/apricots.cpp
++++ b/apricots/apricots.cpp
@@ -16,6 +16,7 @@
int main(int, char**){
#endif
@@ -9,8 +9,8 @@
gamedata g;
init_data(g);
---- apricots/sampleio.cpp
-+++ apricots/sampleio.cpp
+--- a/apricots/sampleio.cpp
++++ b/apricots/sampleio.cpp
@@ -74,12 +74,9 @@
alListenerfv(AL_ORIENTATION, front );
@@ -51,8 +51,8 @@
}
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -100,7 +100,8 @@
dnl Check for OpenAL
diff --git a/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch b/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch
index 5a2a34490b7e..8a7b4a9f9a8c 100644
--- a/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch
+++ b/games-arcade/apricots/files/apricots-0.2.6-ldflags.patch
@@ -1,5 +1,5 @@
---- apricots/Makefile.am.old 2010-10-11 15:58:18.000000000 +0200
-+++ apricots/Makefile.am 2010-10-11 15:59:21.000000000 +0200
+--- 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
diff --git a/games-arcade/ascii-invaders/Manifest b/games-arcade/ascii-invaders/Manifest
index f0cf0715659b..fdd800a3cdd3 100644
--- a/games-arcade/ascii-invaders/Manifest
+++ b/games-arcade/ascii-invaders/Manifest
@@ -1,3 +1,3 @@
DIST invaders0.1b.tgz 14597 BLAKE2B ecccca6636c4d8dffbc57b8cec82471efc2fd1a256648b9ac46fd256ef99d884205f1c86ff2bf0aedb7bb5996a59a7af3f301339944c6a4753355a8a4db23190 SHA512 3ac9dee0c532384e2849fdc8910bce885e3fdef362b629e8637df1cc0d82eba52c02a836a4925d811b339e9232f20caa7c761dbc1feeddc74e9b6f09e97046b8
-EBUILD ascii-invaders-0.1b.ebuild 679 BLAKE2B 0f437316d5a0ccab6e1744650f88f444b8e527885e5eba6d40722e48da8f9ba62177a7bac79684a3ee91c629f570a9b59c1b11ca1a7b5d1e9a698e6437396927 SHA512 3c0bc7179a36a668db5e961a80825b7c21465b9786186f66fa9fa040f73f382b741a4df18d1896e91771033de1ea462333349902183e4530f5adf8ed0bd5c73e
+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.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild
index 55e723803802..5c6a25c0ed44 100644
--- a/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild
+++ b/games-arcade/ascii-invaders/ascii-invaders-0.1b-r1.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit games
+EAPI=6
DESCRIPTION="Space invaders clone, using ncurses library"
HOMEPAGE="https://packages.gentoo.org/package/games-arcade/ascii-invaders"
@@ -17,9 +16,10 @@ RDEPEND="sys-libs/ncurses:0"
DEPEND="${RDEPEND}
virtual/pkgconfig"
-S=${WORKDIR}/invaders
+S="${WORKDIR}/invaders"
src_prepare() {
+ default
rm -f Makefile
}
@@ -28,7 +28,6 @@ src_compile() {
}
src_install() {
- newgamesbin invaders ${PN}
- dodoc TODO
- prepgamesdirs
+ newbin invaders ${PN}
+ einstalldocs
}
diff --git a/games-arcade/asteroid/Manifest b/games-arcade/asteroid/Manifest
index 688af8e8357e..a62cbfbafe9d 100644
--- a/games-arcade/asteroid/Manifest
+++ b/games-arcade/asteroid/Manifest
@@ -1,4 +1,4 @@
-AUX asteroid-1.1-include.patch 189 BLAKE2B cb9fc17efd75781f2e2c44872e2e6dbeb42cc33022a422c3e5acdc1941a7a7f9015e6cb8c5ef401334f520bdae5e925771da10f2ec06e043af395891427f2adf SHA512 c11696fbae3466a695f0f195615dc4156f50a02105d7c82e713673dca428befba09f2917f927d050dee38feb8e8f961c080829124bd882c955f29a914566c905
-DIST asteroid-1.1.tar.bz2 386177 BLAKE2B c06470f16df0a534a3418b2f5730479f5f1a9ef7b05bbf91539d31b1eaf8ec578f81f6fc0c45a6372bf9fc873065e58c87d53413b09d2faa970e967a8543c442 SHA512 f3acae27a7c3296b6b9e9fc9aabf8c101cd020bfbf2065d2b4f5fabf14f7555c70b2e4543c2c661f0e4410b8128936eb1e0db930d7376c3a3bb3a898ce4ed4e4
-EBUILD asteroid-1.1.ebuild 664 BLAKE2B a06897b17c8c07c09e6f0036f1f1428b965acf332772a39b5d6d11c98868123b1942abdaed1e881efe4e0d208733c1978b8ebb0f6c5c2b585d8f6fe5d5d9fc3f SHA512 f5f86aca2b05363513eabc5d87a277e2dbddd90e34b5fd2004e9785b446a189e10ceb6d8ba61586ee5423dba5ad55765750823d65eec4b0acb221f7866cfeb35
+AUX asteroid-1.2.1-libm.patch 956 BLAKE2B c9d29ea30deb543bb0358ca4dfcc65eb94c9912022849e073d17f9057b1882de18b55a89d0ce8814623ab8ed2b7c36ff657523972c4889f19571936d73ec8f78 SHA512 d421eae4fc4ee5e7f5c00b5e6797f10e17030632a6224ed847d82e19b09e7dcac74d4fa84a19812eeeed9add4af3228f18e4d457b683a3adf73ed62d2671ca22
+DIST 1.2.1.tar.gz 307596 BLAKE2B c3f5363a0939cc4644425adfa9c3f2ca47ec04ae1beb9dd381fba912ee5e9d3330727fa82d4749b4f6402254988feaaaaef10f7f72aeea691656a1dd188ad5e2 SHA512 a88e0b85264d72bd40add0f3fc8b2b727b1acc0c190de6a60d4e1c79adcc484b17d0ed3537309b704667a6617f387219144cbec93df4fbff585d1237a9823b37
+EBUILD asteroid-1.2.1.ebuild 578 BLAKE2B 29537c18ba3d4d3a8404654afe21a90da28cf3779431805f3babd089ace473004c5afda39ffb8ed2342b5a009742bf25dda6a46485ec938e22a37a3c10f88633 SHA512 1168c4c64d2f67aa459e5d11f841d5998bb2cc7c7bf3b3457a8982ba04aea74113f453b26db3c73dd02f0fb3d94fc06234aeff51bb840df6e23685a5b13d8dc1
MISC metadata.xml 334 BLAKE2B 651b210093aa77df8209cebb3e4cdb6c03064453e3ac2fa2f974388cdd8102cd2ab548d4b88bbb18052321360edf0d395395fb36e6c2ba1ce038932046c165c9 SHA512 e69632cf70047993dd2924f1bc7c42b428f6e2059482708c2b5cd72ae90263c11b76d4846c457d7f597dbff01ca6bb8296c2cff3e859551a9f5f57ea5ed7c794
diff --git a/games-arcade/asteroid/asteroid-1.1.ebuild b/games-arcade/asteroid/asteroid-1.1.ebuild
deleted file mode 100644
index f3284e2aa126..000000000000
--- a/games-arcade/asteroid/asteroid-1.1.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-DESCRIPTION="A modern version of the arcade classic that uses OpenGL"
-HOMEPAGE="http://chaoslizard.sourceforge.net/asteroid/"
-SRC_URI="mirror://sourceforge/chaoslizard/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND="virtual/opengl
- media-libs/freeglut
- virtual/glu
- media-libs/libsdl
- media-libs/sdl-mixer"
-RDEPEND=${DEPEND}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-include.patch
-}
-
-src_install() {
- DOCS="$(echo asteroid-{authors,changes,readme}.txt)" \
- default
- prepgamesdirs
-}
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..ea62603c655c
--- /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"
+
+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.1-include.patch b/games-arcade/asteroid/files/asteroid-1.1-include.patch
deleted file mode 100644
index 9eca5f83f2c8..000000000000
--- a/games-arcade/asteroid/files/asteroid-1.1-include.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/hiscore.c
-+++ src/hiscore.c
-@@ -35,6 +35,8 @@
-
- #include <stdio.h>
- #include <ctype.h>
-+#include <stdlib.h>
-+#include <string.h>
-
- #include "main.h"
- #include "hiscore.h"
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/balloonchase/Manifest b/games-arcade/balloonchase/Manifest
index 907838f61294..c85d80474641 100644
--- a/games-arcade/balloonchase/Manifest
+++ b/games-arcade/balloonchase/Manifest
@@ -1,4 +1,4 @@
-AUX 0.9.6-gentoo.patch 6146 BLAKE2B 6d06f3590f0ba9a74cad13a5b2b310deecb6a84dd7e61c37a16f2938d6ff07c2b3d0ac7fd1e51b8bf800d1f9a13d9b44d05822cec6e161f5e7e3b7b2c3a9536d SHA512 80b1027436d5e13f16f4c98265480035684fb0d6ea2000f9beccbecaf94f5678e5930ad961e58e78572c08935f856d2c6330d99bd97cb2f7791fb6cebc7dbcb2
+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.ebuild 861 BLAKE2B b4e068003975f9339e926050e4f108b355d255168bd99717d99faf5748f4b1107eccb2df8cdb3ea278c6d6f629cc064016da70e6dbabfd659085c1f466a8b1a4 SHA512 3f5d37318e508b2a5c29bccf6797e29336233d59a0f45fa1848c2af37c5df2fe44acee151d64da8f1d8e4aa33c825f8ef92b8754169d3382e181e6f35d9f6eef
+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.ebuild b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild
index 44e1c0eec9b4..36976cc63a40 100644
--- a/games-arcade/balloonchase/balloonchase-0.9.6.ebuild
+++ b/games-arcade/balloonchase/balloonchase-0.9.6-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs games
+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://koti.mbnet.fi/makegho/c/bchase/"
-SRC_URI="http://koti.mbnet.fi/makegho/c/bchase/${P}.tar.bz2"
+HOMEPAGE="http://makegho.mbnet.fi/c/bchase/"
+SRC_URI="http://makegho.mbnet.fi/c/bchase/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
@@ -14,21 +14,21 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/libsdl[video]"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
src_prepare() {
- epatch "${FILESDIR}"/${PV}-gentoo.patch
+ default
+ eapply "${FILESDIR}"/${PV}-gentoo.patch
sed -i "s:g++:$(tc-getCXX):" Makefile || die
sed -i \
- -e "s:GENTOODIR:${GAMES_DATADIR}/${PN}:" src/main.c || die
+ -e "s:GENTOODIR:/usr/share/${PN}:" src/main.c || die
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ 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
- dodoc README
- prepgamesdirs
+ einstalldocs
}
diff --git a/games-arcade/balloonchase/files/0.9.6-gentoo.patch b/games-arcade/balloonchase/files/0.9.6-gentoo.patch
index 55e978850bbe..ff232693422b 100644
--- a/games-arcade/balloonchase/files/0.9.6-gentoo.patch
+++ b/games-arcade/balloonchase/files/0.9.6-gentoo.patch
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile
+--- a/Makefile
++++ b/Makefile
@@ -1,4 +1,3 @@
-LDFLAGS= -lSDL -lpthread -s
CFLAGS= -Wall # -DDEBUG
@@ -16,8 +16,8 @@
pkg:
@echo $(PKG_BCVERSION) >VERSION
rm balloonchase src/*.o
---- src/main.c
-+++ src/main.c
+--- a/src/main.c
++++ b/src/main.c
@@ -333,47 +333,47 @@
int InitImages()
diff --git a/games-arcade/batrachians/Manifest b/games-arcade/batrachians/Manifest
index 9fbedfa88931..e4a5d891bbc2 100644
--- a/games-arcade/batrachians/Manifest
+++ b/games-arcade/batrachians/Manifest
@@ -1,4 +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.ebuild 826 BLAKE2B d558aad27d2e5383c786d9e0d4b112fa0a5f393b0cc7b39511403354c28f9d198198bdf50b4211fa2d41fec2bc21d2b58f4423c7b065dbda80af35a70e791df3 SHA512 b0a84fe730484a21bf21477a360f5d6d3f912d3a4ef0f629271eaac53ba0ef9864c75680918a133afd49dd8de0362a4ef6dfab5890b25127c73b62e98751d8e4
+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.ebuild b/games-arcade/batrachians/batrachians-0.1.6-r1.ebuild
index 3b40a81fe059..87491afe0f23 100644
--- a/games-arcade/batrachians/batrachians-0.1.6.ebuild
+++ b/games-arcade/batrachians/batrachians-0.1.6-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils gnome2-utils games
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+
+inherit autotools gnome2
DESCRIPTION="A fly-eating frog video game"
HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/batrachians.html"
@@ -15,30 +17,13 @@ IUSE=""
RDEPEND=">=dev-games/flatzebra-0.1.5"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch
- eautoreconf
-}
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
src_install() {
emake -C src DESTDIR="${D}" install
doman doc/${PN}.6
- dodoc AUTHORS NEWS README THANKS
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
+ einstalldocs
}
diff --git a/games-arcade/berusky/Manifest b/games-arcade/berusky/Manifest
index f2bdfce0867b..2a96470e7f2e 100644
--- a/games-arcade/berusky/Manifest
+++ b/games-arcade/berusky/Manifest
@@ -1,6 +1,5 @@
-AUX berusky-1.7.1-gentoo.patch 1828 BLAKE2B 4b3219c819127a12a7adebb00633107ed5b398d847602b242dc95a10a94f538f37b15c9e31c233277e502908d6995fa87311b8b5bc18dc1e3f703c544881e48e SHA512 7763f361765238190fc5063d550fc119e054b6061fe380b01640970c08bb906302db7150bb5dc818b27094fa4c9292c5f71ba9782e0c3b5942aee1ea30b7ebc4
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.ebuild 1390 BLAKE2B 293e711dbf327f12b989291a70009339284cc3fafa630c7d5bb437b600a037ffc5a0b2318816de98c4489da136ba0936ef9c35876e3d81f71b2733ae7a96b252 SHA512 351de112f5f0202818357f7b1641b5ba4df72cc76c5829d2616a1f92faf42ab8e531211a535be9e78fe6799c80944b73ff084b646fd4c61002440e5911599797
+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/berusky-1.7.1.ebuild b/games-arcade/berusky/berusky-1.7.1.ebuild
deleted file mode 100644
index 93f816e6bc87..000000000000
--- a/games-arcade/berusky/berusky-1.7.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils gnome2-utils games
-
-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_prepare() {
- mv ../${DATAFILE}/{berusky.ini,GameData,Graphics,Levels} . || die
- epatch "${FILESDIR}"/${P}-gentoo.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
- -e "s:@GENTOO_BINDIR@:${GAMES_BINDIR}:" \
- src/defines.h berusky.ini \
- || die
- sed -i \
- -e "/AC_INIT/s/configure.in/${PN}, ${PV}/" \
- configure.in || die
- mv configure.in configure.ac || die
- eautoreconf
-}
-
-src_install() {
- default
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r berusky.ini GameData Graphics Levels
- doicon -s 32 "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN}
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-arcade/berusky/files/berusky-1.7.1-gentoo.patch b/games-arcade/berusky/files/berusky-1.7.1-gentoo.patch
deleted file mode 100644
index f26c233c39e0..000000000000
--- a/games-arcade/berusky/files/berusky-1.7.1-gentoo.patch
+++ /dev/null
@@ -1,71 +0,0 @@
---- Makefile.am
-+++ Makefile.am
-@@ -5,8 +5,7 @@
-
- SUBDIRS = po src data
-
--beruskydocdir = ${prefix}/doc/berusky
--beruskydoc_DATA = \
-+EXTRA_DIST = \
- README\
- COPYING\
- AUTHORS\
-@@ -15,10 +14,6 @@
- NEWS\
- TODO
-
--EXTRA_DIST = $(beruskydoc_DATA)
--
--
--
- # Copy all the spec files. Of cource, only one is actually used.
- dist-hook:
- for specfile in *.spec; do \
---- data/Makefile.am
-+++ data/Makefile.am
-@@ -3,10 +3,3 @@
- ## Created by Anjuta - will be overwritten
- ## If you don't want it to overwrite it,
- ## Please disable it in the Anjuta project configuration
--
--berusky_datadir = $(prefix)/@NO_PREFIX_PACKAGE_DATA_DIR@/@PACKAGE@
--
--berusky_data_DATA = \
-- berusky.ini
--
--EXTRA_DIST = $(berusky_data_DATA)
---- berusky.ini
-+++ berusky.ini
-@@ -1,9 +1,9 @@
- # Configuration for berusky game
-
- # Game data location
--level_data = /usr/share/berusky/Levels
--game_data = /usr/share/berusky/GameData
--graphics_data = /usr/share/berusky/Graphics
-+level_data = @GENTOO_DATADIR@/Levels
-+game_data = @GENTOO_DATADIR@/GameData
-+graphics_data = @GENTOO_DATADIR@/Graphics
-
- # Graphics settings for game and editor
- # game runs in 640x480
-@@ -17,7 +17,7 @@
-
- # Game binary & tmp dir
- # they're used by editor for "run level" command
--game_binary = /usr/bin/berusky
-+game_binary = @GENTOO_BINDIR@/berusky
- tmp_data = /var/tmp
-
- # Dir for users levels (it's the default level dir for level editor)
---- src/defines.h
-+++ src/defines.h
-@@ -446,7 +446,7 @@
- #define INI_USER_DIRECTORY "~/.berusky"
- #define INI_USER_LEVELS "~/.berusky/User"
- #define INI_USER_PROFILES "~/.berusky/Profiles"
--#define INI_FILE_GLOBAL "/var/games/berusky/"INI_FILE_NAME
-+#define INI_FILE_GLOBAL "@GENTOO_DATADIR@/"INI_FILE_NAME
- #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME
- #define INI_FILE_LOCAL "./"INI_FILE_NAME
- #elif WINDOWS
diff --git a/games-arcade/ceferino/Manifest b/games-arcade/ceferino/Manifest
index 4c7b90e2b23b..1f30ebe0fb64 100644
--- a/games-arcade/ceferino/Manifest
+++ b/games-arcade/ceferino/Manifest
@@ -1,3 +1,3 @@
DIST ceferino_0.97.8+svn37.orig.tar.gz 2104956 BLAKE2B b3cb68d37e383223def569a333950511e4506b1bea1337189dda36e4c04fd6261c45d532bb2ad3691e73989e8ce5544f7d5e750d035081441f8241401d62217b SHA512 83bccb39f0ecd9f41767c4d94cebb3266c77f11eb22d6cf517f6488af384bad88bdd538b5746e0a3c6e1a57481a4c946ec03afb97a000cd21664d3f179e1a9b6
-EBUILD ceferino-0.97.8-r1.ebuild 1160 BLAKE2B a6028ad3deec634d5aaaac58d80bca1bc2fc32a19d1380d28faf4085e2beb29413f71393bc952df1b48a766edb58e4ddcae6b24871ce2e8e237341e1b36d056d SHA512 6ecc039c38b64f7aa1764cef14874f0aa56b7a519841bdcc4051fad0a7207583cf305a066e754d4ef0dcae6444ddbbb3443eed5c2a6d3d39b0d36f3edf7c2329
+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-r1.ebuild b/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild
index b4c9c5d4ba3a..736477bbe141 100644
--- a/games-arcade/ceferino/ceferino-0.97.8-r1.ebuild
+++ b/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils games
+EAPI=6
+inherit autotools desktop
DESCRIPTION="Super-Pang clone (destroy bouncing balloons with your grapnel)"
HOMEPAGE="http://www.loosersjuegos.com.ar/juegos/ceferino"
@@ -13,16 +13,21 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
-RDEPEND=">=media-libs/libsdl-1.2[video]
+RDEPEND="
+ >=media-libs/libsdl-1.2[video]
>=media-libs/sdl-image-1.2
>=media-libs/sdl-mixer-1.2
- nls? ( virtual/libintl )"
+ nls? ( virtual/libintl )
+"
DEPEND="${RDEPEND}
- nls? ( sys-devel/gettext )"
+ nls? ( sys-devel/gettext )
+"
-S=${WORKDIR}/${P}+svn37
+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
@@ -30,18 +35,16 @@ src_prepare() {
}
src_configure() {
- egamesconf $(use_enable nls)
+ econf $(use_enable nls)
}
src_install() {
default
newicon data/ima/icono.png ${PN}.png
make_desktop_entry ceferino "Don Ceferino HazaƱa"
- prepgamesdirs
}
pkg_postinst() {
- games_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"
diff --git a/games-arcade/circuslinux/Manifest b/games-arcade/circuslinux/Manifest
index 3931848357ea..89267782775d 100644
--- a/games-arcade/circuslinux/Manifest
+++ b/games-arcade/circuslinux/Manifest
@@ -1,3 +1,3 @@
DIST circuslinux-1.0.3.tar.gz 1253839 BLAKE2B 1f0b57e417144b88688b2f900efebd95d35d7656a16a1b074197e0bd1fb33de3434582ac66e3bf996e7f1fbaafaefadc5091967696eecfcbbdf4a1c2316e0d17 SHA512 292bcaad39342ad69862f1add36b11505ca5f2601637a8db6fad438c5a4b32d7801bc7e6c08b903b0fb8bf68dcb3ec8d968fb913cde65941b9b9ac64b5a5266f
-EBUILD circuslinux-1.0.3.ebuild 824 BLAKE2B f77af41484ec8ef0fdf206366556974ead4e686dd4000027a941fbaeb6836800177067e7708fea5235c458e5786cc6724e1a6084a4cacbe3bbba4c035f6720a4 SHA512 47faf086c15fb123cbb13f8f36452caef99364b2fc514a45e7034effbc96abeb0978bab48ad57211ed94ec3951c2a671bb9d1f813e90c556be1c1b6330ebffda
+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.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild
index dbfb82dcd645..bc3c43f34833 100644
--- a/games-arcade/circuslinux/circuslinux-1.0.3.ebuild
+++ b/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+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"
@@ -19,6 +19,7 @@ DEPEND="media-libs/libsdl
RDEPEND="${DEPEND}"
src_prepare() {
+ default
sed -i \
-e "/^install-data-am/d" \
Makefile.in \
@@ -30,9 +31,7 @@ src_prepare() {
}
src_install () {
- emake DESTDIR="${D}" install
+ default
newicon data/images/${PN}-icon.xpm ${PN}.xpm
make_desktop_entry ${PN} "Circus Linux!"
- dodoc *.txt
- prepgamesdirs
}
diff --git a/games-arcade/cob/Manifest b/games-arcade/cob/Manifest
index 5994d2e05a1a..cddbae98481e 100644
--- a/games-arcade/cob/Manifest
+++ b/games-arcade/cob/Manifest
@@ -1,5 +1,5 @@
-AUX cob-0.9-gcc43.patch 610 BLAKE2B e2c0d7ad69dadf7c145d4802022fbb4b3fc537def45abb88a8c7686668f4db2ca222c340ee2f88088a31390c01c8ce642743a3442e65e2c66bf1a21adb636a6d SHA512 97b777b58f0591a26c8bef50689327593553efe28f2fca4f07808a5e989ace97b3a460a983f79c1ebdaafc4ab558da6cb3e42f392241177e11c3f12f9803f792
-AUX cob-0.9-gcc44.patch 1135 BLAKE2B 71b430cd63a4934b8f54487cc8f807408f9b1feff504b9ba0beda261880fc3f5b2667abcf3c9fe77d31e965822c2684f4a1c1310489dbfce22fdebf5c2ac990f SHA512 86533c8d2c8fb93bf7e5bf65a955b3af9a9ff6f1b02f99ee9af2f21c30eabd3243911df7b6c60fe3cadbb059273329c09a2c8138d34ace31a905ec9578012d89
+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.ebuild 582 BLAKE2B f751f337379414dd43b59ad03724398e005eb5314c129eb4135342c699934de9ea05cf68898b174a3b0504616f1d8fca7a0d65753239cda714f467014d6e0837 SHA512 1411b61a459a1c57b48587e0631cc74bc18b3739a3379428f27b7ad6ebb6cc914db081a7999b9ed0f00dcdb920576c799eb3cd96af2fe1f332605fc8fb720aab
+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.ebuild b/games-arcade/cob/cob-0.9-r1.ebuild
index 7393dae66eea..26d73169d352 100644
--- a/games-arcade/cob/cob-0.9.ebuild
+++ b/games-arcade/cob/cob-0.9-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Cruising on Broadway: a painting-type game"
HOMEPAGE="http://www.autismuk.freeserve.co.uk/"
@@ -14,15 +14,14 @@ KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd"
IUSE=""
DEPEND="media-libs/libsdl[joystick,sound,video]"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-gcc43.patch \
- "${FILESDIR}"/${P}-gcc44.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-gcc44.patch
+)
src_install() {
default
- prepgamesdirs
+ 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
index 6b1f574628df..bc7e6fb3e02c 100644
--- a/games-arcade/cob/files/cob-0.9-gcc43.patch
+++ b/games-arcade/cob/files/cob-0.9-gcc43.patch
@@ -1,5 +1,5 @@
---- cob/menu.cpp
-+++ cob/menu.cpp
+--- a/cob/menu.cpp
++++ b/cob/menu.cpp
@@ -16,6 +16,7 @@
***************************************************************************/
@@ -8,8 +8,8 @@
// **************************************************************************************************************************
//
---- cob/sdw.hxx
-+++ cob/sdw.hxx
+--- a/cob/sdw.hxx
++++ b/cob/sdw.hxx
@@ -19,6 +19,7 @@
#include <iostream>
diff --git a/games-arcade/cob/files/cob-0.9-gcc44.patch b/games-arcade/cob/files/cob-0.9-gcc44.patch
index dd90b388e6d8..02b4842617f2 100644
--- a/games-arcade/cob/files/cob-0.9-gcc44.patch
+++ b/games-arcade/cob/files/cob-0.9-gcc44.patch
@@ -1,5 +1,5 @@
---- cob/game.cpp
-+++ cob/game.cpp
+--- a/cob/game.cpp
++++ b/cob/game.cpp
@@ -15,6 +15,7 @@
* *
***************************************************************************/
@@ -8,8 +8,8 @@
#include "cob.hxx"
// **************************************************************************************************************************
---- cob/main.cpp
-+++ cob/main.cpp
+--- a/cob/main.cpp
++++ b/cob/main.cpp
@@ -15,6 +15,7 @@
* *
***************************************************************************/
@@ -18,8 +18,8 @@
#include "cob.hxx"
// **************************************************************************************************************************
---- cob/map.cpp
-+++ cob/map.cpp
+--- a/cob/map.cpp
++++ b/cob/map.cpp
@@ -15,6 +15,7 @@
* *
***************************************************************************/
diff --git a/games-arcade/conveysdl/Manifest b/games-arcade/conveysdl/Manifest
index 5fdc7925af63..457772c0e250 100644
--- a/games-arcade/conveysdl/Manifest
+++ b/games-arcade/conveysdl/Manifest
@@ -1,5 +1,5 @@
-AUX conveysdl-1.3-arrays.patch 993 BLAKE2B 14f3ce7f38aa10222c2a220ecc5e9a2764f39c4adf3017311af8386f46d9fff8b6fd23815ac2af36d14ca3481115f27dc8ca97ded7899317d59516e29e1f147b SHA512 d8e6c0506e6108ccde4019dc45f3e28a431f8b617de9c81cf1fa46c14a66050271369952d7694dd7b1e3258c1f18c65dfa2b5f644ffcae1b21739d6287740640
-AUX conveysdl-1.3-speed.patch 1410 BLAKE2B 74a33eb986118110874349fa7e9429560bbb91cb253be10e76a56333e9614b336afc0ebc2ef9abebd72347b473a688e4b267a14afba4e69c16ce53a2801a8f3e SHA512 491dac8d64bab8937f16651700af32b3d6bf18b947cc353245223ed82c19fca5ccb8c778b0d65364ae27be1cf9331545f938467c03568672e98c0a9e2b514b1c
+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.ebuild 1220 BLAKE2B ee6064426755b71910a75b1a770307da5f5f48d8a7aceaffc492c1e1d514ac8f137fd114d355eae4e664814b2fd6aa9b2a5ebaa338b8a60a4aa813ceff286423 SHA512 293d162226204f7a63840725559f59b38596eb90e0413f86f670d7b67d48cf1f4872c1dab3e6cf347987a521beaafed0f37caef5a5d6d75c8f91bd82bf64d3d7
+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.ebuild b/games-arcade/conveysdl/conveysdl-1.3-r1.ebuild
index 53d4dd6d48b9..5c39dd327ee7 100644
--- a/games-arcade/conveysdl/conveysdl-1.3.ebuild
+++ b/games-arcade/conveysdl/conveysdl-1.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils toolchain-funcs games
+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/"
@@ -17,9 +17,11 @@ DEPEND="media-libs/libsdl[sound,video]
media-libs/sdl-mixer"
RDEPEND=${DEPEND}
-S=${WORKDIR}
+S="${WORKDIR}"
src_prepare() {
+ default
+
# Incomplete readme
sed -i \
-e 's:I k:use -nosound to disable sound\n\nI k:' \
@@ -29,7 +31,7 @@ src_prepare() {
-e 's:SDL_Mi:SDL_mi:' \
main.c || die
- epatch \
+ eapply \
"${FILESDIR}"/${P}-arrays.patch \
"${FILESDIR}"/${P}-speed.patch
}
@@ -38,17 +40,16 @@ src_compile() {
emake main \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} $(sdl-config --cflags) \
- -DDATA_PREFIX=\\\"${GAMES_DATADIR}/${PN}/\\\" \
+ -DDATA_PREFIX=\\\"/usr/share/${PN}/\\\" \
-DENABLE_SOUND" \
LDLIBS="-lSDL_mixer $(sdl-config --libs)"
}
src_install() {
- newgamesbin main ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ 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
- dodoc readme
- prepgamesdirs
+ einstalldocs
}
diff --git a/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch b/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch
index a3894e58d3d3..a6286d96f145 100644
--- a/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch
+++ b/games-arcade/conveysdl/files/conveysdl-1.3-arrays.patch
@@ -1,5 +1,5 @@
---- main.c.org 2010-07-28 13:16:20.552161148 +0300
-+++ main.c 2010-07-29 20:43:14.714543259 +0300
+--- 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;
diff --git a/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch b/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch
index 2b5a6205650c..6d6d13eb11be 100644
--- a/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch
+++ b/games-arcade/conveysdl/files/conveysdl-1.3-speed.patch
@@ -1,5 +1,5 @@
---- org/main.c 2010-07-30 10:41:21.392783010 +0300
-+++ main.c 2010-07-30 10:44:35.791690958 +0300
+--- 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 @@
diff --git a/games-arcade/cosmosmash/Manifest b/games-arcade/cosmosmash/Manifest
index 6aab14aa62a2..a6c271ccbe14 100644
--- a/games-arcade/cosmosmash/Manifest
+++ b/games-arcade/cosmosmash/Manifest
@@ -1,3 +1,3 @@
DIST cosmosmash-1.4.7.tar.gz 906213 BLAKE2B 58117881e8f705d85c40cf5d0c56a734b80ebf7a84909c98a085aa5d880247c72af8a84d54fe11a4f02c8af226005c561802d93e7a747ff4a836feefde1cafde SHA512 1eaf8b05550c6f96e6392f6ba4565700cd4a9cac66dd57d634569caf9b4dfaf4917b3b9973153d4e6e0ddcd65c68d5242faae7c4f516c07c2e07d1b2f3b838b9
-EBUILD cosmosmash-1.4.7.ebuild 881 BLAKE2B a3b106b2c69b6a22a9bb064d0dbaaf417b7bb2bdb9419ac651bae03369695dc38a098fb024da8838cfbadbe855f4b6ce46faee85d9a0c3665b0c8464986d16f7 SHA512 dbf7f9178c0aff0617b9cfa8e4ccc0a0265a17b65df70d83b8928185250b434aaea885a044a79b8c3c846bd9685801a7adc91348bd743f773686df0a7ee29cbb
+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.ebuild b/games-arcade/cosmosmash/cosmosmash-1.4.7-r1.ebuild
index e2c11182dfce..b8b44c33ea54 100644
--- a/games-arcade/cosmosmash/cosmosmash-1.4.7.ebuild
+++ b/games-arcade/cosmosmash/cosmosmash-1.4.7-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools games
+EAPI=6
+inherit autotools
DESCRIPTION="A space rock shooting video game"
HOMEPAGE="http://perso.b2b2c.ca/sarrazip/dev/cosmosmash.html"
@@ -16,9 +16,11 @@ RESTRICT="test" # uses the sound card which portage user might not be available.
RDEPEND=">=dev-games/flatzebra-0.1.6"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
src_prepare() {
+ default
sed -i \
-e "/^pkgsounddir/ s:sounds.*:\$(PACKAGE)/sounds:" \
-e "/^desktopentrydir/ s:=.*:=/usr/share/applications:" \
@@ -30,7 +32,6 @@ src_prepare() {
src_install() {
emake -C src DESTDIR="${D}" install
+ einstalldocs
doman doc/${PN}.6
- dodoc AUTHORS NEWS README THANKS
- prepgamesdirs
}
diff --git a/games-arcade/crack-attack/Manifest b/games-arcade/crack-attack/Manifest
index 364a8d3adcbb..d10de329e972 100644
--- a/games-arcade/crack-attack/Manifest
+++ b/games-arcade/crack-attack/Manifest
@@ -1,5 +1,5 @@
-AUX crack-attack-1.1.14-gcc43.patch 172 BLAKE2B 8da652831768386637a2871bd795931f9420defe07ac6284bcd40e325a0bf49673b928df8fff4198429f99ba79cafa82cac299925d2fbce77e69ae78a744c6b8 SHA512 2d60dbaa6dc2b0486b7863106a8d10171d99b30d6673aaaec2acbe91aacb2b273c51cf913d3843f4fc3d2665922446db5d7f6fea446052a5ed7ce7f0906d2c52
-AUX crack-attack-1.1.14-glut.patch 381 BLAKE2B b10806967dd377218f4c28e51a701ec0fee1fac1c48ba6e42d11701742afce95a16e46248860123d67edfd6672d35504c1581e5cbb3c67e3a3a1b10f47a67a45 SHA512 8ecf14f9262242c1c1cf6ee7e7a6009136122e3907b832f77151227c705f58c3ddc39d785f8b433f3dbba9c66946c98779a5386b7f9de0364b1b1ba3599dbf33
+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-r1.ebuild 960 BLAKE2B 214fee1c32f64b0b6bef3868c97e886cf6686013098cdd2ad68495b686a57a5a33cacad87b7e4f17970b90aa41ffe91304c01a9c54a28c6524ce376fc77787cd SHA512 85023f1037628a0e01091124d03d3f0e105072d4ef7720ef93ed0e993790bd0c26cacb5a0634febc7bf1793541fb7d8ea60b3c70891aede77dadad4851a07165
+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-r1.ebuild b/games-arcade/crack-attack/crack-attack-1.1.14-r2.ebuild
index b91f0af19a74..eded2a71ead8 100644
--- a/games-arcade/crack-attack/crack-attack-1.1.14-r1.ebuild
+++ b/games-arcade/crack-attack/crack-attack-1.1.14-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Addictive OpenGL-based block game"
HOMEPAGE="http://www.nongnu.org/crack-attack/"
@@ -13,15 +13,19 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~x86"
IUSE="gtk sdl"
-RDEPEND="media-libs/freeglut
+RDEPEND="
+ media-libs/freeglut
sdl? ( media-libs/libsdl
media-libs/sdl-mixer )
- gtk? ( >=x11-libs/gtk+-2.6:2 )"
+ gtk? ( >=x11-libs/gtk+-2.6:2 )
+"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
src_prepare() {
- epatch \
+ default
+ eapply \
"${FILESDIR}"/${P}-glut.patch \
"${FILESDIR}"/${P}-gcc43.patch
sed -i 's/-lXmu//' src/gtk-gui/Makefile.in src/Makefile.in || die
@@ -29,16 +33,15 @@ src_prepare() {
}
src_configure() {
- egamesconf \
+ econf \
--disable-binreloc \
$(use_enable sdl sound) \
$(use_enable gtk)
}
src_install() {
+ HTML_DOCS="doc/*"
default
- dohtml -A xpm doc/*
doicon data/crack-attack.xpm
make_desktop_entry crack-attack Crack-attack
- prepgamesdirs
}
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
index 009d062f2eac..8cabe7eb2574 100644
--- 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
@@ -1,5 +1,5 @@
---- src/Game.h
-+++ src/Game.h
+--- a/src/Game.h
++++ b/src/Game.h
@@ -34,6 +34,7 @@
#include <climits>
#include <cstdlib>
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
index fc16c1b8bc4e..430d4e742f31 100644
--- 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
@@ -2,8 +2,8 @@ Fix from upstream to work with newer freegluts.
http://bugs.gentoo.org/97954
---- src/Attack.cxx
-+++ src/Attack.cxx
+--- a/src/Attack.cxx
++++ b/src/Attack.cxx
@@ -83,6 +83,7 @@
int height = -1, width = -1;
diff --git a/games-arcade/criticalmass/Manifest b/games-arcade/criticalmass/Manifest
index f63baed66f57..f9612b200faa 100644
--- a/games-arcade/criticalmass/Manifest
+++ b/games-arcade/criticalmass/Manifest
@@ -1,8 +1,8 @@
-AUX criticalmass-1.0.2-cflags.patch 864 BLAKE2B 620b03696f5ee256af47aa423f97660f4ce391e814838e1684f5f17fa3df952de54e577a22733c2d3a30ea55c59ec192d311cf1a3ff0303cad65185ac2573482 SHA512 9368ce03d9b07c3e9428f98021f133c3692cf75e87eb59cf19c2e13b5dd8213281598ab6d51508ba4af2576c1408a105e18b54780e8ff1494f44e6d5a5ac509c
+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 445 BLAKE2B 9096fd8819fcc88976de4fa189e255b43bb343af8a5c9277ef84c2b2029bb1c35f81576cd39a6f688f9af4f711869e81a8ef8a6155c2b06a256369e9b6ad807b SHA512 2dc628e5fe30163a865e08573556a808c9746c3d5a6bf1c57185743f7831f5761f83fcbbeba64deb135000f82b3b8da8f3c5159b9f761d4eac0f9be7efaad353
-AUX criticalmass-1.0.2-libpng15.patch 678 BLAKE2B c6f62fe816de14686d5ef3929be5a8236fd2bd0ec5f13a3a966bb6a1d12533d44e8a0dcce5853b3a5d34db538e04429dfba2ffbe169b522edc0d960e209460a6 SHA512 016a48d854f522b720161c35e0fa734579bf765d8996e3f82f92ebe95561a1315083406ffcaf1fa3879c25b6e8358d75c346afcec607b2b8c2d0d843d6bb76e3
-AUX criticalmass-1.0.2-system_curl.patch 964 BLAKE2B a2305b2f5f18b149e67b67d08cc235437e9ab9c6f3342f61465cab82ecee849adf30f5b0225cfc53596c60ca51906df736342e484df68a08e90d189248cb8dd0 SHA512 b4937525dd6a186fc420e79b2c5ee05cf24c429e57650dcf82656a6d30cacdd77f0b64371f3684b3c396efdf89668bec511361ee70b49fb7ed93522997b3b306
+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.ebuild 1262 BLAKE2B b7e414a1501d03e0c25ad70510057c145a836fc9b78df5fecb0b7dfb4489ab1777f972eb0f6a36d641907e4bba448e92273fa58d433b06726186b248198dc2f2 SHA512 156991e0d507f29582a71d102b570f35972df93d51f66b296a5df24b09468847222e44251f2411a4cf09e4d0ff0982860d4f33c1a97b5fd9beac2ac830a40c98
+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.ebuild b/games-arcade/criticalmass/criticalmass-1.0.2-r1.ebuild
index 9306a54dd145..5191beb0107f 100644
--- a/games-arcade/criticalmass/criticalmass-1.0.2.ebuild
+++ b/games-arcade/criticalmass/criticalmass-1.0.2-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit autotools eutils flag-o-matic games
+EAPI=6
+inherit autotools desktop flag-o-matic
DESCRIPTION="SDL/OpenGL space shoot'em up game"
HOMEPAGE="http://criticalmass.sourceforge.net/"
@@ -13,22 +13,29 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="media-libs/sdl-mixer
+RDEPEND="
+ media-libs/sdl-mixer
media-libs/sdl-image[png]
- media-libs/libpng:0
+ media-libs/libpng:0=
virtual/opengl
- net-misc/curl"
-RDEPEND="${DEPEND}"
+ net-misc/curl
+"
+DEPEND="${RDEPEND}"
-S=${WORKDIR}/CriticalMass-${PV}
+S="${WORKDIR}/CriticalMass-${PV}"
src_prepare() {
- epatch "${FILESDIR}"/${P}-gcc43.patch \
+ 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
}
@@ -38,16 +45,14 @@ src_configure() {
}
src_install() {
+ HTML_DOCS="Readme.html"
default
- rm -f "${D}${GAMES_BINDIR}/Packer"
- dohtml Readme.html
+ rm -f "${ED}/usr/bin/Packer"
newicon critter.png ${PN}.png
make_desktop_entry critter "Critical Mass"
- prepgamesdirs
}
pkg_postinst() {
- games_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"
diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch
index 8b801e51c2cb..0d9063c37538 100644
--- a/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch
+++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-cflags.patch
@@ -1,5 +1,5 @@
---- configure.in.orig 2011-07-20 11:23:19.849122541 -0400
-+++ configure.in 2011-07-20 11:24:28.169713094 -0400
+--- 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)
diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch
index 882869b43a14..f8a0eec2ad57 100644
--- a/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch
+++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng14.patch
@@ -1,5 +1,5 @@
---- configure.in
-+++ configure.in
+--- 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"
diff --git a/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch
index ac1b8c0c617f..dbdfc9f32275 100644
--- a/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch
+++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-libpng15.patch
@@ -1,5 +1,5 @@
---- game/main.cpp
-+++ game/main.cpp
+--- a/game/main.cpp
++++ b/game/main.cpp
@@ -28,6 +28,8 @@
#include <sys/stat.h>
#include <sys/types.h>
@@ -9,8 +9,8 @@
void migrateConfig( void)
{
//if onlineCheck is not set, default it to true
---- utilssdl/PNG.cpp
-+++ utilssdl/PNG.cpp
+--- a/utilssdl/PNG.cpp
++++ b/utilssdl/PNG.cpp
@@ -45,7 +45,7 @@
{
png_size_t check;
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
index 02307ad7d8fc..1ab1a2d5ce52 100644
--- a/games-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch
+++ b/games-arcade/criticalmass/files/criticalmass-1.0.2-system_curl.patch
@@ -1,5 +1,5 @@
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -115,8 +115,6 @@ fi
AC_CHECK_LIB(m, sin,,
AC_MSG_ERROR(libm is needed))
@@ -9,8 +9,8 @@
AC_OUTPUT(Makefile utils/Makefile utilssdl/Makefile utilsgl/Makefile game/Makefile tools/Makefile data/Makefile data/music/Makefile tinyxml/Makefile)
echo "Configuration:
---- game/Makefile.am
-+++ game/Makefile.am
+--- a/game/Makefile.am
++++ b/game/Makefile.am
@@ -41,7 +41,7 @@ critter_SOURCES = \
main.cpp
@@ -20,8 +20,8 @@
../utils/libutils.a \
../utilssdl/libutilssdl.a \
../utilsgl/libutilsgl.a \
---- Makefile.am
-+++ Makefile.am
+--- a/Makefile.am
++++ b/Makefile.am
@@ -4,7 +4,7 @@
AUTOMAKE_OPTIONS = 1.4
diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest
index 676c0b195c43..9b957608744e 100644
--- a/games-arcade/defendguin/Manifest
+++ b/games-arcade/defendguin/Manifest
@@ -1,3 +1,3 @@
DIST defendguin-0.0.12.tar.gz 2235694 BLAKE2B 4e694edb5a8e51948e343da8ba4555062505c1c7f2563e291cc4f421624b791630dec7b0c7ce08df0ca0db40070418cd67f750fbe525ef1b1d1577951a5224bd SHA512 3a62c7ac62b016eeb6fc63655e8a8c1ac6c5c7cae7eee03c4ab0b9951ba605c7634336d94adb538e94ccbf1d9f927ac530f58da87413a4b1555b2684681e4167
-EBUILD defendguin-0.0.12.ebuild 949 BLAKE2B 27c3b98d881e7f7c7dcbd419f87a27ff7e075accf7100db1d49bf2fa88c0d62dce073c36d205c830f0f6ce8536ed70885217730da71cf589f451353b35c7f097 SHA512 d3ff27114cd9544b172fb9830a6236f7551ee9779ba7b302d060a8ab2fc284194d5f56934b430bf368572165f267bb8a356d747d4823ff313ad6fa85bf5dbe78
+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.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild
index 1dab751e0ae6..db692cd67f23 100644
--- a/games-arcade/defendguin/defendguin-0.0.12.ebuild
+++ b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme"
HOMEPAGE="http://www.newbreedsoftware.com/defendguin/"
@@ -18,8 +18,9 @@ DEPEND="media-libs/sdl-mixer[mod]
RDEPEND="${DEPEND}"
src_prepare() {
+ default
sed -i \
- -e "s:\$(DATA_PREFIX):${GAMES_DATADIR}/${PN}/:" \
+ -e "s:\$(DATA_PREFIX):/usr/share/${PN}/:" \
-e '/^CFLAGS=.*-O2/d' \
-e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \
Makefile \
@@ -28,12 +29,13 @@ src_prepare() {
}
src_install() {
- dogamesbin ${PN}
- insinto "${GAMES_DATADIR}"/${PN}
+ 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
- prepgamesdirs
}
diff --git a/games-arcade/digger/Manifest b/games-arcade/digger/Manifest
index e50e84af95ea..415121bd4e93 100644
--- a/games-arcade/digger/Manifest
+++ b/games-arcade/digger/Manifest
@@ -1,4 +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.ebuild 572 BLAKE2B 6a9990a82d726a927146b12495523e8056342e1695cbb79a6559fa279fb5a38138217f64760abdcd3e5044b4ea2e30a7b18a7031f3ffdef0d72f687f006b26b0 SHA512 587853b661e2fe2014070951c19b239ddad2fff21b678cd95f9552da5c6bc055e61b5df560e53a857a925b938b0773023c050b69facfad6327af8b6f2f6fb77d
+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.ebuild b/games-arcade/digger/digger-20140423-r1.ebuild
index 729b2a2bfed1..716e33c57c1b 100644
--- a/games-arcade/digger/digger-20140423.ebuild
+++ b/games-arcade/digger/digger-20140423-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Digger Remastered"
HOMEPAGE="http://www.digger.org/"
@@ -16,15 +16,12 @@ DEPEND="media-libs/libsdl[X,video]
x11-libs/libX11"
RDEPEND="${DEPEND}"
-S=${WORKDIR}/${PN}-${PN}
+S="${WORKDIR}/${PN}-${PN}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-ldflags.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-ldflags.patch )
src_install() {
- dogamesbin digger
+ dobin digger
dodoc digger.txt
make_desktop_entry digger Digger
- prepgamesdirs
}