diff options
Diffstat (limited to 'games-rpg')
62 files changed, 432 insertions, 791 deletions
diff --git a/games-rpg/adonthell/Manifest b/games-rpg/adonthell/Manifest deleted file mode 100644 index de8df9b31cbb..000000000000 --- a/games-rpg/adonthell/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST adonthell-src-0.3.8.tar.gz 889244 BLAKE2B 43b685feaa9ae616fea0eaa7687c72455ef916c9eeaf0dd07724fbaae5e33fb36130252c3c493cff34889cbc6146d76cc9ba2a1ec4e4f20b3b16c188c837d51a SHA512 7a047ec4d01d677c616dcc1f8efff2fecc95c1636172fd6709736de79f485711f169057af5797db85243592b5622f25f69e3393469321d7989c054bb41e17cf3 diff --git a/games-rpg/adonthell/adonthell-0.3.8.ebuild b/games-rpg/adonthell/adonthell-0.3.8.ebuild deleted file mode 100644 index 4a48d53e89f0..000000000000 --- a/games-rpg/adonthell/adonthell-0.3.8.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit autotools python-single-r1 - -DESCRIPTION="Roleplaying game engine" -HOMEPAGE="http://adonthell.nongnu.org/" -SRC_URI="https://savannah.nongnu.org/download/${PN}/${PN}-src-${PV}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc nls" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - media-libs/freetype - media-libs/libogg - media-libs/libsdl2[X,video,sound] - media-libs/libvorbis - media-libs/sdl2-mixer[vorbis] - media-libs/sdl2-ttf - sys-libs/zlib - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - dev-lang/swig" -BDEPEND=" - virtual/pkgconfig - doc? ( - app-doc/doxygen - media-gfx/graphviz - ) - nls? ( sys-devel/gettext )" - -DOCS=( AUTHORS NEWBIE NEWS README ) - -PATCHES=( - "${FILESDIR}"/${P}-ar.patch - "${FILESDIR}"/${P}-python3.10.patch -) - -src_prepare() { - default - eautoreconf -} - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_configure() { - econf \ - --program-transform-name="s:${PN}-$(ver_cut 1-2):${PN}:" \ - --disable-py-debug \ - --with-python=${EPYTHON} \ - $(use_enable nls) \ - $(use_enable doc) -} diff --git a/games-rpg/adonthell/files/adonthell-0.3.8-ar.patch b/games-rpg/adonthell/files/adonthell-0.3.8-ar.patch deleted file mode 100644 index 2b2e34d62c7d..000000000000 --- a/games-rpg/adonthell/files/adonthell-0.3.8-ar.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -r b3fec744fc29 configure.ac ---- a/configure.ac Sat Oct 17 22:39:45 2020 +0000 -+++ b/configure.ac Sat Oct 17 22:40:17 2020 +0000 -@@ -26,6 +26,7 @@ - AC_PROG_CXXCPP - AC_PROG_MAKE_SET - AC_PROG_RANLIB -+AM_PROG_AR - - dnl **** - dnl i18n diff --git a/games-rpg/adonthell/files/adonthell-0.3.8-python3.10.patch b/games-rpg/adonthell/files/adonthell-0.3.8-python3.10.patch deleted file mode 100644 index 21bba839a271..000000000000 --- a/games-rpg/adonthell/files/adonthell-0.3.8-python3.10.patch +++ /dev/null @@ -1,7 +0,0 @@ -node.h was removed in python3.10 but this does not actually use it ---- a/src/python_class.h -+++ b/src/python_class.h -@@ -38,3 +38,2 @@ - #include "eval.h" --#include "node.h" - #include "fileops.h" diff --git a/games-rpg/adonthell/metadata.xml b/games-rpg/adonthell/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-rpg/adonthell/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -</pkgmetadata> diff --git a/games-rpg/baldurs-gate-ee/Manifest b/games-rpg/baldurs-gate-ee/Manifest index 80b6b655273c..89583ffbc452 100644 --- a/games-rpg/baldurs-gate-ee/Manifest +++ b/games-rpg/baldurs-gate-ee/Manifest @@ -1,2 +1,2 @@ DIST baldur_s_gate_enhanced_edition_en_2_5_23121.sh 2892168067 BLAKE2B 7e20922f539be65cf7371f7f1706873e5a147313e3aa0335bfa5d6c4456a40665260a36abab6e73361c5f9c0a0bc2faff6e719dd72fb0ddd8b0e1c22d6eaedd8 SHA512 b5b84148b35984109454e1299ee29d287750172e617fb97e65c46b2c9419173348b37d54587bd44a3eacb6380c9b13e4be91af5625009cba797843483be7165d -DIST gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh 2877124067 BLAKE2B 244e93ae089703c9fae3dcfcad4fb9c1eb32695e7288f7a05b3f2996887f90d6912e745e9b47a93ba45ee3ddda8363e69d22e62c57258ee54c24c47f07b2f619 SHA512 56d4796a959658f29cabef6e7339db5ba9fa792d9fd899ebc375c9b5cf94305b6d11c21d41a8809fcb1cbe38ecb4bc7152158ef19c87395374ab9060f48756a6 +DIST baldur_s_gate_enhanced_edition_2_6_6_0_47291.sh 2905865862 BLAKE2B 7d9dbe026ea2cab5dd96b0c190ea5f0e07385ea8bc57d475fe59528c0d73a4b244dcf6a2ee927f3491da00a91893be34ea53dcf0d63c96d95a111bc4d90c25d5 SHA512 70f1cd7365b2053cd175792327e006917236058fe8e473a1e9d76fb3a25f04fc2fc34d1a1776bb6ab3277b9e07153682bce463ef61f7739e32eb16e35c641a3b diff --git a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild deleted file mode 100644 index 1af12139acf2..000000000000 --- a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit desktop unpacker wrapper - -DESCRIPTION="Baldur's Gate: Enhanced Edition" -HOMEPAGE="https://www.baldursgate.com/" -SRC_URI="gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh" -S="${WORKDIR}/data/noarch" - -LICENSE="GOG-EULA" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist fetch" - -DEPEND="app-arch/unzip" -RDEPEND="dev-libs/expat[abi_x86_32(-)] - dev-libs/json-c[abi_x86_32(-)] - dev-libs/openssl:0[abi_x86_32(-)] - media-libs/openal[abi_x86_32(-)] - virtual/opengl[abi_x86_32(-)] - x11-libs/libX11[abi_x86_32(-)]" - -QA_PREBUILT="opt/${PN}/BaldursGate" - -pkg_nofetch() { - einfo "Please buy and download \"${SRC_URI}\" from" - einfo "https://www.gog.com/game/baldurs_gate_enhanced_edition" - einfo "and copy it into your DISTDIR directory." -} - -src_unpack() { - unpack_zip "${DISTDIR}/${SRC_URI}" -} - -src_install() { - local ABI="x86" - local dir="/opt/${PN}" - - dodoc -r "game/Manuals/." - rm -r "game/Manuals" || die "rm failed" - - insinto "${dir}" - doins -r "game/." - fperms +x "${dir}/BaldursGate" - - dodir "${dir}/lib" - dosym "../../../usr/$(get_libdir)/libjson-c.so" "${dir}/lib/libjson.so.0" - - newicon "support/icon.png" "${PN}.png" - make_wrapper ${PN} "./BaldursGate" "${dir}" "${dir}/lib" - make_desktop_entry "${PN}" "Baldur's Gate: Enhanced Edition" "${PN}" "Game;RolePlaying" -} diff --git a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.6.6.0.47291-r1.ebuild b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.6.6.0.47291-r1.ebuild new file mode 100644 index 000000000000..bd3bbb79ce38 --- /dev/null +++ b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.6.6.0.47291-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop unpacker wrapper + +DESCRIPTION="Baldur's Gate: Enhanced Edition" +HOMEPAGE="https://baldursgate.beamdog.com/" +SRC_URI="baldur_s_gate_enhanced_edition_${PV//./_}.sh" + +LICENSE="GOG-EULA" +SLOT="0" +KEYWORDS="-* ~amd64" +RESTRICT="bindist fetch" + +RDEPEND="dev-libs/expat + dev-libs/openssl-compat:1.0.0 + media-libs/openal + virtual/opengl + x11-libs/libX11" +BDEPEND="app-arch/unzip" + +QA_PRESTRIPPED="opt/${PN}/BaldursGate" + +S="${WORKDIR}/data/noarch" + +pkg_nofetch() { + einfo "Please buy and download \"${SRC_URI}\" from" + einfo "https://www.gog.com/game/baldurs_gate_enhanced_edition" + einfo "and place it in your DISTDIR directory." +} + +src_unpack() { + unpack_zip ${A} +} + +src_install() { + local dir="/opt/${PN}" + + dodoc -r "game/Manuals/." + rm -r "game/Manuals" || die "rm failed" + + insinto "${dir}" + doins -r "game/." + fperms +x "${dir}/BaldursGate" + + make_wrapper ${PN} "./BaldursGate" "${dir}" + + newicon "support/icon.png" "${PN}.png" + make_desktop_entry "${PN}" "Baldur's Gate: Enhanced Edition" "${PN}" +} diff --git a/games-rpg/baldurs-gate-ee/metadata.xml b/games-rpg/baldurs-gate-ee/metadata.xml index f4eb16164ba7..2ff87d46c74f 100644 --- a/games-rpg/baldurs-gate-ee/metadata.xml +++ b/games-rpg/baldurs-gate-ee/metadata.xml @@ -9,6 +9,6 @@ Dungeons & Dragons (AD&D) 2nd edition rules. </longdescription> <upstream> - <bugs-to>https://support.baldursgate.com/projects/bg-ee-bugs/issues</bugs-to> + <bugs-to>https://beamdog.atlassian.net/servicedesk/customer/portals</bugs-to> </upstream> </pkgmetadata> diff --git a/games-rpg/bass/bass-1.3-r2.ebuild b/games-rpg/bass/bass-1.3-r2.ebuild new file mode 100644 index 000000000000..3744a3380d0a --- /dev/null +++ b/games-rpg/bass/bass-1.3-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop wrapper + +DESCRIPTION="Beneath a Steel Sky: a SciFi thriller set in a bleak vision of the future" +HOMEPAGE="https://en.wikipedia.org/wiki/Beneath_a_Steel_Sky" + +CD_VERSION="1.2" +SRC_URI="http://downloads.sourceforge.net/scummvm/BASS-Floppy-${PV}.zip + http://downloads.sourceforge.net/scummvm/bass-cd-${CD_VERSION}.zip + mirror://gentoo/${PN}.png" +S="${WORKDIR}/" + +LICENSE="bass" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" + +RDEPEND=">=games-engines/scummvm-0.5.0" +DEPEND="${RDEPEND}" +BDEPEND="app-arch/unzip" + +src_install() { + dobin "${FILESDIR}"/scummvmGetLang.sh + + insinto /usr/share/${PN} + doins sky.* + mv bass-cd-"${CD_VERSION}"/readme.txt readme-cd.txt || die + doins -r bass-cd-"${CD_VERSION}"/ + + make_wrapper bass "scummvm -f -n -p \"${EPREFIX}/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" . + make_wrapper bass-cd "scummvm -f -n -p \"${EPREFIX}/usr/share/${PN}/bass-cd-${CD_VERSION}\" -q\$(scummvmGetLang.sh) sky" . + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} "Beneath a Steel Sky (Floppy version)" + make_desktop_entry ${PN}-cd "Beneath a Steel Sky (CD version)" + + dodoc readme*.txt +} diff --git a/games-rpg/coe2/Manifest b/games-rpg/coe2/Manifest deleted file mode 100644 index 7c0cd6e554c1..000000000000 --- a/games-rpg/coe2/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST coe2_2007.zip 4937222 BLAKE2B 4640e7819d0e000b3e355f20f364f84d0cc899acd27e33bae95cece843a724918b8a3cc6a538d39478cf5070fd71658637dbc127534d5182a914f6d0f56faff0 SHA512 db0d4ee2016ef3cf7159c227c494346fa0a0e9f9b20a6b520b67899570e3135a4286d6ada2f85d7ea7b55a1baeada41654d4fab29f5996357608f0d2d654b2ed diff --git a/games-rpg/coe2/coe2-2007-r3.ebuild b/games-rpg/coe2/coe2-2007-r3.ebuild deleted file mode 100644 index 5b443192a0ba..000000000000 --- a/games-rpg/coe2/coe2-2007-r3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop wrapper - -DESCRIPTION="Precursor to the Dominions series" -HOMEPAGE="https://www.shrapnelgames.com/Our_Games/Free_Games.html" -SRC_URI="https://download.shrapnelgames.com/downloads/${PN}_${PV}.zip" -S="${WORKDIR}"/coe - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror bindist" - -DEPEND="media-libs/libsdl[sound,video]" -RDEPEND=" - ${DEPEND} - acct-group/gamestat -" -BDEPEND="app-arch/unzip" - -# bug #430026 -QA_PREBUILT="opt/coe2/coe_linux" - -src_prepare() { - default - - rm -r *.{dll,exe} old || die - if use amd64 ; then - mv -f coe_linux64bit coe_linux || die - fi -} - -src_install() { - insinto /opt/${PN} - doins *.{bgm,smp,trp,trs,wrl} - dodoc history.txt manual.txt readme.txt - exeinto /opt/${PN} - doexe coe_linux - - make_wrapper ${PN} "./coe_linux" "/opt/${PN}" - make_desktop_entry ${PN} "Conquest of Elysium 2" - - # Slots for saved games. - # The game shows e.g. "EMPTY SLOT 0?", but it works. - local state_dir=/var/lib/${PN} - dodir ${state_dir} - - local f slot - for slot in {0..4} ; do - f=save${slot} - - dosym ${state_dir}/save${slot} /opt/${PN}/${f} - echo "empty slot ${slot}" > "${ED}"/${state_dir}/${f} || die - fperms 660 ${state_dir}/${f} - done - - fowners -R root:gamestat /var/lib/${PN}/ /opt/${PN}/coe_linux - fperms g+s /opt/${PN}/coe_linux -} diff --git a/games-rpg/coe2/metadata.xml b/games-rpg/coe2/metadata.xml deleted file mode 100644 index c865788a3668..000000000000 --- a/games-rpg/coe2/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -<longdescription lang="en"> -Originally released in 1997, Conquest of Elysium II is a turn-based fantasy -strategy game, and the precursor to the wildly popular Dominions series. As one -of up to eight players (human, computer controlled, or a mixture) your goal, as -suggested in the title, is very simple: total subjugation of all that do not fly -your banner! - -Choose your leader from twenty distinct character classes, including brutal -barbarians, insane necromancers, mighty maharajas, sinister shamans, and even -the Agarthan king from Dominions 3! Each character allows new strategies for the -player to explore. The Priestess of Baal can summon demonic creatures, change -the weather, and sacrifice the innocent. An Enchanter can create constructs out -of corpses, lakes, forests, and more. Barons can build siege towers, raise -levies, and keep his subjects in line, even in times of high taxation. -</longdescription> -</pkgmetadata> diff --git a/games-rpg/crosscode-a-new-home/Manifest b/games-rpg/crosscode-a-new-home/Manifest new file mode 100644 index 000000000000..f364f0a523d4 --- /dev/null +++ b/games-rpg/crosscode-a-new-home/Manifest @@ -0,0 +1 @@ +DIST new-home.zip 4235451 BLAKE2B 0245abe1d67ba4f6ed8ef4c96a1f03ae454fe39dce950044132fb8b7688b981ae654c30923954951e33c2788e638cf61bb158beeb749cdb1c967bdfe0acab23e SHA512 49269c1bda85d42165b8f86cab4f117c69cc05dafe2905d4540815bd5fac89fe982bf0f850e706953c838b94ec03635c2c6fd06822d8214aeffcbb6d372c0657 diff --git a/games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild b/games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild new file mode 100644 index 000000000000..e3182f1bccb2 --- /dev/null +++ b/games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="CrossCode DLC unlocking post-game content" +HOMEPAGE="https://radicalfishgames.itch.io/crosscode-a-new-home" +SRC_URI="new-home.zip" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist fetch splitdebug" + +RDEPEND=" + >=games-rpg/crosscode-1.4.2.2 +" + +BDEPEND=" + app-arch/unzip +" + +S="${WORKDIR}" +DIR="/usr/share/crosscode" + +pkg_nofetch() { + einfo "Please buy and download ${SRC_URI} from:" + einfo " ${HOMEPAGE}" + einfo "and move it to your distfiles directory." +} + +src_install() { + insinto "${DIR}/assets/extension" + doins -r post-game +} diff --git a/games-rpg/sumwars/metadata.xml b/games-rpg/crosscode-a-new-home/metadata.xml index b6bf04ac1ccb..7c730d47817a 100644 --- a/games-rpg/sumwars/metadata.xml +++ b/games-rpg/crosscode-a-new-home/metadata.xml @@ -5,10 +5,4 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> - <use> - <flag name="tools">Builds editor tools</flag> - </use> - <upstream> - <remote-id type="sourceforge">sumwars</remote-id> - </upstream> </pkgmetadata> diff --git a/games-rpg/crosscode/crosscode-1.4.2.2.ebuild b/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild index e28c2d292fc1..b37a1d0cb29d 100644 --- a/games-rpg/crosscode/crosscode-1.4.2.2.ebuild +++ b/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -44,6 +44,7 @@ src_install() { doins -r assets/ favicon.png natives_blob.bin package.json newicon assets/media/face/lore/lea.png ${PN}.png - make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}'" + # --use-gl=egl is needed with recent NW.js versions. + make_wrapper ${PN} "nwjs '${EPREFIX}${DIR}' --use-gl=egl" make_desktop_entry ${PN} CrossCode } diff --git a/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild b/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild index 4cd5b7623861..d00c417093ce 100644 --- a/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild +++ b/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild @@ -1,17 +1,17 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit autotools desktop -DESCRIPTION="A graphical 2D tile-based MMORPG" -HOMEPAGE="http://daimonin.sourceforge.net/" +DESCRIPTION="Graphical 2D tile-based MMORPG" +HOMEPAGE="https://daimonin.sourceforge.net/" SRC_URI=" https://dev.gentoo.org/~soap/distfiles/${P}.zip music? ( mirror://sourceforge/daimonin/daimoninMusicLQ20100827.zip )" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug music" diff --git a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild index bf1c7737e7f0..faf684b0a799 100644 --- a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild +++ b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 inherit desktop toolchain-funcs DESCRIPTION="3D dungeon crawling adventure in the spirit of NetHack" -HOMEPAGE="http://egoboo.sourceforge.net/" +HOMEPAGE="https://egoboo.sourceforge.net/" SRC_URI=" mirror://sourceforge/${PN}/${P}.tar.gz https://dev.gentoo.org/~ionen/distfiles/${PN}.png" diff --git a/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild b/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild index 20e6153e2110..645aea1e3882 100644 --- a/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild +++ b/games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit desktop wrapper -DESCRIPTION="A classic role-playing game" -HOMEPAGE="http://basiliskgames.com/eschalon-book-i" +DESCRIPTION="Classic role-playing game" +HOMEPAGE="https://basiliskgames.com/eschalon-book-i/" SRC_URI="https://dev.gentoo.org/~calchan/distfiles/${P}.tar.gz" S="${WORKDIR}/Eschalon Book I Demo" diff --git a/games-rpg/eternal-lands/eternal-lands-1.9.5.8.ebuild b/games-rpg/eternal-lands/eternal-lands-1.9.5.8.ebuild index aae74143d659..bb215dcb20cc 100644 --- a/games-rpg/eternal-lands/eternal-lands-1.9.5.8.ebuild +++ b/games-rpg/eternal-lands/eternal-lands-1.9.5.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -35,7 +35,7 @@ DEPEND="${RDEPEND} BDEPEND="${DEPEND} virtual/pkgconfig doc? ( - app-doc/doxygen + app-text/doxygen media-gfx/graphviz )" diff --git a/games-rpg/freedink-data/Manifest b/games-rpg/freedink-data/Manifest index 1afe075e64d0..216dab32038f 100644 --- a/games-rpg/freedink-data/Manifest +++ b/games-rpg/freedink-data/Manifest @@ -1 +1 @@ -DIST freedink-data-1.08.20170409.tar.gz 53030350 BLAKE2B cf7eb210ed908aed185b2c3d450492ef4265600ee8a058a4d13396de21ec543b619bca4d1a684edec69c913459489db2f1fe868b51306e52ffdf081d7245cd7d SHA512 8ce6bd0de33da0edd42722c2a7d02aae54a3e8e81fc8e0a4c97d9b2b696e58eb41e05e12b3fc1cd4be72be7bcf799988d50affb3689f3fec8e2e78c878cd4afc +DIST freedink-data-1.08.20190120.tar.gz 71473728 BLAKE2B 49e5185258249c4280b9e1c2fb1c882946a7fb267af63236f75ce4dd100c90652102b638652f1bd6bdc524559b42a9ac8d9512af152fd921a055d4dd98f16656 SHA512 918785f736cc6996de3253c12fa2ff1d7efc3f2b21956d83ba9f22fd513f5c510c3ebd2ee04cafc8f77378831cca136ba22c191ccbb9aef49325b7ce8033f062 diff --git a/games-rpg/freedink-data/freedink-data-1.08.20170409-r1.ebuild b/games-rpg/freedink-data/freedink-data-1.08.20190120.ebuild index 450fa9e04574..676934e2df39 100644 --- a/games-rpg/freedink-data/freedink-data-1.08.20170409-r1.ebuild +++ b/games-rpg/freedink-data/freedink-data-1.08.20190120.ebuild @@ -1,25 +1,26 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Freedink game data" -HOMEPAGE="http://www.freedink.org/" +HOMEPAGE="https://www.gnu.org/s/freedink/" SRC_URI="mirror://gnu/freedink/${P}.tar.gz" -LICENSE="ZLIB - CC-BY-SA-3.0 +LICENSE=" + ZLIB CC-BY-3.0 + CC-BY-SA-3.0 Free-Art-1.3 GPL-2+ GPL-3+ - WTFPL-2 OAL-1.0.1 + WTFPL-2 public-domain" SLOT="0" KEYWORDS="~amd64 ~x86" src_install() { - emake DESTDIR="${D}" DATADIR="/usr/share" install - dodoc README.txt README-REPLACEMENTS.txt + emake DESTDIR="${D}" DATADIR="${EPREFIX}"/usr/share install + einstalldocs } diff --git a/games-rpg/freedink-data/metadata.xml b/games-rpg/freedink-data/metadata.xml index 7c730d47817a..6007480bbb0b 100644 --- a/games-rpg/freedink-data/metadata.xml +++ b/games-rpg/freedink-data/metadata.xml @@ -5,4 +5,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> + <upstream> + <remote-id type="savannah">freedink</remote-id> + </upstream> </pkgmetadata> diff --git a/games-rpg/freedink/Manifest b/games-rpg/freedink/Manifest index 8dda84256cf9..8204bf5f2698 100644 --- a/games-rpg/freedink/Manifest +++ b/games-rpg/freedink/Manifest @@ -1 +1 @@ -DIST freedink-108.4.tar.gz 1897701 BLAKE2B b26129f3e5d17895a08cac9564973e31d6e8e2458ac9a2ed4b00f53cd1b8004073022a8e3f4cf8ded2e44cc4bb73909f021a7c960d219e78aec47b4c4ce7c18e SHA512 1496b6a7826bf694a2919add22a8b4b08a4967d8a7fdebf2d599bd99c7a7ce67de6c2b11124423c7aa1f0feb2e7c03ce1cf00252070182936e7481791dafee61 +DIST freedink-109.6.tar.gz 1587238 BLAKE2B dc7892114af6968170ed35771d85fd4d8bef969ee2df9b45b315b8b70f50058f5713e22c657ea48e8297cd15c2401e1749c1660bd59140495eba9bcaaf6bf1fc SHA512 9de4155e65c1af58166e30f3f642fed2111eeff2cfccedcd51ea7715e91795d9c9f89d4fa30a801e9a998b7d734682b7d2588ef1ebaba464764c3c3156b6a7ad diff --git a/games-rpg/freedink/files/freedink-108.4-no-windres.patch b/games-rpg/freedink/files/freedink-108.4-no-windres.patch deleted file mode 100644 index 81c72e00dae0..000000000000 --- a/games-rpg/freedink/files/freedink-108.4-no-windres.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -226,7 +226,7 @@ - update_frame.h - am_freedink_OBJECTS = $(am__objects_3) freedink.$(OBJEXT) \ - update_frame.$(OBJEXT) --@HAVE_WINDRES_TRUE@am__objects_4 = woeres.$(OBJEXT) -+#@HAVE_WINDRES_TRUE@am__objects_4 = woeres.$(OBJEXT) - nodist_freedink_OBJECTS = $(am__objects_4) - freedink_OBJECTS = $(am_freedink_OBJECTS) $(nodist_freedink_OBJECTS) - freedink_LDADD = $(LDADD) -@@ -1143,7 +1143,7 @@ - @HAVE_WINDRES_FALSE@WOERES = - - # How do we handle resources embedded in the executable binary? --@HAVE_WINDRES_TRUE@WOERES = woeres.rc -+#@HAVE_WINDRES_TRUE@WOERES = woeres.rc - - # Other projects that use Autotools and support MinGW - # http://sourceforge.net/projects/chocolate-doom (Doom port) diff --git a/games-rpg/freedink/files/freedink-109.6-odr.patch b/games-rpg/freedink/files/freedink-109.6-odr.patch new file mode 100644 index 000000000000..560c3ddc6537 --- /dev/null +++ b/games-rpg/freedink/files/freedink-109.6-odr.patch @@ -0,0 +1,14 @@ +Only ever used as struct FF_Handle *, not seeing why this void is here. +error: 'FastFileOpen' violates the C++ One Definition Rule [-Werror=odr] +--- a/src/fastfile.cpp ++++ b/src/fastfile.cpp +@@ -217,3 +217,3 @@ + +-void * ++struct FF_Handle * + FastFileOpen(char *name) +@@ -254,3 +254,3 @@ + i->len = next_off - i->off; +- return (void*)i; ++ return i; + } diff --git a/games-rpg/freedink/files/freedink-109.6-sdl.patch b/games-rpg/freedink/files/freedink-109.6-sdl.patch new file mode 100644 index 000000000000..f00735d7b377 --- /dev/null +++ b/games-rpg/freedink/files/freedink-109.6-sdl.patch @@ -0,0 +1,20 @@ +For newer sdl2 and sdl2-ttf +https://lists.gnu.org/archive/html/bug-freedink/2019-08/msg00000.html +https://lists.gnu.org/archive/html/bug-freedink/2022-07/msg00001.html +--- a/src/gfx_fonts.cpp ++++ b/src/gfx_fonts.cpp +@@ -295,6 +295,6 @@ + { +- char *familyname = TTF_FontFaceFamilyName(font); ++ const char *familyname = TTF_FontFaceFamilyName(font); + if(familyname) + log_info("The family name of the face in the font is: %s", familyname); +- char *stylename = TTF_FontFaceStyleName(font); ++ const char *stylename = TTF_FontFaceStyleName(font); + if(stylename) +--- a/src/input.cpp ++++ b/src/input.cpp +@@ -93,3 +93,2 @@ + // fake mouse events often are de-centered +- SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); + diff --git a/games-rpg/freedink/freedink-108.4-r1.ebuild b/games-rpg/freedink/freedink-108.4-r1.ebuild deleted file mode 100644 index 743ce07e7546..000000000000 --- a/games-rpg/freedink/freedink-108.4-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit flag-o-matic - -DESCRIPTION="Dink Smallwood is an adventure/role-playing game, similar to Zelda (2D top view)" -HOMEPAGE="http://www.freedink.org/" -SRC_URI="mirror://gnu/freedink/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - >=media-libs/fontconfig-2.4 - >=media-libs/libsdl-1.2[X,sound,joystick,video] - >=media-libs/sdl-gfx-2.0 - >=media-libs/sdl-image-1.2 - >=media-libs/sdl-mixer-1.2[midi,vorbis,wav] - >=media-libs/sdl-ttf-2.0.9 -" -RDEPEND="${DEPEND} - games-rpg/freedink-data -" -DEPEND="${DEPEND} - dev-libs/check - virtual/pkgconfig - sys-devel/gettext -" -PATCHES=( - "${FILESDIR}"/${PN}-108.4-no-windres.patch -) - -src_prepare() { - default - sed -i \ - -e 's#^datarootdir =.*$#datarootdir = /usr/share#' \ - share/Makefile.in || die - # seems like the code is fragile (bug #559548) - filter-flags - replace-flags -O? -O0 -} - -src_configure() { - econf \ - --disable-embedded-resources \ - --localedir="/usr/share/locale" -} diff --git a/games-rpg/freedink/freedink-109.6.ebuild b/games-rpg/freedink/freedink-109.6.ebuild new file mode 100644 index 000000000000..bec7622f80e2 --- /dev/null +++ b/games-rpg/freedink/freedink-109.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg + +DESCRIPTION="Dink Smallwood is an adventure/role-playing game, similar to Zelda (2D top view)" +HOMEPAGE="https://www.gnu.org/s/freedink/" +SRC_URI="mirror://gnu/freedink/${P}.tar.gz" + +LICENSE="GPL-3+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + media-libs/fontconfig + media-libs/libsdl2[joystick,sound,video] + media-libs/sdl2-gfx + media-libs/sdl2-image + media-libs/sdl2-mixer[midi,vorbis,wav] + media-libs/sdl2-ttf" +RDEPEND=" + ${COMMON_DEPEND} + games-rpg/freedink-data" +DEPEND=" + ${COMMON_DEPEND} + media-libs/glm" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-odr.patch + "${FILESDIR}"/${P}-sdl.patch +) + +src_configure() { + local econfargs=( + # TODO? Needs unpackaged cxxtest, but that package (currently) seem + # dead and may not be worth adding just for testing this. + --disable-tests + + # Fails if finds a windres executable + ac_cv_prog_WINDRES= + ac_cv_prog_ac_ct_WINDRES= + ) + + econf "${econfargs[@]}" +} diff --git a/games-rpg/freedink/metadata.xml b/games-rpg/freedink/metadata.xml index 7c730d47817a..6007480bbb0b 100644 --- a/games-rpg/freedink/metadata.xml +++ b/games-rpg/freedink/metadata.xml @@ -5,4 +5,7 @@ <email>games@gentoo.org</email> <name>Gentoo Games Project</name> </maintainer> + <upstream> + <remote-id type="savannah">freedink</remote-id> + </upstream> </pkgmetadata> diff --git a/games-rpg/freedroidrpg/Manifest b/games-rpg/freedroidrpg/Manifest index f45a284875b8..93cf3f364dc5 100644 --- a/games-rpg/freedroidrpg/Manifest +++ b/games-rpg/freedroidrpg/Manifest @@ -1 +1 @@ -DIST freedroidRPG-1.0rc2.tar.gz 233852127 BLAKE2B c87c2314d17037873acf4fc24ce20790c9ec40c8f7b1ea27e6ab9c543abb671bc50b3ff5b86900f7111d1f1a899213dcb90529d2e39918801c9cc3a42585f02e SHA512 a79afdb089691dd59b0128f34f7068c69fac8c057a0485bca3275f4914b1c9c0f21cbb9102ecdc99911b70456c078dbdeb8981fd7714836cd9535677bcc4d1e7 +DIST freedroidRPG-1.0.tar.gz 237703530 BLAKE2B 78531d4e434faecbe34ba34c9996baff8906679916f645ab45d0003b47f55dda6e3a617a39a66aa74185f0983e35cababea2c2240ad42ba0d7a61e73b2308013 SHA512 e3cac480e9db02b2991da674ec6357b1d660996f3fa3eeb75f0908ca653a637eeb44239c1cd7540087f27195e460100d08aa022f6812db72387647218c7bcb29 diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch b/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch new file mode 100644 index 000000000000..db9754c7e4c6 --- /dev/null +++ b/games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch @@ -0,0 +1,13 @@ +AC_INCLUDES_DEFAULT isn't actually needed and it causes a QA warning. + +https://bugs.gentoo.org/921033 +--- a/configure.ac ++++ b/configure.ac +@@ -402,7 +402,6 @@ dnl Checks for typedefs, structures, and compiler characteristics. + SILENT_BOX([Checking types]) + + AC_HEADER_DIRENT +-AC_INCLUDES_DEFAULT + AC_PROG_EGREP + + AC_CHECK_HEADERS_ONCE([sys/time.h]) diff --git a/games-rpg/freedroidrpg/files/freedroidrpg-1.0_rc2-fnocommon.patch b/games-rpg/freedroidrpg/files/freedroidrpg-1.0_rc2-fnocommon.patch deleted file mode 100644 index fd8bc4f9293c..000000000000 --- a/games-rpg/freedroidrpg/files/freedroidrpg-1.0_rc2-fnocommon.patch +++ /dev/null @@ -1,49 +0,0 @@ -Fixes build. https://bugs.gentoo.org/706930#c8 - ---- freedroidrpg-1.0RC2/src/global.h 2019-03-30 23:20:31.000000000 +1000 -+++ freedroidrpg-1.0RC2/src/global.h 2020-06-21 20:51:01.566218463 +1000 -@@ -36,7 +36,6 @@ - #define INTERN_FOR _main_c - #include "extint_macros.h" - --EXTERN float FPSover1; - EXTERN char *AllSkillTexts[]; - EXTERN char font_switchto_red[]; - EXTERN char font_switchto_blue[]; ---- freedroidrpg-1.0RC2/src/lvledit/lvledit_tools.h 2019-03-30 23:20:31.000000000 +1000 -+++ freedroidrpg-1.0RC2/src/lvledit/lvledit_tools.h 2020-06-21 20:41:58.424710693 +1000 -@@ -36,7 +36,7 @@ - - void leveleditor_init_tools(void); - --struct leveleditor_tool tool_place, tool_move, tool_select; -+EXTERN struct leveleditor_tool tool_place, tool_move, tool_select; - - #define EVENT_LEFT_PRESS(e) (((e) && e->type == SDL_MOUSEBUTTONDOWN) && (e->button.button == 1)) - #define EVENT_RIGHT_PRESS(e) (((e) && e->type == SDL_MOUSEBUTTONDOWN) && (e->button.button == 3)) ---- freedroidrpg-1.0RC2/src/mapgen/mapgen.h 2019-03-30 23:20:31.000000000 +1000 -+++ freedroidrpg-1.0RC2/src/mapgen/mapgen.h 2020-06-21 20:43:53.255723534 +1000 -@@ -64,9 +64,9 @@ - extern int total_rooms; - - // Interface to the game --void (*dungeonmap_convert) (int, int, unsigned char *); --void (*dungeonmap_place_enemies) (struct roominfo *); --void (*dungeonmap_gift) (struct roominfo *); -+extern void (*dungeonmap_convert) (int, int, unsigned char *); -+extern void (*dungeonmap_place_enemies) (struct roominfo *); -+extern void (*dungeonmap_gift) (struct roominfo *); - - int generate_dungeon_gram(int, int); - ---- freedroidrpg-1.0RC2/src/struct.h 2019-05-13 01:03:36.000000000 +1000 -+++ freedroidrpg-1.0RC2/src/struct.h 2020-06-21 20:38:22.189812908 +1000 -@@ -1063,7 +1063,7 @@ - struct tux_part_instances default_instances; // Default part instances - tux_part_render_motionclass *render_order; // The render_sets of each motion class - int gun_muzzle_height; // Vertical offset to apply to bullets --} tux_rendering; -+}; - - /** - * Contains a set of Tux's parts images for a motion class. diff --git a/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2-r1.ebuild b/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild index b89390f2d7d2..11cf4a0857d7 100644 --- a/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2-r1.ebuild +++ b/games-rpg/freedroidrpg/freedroidrpg-1.0.ebuild @@ -1,52 +1,47 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 LUA_COMPAT=( lua5-3 ) -PYTHON_COMPAT=( python3_{8..10} ) - -inherit lua-single python-any-r1 xdg - -MY_PV=$(ver_rs 2 '') +PYTHON_COMPAT=( python3_{9..11} ) +inherit autotools lua-single python-any-r1 xdg DESCRIPTION="Modification of the classical Freedroid engine into an RPG" -HOMEPAGE="https://www.freedroid.org" -SRC_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-$(ver_cut 1-2)/freedroidRPG-${MY_PV}.tar.gz" -S="${WORKDIR}/${PN}-${MY_PV^^}" +HOMEPAGE="https://www.freedroid.org/" +SRC_URI="https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PV}/freedroidRPG-${PV}.tar.gz" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="debug devtools nls opengl profile +sound" +IUSE="debug devtools opengl profile +sound" REQUIRED_USE="${LUA_REQUIRED_USE}" RDEPEND=" ${LUA_DEPS} media-libs/libpng:= media-libs/libsdl[opengl?,sound?,video] - >=media-libs/sdl-gfx-2.0.21:= + media-libs/sdl-gfx:= media-libs/sdl-image[jpeg,png] sys-libs/zlib:= + virtual/libintl devtools? ( media-libs/sdl-ttf ) - nls? ( virtual/libintl ) opengl? ( media-libs/glew:0= - virtual/opengl + media-libs/libglvnd[X] ) - sound? ( - media-libs/libogg - media-libs/libvorbis - media-libs/sdl-mixer[vorbis] - )" + sound? ( media-libs/sdl-mixer[vorbis] ) +" DEPEND="${RDEPEND}" BDEPEND=" ${PYTHON_DEPS} + sys-devel/gettext + app-alternatives/awk virtual/pkgconfig - nls? ( sys-devel/gettext )" +" PATCHES=( - "${FILESDIR}/${P}-fnocommon.patch" + "${FILESDIR}"/${PN}-1.0-AC_INCLUDES_DEFAULT.patch ) pkg_setup() { @@ -57,8 +52,10 @@ pkg_setup() { src_prepare() { default + eautoreconf + python_fix_shebang src/gen_savestruct.py - rm data/sound/speak.py || die # unused, prevent installing + rm data/sound/speak.py || die # unused, skip install + python rdep } src_configure() { @@ -66,23 +63,11 @@ src_configure() { $(use_enable debug backtrace) $(use_enable debug) $(use_enable devtools dev-tools) - $(use_enable nls) $(use_enable opengl) $(use_enable profile rtprof) $(use_enable sound) $(use_with debug extra-warnings) ) - econf "${econfargs[@]}" -} - -pkg_postinst() { - xdg_pkg_postinst - if [[ ${REPLACING_VERSIONS} ]]; then - local min="1.0_rc1" - if ver_test ${REPLACING_VERSIONS} -lt ${min}; then - elog "${P} is not compatible with save games before ${min}." - elog "Please start a new character." - fi - fi + econf "${econfargs[@]}" } diff --git a/games-rpg/freedroidrpg/metadata.xml b/games-rpg/freedroidrpg/metadata.xml index 298af3f631f2..c3291bcde5b4 100644 --- a/games-rpg/freedroidrpg/metadata.xml +++ b/games-rpg/freedroidrpg/metadata.xml @@ -6,31 +6,32 @@ <name>Gentoo Games Project</name> </maintainer> <longdescription> -FreedroidRPG is an open source role playing game + FreedroidRPG is an open source role playing game -The game tells the story of a world destroyed by a conflict between robots and -their human masters. Play as Tux in a quest to save the world from the -murderous rebel bots who know no mercy. You get to choose which path you wish -to follow, and freedom of choice is everywhere in the game. + The game tells the story of a world destroyed by a conflict between robots and + their human masters. Play as Tux in a quest to save the world from the + murderous rebel bots who know no mercy. You get to choose which path you wish + to follow, and freedom of choice is everywhere in the game. -FreedroidRPG features a real time combat system with melee and ranged weapons, -fairly similar to the proprietary game Diablo. There is an innovative system of -programs that can be run in order to take control of enemy robots, alter their -behavior, or improve one's characteristics. You can use over 50 different kinds -of items and fight countless enemies on your way to your destiny. An advanced -dialog system provides story background and immersive role playing situations. + FreedroidRPG features a real time combat system with melee and ranged weapons, + fairly similar to the proprietary game Diablo. There is an innovative system of + programs that can be run in order to take control of enemy robots, alter their + behavior, or improve one's characteristics. You can use over 50 different kinds + of items and fight countless enemies on your way to your destiny. An advanced + dialog system provides story background and immersive role playing situations. -The game is complete, fully playable, and can provide about 10 hours of fun. It -is still being actively developed, and help is welcome in many areas. People -having - or trying to acquire - programming, map editing, or writing skills -will find FreedroidRPG to be an exciting, fast-moving project in which they can -fully express their creativity. -</longdescription> -<use> - <flag name="devtools">Compile the additional dev tools</flag> - <flag name="profile">Enable the integration of the ingame real-time profiler</flag> -</use> -<upstream> - <remote-id type="gitlab">freedroid/freedroid-src</remote-id> -</upstream> + The game is complete, fully playable, and can provide about 10 hours of fun. It + is still being actively developed, and help is welcome in many areas. People + having - or trying to acquire - programming, map editing, or writing skills + will find FreedroidRPG to be an exciting, fast-moving project in which they can + fully express their creativity. + </longdescription> + <use> + <flag name="devtools">Compile the additional dev tools</flag> + <flag name="profile">Enable the integration of the ingame real-time profiler</flag> + </use> + <upstream> + <bugs-to>http://bugs.freedroid.org/</bugs-to> + <changelog>https://codeberg.org/freedroid/freedroid-src/src/branch/master/ChangeLog</changelog> + </upstream> </pkgmetadata> diff --git a/games-rpg/gwiz/gwiz-0.8-r1.ebuild b/games-rpg/gwiz/gwiz-0.8-r1.ebuild index d8d166f528bb..3314304fac19 100644 --- a/games-rpg/gwiz/gwiz-0.8-r1.ebuild +++ b/games-rpg/gwiz/gwiz-0.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -9,7 +9,7 @@ DESCRIPTION="Clone of old-school Wizardry(tm) games by SirTech" HOMEPAGE="https://icculus.org/gwiz/" SRC_URI="https://icculus.org/gwiz/${P}.tar.bz2" -KEYWORDS="~alpha ~amd64 ~x86" +KEYWORDS="~amd64 ~x86" SLOT="0" LICENSE="GPL-2+" diff --git a/games-rpg/kqlives/kqlives-0.99-r100.ebuild b/games-rpg/kqlives/kqlives-0.99-r100.ebuild index 30186ea2a594..60e15d75e090 100644 --- a/games-rpg/kqlives/kqlives-0.99-r100.ebuild +++ b/games-rpg/kqlives/kqlives-0.99-r100.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -9,11 +9,11 @@ inherit autotools desktop lua-single MY_P=${P/lives} -DESCRIPTION="A console-style role playing game" -HOMEPAGE="http://kqlives.sourceforge.net/" +DESCRIPTION="Console-style role playing game" +HOMEPAGE="https://kqlives.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="cheats nls" diff --git a/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc13.patch b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc13.patch new file mode 100644 index 000000000000..1a2ae7e078d8 --- /dev/null +++ b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc13.patch @@ -0,0 +1,37 @@ +https://bugs.gentoo.org/899028 +--- a/src/net/ea/chatrecv.h ++++ b/src/net/ea/chatrecv.h +@@ -23,14 +23,7 @@ + #ifndef NET_EA_CHATRECV_H + #define NET_EA_CHATRECV_H + +-#if defined(__GXX_EXPERIMENTAL_CXX0X__) +-#if defined(__APPLE__) +-#include <tr1/cstdint> +-#endif // defined(__APPLE__) +-#else // defined(__GXX_EXPERIMENTAL_CXX0X__) +-#include <stdint.h> +-#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) +- ++#include <cstdint> + #include <string> + #include <queue> + #ifndef __time_t_defined +--- a/src/net/ea/traderecv.h ++++ b/src/net/ea/traderecv.h +@@ -23,14 +23,7 @@ + #ifndef NET_EA_TRADERECV_H + #define NET_EA_TRADERECV_H + +-#if defined(__GXX_EXPERIMENTAL_CXX0X__) +-#if defined(__APPLE__) +-#include <tr1/cstdint> +-#endif // defined(__APPLE__) +-#else // defined(__GXX_EXPERIMENTAL_CXX0X__) +-#include <stdint.h> +-#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) +- ++#include <cstdint> + #include <string> + + namespace Net diff --git a/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild b/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild index f481e1cd9b21..0780865cfa73 100644 --- a/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild +++ b/games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -57,6 +57,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-1.9.3.23-gcc12-time.patch + "${FILESDIR}"/${PN}-1.9.3.23-gcc13.patch ) src_prepare() { diff --git a/games-rpg/openglad/openglad-0.98_p20200907.ebuild b/games-rpg/openglad/openglad-0.98_p20200907.ebuild index e48eaeb991a6..111e08b4cc6c 100644 --- a/games-rpg/openglad/openglad-0.98_p20200907.ebuild +++ b/games-rpg/openglad/openglad-0.98_p20200907.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,7 @@ inherit desktop flag-o-matic toolchain-funcs MY_COMMIT="80e33b15cfa6d7d288b4b3db4dcca0349f13691f" DESCRIPTION="SDL clone of Gladiator, a classic RPG game" -HOMEPAGE="http://snowstorm.sourceforge.net/" +HOMEPAGE="https://snowstorm.sourceforge.net/" SRC_URI=" https://github.com/openglad/openglad/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz mirror://gentoo/${PN}.png" diff --git a/games-rpg/rpg-cli/Manifest b/games-rpg/rpg-cli/Manifest index aadbad2d619b..7573338e3e3f 100644 --- a/games-rpg/rpg-cli/Manifest +++ b/games-rpg/rpg-cli/Manifest @@ -38,7 +38,6 @@ DIST rand_core-0.6.3.crate 21938 BLAKE2B 7c73e2da6d423c68dbbca31f6528bdb3f42fa39 DIST rand_hc-0.3.1.crate 11891 BLAKE2B b3aa810638390eea4245ebb711de88ccdc2a64350a5c6e14064fea7685d49746b4b77215dbb8374fa7a6cbc2cfd79fb553513d6e551acf64586d8303f7d4f3a0 SHA512 582bb44b81c27e698eb57c6f06444b8a7c9d3f7ee73f4e14be8004c4bfd3bbfd9795c69f7294b5e87107e86b90fa3e91ad080964474af81c92705d356e43fbb5 DIST redox_syscall-0.2.10.crate 23582 BLAKE2B 7253dd96415e7b70df488c208d86c250c670b1245ac6573a59085faabbde9e33fabfacd233e7d737e365493db14008c180274b41ea0a4af5f6f98eec666a873f SHA512 ef012eb4bffe32119e50ecdbef4cc31f6e84a344e94f026484fe4e2c904f94053a8b6249fb6bd8ada31b3ecfbf0096085283bb68aeb62b1b01b57f35794aee92 DIST redox_users-0.4.0.crate 13023 BLAKE2B 66d0d1169f98a27a00930c86365f289c38659c0d7b248a6870d1c144dfe63c9752429b2912006527d42aa321f9605892ffa85257eeff1ae148254bf370dafd02 SHA512 4058ffb2fd57631eb6346c8839262653af3f2e670a69bb5739d64adeef7347849b18e191c594303da1f5e29b4a3cb000161fc1b3ea4b7f94585977597a2574b9 -DIST rpg-cli-1.0.0.tar.gz 439707 BLAKE2B 0319bd8aa3f7084507762290565fa9456dd4799c8a6a2ca9c4f68b9f6e1e2eb6ec2e2ad20a2bd79d30fdbc400fb5699b4958cef0ace85ba9936dc449e447e011 SHA512 798d6926446e09ff81b12e9e1e181270e1b529a6fcb4ad26f6857c7ee6fbb6a47ec4690bd944a74c57c519acfb9b2eb2eb3ae97fe5f41f45ebfc7444f34e3500 DIST rpg-cli-1.0.1.tar.gz 440220 BLAKE2B b00836491ea19f28b373e8d4e427f944f5f72b1841063bd75b59600d619dbcc45598da38f03e714020420e431cad3055541c56bff2bf4e207678b49614b6b492 SHA512 bc255daf4f1bfae68c5d0fe5dec79d86ea6f2d59384537836a99063bfdcae4219d40c859904c50e60b4a025736520c0eb6468ca520a3abce5b506407e6b4bbe3 DIST ryu-1.0.5.crate 49570 BLAKE2B 3bfba4a5f290a429de7ac3b86823b2a973f40eb6f48c15329173d95964d31ada36f2618be4b36774a03f97f2ce61364900c6a3ad5465a294e2df311a1f4104ed SHA512 d1708ffa3112a684edf2956b6730ead040401d38f1457cde074eaaa59c249007dc8b925629e7f6df89f7ea757e9d0826649d685cc8ede0a04d50296048bf476c DIST serde-1.0.127.crate 75162 BLAKE2B 7472c9328b4398bb25bd71febe9483e6255b309d98d2655babe5d16933c5b92a71cb75df8aec3abaff84082bffdc44a549673d30a3cb68888d17157e58b32be0 SHA512 dc2b9c0a71028853bc05b4bdb3db1e9e753dfc588ebcff5dccc42d05252fe250b797e10b4d574f161fe11747c9740e93a47a2eba2b4ffd6ecf1992dfadbdd2ef diff --git a/games-rpg/rpg-cli/files/getrandom-0.2.3-open64.patch b/games-rpg/rpg-cli/files/getrandom-0.2.3-open64.patch new file mode 100644 index 000000000000..eb29e580c058 --- /dev/null +++ b/games-rpg/rpg-cli/files/getrandom-0.2.3-open64.patch @@ -0,0 +1,27 @@ +Fix build with musl 1.2.4 + +https://bugs.gentoo.org/923901 +https://github.com/rust-random/getrandom/pull/326 + +--- a/src/util_libc.rs ++++ b/src/util_libc.rs +@@ -96,18 +96,10 @@ impl Weak { + } + } + +-cfg_if! { +- if #[cfg(any(target_os = "linux", target_os = "emscripten"))] { +- use libc::open64 as open; +- } else { +- use libc::open; +- } +-} +- + // SAFETY: path must be null terminated, FD must be manually closed. + pub unsafe fn open_readonly(path: &str) -> Result<libc::c_int, Error> { + debug_assert_eq!(path.as_bytes().last(), Some(&0)); +- let fd = open(path.as_ptr() as *const _, libc::O_RDONLY | libc::O_CLOEXEC); ++ let fd = libc::open(path.as_ptr() as *const _, libc::O_RDONLY | libc::O_CLOEXEC); + if fd < 0 { + return Err(last_os_error()); + } diff --git a/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch b/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch deleted file mode 100644 index 780ff8b40e8a..000000000000 --- a/games-rpg/rpg-cli/files/rpg-cli-1.0.0-clap.patch +++ /dev/null @@ -1,20 +0,0 @@ -Fix build - -error[E0658]: arbitrary expressions in key-value attributes are unstable - --> /mnt/portagetmp/portage/games-rpg/rpg-cli-1.0.0/work/cargo_home/gentoo/clap-3.0.0-beta.4/src/lib.rs:8:10 - | -8 | #![doc = include_str!("../README.md")] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information - ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -5,7 +5,6 @@ - - #![doc(html_logo_url = "https://clap.rs/images/media/clap.png")] - #![doc(html_root_url = "https://docs.rs/clap/3.0.0-beta.4")] --#![doc = include_str!("../README.md")] - //! <https://github.com/clap-rs/clap> - #![crate_type = "lib"] - #![deny( diff --git a/games-rpg/rpg-cli/files/rpg-cli-1.0.0-into_values.patch b/games-rpg/rpg-cli/files/rpg-cli-1.0.0-into_values.patch deleted file mode 100644 index 9130df5c42be..000000000000 --- a/games-rpg/rpg-cli/files/rpg-cli-1.0.0-into_values.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fix build with <rust-1.54 - -error[E0658]: use of unstable library feature 'map_into_keys_values' - --> src/item/chest.rs:111:51 - | -111 | let mut items: Vec<Box<dyn Item>> = items.into_values().flatten().collect(); - | ^^^^^^^^^^^ - | - = note: see issue #75294 <https://github.com/rust-lang/rust/issues/75294> for more information - ---- a/src/item/chest.rs -+++ b/src/item/chest.rs -@@ -108,7 +108,7 @@ impl Chest { - /// Remove the gold, items and equipment from a hero and return them as a new chest. - pub fn drop(game: &mut game::Game) -> Self { - let items: HashMap<Key, Vec<Box<dyn Item>>> = game.inventory.drain().collect(); -- let mut items: Vec<Box<dyn Item>> = items.into_values().flatten().collect(); -+ let mut items: Vec<Box<dyn Item>> = items.into_iter().map(|(_, v)| v).flatten().collect(); - let sword = game.player.sword.take(); - let shield = game.player.shield.take(); - diff --git a/games-rpg/rpg-cli/metadata.xml b/games-rpg/rpg-cli/metadata.xml index 92b8bdaad848..3b47d4bb1520 100644 --- a/games-rpg/rpg-cli/metadata.xml +++ b/games-rpg/rpg-cli/metadata.xml @@ -1,14 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>gyakovlev@gentoo.org</email> - <name>Georgy Yakovlev</name> - </maintainer> <maintainer type="person" proxied="yes"> <email>alexey+gentoo@asokolov.org</email> <name>Alexey Sokolov</name> </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <longdescription lang="en"> rpg-cli is a bare-bones JRPG-inspired terminal game written in Rust. It can work as an alternative to cd where you randomly encounter enemies as you change directories. diff --git a/games-rpg/rpg-cli/rpg-cli-1.0.0.ebuild b/games-rpg/rpg-cli/rpg-cli-1.0.0.ebuild deleted file mode 100644 index f76184070253..000000000000 --- a/games-rpg/rpg-cli/rpg-cli-1.0.0.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# Auto-Generated by cargo-ebuild 0.3.2 - -EAPI=7 - -CRATES=" - anyhow-1.0.43 - atty-0.2.14 - autocfg-1.0.1 - bincode-1.3.3 - bitflags-1.3.2 - cfg-if-1.0.0 - clap-3.0.0-beta.4 - clap_derive-3.0.0-beta.4 - colored-2.0.0 - ctor-0.1.20 - dirs-3.0.2 - dirs-sys-0.3.6 - dtoa-0.4.8 - dunce-1.0.2 - erased-serde-0.3.16 - getrandom-0.2.3 - ghost-0.1.2 - hashbrown-0.11.2 - heck-0.3.3 - hermit-abi-0.1.19 - indexmap-1.7.0 - inventory-0.1.10 - inventory-impl-0.1.10 - itoa-0.4.7 - lazy_static-1.4.0 - libc-0.2.99 - linked-hash-map-0.5.4 - once_cell-1.8.0 - os_str_bytes-3.1.0 - ppv-lite86-0.2.10 - proc-macro-error-1.0.4 - proc-macro-error-attr-1.0.4 - proc-macro2-1.0.28 - quote-1.0.9 - rand-0.8.4 - rand_chacha-0.3.1 - rand_core-0.6.3 - rand_hc-0.3.1 - redox_syscall-0.2.10 - redox_users-0.4.0 - ryu-1.0.5 - serde-1.0.127 - serde_derive-1.0.127 - serde_json-1.0.66 - serde_yaml-0.8.18 - strsim-0.10.0 - strum-0.21.0 - strum_macros-0.21.1 - syn-1.0.75 - termcolor-1.1.2 - textwrap-0.14.2 - typetag-0.1.7 - typetag-impl-0.1.7 - unicode-segmentation-1.8.0 - unicode-width-0.1.8 - unicode-xid-0.2.2 - vec_map-0.8.2 - version_check-0.9.3 - wasi-0.10.2+wasi-snapshot-preview1 - winapi-0.3.9 - winapi-i686-pc-windows-gnu-0.4.0 - winapi-util-0.1.5 - winapi-x86_64-pc-windows-gnu-0.4.0 - yaml-rust-0.4.5 -" - -inherit cargo - -DESCRIPTION="Terminal game, your filesystem as a dungeon" -HOMEPAGE="https://github.com/facundoolano/rpg-cli" -SRC_URI="https://github.com/facundoolano/rpg-cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz - $(cargo_crate_uris ${CRATES})" - -LICENSE="Apache-2.0 MIT" -SLOT="0" -KEYWORDS="~amd64 ~ppc64" - -QA_FLAGS_IGNORED="usr/bin/rpg-cli" - -PATCHES=( - "${FILESDIR}"/rpg-cli-1.0.0-into_values.patch -) - -src_prepare() { - default - - pushd "${WORKDIR}/cargo_home/gentoo/clap-3.0.0-beta.4" > /dev/null || die - eapply "${FILESDIR}"/rpg-cli-1.0.0-clap.patch - popd > /dev/null || die -} - -src_install() { - cargo_src_install - dodoc README.md - newdoc shell/README.md README-shell.md -} diff --git a/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild b/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild index b42762da9613..4ec52d582136 100644 --- a/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild +++ b/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Auto-Generated by cargo-ebuild 0.3.2 @@ -85,6 +85,14 @@ KEYWORDS="~amd64 ~ppc64" QA_FLAGS_IGNORED="usr/bin/rpg-cli" +src_prepare() { + pushd "${WORKDIR}"/cargo_home/gentoo/getrandom-0.2.3 || die + eapply "${FILESDIR}"/getrandom-0.2.3-open64.patch + popd || die + + default +} + src_install() { cargo_src_install dodoc README.md diff --git a/games-rpg/sumwars/Manifest b/games-rpg/sumwars/Manifest deleted file mode 100644 index 4d17754bcef7..000000000000 --- a/games-rpg/sumwars/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST sumwars-0.5.8-src.tar.bz2 107811288 BLAKE2B d7eef29ae9ba91d7a368730169d49c4b84e5db5cdbd4be7aa183e91baa50fd45be2b91928903e9cb17d947c2a4947094138c65efe076cdc85f14fbfacadddbd1 SHA512 ccf156f4484b0aeb8984631321d6691dc180ad63fdfa59d92aaa05ada3e871fc10656f32f9ba1b65abe7342e1481e14ca01f025ffc0ec5797cd8e91d97240cf1 diff --git a/games-rpg/sumwars/sumwars-0.5.8-r101.ebuild b/games-rpg/sumwars/sumwars-0.5.8-r101.ebuild deleted file mode 100644 index c77b37294846..000000000000 --- a/games-rpg/sumwars/sumwars-0.5.8-r101.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CMAKE_REMOVE_MODULES_LIST=( FindLua{,51} ) -LUA_COMPAT=( lua5-1 ) -inherit cmake desktop flag-o-matic lua-single - -MY_L10N=( de en it pl pt ru uk ) - -DESCRIPTION="Multi-player, 3D action role-playing game" -HOMEPAGE="https://sourceforge.net/projects/sumwars/" -SRC_URI="mirror://sourceforge/sumwars/${P/_/-}-src.tar.bz2" - -LICENSE="GPL-3 CC-BY-SA-3.0" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug tools ${MY_L10N[*]/#/l10n_}" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -DEPEND=" - ${LUA_DEPS} - dev-games/cegui[ogre,truetype] - dev-games/ogre:=[freeimage,opengl] - dev-games/ois - dev-games/physfs - dev-libs/tinyxml - media-libs/freealut - media-libs/libvorbis - media-libs/openal - net-libs/enet:1.3= - x11-libs/libX11 - x11-libs/libXrandr - tools? ( dev-libs/boost:= )" -RDEPEND=" - ${DEPEND} - media-libs/freeimage[jpeg,png]" - -src_configure() { - append-flags -fno-strict-aliasing - - local l langs= - for l in "${MY_L10N[@]}"; do - use l10n_${l} && langs+="${l} " - done - - use debug && CMAKE_BUILD_TYPE=Debug - - local mycmakeargs=( - -DLua_FIND_VERSION_MAJOR=$(ver_cut 1 $(lua_get_version)) - -DLua_FIND_VERSION_MINOR=$(ver_cut 2 $(lua_get_version)) - -DLua_FIND_VERSION_COUNT=2 - -DLua_FIND_VERSION_EXACT=ON - -DSUMWARS_BUILD_TOOLS=$(usex tools) - -DSUMWARS_DOC_DIR="${EPREFIX}"/usr/share/doc/${PF} - -DSUMWARS_LANGUAGES="${langs:-en}" - -DSUMWARS_NO_ENET=ON - -DSUMWARS_NO_TINYXML=ON - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - newicon share/icon/SumWarsIcon_128x128.png ${PN}.png - make_desktop_entry ${PN} "Summoning Wars" -} diff --git a/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r2.ebuild index 61cc12fde80a..d11ed226a4f8 100644 --- a/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild +++ b/games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit desktop unpacker @@ -26,7 +26,7 @@ RESTRICT="mirror strip" RDEPEND=" media-libs/alsa-lib - media-sound/pulseaudio + media-libs/libpulse virtual/glu virtual/opengl x11-libs/gtk+:2 diff --git a/games-rpg/wastesedge/Manifest b/games-rpg/wastesedge/Manifest deleted file mode 100644 index 790a719f4ca3..000000000000 --- a/games-rpg/wastesedge/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST wastesedge-src-0.3.8.tar.gz 20779629 BLAKE2B 40a63298ea9b704407fcac244f22a3e26190fec37cb0dae0e18e55478d866a215a6be6e1bd08ef2d303894aca2edd09e7b299ae9c2da21d999f47c6d799fde83 SHA512 410e01d803b6ff72c4c0d8f035c5e3228c2311bc200359ecb748be63474ae0afb8609cc9daed940670d02190fa3c047ea2a2cd116b7680398cdcc7523a64c386 diff --git a/games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch b/games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch deleted file mode 100644 index 33f3eedad1e5..000000000000 --- a/games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch +++ /dev/null @@ -1,35 +0,0 @@ -From b3987b74cc6ff89187b95c692a4aacc13db98564 Mon Sep 17 00:00:00 2001 -From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> -Date: Wed, 9 Sep 2020 20:01:41 +0300 -Subject: [PATCH] Rework adonthell version handling - ---- - configure.ac | 11 +++-------- - 1 file changed, 3 insertions(+), 8 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 76d87bd..fff8268 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -46,15 +46,10 @@ fi - - dnl Checking for the proper version - AC_MSG_CHECKING(for Adonthell's version) --$adonthell_binary -v &> adonthell.ver - --changequote(<<, >>) --adonthell_major_ver=`sed 's/\([0-9]*\)\.[0-9]*\.[0-9]*/\1/p; d' adonthell.ver` --adonthell_minor_ver=`sed 's/[0-9]*\.\([0-9]*\)\.[0-9]*/\1/p; d' adonthell.ver` --adonthell_micro_ver=`sed 's/[0-9]*\.[0-9]*\.\([0-9]*\)/\1/p; d' adonthell.ver` --changequote([, ]) -- --rm -f adonthell.ver -+adonthell_major_ver=$($adonthell_binary -v | cut -d'.' -f1) -+adonthell_minor_ver=$($adonthell_binary -v | cut -d'.' -f2) -+adonthell_micro_ver=$($adonthell_binary -v | cut -d'.' -f3) - - adonthellver="$adonthell_major_ver.$adonthell_minor_ver.$adonthell_micro_ver" - --- -2.26.2 - diff --git a/games-rpg/wastesedge/metadata.xml b/games-rpg/wastesedge/metadata.xml deleted file mode 100644 index 1c3ba213c494..000000000000 --- a/games-rpg/wastesedge/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> -</maintainer> -</pkgmetadata> diff --git a/games-rpg/wastesedge/wastesedge-0.3.8.ebuild b/games-rpg/wastesedge/wastesedge-0.3.8.ebuild deleted file mode 100644 index b010d29884b0..000000000000 --- a/games-rpg/wastesedge/wastesedge-0.3.8.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit autotools python-single-r1 xdg - -DESCRIPTION="Role playing game to showcase the adonthell engine" -HOMEPAGE="http://adonthell.nongnu.org/download/" -SRC_URI="https://savannah.nongnu.org/download/adonthell/${PN}-src-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="nls" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - >=games-rpg/adonthell-0.3.8[${PYTHON_SINGLE_USEDEP}] - nls? ( virtual/libintl )" -BDEPEND="nls? ( sys-devel/gettext )" - -PATCHES=( "${FILESDIR}/${P}_version-handling.patch" ) -DOCS=( AUTHORS ChangeLog NEWS PLAYING README ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - $(use_enable nls) \ - --with-adonthell-binary=adonthell -} diff --git a/games-rpg/xu4/xu4-0.9-r1.ebuild b/games-rpg/xu4/xu4-0.9-r1.ebuild index 744dd0e7d8cd..c0e6e3552f38 100644 --- a/games-rpg/xu4/xu4-0.9-r1.ebuild +++ b/games-rpg/xu4/xu4-0.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -22,6 +22,12 @@ DEPEND="${RDEPEND} S=${WORKDIR}/u4 +PATCHES=( + "${FILESDIR}/${P}-ldflags.patch" + "${FILESDIR}/${PV}-savegame.patch" + "${FILESDIR}/${P}-warnings.patch" +) + src_unpack() { # xu4 will read the data files right out of the zip files # but we want the docs from the original. @@ -34,12 +40,6 @@ src_unpack() { unzip -q ../ultima4.zip || die } -PATCHES=( - "${FILESDIR}/${P}-ldflags.patch" - "${FILESDIR}/${PV}-savegame.patch" - "${FILESDIR}/${P}-warnings.patch" - "${FILESDIR}/${P}-zip.patch" -) src_prepare() { default @@ -49,6 +49,8 @@ src_prepare() { sed -i \ -e 's:-Wall:$(E_CFLAGS):' src/Makefile \ || die + + has_version "<sys-libs/zlib-1.3" && eapply "${FILESDIR}/${P}-zip.patch" } src_compile() { diff --git a/games-rpg/zsdx/Manifest b/games-rpg/zsdx/Manifest index e3748e6db7cf..4c01d44ed7f6 100644 --- a/games-rpg/zsdx/Manifest +++ b/games-rpg/zsdx/Manifest @@ -1 +1 @@ -DIST zsdx-zsdx-1.9.0.tar.gz 20760682 BLAKE2B 7063b7bc34a03c5e1879eaae78d28dcf28ae9799eed2ef2b4422f3fad709234ae6ebb67f641d76df370b27b72eb6f9ed6d611b8bead37b87287637cb28b072cb SHA512 673a7db1dadfae09df23b189b9e18af1182cb731897e4067f47867387c04b21308991116c6f840cb228adee9c459565c2f5e6f1a01e885ea23c00347d4d64540 +DIST zsdx-v1.12.3.tar.gz 21121784 BLAKE2B bc4d72f96b4a77daf72caea12526512565598700c704094b704d7b4713083bc4559e2019e426504f3631b6936b5b87c27ce37f6827a2700ca0a4e4448447ff02 SHA512 9a2a091023ccba0eb78ac16c7559eaf7756550fb81c69c69390f3f8add6b8fab05fefb438bfc66a59436cbec92c588038d014adea98c5748e4ed276c1d8213f1 diff --git a/games-rpg/zsdx/metadata.xml b/games-rpg/zsdx/metadata.xml index 30a5c0997582..498ee40f1e56 100644 --- a/games-rpg/zsdx/metadata.xml +++ b/games-rpg/zsdx/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Games Project</name> </maintainer> <upstream> - <remote-id type="github">christopho/zsdx</remote-id> + <remote-id type="gitlab">solarus-games/zsdx</remote-id> </upstream> </pkgmetadata> diff --git a/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild b/games-rpg/zsdx/zsdx-1.12.3.ebuild index 4b05d8e37e66..e12897b9d848 100644 --- a/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild +++ b/games-rpg/zsdx/zsdx-1.12.3.ebuild @@ -1,32 +1,30 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 CMAKE_MAKEFILE_GENERATOR=emake inherit cmake desktop wrapper xdg DESCRIPTION="Free 2D Zelda fangame" HOMEPAGE="https://www.solarus-games.org/" -SRC_URI="https://gitlab.com/solarus-games/${PN}/-/archive/${PN}-${PV}/${PN}-${PN}-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-${PV}" +SRC_URI="https://gitlab.com/solarus-games/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" -RESTRICT="mirror" +RESTRICT="mirror bindist" RDEPEND=" - >=games-engines/solarus-1.3.0 - <games-engines/solarus-1.4.0 -" -BDEPEND="app-arch/zip" + >=games-engines/solarus-1.6 + <games-engines/solarus-1.7 -DOCS=( ChangeLog readme.txt ) +" -src_prepare() { - cmake_src_prepare -} +BDEPEND=" + app-arch/zip +" src_configure() { local mycmakeargs=( @@ -42,8 +40,8 @@ src_install() { newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png # install proper wrapper script - rm "${ED}"/usr/bin/${PN} || die - make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\"" + rm "${ED}/usr/bin/${PN}" || die + make_wrapper ${PN} "solarus-run \"/usr/share/solarus/${PN}\"" - make_desktop_entry "${PN}" "Zelda: Mystery of Solarus DX" + make_desktop_entry ${PN} "Zelda: Mystery of Solarus DX" } diff --git a/games-rpg/zsxd/Manifest b/games-rpg/zsxd/Manifest index 5e3a5f7c19ab..d86c8e467b5a 100644 --- a/games-rpg/zsxd/Manifest +++ b/games-rpg/zsxd/Manifest @@ -1 +1 @@ -DIST zsxd-zsxd-1.9.0.tar.gz 3690390 BLAKE2B c5b6a671c5b5f8ba702ba23f447c0858aa870730a752761f65092b8e1f4a0879f2877fabf0e52a71be380ff25628f0be94f01f6a02009bfe4f7d1952f50ba5f4 SHA512 a457374adc7a8f4b7872b6f6693051d1499320f4349d55009e581132b62f5eebd6e35cc80c1ac14c5c80b74145fb7ac26b312f3f329df71c36e71d9a38383f05 +DIST zsxd-v1.12.2.tar.gz 4439231 BLAKE2B 1cba628a427cae10e0b08498690b95ef5a60f62531b1b4c7635ccbd561201ff54511b5c32e8e5e3251625e08276466ef2faa81f62eb2b67669cc001b00b7f215 SHA512 434c5f433be6a535c9976175d54d16d39c65d40c3a03199453282bef9a79e3eec71c676cf4a57a621460ff3e5397ec595d0e0dae8dc45afe13d45a5a5f003614 diff --git a/games-rpg/zsxd/metadata.xml b/games-rpg/zsxd/metadata.xml index 66f546caca71..893e083a5fc6 100644 --- a/games-rpg/zsxd/metadata.xml +++ b/games-rpg/zsxd/metadata.xml @@ -6,6 +6,6 @@ <name>Gentoo Games Project</name> </maintainer> <upstream> - <remote-id type="github">christopho/zsxd</remote-id> + <remote-id type="gitlab">solarus-games/zsxd</remote-id> </upstream> </pkgmetadata> diff --git a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild b/games-rpg/zsxd/zsxd-1.12.2.ebuild index ea879c3b692d..245082be2fd8 100644 --- a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild +++ b/games-rpg/zsxd/zsxd-1.12.2.ebuild @@ -1,15 +1,15 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 CMAKE_MAKEFILE_GENERATOR=emake inherit cmake desktop wrapper xdg DESCRIPTION="Free 2D Zelda fangame parody" HOMEPAGE="https://www.solarus-games.org/" -SRC_URI="https://gitlab.com/solarus-games/${PN}/-/archive/${PN}-${PV}/${PN}-${PN}-${PV}.tar.gz" -S="${WORKDIR}/${PN}-${PN}-${PV}" +SRC_URI="https://gitlab.com/solarus-games/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3" SLOT="0" @@ -17,12 +17,13 @@ KEYWORDS="~amd64 ~x86" RESTRICT="mirror bindist" RDEPEND=" - >=games-engines/solarus-1.3.1-r1 - <games-engines/solarus-1.4.0 + >=games-engines/solarus-1.6 + <games-engines/solarus-1.7 " -BDEPEND="app-arch/zip" -DOCS=( ChangeLog readme.txt ) +BDEPEND=" + app-arch/zip +" src_prepare() { cmake_src_prepare @@ -42,8 +43,8 @@ src_install() { newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png # install proper wrapper script - rm "${ED}"/usr/bin/${PN} || die - make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\"" + rm "${ED}/usr/bin/${PN}" || die + make_wrapper ${PN} "solarus-run \"${EPREFIX}/usr/share/solarus/${PN}\"" - make_desktop_entry "${PN}" "Zelda: Mystery of Solarus XD" + make_desktop_entry ${PN} "Zelda: Mystery of Solarus XD" } |