From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- games-arcade/Manifest.gz | Bin 20909 -> 20916 bytes games-arcade/ceferino/Manifest | 3 +- games-arcade/ceferino/ceferino-0.97.8-r2.ebuild | 53 -------------- games-arcade/ceferino/ceferino-0.97.8-r3.ebuild | 43 +++++++++++ .../ceferino/files/ceferino-0.97.8-fix-audio.patch | 11 +++ games-arcade/circuslinux/Manifest | 2 +- .../circuslinux/circuslinux-1.0.3-r1.ebuild | 37 ---------- .../circuslinux/circuslinux-1.0.3-r2.ebuild | 39 ++++++++++ games-arcade/defendguin/Manifest | 3 +- .../defendguin/defendguin-0.0.12-r1.ebuild | 41 ----------- .../defendguin/defendguin-0.0.12-r2.ebuild | 44 +++++++++++ games-arcade/jazz2/Manifest | 4 +- games-arcade/jazz2/jazz2-0.6.6.ebuild | 81 --------------------- games-arcade/jazz2/jazz2-0.6.7.ebuild | 81 +++++++++++++++++++++ games-arcade/xgalaga/Manifest | 4 +- .../xgalaga/files/xgalaga-2.1.1.0-respect-AR.patch | 16 +++- games-arcade/xgalaga/xgalaga-2.1.1.0-r1.ebuild | 4 - 17 files changed, 242 insertions(+), 224 deletions(-) delete mode 100644 games-arcade/ceferino/ceferino-0.97.8-r2.ebuild create mode 100644 games-arcade/ceferino/ceferino-0.97.8-r3.ebuild create mode 100644 games-arcade/ceferino/files/ceferino-0.97.8-fix-audio.patch delete mode 100644 games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild create mode 100644 games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild delete mode 100644 games-arcade/defendguin/defendguin-0.0.12-r1.ebuild create mode 100644 games-arcade/defendguin/defendguin-0.0.12-r2.ebuild delete mode 100644 games-arcade/jazz2/jazz2-0.6.6.ebuild create mode 100644 games-arcade/jazz2/jazz2-0.6.7.ebuild (limited to 'games-arcade') diff --git a/games-arcade/Manifest.gz b/games-arcade/Manifest.gz index afd5395b2b60..7c56adf0cf85 100644 Binary files a/games-arcade/Manifest.gz and b/games-arcade/Manifest.gz differ diff --git a/games-arcade/ceferino/Manifest b/games-arcade/ceferino/Manifest index d3da9c2e1220..2170dd42d4d4 100644 --- a/games-arcade/ceferino/Manifest +++ b/games-arcade/ceferino/Manifest @@ -1,3 +1,4 @@ +AUX ceferino-0.97.8-fix-audio.patch 234 BLAKE2B 305b2a152d688648ea1c914d58db317eb7419e08cb5807b7c56db0a7742373538fd06d701964ccd43e165cd8727b8aa740c8b1f7d7eaf2ecefa7e9d5b5ac1bef SHA512 e7922ffdbb4bfd59a0492fb0741937c714570452d17ec0c324444dc50f763344ef8991fb367c2b8c98e8c163f711573f399a9bf8ab9d6843d2bca4dd668e9410 DIST ceferino_0.97.8+svn37.orig.tar.gz 2104956 BLAKE2B b3cb68d37e383223def569a333950511e4506b1bea1337189dda36e4c04fd6261c45d532bb2ad3691e73989e8ce5544f7d5e750d035081441f8241401d62217b SHA512 83bccb39f0ecd9f41767c4d94cebb3266c77f11eb22d6cf517f6488af384bad88bdd538b5746e0a3c6e1a57481a4c946ec03afb97a000cd21664d3f179e1a9b6 -EBUILD ceferino-0.97.8-r2.ebuild 1126 BLAKE2B 64b68b3f59af2ca6577fcd2df882ff92f2c977c8aa0061b308a6aed6e7d4b3177fd61a99d69f3e2f5a5c38c9ee88b3cda844e4aa595a07d90369f295bce10ec6 SHA512 b172b191c483ac885fa88c33cf1c0d3cfc8fd3c6cdeebbca075933a36250f60c6d1550893b4f43551f266704f199e06ca1a52e14ccaddbba84535a66d38bed2a +EBUILD ceferino-0.97.8-r3.ebuild 862 BLAKE2B c0e22f68d87f4ea5f2b0cbae6cf1f311ecd6746a0a1678ddf3f8d9ff757da282c557b50473029eb42f3573c81c970b2714ec0a6b49d54d1f7a1ae28b3f9c483a SHA512 398718fa3cbaf7021d5a2b079648d0795212341db19550fe7e6d0b0418da439b0481f6a911bd2cb76e9ac0025cad4cd9c6c39d7a01c5a75656822a1257a8c496 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild b/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild deleted file mode 100644 index 390859615e7d..000000000000 --- a/games-arcade/ceferino/ceferino-0.97.8-r2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit autotools desktop - -DESCRIPTION="Super-Pang clone (destroy bouncing balloons with your grapnel)" -HOMEPAGE="http://www.losersjuegos.com.ar/juegos/ceferino" -SRC_URI="mirror://debian/pool/main/c/ceferino/${PN}_${PV}+svn37.orig.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" - -RDEPEND=" - >=media-libs/libsdl-1.2[video] - >=media-libs/sdl-image-1.2 - >=media-libs/sdl-mixer-1.2 - nls? ( virtual/libintl ) -" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) -" - -S="${WORKDIR}/${P}+svn37" - -src_prepare() { - default - sed -i \ - -e '/^INCLUDES/s:\$(datadir)/locale:/usr/share/locale:' \ - src/Makefile.am || die - eautoreconf -} - -src_configure() { - econf $(use_enable nls) -} - -src_install() { - default - newicon data/ima/icono.png ${PN}.png - make_desktop_entry ceferino "Don Ceferino Hazaña" -} - -pkg_postinst() { - if ! has_version "media-libs/sdl-mixer[mod]" ; then - ewarn - ewarn "To hear music, you will have to rebuild media-libs/sdl-mixer" - ewarn "with the \"mod\" USE flag turned on." - ewarn - fi -} diff --git a/games-arcade/ceferino/ceferino-0.97.8-r3.ebuild b/games-arcade/ceferino/ceferino-0.97.8-r3.ebuild new file mode 100644 index 000000000000..d3aa76c8576c --- /dev/null +++ b/games-arcade/ceferino/ceferino-0.97.8-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools desktop + +DESCRIPTION="Super-Pang clone (destroy bouncing balloons with your grapnel)" +HOMEPAGE="http://www.losersjuegos.com.ar/juegos/ceferino" +SRC_URI="mirror://debian/pool/main/c/ceferino/${PN}_${PV}+svn37.orig.tar.gz" +S+="+svn37" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +RDEPEND=" + media-libs/libsdl[sound,video] + media-libs/sdl-image[jpeg,png] + media-libs/sdl-mixer[mod] + nls? ( virtual/libintl )" +DEPEND="${RDEPEND}" +BDEPEND="nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${P}-fix-audio.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable nls) +} + +src_install() { + default + newicon data/ima/icono.png ${PN}.png + make_desktop_entry ${PN} "Don Ceferino Hazaña" +} diff --git a/games-arcade/ceferino/files/ceferino-0.97.8-fix-audio.patch b/games-arcade/ceferino/files/ceferino-0.97.8-fix-audio.patch new file mode 100644 index 000000000000..6ac1de0d07f8 --- /dev/null +++ b/games-arcade/ceferino/files/ceferino-0.97.8-fix-audio.patch @@ -0,0 +1,11 @@ +12 .wav files for an array with 11 elements invokes undefined behavior. + +--- a/src/audio.h ++++ b/src/audio.h +@@ -50,5 +50,5 @@ + int canal_musica; + +- Mix_Chunk *sonidos[11]; ++ Mix_Chunk *sonidos[12]; + Mix_Music *musicas[2]; + diff --git a/games-arcade/circuslinux/Manifest b/games-arcade/circuslinux/Manifest index ae3d9a5de4fe..90516fb75405 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-r1.ebuild 775 BLAKE2B db816b156f1ee60a4ec1cd5ab0ab7e5801392222b70b3c2780e385b7ea2056f6d78a797130cd17fac1831f77d8900047c8b798acbe2e0ca3a4dd2afd99e6da6e SHA512 bca4aa9664d722f72cda03396583eccb04e27d9da5a5835a71a3628f1f02b798d6c6fa14ae522ea27190f9ca20a420e630febb7e68f930bdd9b6166cded65963 +EBUILD circuslinux-1.0.3-r2.ebuild 894 BLAKE2B c3edb7eeaeb2974cb4a71d9ec872d82198f2c7d5cb570dbf851958ce817d2db00ddfd5d3a47430cacce5e741548352fcd4e10e84cbfc244d81922a71f9625807 SHA512 8efa8300680026f841a888a976b2056f6afb7c9df09894f2481d04893eb9f55a771bb8fefd2a53e55de1c3d8fd9a9a6e95e19091ee71a96d4c7025e1fe362f5b MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild deleted file mode 100644 index 1001c7c8aeba..000000000000 --- a/games-arcade/circuslinux/circuslinux-1.0.3-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit desktop - -DESCRIPTION="clone of the Atari 2600 game \"Circus Atari\"" -SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/${P}.tar.gz" -HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/libsdl - media-libs/sdl-image[png] - media-libs/sdl-mixer[mod]" -RDEPEND="${DEPEND}" - -src_prepare() { - default - sed -i \ - -e "/^install-data-am/d" \ - Makefile.in \ - || die - sed -i \ - -e 's/\$(pkgdatadir)/$(DESTDIR)&/' \ - data/Makefile.in \ - || die -} - -src_install() { - default - newicon data/images/${PN}-icon.xpm ${PN}.xpm - make_desktop_entry ${PN} "Circus Linux!" -} diff --git a/games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild b/games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild new file mode 100644 index 000000000000..cc14d4936470 --- /dev/null +++ b/games-arcade/circuslinux/circuslinux-1.0.3-r2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="Clone of the Atari 2600 game \"Circus Atari\"" +SRC_URI="ftp://ftp.tuxpaint.org/unix/x/circus-linux/src/${P}.tar.gz" +HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~x86" + +DEPEND=" + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-image[png] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + tc-export CC + sed -i 's/-O2//' Makefile.in || die + sed -i 's/$(pkgdatadir)/$(DESTDIR)&/' data/Makefile.in || die +} + +src_configure() { + tc-export CC + econf --enable-joystick +} + +src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}" install + + newicon data/images/${PN}-icon.xpm ${PN}.xpm + make_desktop_entry ${PN} "Circus Linux!" +} diff --git a/games-arcade/defendguin/Manifest b/games-arcade/defendguin/Manifest index fa495ed1b9b1..9dc68b32ff91 100644 --- a/games-arcade/defendguin/Manifest +++ b/games-arcade/defendguin/Manifest @@ -1,3 +1,4 @@ DIST defendguin-0.0.12.tar.gz 2235694 BLAKE2B 4e694edb5a8e51948e343da8ba4555062505c1c7f2563e291cc4f421624b791630dec7b0c7ce08df0ca0db40070418cd67f750fbe525ef1b1d1577951a5224bd SHA512 3a62c7ac62b016eeb6fc63655e8a8c1ac6c5c7cae7eee03c4ab0b9951ba605c7634336d94adb538e94ccbf1d9f927ac530f58da87413a4b1555b2684681e4167 -EBUILD defendguin-0.0.12-r1.ebuild 911 BLAKE2B 537f99b346058fd2c00f0a56dcb069fcfb69b33fd551b2e4dbbf78ecc3fde27f11fa27c494c0337a6b3c5c5ef2ad7dd7bf24ee1846fba92517d84b1de0cc7577 SHA512 0c2de00a424aad305aeaafdcc88b26088d25e4df98d59173074dd9ab928ed1f2ae7c8cfe7c11f33f9f73ed509cdd398a46e4609c6662219c5e2089422016a2e9 +DIST defendguin.png 4444 BLAKE2B 54790605accf524c8fff3b465ace1d09f2a320a66dd4dcf7a216eb74489a02ff029c95aaec32ad31ca4491809ccc8bdf5eecab44c7a6ce7060db96bd01d2c8de SHA512 3adc8db2ea8c3f726b03fdfafba3e79121edb8b3ca70a4006c288ccbebb5d35c104f0095d3812a7c094dc23760bd846902133d5252ae7e186ddf1a114bfb37e7 +EBUILD defendguin-0.0.12-r2.ebuild 977 BLAKE2B 16b4126c97b1ffc196fbaa4942f2071a9e00c511ee042c95a72a566444695f4133f82337e8a5f3852b1c6bfac2041534863cb54a1821f17c46514181f2a24e55 SHA512 2734c468d1481d62bbe595012cc6a54c53d07360a6763d0440f7ecb76c4d7a60501d1a81338fa97187376d3d6b96408ccc31ec2549b7f443153dc97936e3b6a1 MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 diff --git a/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild deleted file mode 100644 index 574938e18d7b..000000000000 --- a/games-arcade/defendguin/defendguin-0.0.12-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit desktop - -DESCRIPTION="A clone of the arcade game Defender, but with a Linux theme" -HOMEPAGE="http://www.newbreedsoftware.com/defendguin/" -SRC_URI="ftp://ftp.tuxpaint.org/unix/x/${PN}/src/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="media-libs/sdl-mixer[mod] - media-libs/libsdl[video]" -RDEPEND="${DEPEND}" - -src_prepare() { - default - sed -i \ - -e "s:\$(DATA_PREFIX):/usr/share/${PN}/:" \ - -e '/^CFLAGS=.*-O2/d' \ - -e '/^CFLAGS=/s:=:+= $(LDFLAGS) :' \ - Makefile \ - || die - rm -f data/images/*.sh -} - -src_install() { - dobin ${PN} - insinto /usr/share/${PN} - doins -r ./data/* - - newicon data/images/ufo/ufo0.bmp ${PN}.bmp - make_desktop_entry ${PN} Defendguin /usr/share/pixmaps/${PN}.bmp - - doman src/${PN}.6 - dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt -} diff --git a/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild b/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild new file mode 100644 index 000000000000..31b4eb2280dc --- /dev/null +++ b/games-arcade/defendguin/defendguin-0.0.12-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="Clone of the arcade game Defender, but with a Linux theme" +HOMEPAGE="http://www.newbreedsoftware.com/defendguin/" +SRC_URI=" + ftp://ftp.tuxpaint.org/unix/x/defendguin/src/${P}.tar.gz + https://dev.gentoo.org/~ionen/distfiles/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + media-libs/libsdl[joystick,sound,video] + media-libs/sdl-mixer[mod]" +RDEPEND="${DEPEND}" + +src_prepare() { + default + tc-export CC + sed -e "s|\$(DATA_PREFIX)|${EPREFIX}/usr/share/${PN}/|" \ + -e '/^CFLAGS=.*-O2/d' \ + -e '/^CFLAGS=/s|=|+= $(CPPFLAGS) $(LDFLAGS) |' \ + -i Makefile || die + rm data/images/l2r.sh || die +} + +src_install() { + dobin ${PN} + + insinto /usr/share/${PN} + doins -r data/. + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} ${PN^} + + doman src/${PN}.6 + dodoc docs/{AUTHORS,CHANGES,README,TODO}.txt +} diff --git a/games-arcade/jazz2/Manifest b/games-arcade/jazz2/Manifest index d2e9302bd004..bfe5c3944ff5 100644 --- a/games-arcade/jazz2/Manifest +++ b/games-arcade/jazz2/Manifest @@ -1,3 +1,3 @@ -DIST jazz2-0.6.6.tar.gz 11030519 BLAKE2B c354ba9b20ea8fc559da66411ba6561dcc8943d2a87113f1166515cefd7c1cd4e13c5d9b257ee15f06a8016d0ff145bd8875ff195355d70f1c2a55088b85931c SHA512 ff896da1ec0ebc9968b469aeba3c44f599340550e3ad2cf590b9f63a50b64a59153632de1374a94d53a3b735dec0791f486c1f7c521ad3be96e2f69745486aad -EBUILD jazz2-0.6.6.ebuild 1897 BLAKE2B 224442d63f6c54ca783d88aa12f22b644ecee5f757119d6b033ac9588ea77385da21cdf2d7a8242707b64e5deccdc0ef181e53f282945ad90c47843f2abb33a7 SHA512 8dfd2d4135837640740be8d7716e0f5de9a6a92d3e5d41342f99dcf72d22a31778308b6e27dd7aedc94e5a6796aaa4fc9205e2b5d552e16e276bcdfd1253a531 +DIST jazz2-0.6.7.tar.gz 11031735 BLAKE2B 014ff24c6f5a834a727aaed3760a1e228d9f7d9653dd293e98030c9105cbf15a3b420c2d515605e36187cc833ae892ed30589f1bf821c0b674b883cea216f3f5 SHA512 7172a3ccb367122d1c9bfbd36b76cc3d365024affba9aea5cfa595fd11a9b4dc980e57c1cfdb0d32bc28bb7ecb5f6f5225909697c4c93c43117596f44d80ff8f +EBUILD jazz2-0.6.7.ebuild 1897 BLAKE2B 224442d63f6c54ca783d88aa12f22b644ecee5f757119d6b033ac9588ea77385da21cdf2d7a8242707b64e5deccdc0ef181e53f282945ad90c47843f2abb33a7 SHA512 8dfd2d4135837640740be8d7716e0f5de9a6a92d3e5d41342f99dcf72d22a31778308b6e27dd7aedc94e5a6796aaa4fc9205e2b5d552e16e276bcdfd1253a531 MISC metadata.xml 413 BLAKE2B 4951d29e0e2c8c94b95b4a7728af705aeb615969506c5b5c79d3e8ea9e5d10da9cb69a218f021cc484904e16495ba73e23074cb2deda248dec913b69ff263248 SHA512 826ca7350339385e3dbd40b8e64cfa0a5fc1d03e351b38028ce073d515d176be5282346e9837d5e0f4a7bc55f635cdc398ae8cd5052e7c1d0d002beb8749f772 diff --git a/games-arcade/jazz2/jazz2-0.6.6.ebuild b/games-arcade/jazz2/jazz2-0.6.6.ebuild deleted file mode 100644 index 3bf8b603eeeb..000000000000 --- a/games-arcade/jazz2/jazz2-0.6.6.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop dotnet wrapper - -DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2" -HOMEPAGE="http://deat.tk/jazz2/" -SRC_URI="https://github.com/deathkiller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="GPL-3" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="gles2-only server" - -RDEPEND=" - dev-lang/mono - media-libs/libopenmpt - media-libs/libsdl2[video] - media-libs/openal - gles2-only? ( media-libs/mesa[gles2] ) - !gles2-only? ( virtual/opengl ) -" - -FRAMEWORK="4.5.2" -DIR="/usr/share/${PN}" - -src_prepare() { - default - - # Android/WASM only. - rm -r Content/Shaders.ES30/ || die - - if use gles2-only; then - rm -r Content/Shaders/ || die - mv Content/_ES20/* Content/ || die - else - rm -r Content/_ES20/ || die - fi -} - -src_compile() { - local TARGET - - MAIN_TARGETS="Jazz2 $(usex server Jazz2.Server '') Tools/Import" - EXT_TARGETS="OpenTKBackend $(usex gles2-only Es20Backend GL21Backend)" - - for TARGET in ${MAIN_TARGETS}; do - cd "${S}/${TARGET}" || die - exbuild "${TARGET##*/}.csproj" - done - - for TARGET in ${EXT_TARGETS}; do - cd "${S}/Extensions/${TARGET}" || die - exbuild "${TARGET##*/}.csproj" - done -} - -src_install() { - local TARGET - - insinto "${DIR}" - # TODO: Package OpenTK. - doins -r Content/ Packages/AdamsLair.OpenTK.*/lib/net*/* - - for TARGET in ${MAIN_TARGETS}; do - doins "${TARGET}/Bin/Release/${TARGET##*/}.exe" - done - - insinto "${DIR}"/Extensions - for TARGET in ${EXT_TARGETS}; do - doins "Extensions/${TARGET}/Jazz2/Bin/Release/Extensions/${TARGET}.core.dll" - done - - make_wrapper ${PN} "mono '${EPREFIX}${DIR}/Jazz2.exe'" - make_wrapper ${PN}-import "mono '${EPREFIX}${DIR}/Import.exe'" - use server && make_wrapper ${PN}-server "mono '${EPREFIX}${DIR}/Jazz2.Server.exe'" - - newicon Jazz2/Icon.ico ${PN}.ico - make_desktop_entry ${PN} "Jazz² Resurrection" ${PN}.ico -} diff --git a/games-arcade/jazz2/jazz2-0.6.7.ebuild b/games-arcade/jazz2/jazz2-0.6.7.ebuild new file mode 100644 index 000000000000..3bf8b603eeeb --- /dev/null +++ b/games-arcade/jazz2/jazz2-0.6.7.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop dotnet wrapper + +DESCRIPTION="Open source reimplementation of Jazz Jackrabbit 2" +HOMEPAGE="http://deat.tk/jazz2/" +SRC_URI="https://github.com/deathkiller/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="gles2-only server" + +RDEPEND=" + dev-lang/mono + media-libs/libopenmpt + media-libs/libsdl2[video] + media-libs/openal + gles2-only? ( media-libs/mesa[gles2] ) + !gles2-only? ( virtual/opengl ) +" + +FRAMEWORK="4.5.2" +DIR="/usr/share/${PN}" + +src_prepare() { + default + + # Android/WASM only. + rm -r Content/Shaders.ES30/ || die + + if use gles2-only; then + rm -r Content/Shaders/ || die + mv Content/_ES20/* Content/ || die + else + rm -r Content/_ES20/ || die + fi +} + +src_compile() { + local TARGET + + MAIN_TARGETS="Jazz2 $(usex server Jazz2.Server '') Tools/Import" + EXT_TARGETS="OpenTKBackend $(usex gles2-only Es20Backend GL21Backend)" + + for TARGET in ${MAIN_TARGETS}; do + cd "${S}/${TARGET}" || die + exbuild "${TARGET##*/}.csproj" + done + + for TARGET in ${EXT_TARGETS}; do + cd "${S}/Extensions/${TARGET}" || die + exbuild "${TARGET##*/}.csproj" + done +} + +src_install() { + local TARGET + + insinto "${DIR}" + # TODO: Package OpenTK. + doins -r Content/ Packages/AdamsLair.OpenTK.*/lib/net*/* + + for TARGET in ${MAIN_TARGETS}; do + doins "${TARGET}/Bin/Release/${TARGET##*/}.exe" + done + + insinto "${DIR}"/Extensions + for TARGET in ${EXT_TARGETS}; do + doins "Extensions/${TARGET}/Jazz2/Bin/Release/Extensions/${TARGET}.core.dll" + done + + make_wrapper ${PN} "mono '${EPREFIX}${DIR}/Jazz2.exe'" + make_wrapper ${PN}-import "mono '${EPREFIX}${DIR}/Import.exe'" + use server && make_wrapper ${PN}-server "mono '${EPREFIX}${DIR}/Jazz2.Server.exe'" + + newicon Jazz2/Icon.ico ${PN}.ico + make_desktop_entry ${PN} "Jazz² Resurrection" ${PN}.ico +} diff --git a/games-arcade/xgalaga/Manifest b/games-arcade/xgalaga/Manifest index f7732150d11e..613edeb15865 100644 --- a/games-arcade/xgalaga/Manifest +++ b/games-arcade/xgalaga/Manifest @@ -1,4 +1,4 @@ -AUX xgalaga-2.1.1.0-respect-AR.patch 358 BLAKE2B 99e600a4cd2dba46b774e50cb54a303593a22c979385e5a891a525ee6685bb3429f843cfd5737a1d49b2fa96e0118294273c4f5f377c08374b15217fe5a9ccce SHA512 4e2283d8bd7b8b974d1df9e83945e215355204a4746ea2ba3e0a4a8179d794ce85f226526007cc5d88092baa06bbd9fc1bfd00f366c45014e233cc3a1ddf8aa9 +AUX xgalaga-2.1.1.0-respect-AR.patch 633 BLAKE2B 9bfcf18f6bfc8deaa39427269539c0f07ffff02dcec7cbdebdfd432bb07138ca85464d4bc4db96bf49ce8cbecaeb544074a22ba3a424526c4b2b6af4bd5f9668 SHA512 e094a8158bae4ac25573ce99f12e070eb444bb14e15f80c7d5380b0b9697ccc696797fb575e82ac9f5b214ef1a6561f71f8a84d42576bacae6d9c14718cb0367 DIST xgalaga-2.1.1.0.tar.gz 331621 BLAKE2B 290881eb89cacc7a2be469af8da2c11d710dea45f165daa43d4a10a310e681c9f6ffb012e057e266f1e50c5629122ca38cfd97e31a788104e7710f02d756f59d SHA512 087db9e0501cedb042bb673a217f9de32640d3e4f4f529a29fd25ed682a1aece9ae1beacdc2ee77fc93ac931411a1051e2cd19873578ccffe5f03a083bffe513 -EBUILD xgalaga-2.1.1.0-r1.ebuild 1499 BLAKE2B ab130acab095ca4edd4938a5c422dcce41ba6c4898cab46b9e0975cf5c58ee9f4edbbab917c2c1479461dac098b348425d93b030e118698cd041e73bfd56653b SHA512 13021e7f56a0456ef3b0a2da52cba7d9b95df54c75f38459c3977f9834073cdc6487c761147eb6b51f4e4c855406f0bbdf07d3483a812f2eccf78ee4842c7fbd +EBUILD xgalaga-2.1.1.0-r1.ebuild 1427 BLAKE2B c37ccc685beea069675296c7d3ae9122e201bf1769f4e7ffbe20c5c922e6d0bb36a3ef65d03eb839cf23d9c3c6d359aea3d8c40171d302933944ca9503dd6126 SHA512 e2d02a5e628a29e13c6ce091884dbb9063323bad0dab3c46701a25884611691dd1178eaca7c92d538cbd53f3a2fc50cd63e61763ce3001e0afeba62b98812325 MISC metadata.xml 330 BLAKE2B b3e61a8f4911203a72c70798959045a62572b4a814bbf8f03ccf17f8da74eaa4c542883da6f2ff780c7e83ab26398ff95a46b36a41c22785903b0299707e6e9c SHA512 2c0045dadc3b72dda9b7f3389aebb5a2d38b91f2cd63891a9bd97e2f23971c916ce515cbbda6b0c6f2b8a600fc56bd77d9db749d223eee5cd6edc99525217545 diff --git a/games-arcade/xgalaga/files/xgalaga-2.1.1.0-respect-AR.patch b/games-arcade/xgalaga/files/xgalaga-2.1.1.0-respect-AR.patch index eedc9b24ce17..8a4991d4299b 100644 --- a/games-arcade/xgalaga/files/xgalaga-2.1.1.0-respect-AR.patch +++ b/games-arcade/xgalaga/files/xgalaga-2.1.1.0-respect-AR.patch @@ -1,10 +1,24 @@ +Allow user to specify AR. Derive ar from --host=. + +Bug: https://bugs.gentoo.org/730796 --- a/configure.in +++ b/configure.in @@ -14,6 +14,7 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_RANLIB -+AM_PROG_AR ++AC_CHECK_TOOL(AR, ar) AC_ARG_WITH(xpm-lib,[ --with-xpm-lib Directory containing libXpm (may be autodetected)],xpm_lib=$withval) AC_ARG_WITH(sound, [ --with-sound Type of sound to use (native or nas)],sound_type=$withval) +--- a/libsprite/Makefile.in ++++ b/libsprite/Makefile.in +@@ -8,7 +8,7 @@ VPATH = @srcdir@ + .SUFFIXES: + .SUFFIXES: .c .o + +-AR = ar ++AR = @AR@ + AR_FLAGS = rc + RANLIB = @RANLIB@ + diff --git a/games-arcade/xgalaga/xgalaga-2.1.1.0-r1.ebuild b/games-arcade/xgalaga/xgalaga-2.1.1.0-r1.ebuild index d644d2087dd3..45c550a058be 100644 --- a/games-arcade/xgalaga/xgalaga-2.1.1.0-r1.ebuild +++ b/games-arcade/xgalaga/xgalaga-2.1.1.0-r1.ebuild @@ -41,10 +41,6 @@ src_prepare() { -e "/SOUNDDEFS/ s:(SOUNDSRVDIR):(SOUNDSRVDIR)/bin:" \ -e 's:make ;:$(MAKE) ;:' \ Makefile.in || die "sed Makefile.in failed" - - sed -i \ - -e 's/AR = ar/AR = @AR@/' \ - libsprite/Makefile.in || die } src_install() { -- cgit v1.2.3