diff options
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/Manifest.gz | bin | 3238 -> 3235 bytes | |||
-rw-r--r-- | games-simulation/cannonsmash/Manifest | 10 | ||||
-rw-r--r-- | games-simulation/cannonsmash/cannonsmash-0.6.6-r1.ebuild (renamed from games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild) | 29 | ||||
-rw-r--r-- | games-simulation/cannonsmash/files/cannonsmash-0.6.6-flags.patch | 4 | ||||
-rw-r--r-- | games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch | 8 | ||||
-rw-r--r-- | games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch | 4 | ||||
-rw-r--r-- | games-simulation/cannonsmash/files/cannonsmash-0.6.6-x-inc.patch | 4 | ||||
-rw-r--r-- | games-simulation/pmars-sdl/Manifest | 4 | ||||
-rw-r--r-- | games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch | 12 | ||||
-rw-r--r-- | games-simulation/pmars-sdl/pmars-sdl-0.9.2e-r1.ebuild (renamed from games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild) | 41 |
10 files changed, 60 insertions, 56 deletions
diff --git a/games-simulation/Manifest.gz b/games-simulation/Manifest.gz Binary files differindex 356b635e0e13..07a54c7fc2c6 100644 --- a/games-simulation/Manifest.gz +++ b/games-simulation/Manifest.gz diff --git a/games-simulation/cannonsmash/Manifest b/games-simulation/cannonsmash/Manifest index 12c61c36e282..c7b4c1f1960b 100644 --- a/games-simulation/cannonsmash/Manifest +++ b/games-simulation/cannonsmash/Manifest @@ -1,8 +1,8 @@ -AUX cannonsmash-0.6.6-flags.patch 520 BLAKE2B 55c35dbed022adf39a84e183af14085f63cd14cfdd99ee785e0b2183545690b5c168ac939e7ddc6be010846a879e1a2303ffb23ae7a004e9fb33984831742ae2 SHA512 017f3117755e907438b923813e7df9864f8f6c8f5c917afde9f67ca87262402ca6b643551541374e8389f133993d51d4819fec2bd3d70a11cc4a2c0b2301b5a6 -AUX cannonsmash-0.6.6-gcc41.patch 586 BLAKE2B ac95cbab05c0f816b03fbb57bdfedbdc2e432a90f691e2d2e563bb06acc6bec05d75a24da813afde4c16c4ac910545749577929d1e01e369cf2be6e9ef48ca5e SHA512 b93042c728ce93a515fd43e0b1fb9306ca83da697fde932da7c1c0536bc560fd8bcb17d7a306f51ef20a058690354b2bd19cfc62ca413398e318e0a39f6c26b9 -AUX cannonsmash-0.6.6-sizeof-cast.patch 358 BLAKE2B 9360c0c29bd36901e17e6e940fdd41badf3d6ba5a5f66deddc69deecb2a4607afe0ae55b804eac5d52e097abaeb26eaff2635797c584fb3aa11e7cf98edaa84d SHA512 23d8764c900e78a6c3205b4fa444bd94a4a50990edfb45ef2dc764871b1d9f2359a8ee38da25ba8c392ef0000fd2da1340ce41093b4e4b8bdb818a1363941b90 -AUX cannonsmash-0.6.6-x-inc.patch 305 BLAKE2B 8f73369154cee67966c3186d44823dc0f6ceac7a93a683879a9707381cf403485d3198f0027b5df9dd1b94d5c185ecb10e0e540fe89c547090f1f850135fff40 SHA512 b7dcd8415a7f5ad773141a7b9fe048121e4f93862d8354bfde9637137858948d6791a87a3f44d53f69246fb3d539a9f5f6bd3fb667b48be8c147dcccb810d692 +AUX cannonsmash-0.6.6-flags.patch 524 BLAKE2B 5a85b73b59c1dcbc097df325e2b94701cef5629bd929c3c22f43fe65d259c22cdf5949b82a14e2e87f190952ce554947b465403e058aa3564a27f6ef1c5bff38 SHA512 38f6edfc9f6c434496ae9b5f45fa7f42df8c8156bd7507efce7d9d5c0f6950b3178200d863b6d75552caf1a0206fd75b61328ce4ca96eb59d84b7006f5b44fb6 +AUX cannonsmash-0.6.6-gcc41.patch 594 BLAKE2B 392ceebbba587580c9ddc8511c7139aa68d0c881f372c362ef0c068119060f593462b999514340d81075bbecc1d0a11c617c0ab4ec8ac2180350bd9cfd046a1e SHA512 a9bbadb4d6ff279eb368be17ff6326b2ddcdcd3231ace4fe2a4368bd82ece6cd11cbcf6c2464ad9e79d41ad099e66b8c4ab5efea4995bdd7beabfefb5b92c3ca +AUX cannonsmash-0.6.6-sizeof-cast.patch 362 BLAKE2B 1a7dbf4c921497c2209c078e9453f6ff1106f4a3baca52e57f1778022763a7f8f79259f443f88d74c0b412aef223fd948c93e0c79158df25bea2cf6cbcc0209e SHA512 9e38b5ef20529587dbcf86ecd4712e9e4b751ec4fd2d735f3924a03afbcd56345f738b65e37525e90e1717117160dd175e0bacdb2cf39dfa8b2d5d09690ffdc4 +AUX cannonsmash-0.6.6-x-inc.patch 309 BLAKE2B efcd58b83b9433065efbde3aa4356b48b8fb0bba4462fb2e92c28368e3610c995060ffc0dd7a76d5ef994341e154716c1d5b3b09869396314002e04029479767 SHA512 d6f6139014782eee11965595e0ea61e53a773be3be5edcaba2ebc602983b9dd2f0178298c34507ebf722a868c0f43535adae519cbebdd2a7e3da730e4f54c0ab DIST csmash-0.6.6.tar.gz 1989943 BLAKE2B 723b7accd9a899f6d80df07573f8583684606c6b5bf8f11753902f4db196a9a2738cd11899e0a3b4e5637b04553173d75701edbed6e2d800b7b18edb82b2a10f SHA512 e8406eb17adf6c6cc4454b7d0a432ad1b071e1f72d9867fd46e458ade2d1dc1e927a7f2a336c80988b97051b9d188c3027dd8207f89f7e1fa60e1d0a6a5e8916 DIST danslatristesse2-48.ogg 1070787 BLAKE2B 91bb5b552a45349d6b34d459f2d5071498b6def76c9b7e7ce1538c29af762698708d4ad6fe780e087f14b6ca42dad258c8ed2a7cd368027a5080aab52d02575a SHA512 5cbc457d511bdc736f3b359a8ddd3a514bd0d14418f2dbd68409394baadfcd9fd7630b228e4e9654b14b513e158e9a46b67bc58c5c04bfe382ee6e624dd16834 -EBUILD cannonsmash-0.6.6.ebuild 1424 BLAKE2B ec5aef627949f5a2bf314c905107cd5e891938d4389c96de7ad3f6cf1698be4e5cc774fd6df5b289b15e6b71960d59b932e8395132274e1bb88b95da5aeb07ed SHA512 e51e3cc5bd157db97747db912ee678931f32c288714c9af47736e6da6bd82b216dce67b9d1951e62d651f9d164bddfba4f8144993372f4f0719eb8347b264ac7 +EBUILD cannonsmash-0.6.6-r1.ebuild 1401 BLAKE2B dd927348ecc38a65865bb53769886b571c5c8543b4fc9f8f1e7ee5c2e8048c38a4ba0e12b7bb643abe9948c278781ee4f04356cd81f4fa690f4ef74322dc5e1d SHA512 d73328460d50c06230d130e8a18cabae84335f748cfe2116257eac522852e6254072eaff232aa4d7b00328a8d57b3731052c9fd903ff718b3a52db302424a638 MISC metadata.xml 334 BLAKE2B 7143d65b7fa8567c3598adc245e6a6f8148074d8775f23c06eff18b0e94cb3e570c3c483a1c44df49f148c6150271172150dcf870873e4fb796be0d08c718663 SHA512 feb36e586e7e460e47a342dccf7cc812319860809033b31a8597c8df12f7c09e725af4e5536933a50341e22e921009557600801bcf64d9bf13e88b24d4b53e34 diff --git a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild b/games-simulation/cannonsmash/cannonsmash-0.6.6-r1.ebuild index 35d4eb916f4f..8da30598da0c 100644 --- a/games-simulation/cannonsmash/cannonsmash-0.6.6.ebuild +++ b/games-simulation/cannonsmash/cannonsmash-0.6.6-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 MY_OGG=danslatristesse2-48.ogg DESCRIPTION="3D tabletennis game" @@ -15,40 +15,44 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="vorbis nls" -RDEPEND="virtual/opengl +RDEPEND=" + virtual/opengl virtual/glu media-libs/libsdl[sound,video] media-libs/sdl-mixer[vorbis?] media-libs/sdl-image[jpeg,png] x11-libs/gtk+:2 - nls? ( virtual/libintl )" + nls? ( virtual/libintl ) +" DEPEND="${RDEPEND} virtual/pkgconfig - nls? ( sys-devel/gettext )" + nls? ( sys-devel/gettext ) +" -S=${WORKDIR}/csmash-${PV} +S="${WORKDIR}/csmash-${PV}" src_unpack() { unpack csmash-${PV}.tar.gz } src_prepare() { - epatch \ + default + eapply \ "${FILESDIR}"/${P}-x-inc.patch \ "${FILESDIR}"/${P}-sizeof-cast.patch \ "${FILESDIR}"/${P}-gcc41.patch \ "${FILESDIR}"/${P}-flags.patch if use vorbis ; then sed -i \ - -e "s:${MY_OGG}:${GAMES_DATADIR}/csmash/${MY_OGG}:" ttinc.h \ + -e "s:${MY_OGG}:/usr/share/csmash/games/${MY_OGG}:" ttinc.h \ || die "sed failed" fi } src_configure() { - egamesconf \ + econf \ $(use_enable nls) \ - --datadir="${GAMES_DATADIR_BASE}" + --datadir="/usr/share" } src_compile() { @@ -59,10 +63,9 @@ src_compile() { src_install() { default if use vorbis ; then - insinto "${GAMES_DATADIR}"/csmash + insinto /usr/share/games/csmash doins "${DISTDIR}"/${MY_OGG} fi newicon win32/orange.ico ${PN}.ico make_desktop_entry csmash "Cannon Smash" /usr/share/pixmaps/${PN}.ico - prepgamesdirs } diff --git a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-flags.patch b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-flags.patch index 85612b929c59..c7b3b561d2d1 100644 --- a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-flags.patch +++ b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-flags.patch @@ -1,5 +1,5 @@ ---- configure.old 2010-10-18 15:05:02.000000000 +0200 -+++ configure 2010-10-18 15:05:31.000000000 +0200 +--- a/configure.old 2010-10-18 15:05:02.000000000 +0200 ++++ b/configure 2010-10-18 15:05:31.000000000 +0200 @@ -5516,12 +5516,12 @@ diff --git a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch index 0f3e511f09cc..6602c2f09304 100644 --- a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch +++ b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-gcc41.patch @@ -1,5 +1,5 @@ ---- BallView.h.old 2006-04-11 00:10:37.000000000 +0200 -+++ BallView.h 2006-04-11 00:10:53.000000000 +0200 +--- a/BallView.h.old 2006-04-11 00:10:37.000000000 +0200 ++++ b/BallView.h 2006-04-11 00:10:53.000000000 +0200 @@ -32,7 +32,7 @@ static GLuint m_number[10]; @@ -9,8 +9,8 @@ GLUquadricObj *m_quad; void DrawBall(); ---- matrix.old 2006-04-11 00:13:18.000000000 +0200 -+++ matrix 2006-04-11 00:19:34.000000000 +0200 +--- a/matrix.old 2006-04-11 00:13:18.000000000 +0200 ++++ b/matrix 2006-04-11 00:19:34.000000000 +0200 @@ -42,7 +42,7 @@ /* __BEGIN__BEGIN__ */ diff --git a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch index 9237f95978ef..ead10c90400b 100644 --- a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch +++ b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-sizeof-cast.patch @@ -2,8 +2,8 @@ Don't typecast otherwise C++ will fail to match on some arches. http://bugs.gentoo.org/84187 ---- loadparts.cpp -+++ loadparts.cpp +--- a/loadparts.cpp ++++ b/loadparts.cpp @@ -247,3 +247,3 @@ // concat next line(s) - int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1); diff --git a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-x-inc.patch b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-x-inc.patch index 99c1e2f944fa..e56b51e0b92a 100644 --- a/games-simulation/cannonsmash/files/cannonsmash-0.6.6-x-inc.patch +++ b/games-simulation/cannonsmash/files/cannonsmash-0.6.6-x-inc.patch @@ -1,8 +1,8 @@ Patch by Jason Bucata. http://bugs.gentoo.org/84187 ---- configure -+++ configure +--- a/configure ++++ b/configure @@ -5515,7 +5515,11 @@ fi diff --git a/games-simulation/pmars-sdl/Manifest b/games-simulation/pmars-sdl/Manifest index b3c91e60b42f..e45bc381d418 100644 --- a/games-simulation/pmars-sdl/Manifest +++ b/games-simulation/pmars-sdl/Manifest @@ -1,4 +1,4 @@ -AUX pmars-sdl-0.9.2e-format.patch 1976 BLAKE2B ea56c1ad6032db89f0e5f3c8320b61d680abe772b3c0d4088cdf378abf34d3b1aefe4461a0446f2e7b43eca48844ac76c22002b02debc5bd22c98c9b852e353b SHA512 dbf068f6fe9993c5917c1be5ace48c5def932365fe558f893a3bdb3e5d35e6ce25e8e46ef074d214da5c2ba65a4bc7e9e8cbf806370bb225d5ecba9a4133387f +AUX pmars-sdl-0.9.2e-format.patch 1988 BLAKE2B 57e96f71c6dfb6cea7286421acaa2a576ca26d9e5068a0c840b2d00dabd3ea87b2b482fe28253ef0d1b6c667bb13a2b9b8ad53f59cbb54a98f7d4da6ab1f66bf SHA512 1736220e86c762392e7074674d506fe161308a09c682a7c3cccfa7e58be880f6d44738854eae2c2c6dfc22d819c04c8fb5e9a5db632d00c35de09f4b44347014 DIST pmars-0.9.2-5.tar.gz 200966 BLAKE2B 398323191290a9e3d57cb371c2070585cf78f845ca4cbadfa09f03045abc80f7b3fb71a58c18bbfdf503a3239d25bd0734b10e784d6570766e6b5c0ec606aadf SHA512 197d1967507199ed5eb075fb232a2f15d9bdf4bec03fc6b1d6df5d6259d6627eb40338c5787852ea10d96858029144348128b08e86c7079d96f10fd09dafc315 -EBUILD pmars-sdl-0.9.2e.ebuild 1828 BLAKE2B 23f782db28539e8cb38d6b8c7add537fb9569fd551079d9b690b5432a2a6eb5c1ae7c1d1aa80f0c1f583fd3cab131b40439730b1830d1dbde635f8a6f329845c SHA512 919f21aca0abb8c377cfae916db57860581f37298b78d8f43398de607cb3a580415467371fbc308c6921e8f1c5c4eddd5088a75fcac701840158efa758b4709f +EBUILD pmars-sdl-0.9.2e-r1.ebuild 1796 BLAKE2B 4620393a9697e9f68ac759f7a3e5fc01e0508aa82fd0aa9462b87e58f44471e6ccde75197654a3a7756de2dfa978c6ed360ac00269e50a3a175c190b9b43ef2d SHA512 2c831bc2e06429ffc4dd79a41c26c726cdbc1b9a890cd8551c2726839be867e3de2325d990bbcbdeafd640758364c71819ede81761dbee310bd70306375b589e MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch b/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch index d8c588a32206..4e02da8a82a8 100644 --- a/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch +++ b/games-simulation/pmars-sdl/files/pmars-sdl-0.9.2e-format.patch @@ -1,5 +1,5 @@ ---- src/asm.c.old 2015-10-28 13:23:53.465014342 +0100 -+++ src/asm.c 2015-10-28 13:23:10.502813377 +0100 +--- a/src/asm.c.old 2015-10-28 13:23:53.465014342 +0100 ++++ b/src/asm.c 2015-10-28 13:23:10.502813377 +0100 @@ -652,7 +652,7 @@ macputs(str); #else @@ -27,8 +27,8 @@ #ifndef VMS textout(outs); #else ---- src/cdb.c.old 2015-10-28 13:24:04.669805966 +0100 -+++ src/cdb.c 2015-10-28 13:23:10.502813377 +0100 +--- a/src/cdb.c.old 2015-10-28 13:24:04.669805966 +0100 ++++ b/src/cdb.c 2015-10-28 13:23:10.502813377 +0100 @@ -2760,7 +2760,7 @@ fprintf(outp, nameByAuthorScores, warrior[idxV[i]].name, warrior[idxV[i]].authorName, scrV[idxV[i]]); @@ -38,8 +38,8 @@ for (j = 0; j < warriors; ++j) { fprintf(outp, " %d", warrior[idxV[i]].score[j]); } ---- src/clparse.c.old 2015-10-28 13:24:10.648694768 +0100 -+++ src/clparse.c 2015-10-28 13:23:10.502813377 +0100 +--- a/src/clparse.c.old 2015-10-28 13:24:10.648694768 +0100 ++++ b/src/clparse.c 2015-10-28 13:23:10.502813377 +0100 @@ -289,7 +289,7 @@ if (next_input(filep, inputs)) { if (!strcmp(inputs, "-")) { diff --git a/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild b/games-simulation/pmars-sdl/pmars-sdl-0.9.2e-r1.ebuild index 2df3782e3915..b7f96156df97 100644 --- a/games-simulation/pmars-sdl/pmars-sdl-0.9.2e.ebuild +++ b/games-simulation/pmars-sdl/pmars-sdl-0.9.2e-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 toolchain-funcs eutils games +EAPI=6 +inherit readme.gentoo-r1 toolchain-funcs MY_PN="${PN/-sdl/}" MY_PV="${PV/e/-5}" @@ -17,16 +17,22 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="sdl X" -DEPEND="sdl? ( x11-libs/libX11 media-libs/libsdl[video] ) +RDEPEND=" + sdl? ( x11-libs/libX11 media-libs/libsdl[video] ) X? ( x11-libs/libX11 ) - !sdl? ( !X? ( sys-libs/ncurses:0 ) )" -RDEPEND=${DEPEND} + !sdl? ( !X? ( sys-libs/ncurses:0= ) ) +" +DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} +S="${WORKDIR}/${MY_P}" -src_prepare() { - epatch "${FILESDIR}"/${P}-format.patch -} +PATCHES=( "${FILESDIR}"/${P}-format.patch ) + +DOC_CONTENTS=" + There are some macros in /usr/share/pmars/macros + which you should make accessible to pmars by typing + export PMARSHOME=/usr/share/pmars/macros\n +" src_compile() { CFLAGS="${CFLAGS} -DEXT94 -DPERMUTATE" @@ -68,24 +74,19 @@ src_compile() { } src_install() { - dogamesbin src/${MY_PN} + dobin src/${MY_PN} doman doc/${MY_PN}.6 dodoc AUTHORS CONTRIB ChangeLog README doc/redcode.ref + readme.gentoo_create_doc - insinto "${GAMES_DATADIR}/${MY_PN}/warriors" + insinto "/usr/share/${MY_PN}/warriors" doins warriors/* - insinto "${GAMES_DATADIR}/${MY_PN}/macros" + insinto "/usr/share/${MY_PN}/macros" doins config/*.mac - - prepgamesdirs } pkg_postinst() { - games_pkg_postinst - echo - ewarn "There are some macros in ${GAMES_DATADIR}/${MY_PN}/macros" - ewarn "which you should make accessible to pmars by typing" - ewarn "export PMARSHOME=${GAMES_DATADIR}/${MY_PN}/macros\n" + readme.gentoo_print_elog } |