summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/adonthell/Manifest1
-rw-r--r--games-rpg/adonthell/adonthell-0.3.8.ebuild60
-rw-r--r--games-rpg/adonthell/files/adonthell-0.3.8-ar.patch11
-rw-r--r--games-rpg/adonthell/metadata.xml8
-rw-r--r--games-rpg/asphyxia/Manifest1
-rw-r--r--games-rpg/asphyxia/asphyxia-1.0.ebuild42
-rw-r--r--games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild30
-rw-r--r--games-rpg/avadon/metadata.xml2
-rw-r--r--games-rpg/baldurs-gate-ee/Manifest2
-rw-r--r--games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild56
-rw-r--r--games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild6
-rw-r--r--games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.6.6.0.47291-r1.ebuild52
-rw-r--r--games-rpg/baldurs-gate-ee/metadata.xml13
-rw-r--r--games-rpg/bass/bass-1.3-r1.ebuild22
-rw-r--r--games-rpg/bass/bass-1.3-r2.ebuild41
-rw-r--r--games-rpg/bass/bass-1.3.ebuild33
-rw-r--r--games-rpg/bass/metadata.xml2
-rw-r--r--games-rpg/bastion/Manifest2
-rw-r--r--games-rpg/bastion/bastion-20120620-r1.ebuild84
-rw-r--r--games-rpg/bastion/bastion-20161016.ebuild66
-rw-r--r--games-rpg/bastion/metadata.xml2
-rw-r--r--games-rpg/broken-age/broken-age-2.4.800398.ebuild12
-rw-r--r--games-rpg/broken-age/metadata.xml2
-rw-r--r--games-rpg/celeste/Manifest1
-rw-r--r--games-rpg/celeste/celeste-1.4.0.0.ebuild57
-rw-r--r--games-rpg/celeste/metadata.xml (renamed from games-rpg/asphyxia/metadata.xml)2
-rw-r--r--games-rpg/coe2/Manifest1
-rw-r--r--games-rpg/coe2/coe2-2007-r1.ebuild55
-rw-r--r--games-rpg/coe2/metadata.xml23
-rw-r--r--games-rpg/comi/comi-1.ebuild7
-rw-r--r--games-rpg/comi/metadata.xml2
-rw-r--r--games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild (renamed from games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild)16
-rw-r--r--games-rpg/costume-quest/metadata.xml2
-rw-r--r--games-rpg/crosscode-a-new-home/Manifest1
-rw-r--r--games-rpg/crosscode-a-new-home/crosscode-a-new-home-0_p20220419.ebuild35
-rw-r--r--games-rpg/crosscode-a-new-home/metadata.xml (renamed from games-rpg/sakura-spirit/metadata.xml)2
-rw-r--r--games-rpg/crosscode/Manifest1
-rw-r--r--games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild50
-rw-r--r--games-rpg/crosscode/metadata.xml8
-rw-r--r--games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild25
-rw-r--r--games-rpg/daimonin-client/files/daimonin-client-0.10.8-fno-common.patch128
-rw-r--r--games-rpg/daimonin-client/metadata.xml2
-rw-r--r--games-rpg/dear-esther/dear-esther-20130608-r1.ebuild54
-rw-r--r--games-rpg/dear-esther/dear-esther-20130608.ebuild72
-rw-r--r--games-rpg/dear-esther/metadata.xml2
-rw-r--r--games-rpg/deponia-doomsday/Manifest1
-rw-r--r--games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild71
-rw-r--r--games-rpg/deponia-doomsday/metadata.xml11
-rw-r--r--games-rpg/deponia-tcj/deponia-tcj-3.3.0156.ebuild8
-rw-r--r--games-rpg/deponia-tcj/metadata.xml2
-rw-r--r--games-rpg/draci-historie/Manifest1
-rw-r--r--games-rpg/draci-historie/draci-historie-2012-r1.ebuild82
-rw-r--r--games-rpg/draci-historie/metadata.xml2
-rw-r--r--games-rpg/drascula/Manifest2
-rw-r--r--games-rpg/drascula/drascula-1.0-r4.ebuild (renamed from games-rpg/drascula/drascula-1.0-r3.ebuild)57
-rw-r--r--games-rpg/drascula/metadata.xml2
-rw-r--r--games-rpg/dreamweb/dreamweb-1.1-r1.ebuild122
-rw-r--r--games-rpg/dreamweb/metadata.xml2
-rw-r--r--games-rpg/dungeon-defenders/dungeon-defenders-20130305-r1.ebuild68
-rw-r--r--games-rpg/dungeon-defenders/dungeon-defenders-20130305.ebuild101
-rw-r--r--games-rpg/dungeon-defenders/metadata.xml7
-rw-r--r--games-rpg/egoboo/Manifest1
-rw-r--r--games-rpg/egoboo/egoboo-2.8.1-r1.ebuild59
-rw-r--r--games-rpg/egoboo/egoboo-2.8.1-r2.ebuild60
-rw-r--r--games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch21
-rw-r--r--games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch93
-rw-r--r--games-rpg/egoboo/files/egoboo-2.8.1-keyboard-inputs.patch12
-rw-r--r--games-rpg/egoboo/metadata.xml3
-rw-r--r--games-rpg/eschalon-book-1-demo/eschalon-book-1-demo-106-r1.ebuild15
-rw-r--r--games-rpg/eschalon-book-1-demo/metadata.xml2
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.9.5.8.ebuild4
-rw-r--r--games-rpg/eternal-lands/metadata.xml2
-rw-r--r--games-rpg/freedink-data/Manifest3
-rw-r--r--games-rpg/freedink-data/freedink-data-1.08.20140901-r1.ebuild26
-rw-r--r--games-rpg/freedink-data/freedink-data-1.08.20190120.ebuild (renamed from games-rpg/freedink-data/freedink-data-1.08.20170409.ebuild)23
-rw-r--r--games-rpg/freedink-data/metadata.xml5
-rw-r--r--games-rpg/freedink/Manifest2
-rw-r--r--games-rpg/freedink/files/freedink-108.4-no-windres.patch20
-rw-r--r--games-rpg/freedink/files/freedink-109.6-odr.patch14
-rw-r--r--games-rpg/freedink/files/freedink-109.6-sdl.patch20
-rw-r--r--games-rpg/freedink/freedink-108.4-r1.ebuild50
-rw-r--r--games-rpg/freedink/freedink-109.6.ebuild50
-rw-r--r--games-rpg/freedink/metadata.xml5
-rw-r--r--games-rpg/freedroid/Manifest2
-rw-r--r--games-rpg/freedroid/files/freedroid-1.0.2-format.patch29
-rw-r--r--games-rpg/freedroid/freedroid-1.0.2-r1.ebuild36
-rw-r--r--games-rpg/freedroid/freedroid-1.2.1.ebuild41
-rw-r--r--games-rpg/freedroid/metadata.xml3
-rw-r--r--games-rpg/freedroidrpg/Manifest2
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-1.0-AC_INCLUDES_DEFAULT.patch13
-rw-r--r--games-rpg/freedroidrpg/files/freedroidrpg-1.0_rc2-fnocommon.patch49
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-1.0-r1.ebuild73
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild102
-rw-r--r--games-rpg/freedroidrpg/metadata.xml49
-rw-r--r--games-rpg/grimrock/grimrock-20150707.ebuild48
-rw-r--r--games-rpg/grimrock/metadata.xml2
-rw-r--r--games-rpg/gwiz/gwiz-0.8-r1.ebuild33
-rw-r--r--games-rpg/gwiz/metadata.xml2
-rw-r--r--games-rpg/hatoful-boyfriend-holiday-star/hatoful-boyfriend-holiday-star-20151218.ebuild8
-rw-r--r--games-rpg/hatoful-boyfriend-holiday-star/metadata.xml2
-rw-r--r--games-rpg/hatoful-boyfriend/metadata.xml2
-rw-r--r--games-rpg/kqlives/kqlives-0.99-r100.ebuild (renamed from games-rpg/kqlives/kqlives-0.99-r2.ebuild)18
-rw-r--r--games-rpg/kqlives/metadata.xml2
-rw-r--r--games-rpg/lure/lure-1.1-r1.ebuild122
-rw-r--r--games-rpg/lure/metadata.xml2
-rw-r--r--games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch26
-rw-r--r--games-rpg/manaplus/files/manaplus-1.9.3.23-gcc13.patch37
-rw-r--r--games-rpg/manaplus/files/manaplus-1.9.3.23-metainfo.patch38
-rw-r--r--games-rpg/manaplus/manaplus-1.9.3.23-r1.ebuild59
-rw-r--r--games-rpg/manaplus/manaplus-9999.ebuild12
-rw-r--r--games-rpg/manaplus/metadata.xml2
-rw-r--r--games-rpg/metadata.xml3
-rw-r--r--games-rpg/openglad/Manifest2
-rw-r--r--games-rpg/openglad/files/0.98-gladpack.c.patch13
-rw-r--r--games-rpg/openglad/files/openglad-0.98-gcc43.patch11
-rw-r--r--games-rpg/openglad/files/openglad-0.98-ovfl.patch11
-rw-r--r--games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch10
-rw-r--r--games-rpg/openglad/metadata.xml3
-rw-r--r--games-rpg/openglad/openglad-0.98-r1.ebuild42
-rw-r--r--games-rpg/openglad/openglad-0.98_p20200907.ebuild87
-rw-r--r--games-rpg/pcgen/Manifest2
-rw-r--r--games-rpg/pcgen/metadata.xml3
-rw-r--r--games-rpg/pcgen/pcgen-6.04.01-r1.ebuild46
-rw-r--r--games-rpg/pcgen/pcgen-6.06.01.ebuild37
-rw-r--r--games-rpg/pokete/Manifest1
-rw-r--r--games-rpg/pokete/metadata.xml11
-rw-r--r--games-rpg/pokete/pokete-0.7.3.ebuild46
-rw-r--r--games-rpg/queen/metadata.xml2
-rw-r--r--games-rpg/queen/queen-1-r1.ebuild7
-rw-r--r--games-rpg/rpg-cli/Manifest65
-rw-r--r--games-rpg/rpg-cli/files/getrandom-0.2.3-open64.patch27
-rw-r--r--games-rpg/rpg-cli/metadata.xml19
-rw-r--r--games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild100
-rw-r--r--games-rpg/sakura-spirit/Manifest1
-rw-r--r--games-rpg/sakura-spirit/sakura-spirit-0.ebuild41
-rw-r--r--games-rpg/silence/Manifest1
-rw-r--r--games-rpg/silence/metadata.xml8
-rw-r--r--games-rpg/silence/silence-1.2.20280.ebuild93
-rw-r--r--games-rpg/soltys/metadata.xml2
-rw-r--r--games-rpg/soltys/soltys-1.0-r2.ebuild79
-rw-r--r--games-rpg/sumwars/Manifest1
-rw-r--r--games-rpg/sumwars/metadata.xml16
-rw-r--r--games-rpg/sumwars/sumwars-0.5.8-r1.ebuild95
-rw-r--r--games-rpg/the-longest-journey-hd-fmv/Manifest1
-rw-r--r--games-rpg/the-longest-journey-hd-fmv/metadata.xml8
-rw-r--r--games-rpg/the-longest-journey-hd-fmv/the-longest-journey-hd-fmv-1.1.ebuild37
-rw-r--r--games-rpg/the-longest-journey-hd/Manifest1
-rw-r--r--games-rpg/the-longest-journey-hd/metadata.xml8
-rw-r--r--games-rpg/the-longest-journey-hd/the-longest-journey-hd-1.02.ebuild38
-rw-r--r--games-rpg/the-longest-journey/Manifest2
-rw-r--r--games-rpg/the-longest-journey/metadata.xml12
-rw-r--r--games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild62
-rw-r--r--games-rpg/the-royal-trap/Manifest1
-rw-r--r--games-rpg/the-royal-trap/metadata.xml18
-rw-r--r--games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild41
-rw-r--r--games-rpg/to-the-moon/metadata.xml2
-rw-r--r--games-rpg/to-the-moon/to-the-moon-0-r2.ebuild (renamed from games-rpg/to-the-moon/to-the-moon-0.ebuild)72
-rw-r--r--games-rpg/twclone/Manifest1
-rw-r--r--games-rpg/twclone/files/twclone-0.14-format.patch75
-rw-r--r--games-rpg/twclone/metadata.xml18
-rw-r--r--games-rpg/twclone/twclone-0.14-r1.ebuild29
-rw-r--r--games-rpg/vendetta-online-bin/metadata.xml2
-rw-r--r--games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r2.ebuild (renamed from games-rpg/vendetta-online-bin/vendetta-online-bin-1.8.296-r1.ebuild)40
-rw-r--r--games-rpg/wasteland2/metadata.xml2
-rw-r--r--games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild65
-rw-r--r--games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild85
-rw-r--r--games-rpg/wastesedge/Manifest1
-rw-r--r--games-rpg/wastesedge/files/wastesedge-0.3.8_version-handling.patch35
-rw-r--r--games-rpg/wastesedge/metadata.xml8
-rw-r--r--games-rpg/wastesedge/wastesedge-0.3.8.ebuild38
-rw-r--r--games-rpg/xu4/metadata.xml2
-rw-r--r--games-rpg/xu4/xu4-0.9-r1.ebuild23
-rw-r--r--games-rpg/zsdx/Manifest2
-rw-r--r--games-rpg/zsdx/metadata.xml4
-rw-r--r--games-rpg/zsdx/zsdx-1.12.3.ebuild47
-rw-r--r--games-rpg/zsdx/zsdx-1.9.0-r1.ebuild53
-rw-r--r--games-rpg/zsxd/Manifest2
-rw-r--r--games-rpg/zsxd/metadata.xml4
-rw-r--r--games-rpg/zsxd/zsxd-1.12.2.ebuild50
-rw-r--r--games-rpg/zsxd/zsxd-1.9.0-r1.ebuild58
180 files changed, 2378 insertions, 2393 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 5407912c96c2..000000000000
--- a/games-rpg/adonthell/adonthell-0.3.8.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-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"
-)
-
-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/metadata.xml b/games-rpg/adonthell/metadata.xml
deleted file mode 100644
index 78274e0fa550..000000000000
--- a/games-rpg/adonthell/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/games-rpg/asphyxia/Manifest b/games-rpg/asphyxia/Manifest
deleted file mode 100644
index 1f23fd2c07ed..000000000000
--- a/games-rpg/asphyxia/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Asphyxia-1.0-linux.tar 282880294 BLAKE2B cb27797413238c2e828232d46626889379ee8e9b10bc224812215e811927f50d640d520a3c399d3b58da12a5d6e6957020f89c70629c037f5334e8dca8706ba5 SHA512 9e28fe4b961a03b89b717589d7ba223374dfa12710a1f101b61c913a50dc750a6c2c8733d9b312001c92b6eeb58903028eec8e7a0b62de3f52f56eef6971e07e
diff --git a/games-rpg/asphyxia/asphyxia-1.0.ebuild b/games-rpg/asphyxia/asphyxia-1.0.ebuild
deleted file mode 100644
index 190c2288b4e7..000000000000
--- a/games-rpg/asphyxia/asphyxia-1.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop eutils xdg-utils
-
-RENPY_SLOT="6.99"
-MY_PN="Asphyxia"
-
-DESCRIPTION="Visual novel where the main character has one day to make peace with her friend"
-HOMEPAGE="https://ebihime.itch.io/asphyxia"
-SRC_URI="${MY_PN}-${PV}-linux.tar"
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="bindist fetch"
-
-RDEPEND="games-engines/renpy:${RENPY_SLOT}"
-
-S="${WORKDIR}/${MY_PN}-${PV}-linux"
-
-pkg_nofetch() {
- einfo "If you have ${SRC_URI} as distributed by Humble Bundle then move"
- einfo "it to your distfiles directory. If you have some other version then"
- einfo "please contact the Gentoo Games team."
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins -r game/*
-
- make_wrapper ${PN} "renpy-${RENPY_SLOT} '${EPREFIX}/usr/share/${PN}'"
- newicon -s 48 icon.png ${PN}.png
- make_desktop_entry ${PN} "${MY_PN}"
-
- docinto html
- dodoc README.html
-}
-
-pkg_postinst() { xdg_icon_cache_update; }
-pkg_postrm() { xdg_icon_cache_update; }
diff --git a/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild b/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild
index 4a9ff4f3cecd..794827ce5ff1 100644
--- a/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild
+++ b/games-rpg/avadon/avadon-1.0.4_p1331768904.ebuild
@@ -1,26 +1,26 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit desktop gnome2-utils unpacker
+inherit desktop unpacker
DESCRIPTION="Epic fantasy role-playing adventure in an enormous and unique world"
HOMEPAGE="https://www.spiderwebsoftware.com/avadon"
SRC_URI="avadon-linux-${PV#*_p}-bin.txt" # .txt is odd but that's what Humble Bundle sends.
+S="${WORKDIR}/data"
+
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="fetch bindist"
+RESTRICT="bindist fetch"
QA_PREBUILT="opt/${PN}/Avadon"
-RDEPEND="media-libs/libsdl[opengl,video]
+RDEPEND="
+ media-libs/libsdl[opengl,video]
media-libs/openal"
-
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}/data"
+BDEPEND="app-arch/unzip"
pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
@@ -35,19 +35,15 @@ src_unpack() {
src_install() {
local dir=/opt/${PN}
- insinto "${dir}"
+ insinto ${dir}
doins -r "avadon files" icon.bmp
- exeinto "${dir}"
+ exeinto ${dir}
newexe Avadon-$(usex amd64 amd64 x86) Avadon
- dosym "../..${dir}"/Avadon /usr/bin/${PN}
+ dosym ../..${dir}/Avadon /usr/bin/${PN}
- newicon -s 512 Avadon.png ${PN}.png
+ newicon Avadon.png ${PN}.png
make_desktop_entry ${PN} "Avadon: The Black Fortress"
dodoc README-linux.txt
}
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/games-rpg/avadon/metadata.xml b/games-rpg/avadon/metadata.xml
index 3c186688e265..9de68a7b7983 100644
--- a/games-rpg/avadon/metadata.xml
+++ b/games-rpg/avadon/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
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 db0585c3d93b..000000000000
--- a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.3.67.3-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils unpacker
-
-DESCRIPTION="Baldur's Gate: Enhanced Edition"
-HOMEPAGE="https://www.baldursgate.com/"
-SRC_URI="gog_baldur_s_gate_enhanced_edition_2.5.0.9.sh"
-
-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"
-
-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 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.5.23121.ebuild b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild
index 46669623b8ff..54dbbe7d27ed 100644
--- a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild
+++ b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit desktop eutils unpacker
+inherit desktop unpacker wrapper
DESCRIPTION="Baldur's Gate: Enhanced Edition"
HOMEPAGE="https://www.baldursgate.com/"
@@ -14,12 +14,12 @@ SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
RESTRICT="bindist fetch"
-DEPEND="app-arch/unzip"
RDEPEND="dev-libs/expat
dev-libs/openssl:0
media-libs/openal
virtual/opengl
x11-libs/libX11"
+BDEPEND="app-arch/unzip"
QA_PRESTRIPPED="/opt/${PN}/BaldursGate\(64\)\?"
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 09145c6cdfdd..2ff87d46c74f 100644
--- a/games-rpg/baldurs-gate-ee/metadata.xml
+++ b/games-rpg/baldurs-gate-ee/metadata.xml
@@ -1,14 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>sir.suriv@gmail.com</email>
- <name>Diogo Pereira</name>
- </maintainer>
- <maintainer type="project">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
+ <!-- maintainer-needed -->
<longdescription lang="en">
Baldur's Gate: Enhanced Edition is a remake of the role-playing video
game Baldur's Gate. It takes place in the Forgotten Realms, a high
@@ -16,6 +9,6 @@
Dungeons &amp; Dragons (AD&amp;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-r1.ebuild b/games-rpg/bass/bass-1.3-r1.ebuild
index 57359be0e1bf..4c3c378b760e 100644
--- a/games-rpg/bass/bass-1.3-r1.ebuild
+++ b/games-rpg/bass/bass-1.3-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit desktop eutils
+EAPI=7
+
+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"
@@ -11,29 +12,26 @@ 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"
-IUSE=""
RDEPEND=">=games-engines/scummvm-0.5.0"
-DEPEND="${RDEPEND}
- app-arch/unzip
-"
-
-S="${WORKDIR}/"
+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
+ mv bass-cd-"${CD_VERSION}"/readme.txt readme-cd.txt || die
doins -r bass-cd-"${CD_VERSION}"/
- make_wrapper bass "scummvm -f -p \"/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" .
- make_wrapper bass-cd "scummvm -f -p \"/usr/share/${PN}/bass-cd-${CD_VERSION}\" -q\$(scummvmGetLang.sh) sky" .
+ make_wrapper bass "scummvm -f -p \"${EPREFIX}/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" .
+ make_wrapper bass-cd "scummvm -f -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)"
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/bass/bass-1.3.ebuild b/games-rpg/bass/bass-1.3.ebuild
deleted file mode 100644
index 4ca16f0ae141..000000000000
--- a/games-rpg/bass/bass-1.3.ebuild
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit desktop eutils
-
-DESCRIPTION="Beneath a Steel Sky: a SciFi thriller set in a bleak vision of the future"
-#HOMEPAGE="http://www.revgames.com/_display.php?id=16"
-HOMEPAGE="https://en.wikipedia.org/wiki/Beneath_a_Steel_Sky"
-SRC_URI="http://downloads.sourceforge.net/scummvm/BASS-Floppy-${PV}.zip
- mirror://gentoo/${PN}.png"
-
-LICENSE="bass"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND=">=games-engines/scummvm-0.5.0"
-DEPEND="${RDEPEND}
- app-arch/unzip
-"
-
-S="${WORKDIR}/"
-
-src_install() {
- make_wrapper bass "scummvm -f -p \"/usr/share/${PN}\" -q\$(scummvmGetLang.sh) sky" .
- dobin "${FILESDIR}"/scummvmGetLang.sh
- insinto /usr/share/${PN}
- doins sky.*
- dodoc readme.txt
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} "Beneath a Steel Sky"
-}
diff --git a/games-rpg/bass/metadata.xml b/games-rpg/bass/metadata.xml
index 801e2cc48963..e6b8e4e911e0 100644
--- a/games-rpg/bass/metadata.xml
+++ b/games-rpg/bass/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/bastion/Manifest b/games-rpg/bastion/Manifest
index 9f243c6c8d5f..9e98898b8f69 100644
--- a/games-rpg/bastion/Manifest
+++ b/games-rpg/bastion/Manifest
@@ -1 +1 @@
-DIST Bastion-HIB-2012-06-20.sh 1055161705 BLAKE2B 615ff88a3fab37aa70e60d1e692cb0b6a1e03dd90bf6294c65a134cbceb4d59675c341c4fca0b4e08ebda24007df727f09c31adfbe2f5f0e97d8e3b9010af4e1 SHA512 e81b5dfa6f61ec2b35b30693c156a612cd3242c2169f4414b6d66839b7d8cc2e6ea8776f55baae67fa8131ee96bc221e1a15004410612eecaa9f7204dcc673ad
+DIST bastion-10162016-bin 1080484945 BLAKE2B 0f755c54ff975afbb3ee087990849831fd405ddbe8ce83a062ba70d25ca6cbe69c9baf2535e8b1892fbbf4375830a3c7fe1ae7eb247d1ed3e46e2b10330270ca SHA512 108e181ad2a9a7eaedc84700f9399fd32d221259eea5200a41dfe21663cf6d3ac8ebd0c168095a7b9f6e71b953cc45203874bb4d32d319ee3547c99da924c8bc
diff --git a/games-rpg/bastion/bastion-20120620-r1.ebuild b/games-rpg/bastion/bastion-20120620-r1.ebuild
deleted file mode 100644
index e35826a5faa6..000000000000
--- a/games-rpg/bastion/bastion-20120620-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils gnome2-utils check-reqs unpacker games
-
-TIMESTAMP=${PV:0:4}-${PV:4:2}-${PV:6:2}
-DESCRIPTION="An original action role-playing game set in a lush imaginative world"
-HOMEPAGE="https://supergiantgames.com/games/bastion/"
-SRC_URI="Bastion-HIB-${TIMESTAMP}.sh"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="bindist fetch splitdebug"
-
-MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${MYGAMEDIR#/}/Bastion.bin*
- ${MYGAMEDIR#/}/lib/*
- ${MYGAMEDIR#/}/lib64/*"
-
-# mono shit: vague dependencies
-RDEPEND="
- virtual/opengl
- media-libs/freealut
- media-libs/openal
- media-libs/sdl-gfx
- media-libs/sdl-image
- media-libs/sdl-mixer
- media-libs/sdl-net
- media-libs/sdl-ttf
- media-libs/smpeg
- x11-libs/libX11
- x11-libs/libXft"
-
-CHECKREQS_DISK_BUILD="2400M"
-
-pkg_nofetch() {
- einfo "Please buy & download ${SRC_URI} from:"
- einfo " ${HOMEPAGE}"
- einfo "and move it to your DISTDIR directory."
-}
-
-src_unpack() {
- myarch=$(usex amd64 "x86_64" "x86")
-
- unpack_makeself
-
- mv instarchive_all{,.tar.lzma} || die
- mv instarchive_linux_${myarch}{,.tar.lzma} || die
-
- mkdir ${P} || die
- cd ${P} || die
-
- unpack ./../instarchive_{all,linux_${myarch}}.tar.lzma
-}
-
-src_install() {
- insinto "${MYGAMEDIR}"
- doins -r *
-
- newicon -s 256 Bastion.png ${PN}.png
- make_desktop_entry ${PN}
- games_make_wrapper ${PN} "./Bastion.bin.${myarch}" "${MYGAMEDIR}" "${MYGAMEDIR}/$(get_libdir)"
-
- fperms +x "${MYGAMEDIR}"/Bastion.bin.${myarch}
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
-
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-rpg/bastion/bastion-20161016.ebuild b/games-rpg/bastion/bastion-20161016.ebuild
new file mode 100644
index 000000000000..ecf7ae32af18
--- /dev/null
+++ b/games-rpg/bastion/bastion-20161016.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHECKREQS_DISK_BUILD="2400M"
+inherit desktop check-reqs unpacker wrapper xdg
+
+TIMESTAMP=${PV:4:2}${PV:6:2}${PV:0:4}
+DESCRIPTION="An original action role-playing game set in a lush imaginative world"
+HOMEPAGE="https://supergiantgames.com/games/bastion/"
+SRC_URI="bastion-${TIMESTAMP}-bin"
+S="${WORKDIR}/data"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+# Being a Mono-based game, it is tricky to determine the precise
+# dependencies. These were found by trial and error.
+RDEPEND="
+ media-libs/libsdl2[joystick,opengl,sound,video]
+ media-libs/libvorbis
+"
+BDEPEND="
+ app-arch/unzip
+"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " https://www.humblebundle.com/store/${PN}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_prepare() {
+ default
+ rm -v lib*/libSDL2-2.0.so.0 || die
+}
+
+src_install() {
+ local \
+ arch=$(usex amd64 x86_64 x86) \
+ libdir=lib$(usex amd64 64 "")
+
+ insinto "${DIR}"
+ doins -r *.dll* Bastion.exe steam_appid.txt Content/ mono/
+
+ exeinto "${DIR}"
+ doexe Bastion.bin.${arch}
+
+ exeinto "${DIR}"/${libdir}
+ doexe ${libdir}/*.so*
+
+ dodoc Linux.README
+
+ make_wrapper ${PN} "env -u TERM \"${EPREFIX}${DIR}/Bastion.bin.${arch}\""
+ make_desktop_entry ${PN} Bastion applications-games
+}
diff --git a/games-rpg/bastion/metadata.xml b/games-rpg/bastion/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/bastion/metadata.xml
+++ b/games-rpg/bastion/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/broken-age/broken-age-2.4.800398.ebuild b/games-rpg/broken-age/broken-age-2.4.800398.ebuild
index fed3b2fba16a..ea5d444b8f94 100644
--- a/games-rpg/broken-age/broken-age-2.4.800398.ebuild
+++ b/games-rpg/broken-age/broken-age-2.4.800398.ebuild
@@ -1,14 +1,16 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils desktop xdg
+inherit desktop wrapper xdg
MY_PN="BrokenAge"
-DESCRIPTION="A point-and-click adventure from Tim Schafer's Double Fine Productions"
+DESCRIPTION="Point-and-click adventure from Tim Schafer's Double Fine Productions"
HOMEPAGE="http://www.brokenagegame.com"
SRC_URI="${MY_PN}_linux.tar.gz"
+S="${WORKDIR}"
+
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
@@ -19,10 +21,8 @@ RDEPEND="
virtual/opengl[abi_x86_32]
"
-S="${WORKDIR}"
-
DIR="/opt/${PN}"
-QA_PREBUILT="${DIR}/*"
+QA_PREBUILT="${DIR#/}/*"
pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
diff --git a/games-rpg/broken-age/metadata.xml b/games-rpg/broken-age/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/broken-age/metadata.xml
+++ b/games-rpg/broken-age/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/celeste/Manifest b/games-rpg/celeste/Manifest
new file mode 100644
index 000000000000..6e998046f289
--- /dev/null
+++ b/games-rpg/celeste/Manifest
@@ -0,0 +1 @@
+DIST celeste-linux.zip 887889393 BLAKE2B 2b253db8b2b3e9a8977d2a5a8c235856be89a2e894c6e790b05ae1210a2edde38cdda89c94d8e8c6be0682ec4ba413353d296b4e6386d73b4cca37d0a16512f7 SHA512 a2ea4483ceba166a210b90237bbebc455528c3c39b85e1f6134f9360d81dde750e2d719e8c0d0c938770b2d96b8da990953ff226d9f4a7d4dcc08e20d4a345c9
diff --git a/games-rpg/celeste/celeste-1.4.0.0.ebuild b/games-rpg/celeste/celeste-1.4.0.0.ebuild
new file mode 100644
index 000000000000..9228f4c91be6
--- /dev/null
+++ b/games-rpg/celeste/celeste-1.4.0.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="1200M"
+inherit desktop check-reqs xdg
+
+DESCRIPTION="Narrative-driven, single-player adventure like mom used to make"
+HOMEPAGE="https://mattmakesgames.itch.io/celeste"
+SRC_URI="${PN}-linux.zip"
+S="${WORKDIR}"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+RDEPEND="media-libs/libsdl2[joystick,opengl,sound,video]"
+BDEPEND="app-arch/unzip"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+ default
+ rm -v \
+ lib*/libSDL2-2.0.so.0 \
+ lib*/libSDL2_image-2.0.so.0 \
+ lib*/libpng15.so.15 \
+ || die
+}
+
+src_install() {
+ local \
+ arch=$(usex amd64 x86_64 x86) \
+ libdir=lib$(usex amd64 64 "")
+
+ insinto "${DIR}"
+ doins -r *.dll* Celeste.exe* Celeste*.pdb Content/ mono*
+
+ exeinto "${DIR}"
+ doexe Celeste.bin.${arch}
+
+ exeinto "${DIR}"/${libdir}
+ doexe ${libdir}/*.so*
+
+ newicon -s 512 Celeste.png ${PN}.png
+ dosym "../..${DIR}/Celeste.bin.${arch}" /usr/bin/${PN}
+ make_desktop_entry ${PN} Celeste
+}
diff --git a/games-rpg/asphyxia/metadata.xml b/games-rpg/celeste/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/asphyxia/metadata.xml
+++ b/games-rpg/celeste/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
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-r1.ebuild b/games-rpg/coe2/coe2-2007-r1.ebuild
deleted file mode 100644
index 99a3f1b823f2..000000000000
--- a/games-rpg/coe2/coe2-2007-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils games
-
-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"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-RDEPEND="media-libs/libsdl[sound,video]"
-DEPEND="${RDEPEND}
- app-arch/unzip"
-
-S=${WORKDIR}/coe
-
-# bug #430026
-QA_PREBUILT="${GAMES_PREFIX_OPT}/coe2/coe_linux"
-
-src_prepare() {
- rm -r *.{dll,exe} old || die
- if use amd64 ; then
- mv -f coe_linux64bit coe_linux || die
- fi
-}
-
-src_install() {
- insinto "${GAMES_PREFIX_OPT}/${PN}"
- doins *.{bgm,smp,trp,trs,wrl}
- dodoc history.txt manual.txt readme.txt
- exeinto "${GAMES_PREFIX_OPT}/${PN}"
- doexe coe_linux
-
- games_make_wrapper ${PN} "./coe_linux" "${GAMES_PREFIX_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 f slot state_dir=${GAMES_STATEDIR}/${PN}
- dodir "${state_dir}"
- for slot in {0..4} ; do
- f=save${slot}
- dosym "${state_dir}/save${slot}" "${GAMES_PREFIX_OPT}/${PN}/${f}"
- echo "empty slot ${slot}" > "${D}${state_dir}/${f}" || die
- fperms 660 "${state_dir}/${f}"
- done
-
- prepgamesdirs
-}
diff --git a/games-rpg/coe2/metadata.xml b/games-rpg/coe2/metadata.xml
deleted file mode 100644
index 59ce22e6b4f8..000000000000
--- a/games-rpg/coe2/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-<longdescription lang="en">
-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/comi/comi-1.ebuild b/games-rpg/comi/comi-1.ebuild
index 91a25419df7f..010c9faf988d 100644
--- a/games-rpg/comi/comi-1.ebuild
+++ b/games-rpg/comi/comi-1.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit cdrom estack eutils xdg
+inherit cdrom estack desktop wrapper xdg
DESCRIPTION="The Curse of Monkey Island, the third game in the series"
HOMEPAGE="https://en.wikipedia.org/wiki/The_Curse_of_Monkey_Island"
SRC_URI="https://dev.gentoo.org/~chewi/distfiles/${PN}.jpg"
-LICENSE="${PN}"
+
+LICENSE="comi"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
diff --git a/games-rpg/comi/metadata.xml b/games-rpg/comi/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/comi/metadata.xml
+++ b/games-rpg/comi/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild b/games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild
index e6e61a06ac24..021bee51a35f 100644
--- a/games-rpg/costume-quest/costume-quest-2.0.0.3.ebuild
+++ b/games-rpg/costume-quest/costume-quest-2.0.0.3-r1.ebuild
@@ -1,13 +1,14 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-inherit desktop unpacker xdg-utils
+inherit desktop unpacker xdg
DESCRIPTION="A Halloween adventure from Tim Schafer's Double Fine Productions"
HOMEPAGE="https://www.doublefine.com"
SRC_URI="gog_${PN//-/_}_${PV}.sh"
+S="${WORKDIR}/data/noarch/game"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
@@ -15,13 +16,11 @@ RESTRICT="bindist fetch splitdebug"
RDEPEND="
media-libs/glu[abi_x86_32]
- media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads,video]
+ media-libs/libglvnd[abi_x86_32,X]
+ media-libs/libsdl2[abi_x86_32,joystick,opengl,sound,threads(+),video]
sys-libs/zlib[abi_x86_32]
- virtual/opengl[abi_x86_32]
"
-S="${WORKDIR}/data/noarch/game"
-
DIR="/opt/${PN}"
QA_PREBUILT="${DIR}/*"
@@ -56,6 +55,3 @@ src_install() {
newicon -s 256 CostumeQuest.png ${PN}.png
make_desktop_entry ${PN} "Costume Quest"
}
-
-pkg_postinst() { xdg_icon_cache_update; }
-pkg_postrm() { xdg_icon_cache_update; }
diff --git a/games-rpg/costume-quest/metadata.xml b/games-rpg/costume-quest/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/costume-quest/metadata.xml
+++ b/games-rpg/costume-quest/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
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/sakura-spirit/metadata.xml b/games-rpg/crosscode-a-new-home/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/sakura-spirit/metadata.xml
+++ b/games-rpg/crosscode-a-new-home/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/crosscode/Manifest b/games-rpg/crosscode/Manifest
new file mode 100644
index 000000000000..8337be932538
--- /dev/null
+++ b/games-rpg/crosscode/Manifest
@@ -0,0 +1 @@
+DIST crosscode-new-linux64.zip 562371683 BLAKE2B b964b716e1e28a7e479452aad93c6ce85600cb65bea6bde237aa625d2352dd34861b9b70a0c440a8619fa58a24655daeef01d0fb61301a18d731167e591e4048 SHA512 8294628d93c6e8d339b11010abfd57877b21a0c6b3a30eb877c9174f019ccff9076763970fc46bc46fd14d48292f01da41c7e47b7edad370751986c765ac5b84
diff --git a/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild b/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild
new file mode 100644
index 000000000000..b37a1d0cb29d
--- /dev/null
+++ b/games-rpg/crosscode/crosscode-1.4.2.2-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="767M"
+inherit check-reqs desktop wrapper xdg
+
+DESCRIPTION="Retro-inspired 2D Action RPG with a sci-fi story"
+HOMEPAGE="https://radicalfishgames.itch.io/crosscode"
+SRC_URI="crosscode-new-linux64.zip"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist fetch splitdebug"
+
+RDEPEND="
+ >=dev-libs/nwjs-0.63.0
+"
+
+BDEPEND="
+ app-arch/unzip
+"
+
+S="${WORKDIR}"
+DIR="/usr/share/${PN}"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+ default
+
+ # Greenworks is only needed under Steam.
+ rm -r assets/modules/ || die
+}
+
+src_install() {
+ insinto "${DIR}"
+ doins -r assets/ favicon.png natives_blob.bin package.json
+
+ newicon assets/media/face/lore/lea.png ${PN}.png
+ # --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/crosscode/metadata.xml b/games-rpg/crosscode/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/games-rpg/crosscode/metadata.xml
@@ -0,0 +1,8 @@
+<?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/daimonin-client/daimonin-client-0.10.8.ebuild b/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild
index 3ee1bd720d75..1bb8ce99414a 100644
--- a/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild
+++ b/games-rpg/daimonin-client/daimonin-client-0.10.8.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit autotools eutils
+inherit autotools desktop
-DESCRIPTION="A graphical 2D tile-based MMORPG"
-HOMEPAGE="http://daimonin.sourceforge.net/"
-SRC_URI="https://dev.gentoo.org/~soap/distfiles/${P}.zip
- music? ( mirror://sourceforge/daimonin/daimoninMusicLQ20100827.zip )"
+DESCRIPTION="Graphical 2D tile-based MMORPG"
+HOMEPAGE="https://daimonin.sourceforge.net/"
+SRC_URI="
+ https://dev.gentoo.org/~soap/distfiles/${P}.zip
+ music? ( https://downloads.sourceforge.net/daimonin/daimoninMusicLQ20100827.zip )"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug music"
@@ -22,10 +23,10 @@ RDEPEND="
media-libs/sdl-mixer[vorbis]
net-misc/curl
sys-libs/zlib:="
-DEPEND="${RDEPEND}
- app-arch/unzip"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/unzip"
-S=${WORKDIR}/daimonin-code-8183-trunk/client/make/linux
+S="${WORKDIR}/daimonin-code-8183-trunk/client/make/linux"
src_unpack() {
unpack ${P}.zip
@@ -42,6 +43,7 @@ src_prepare() {
pushd ../../src >/dev/null || die
eapply "${FILESDIR}"/${PN}-0.10.5-datadir.patch
+ eapply "${FILESDIR}"/${PN}-0.10.8-fno-common.patch
popd >/dev/null || die
eapply_user
@@ -64,6 +66,7 @@ src_install() {
cd ../.. || die
dodoc README*
+
newicon bitmaps/pentagram.png "daimonin.png"
make_desktop_entry "daimonin" "Daimonin" "daimonin" "Game;Amusement"
}
diff --git a/games-rpg/daimonin-client/files/daimonin-client-0.10.8-fno-common.patch b/games-rpg/daimonin-client/files/daimonin-client-0.10.8-fno-common.patch
new file mode 100644
index 000000000000..d4369e5f3fbe
--- /dev/null
+++ b/games-rpg/daimonin-client/files/daimonin-client-0.10.8-fno-common.patch
@@ -0,0 +1,128 @@
+--- a/dialog.c
++++ b/dialog.c
+@@ -581,7 +581,7 @@
+ /******************************************************************
+ draws all options for the actual page.
+ ******************************************************************/
+-inline void optwin_draw_options(int x, int y)
++void optwin_draw_options(int x, int y)
+ {
+ #define LEN_NAME 111
+ int i = -1, pos = 0, max = 0;
+--- a/include/main.h
++++ b/include/main.h
+@@ -118,7 +118,7 @@
+ }
+ _bmaptype_table;
+
+-_bmaptype_table bmaptype_table[BMAPTABLE];
++extern _bmaptype_table bmaptype_table[BMAPTABLE];
+
+ extern int bmaptype_table_size;
+
+@@ -306,7 +306,7 @@
+ double killhour;
+ } _statometer;
+
+-struct statometer statometer;
++extern struct statometer statometer;
+
+ extern time_t sleeptime;
+
+--- a/include/map.h
++++ b/include/map.h
+@@ -70,7 +70,7 @@
+ }
+ _mapdata;
+
+-struct MapCell
++typedef struct MapCell
+ {
+ short faces[MAXFACES];
+ short pos[MAXFACES];
+@@ -85,7 +85,7 @@
+ }
+ MapCell;
+
+-struct Map
++typedef struct Map
+ {
+ struct MapCell cells[MAP_MAX_SIZE][MAP_MAX_SIZE];
+ }
+--- a/include/menu.h
++++ b/include/menu.h
+@@ -41,15 +41,15 @@
+ #define MENU_ALL (MENU_NO & MENU_KEYBIND & MENU_SPELL & MENU_STATUS & MENU_OPTION & MENU_NPC & MENU_BOOK & MENU_QUEST)
+
+ #define MENU_SOUND_VOL 40
+-struct _skill_list skill_list[SKILL_LIST_MAX];
++extern struct _skill_list skill_list[SKILL_LIST_MAX];
+ extern _dialog_list_set skill_list_set;
+
+-struct _spell_list spell_list[SPELL_LIST_MAX]; /* skill list entries */
++extern struct _spell_list spell_list[SPELL_LIST_MAX]; /* skill list entries */
+ extern _dialog_list_set spell_list_set;
+
+ extern _dialog_list_set option_list_set;
+
+-struct _bindkey_list bindkey_list[BINDKEY_LIST_MAX];
++extern struct _bindkey_list bindkey_list[BINDKEY_LIST_MAX];
+ extern _dialog_list_set bindkey_list_set;
+
+ extern _dialog_list_set create_list_set;
+--- a/include/wrapper.h
++++ b/include/wrapper.h
+@@ -118,7 +118,7 @@
+ extern int parse_metaserver_data(char *info);
+
+ #if defined( __WIN_32) || defined(__LINUX)
+- FILE *msglog;
++ extern FILE *msglog;
+ #endif
+
+ #if defined(HAVE_STRNICMP)
+--- a/main.c
++++ b/main.c
+@@ -24,6 +24,10 @@
+ #include <include.h>
+ #include <signal.h>
+
++_bmaptype_table bmaptype_table[BMAPTABLE];
++
++struct statometer statometer;
++
+ Account account; /* account data of this player, received from the server */
+
+ _server_char *first_server_char = NULL; /* list of possible chars/race with setup when we want create a char */
+@@ -33,7 +37,7 @@
+ SDL_Surface *ScreenSurfaceMap; /* THE map surface (backbuffer)*/
+ SDL_Surface *zoomed = NULL;
+ struct sockaddr_in insock; /* Server's attributes */
+-ClientSocket csocket;
++extern ClientSocket csocket;
+ int SocketStatusErrorNr; /* if an socket error, this is it */
+
+ _login_step LoginInputStep;
+--- a/menu.c
++++ b/menu.c
+@@ -29,6 +29,7 @@
+
+ struct _spell_list spell_list[SPELL_LIST_MAX]; /* skill list entries */
+ struct _skill_list skill_list[SKILL_LIST_MAX]; /* skill list entries */
++struct _bindkey_list bindkey_list[BINDKEY_LIST_MAX];
+
+ struct _dialog_list_set spell_list_set;
+ struct _dialog_list_set skill_list_set;
+--- a/wrapper.c
++++ b/wrapper.c
+@@ -22,6 +22,10 @@
+ */
+ #include <include.h>
+
++#if defined( __WIN_32) || defined(__LINUX)
++ FILE *msglog;
++#endif
++
+ /* This is because PHYSFS_isInit() was introduced in 2.0.0 and some linux
+ * distros are still stuck in 1.x.x. So in time we can dump this global and
+ * use PHYSFS_isInit(). But for now, it's a simple query we can reproduce
diff --git a/games-rpg/daimonin-client/metadata.xml b/games-rpg/daimonin-client/metadata.xml
index 6794421a86c3..0c2e258e0090 100644
--- a/games-rpg/daimonin-client/metadata.xml
+++ b/games-rpg/daimonin-client/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/dear-esther/dear-esther-20130608-r1.ebuild b/games-rpg/dear-esther/dear-esther-20130608-r1.ebuild
new file mode 100644
index 000000000000..9e0d8da5c5e2
--- /dev/null
+++ b/games-rpg/dear-esther/dear-esther-20130608-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop unpacker wrapper xdg
+
+MY_TIMESTAMP="${PV:4:2}${PV:6:2}${PV:0:4}"
+
+DESCRIPTION="Ghost story, told using first-person gaming technologies"
+HOMEPAGE="https://www.thechineseroom.co.uk/games/dear-esther"
+SRC_URI="dearesther-linux-${MY_TIMESTAMP}-bin"
+S="${WORKDIR}/data"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch"
+
+QA_PREBUILT="
+ opt/${PN}/dearesther_linux
+ opt/${PN}/bin/*.so*"
+
+# TODO: unbundle libSDL2
+RDEPEND="
+ media-libs/freetype[abi_x86_32(-)]
+ media-libs/libsdl[abi_x86_32(-)]
+ media-libs/openal[abi_x86_32(-)]
+ virtual/opengl[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]"
+BDEPEND="app-arch/unzip"
+
+pkg_nofetch() {
+ einfo "Please buy & download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your DISTDIR directory."
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_install() {
+ insinto /opt/${PN}
+ doins -r bin dearesther platform dearesther_linux
+
+ fperms +x /opt/${PN}/dearesther_linux
+ make_wrapper ${PN} "./dearesther_linux -game dearesther" /opt/${PN}{,/bin}
+
+ newicon dearesther.png ${PN}.png
+ make_desktop_entry ${PN} "Dear Esther"
+
+ dodoc README-linux.txt
+}
diff --git a/games-rpg/dear-esther/dear-esther-20130608.ebuild b/games-rpg/dear-esther/dear-esther-20130608.ebuild
deleted file mode 100644
index 9786f2de6ba9..000000000000
--- a/games-rpg/dear-esther/dear-esther-20130608.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: unbundle libSDL2
-
-EAPI=5
-inherit eutils gnome2-utils unpacker games
-
-TIMESTAMP="${PV:4:2}${PV:6:2}${PV:0:4}"
-DESCRIPTION="Ghost story, told using first-person gaming technologies"
-HOMEPAGE="http://dear-esther.com/"
-SRC_URI="dearesther-linux-${TIMESTAMP}-bin"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
-RESTRICT="bindist fetch splitdebug"
-
-MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${MYGAMEDIR#/}/dearesther_linux
- ${MYGAMEDIR#/}/bin/*.so*"
-
-DEPEND="app-arch/unzip"
-RDEPEND="
- >=media-libs/freetype-2.5.0.1[abi_x86_32(-)]
- >=media-libs/libsdl-1.2.15-r5[abi_x86_32(-)]
- >=media-libs/openal-1.15.1[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- virtual/opengl[abi_x86_32(-)]"
-
-S=${WORKDIR}/data
-
-pkg_nofetch() {
- einfo "Please buy & download ${SRC_URI} from:"
- einfo " ${HOMEPAGE}"
- einfo "and move it to your DISTDIR directory."
- einfo
-}
-
-src_unpack() {
- unpack_zip ${A}
-}
-
-src_install() {
- insinto "${MYGAMEDIR}"
- doins -r bin dearesther platform dearesther_linux
-
- doicon -s 256 dearesther.png
- make_desktop_entry "${PN}" "Dear Esther" dearesther
- games_make_wrapper ${PN} "./dearesther_linux -game dearesther" "${MYGAMEDIR}" "${MYGAMEDIR}/bin"
-
- dodoc README-linux.txt
-
- fperms +x "${MYGAMEDIR}"/dearesther_linux
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-rpg/dear-esther/metadata.xml b/games-rpg/dear-esther/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/dear-esther/metadata.xml
+++ b/games-rpg/dear-esther/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/deponia-doomsday/Manifest b/games-rpg/deponia-doomsday/Manifest
new file mode 100644
index 000000000000..37e363e8a7dc
--- /dev/null
+++ b/games-rpg/deponia-doomsday/Manifest
@@ -0,0 +1 @@
+DIST Deponia4_1.2.0267_DEB_Full_Multi_Daedalic_ESD.tar 3179350835 BLAKE2B caf1995f2a6204b083e7b462ec0ab45e8c84cf2bd626fbc20fbac36e066551a267cad391c07293dff5219c555523a68dc7e7a351c948a2d049af35be6ec5573c SHA512 daf3427ff3dd4568bb84a11fd63b630fa1de61331ceb84f70f7668c56abd2908e0cfdf897d9f1caefdb6d51d1082cfce435eb4378d1eeb9b0a3598edd6350c07
diff --git a/games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild b/games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild
new file mode 100644
index 000000000000..f26a0c328c76
--- /dev/null
+++ b/games-rpg/deponia-doomsday/deponia-doomsday-1.2.0267.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop wrapper
+
+MY_PN="Deponia Doomsday"
+DESCRIPTION="The fourth and final instalment of the Deponia point-and-click adventures"
+HOMEPAGE="https://www.daedalic.com/deponia"
+SRC_URI="Deponia4_${PV}_DEB_Full_Multi_Daedalic_ESD.tar"
+S="${WORKDIR}/${MY_PN}"
+
+LICENSE="all-rights-reserved BSD LGPL-2.1 MIT OFL-1.1"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+IUSE="bonus"
+RESTRICT="bindist fetch splitdebug strip"
+
+# Bundles libopenal.so but 1.20.0 and later are not compatible because
+# the game uses the SelectResampler function, which was inlined.
+
+RDEPEND="
+ media-libs/libpng-compat:1.2
+ media-libs/libsdl2[opengl,video]
+ sys-libs/zlib
+ virtual/opengl
+"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " https://www.humblebundle.com/store/${PN}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+ default
+ rm libs64/libz.so.1 || die
+}
+
+src_install() {
+ exeinto "${DIR}"
+ doexe Deponia4
+
+ make_wrapper \
+ ${PN} \
+ "env SDL_DYNAMIC_API=\"${EPREFIX}/usr/$(get_libdir)/libSDL2-2.0.so.0\" ./Deponia4" \
+ "${DIR}" \
+ "${DIR}/lib"
+
+ insinto "${DIR}"
+ doins -r \
+ config.ini \
+ data.vis \
+ version.txt \
+ characters/ \
+ lua/ \
+ scenes/ \
+ videos/
+
+ use bonus && doins -r "bonus content/"
+
+ exeinto "${DIR}"/lib
+ doexe libs64/*
+
+ make_desktop_entry ${PN} "${MY_PN}" applications-games
+ dodoc changes.txt documents/licenses/readme.txt
+}
diff --git a/games-rpg/deponia-doomsday/metadata.xml b/games-rpg/deponia-doomsday/metadata.xml
new file mode 100644
index 000000000000..b6aa278f38ce
--- /dev/null
+++ b/games-rpg/deponia-doomsday/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name="bonus">Install the bonus content (Art Book, Concept Art, Soundtrack)</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-rpg/deponia-tcj/deponia-tcj-3.3.0156.ebuild b/games-rpg/deponia-tcj/deponia-tcj-3.3.0156.ebuild
index eb2f670cf6b4..f53a8fe60eab 100644
--- a/games-rpg/deponia-tcj/deponia-tcj-3.3.0156.ebuild
+++ b/games-rpg/deponia-tcj/deponia-tcj-3.3.0156.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,6 +9,8 @@ MY_PN="Deponia - The Complete Journey"
DESCRIPTION="The Complete Journey: The first three Deponia point-and-click adventures"
HOMEPAGE="https://www.daedalic.com/deponia"
SRC_URI="DeponiaTCJ_${PV}_Full_DEB_DE_EN_FR_IT_RU_PL_Daedalic_ESD.tar.gz"
+S="${WORKDIR}/${MY_PN}"
+
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64"
@@ -20,10 +22,8 @@ RDEPEND="
virtual/opengl
"
-S="${WORKDIR}/${MY_PN}"
-
DIR="/opt/${PN}"
-QA_PREBUILT="${DIR}/*"
+QA_PREBUILT="${DIR#/}/*"
pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
diff --git a/games-rpg/deponia-tcj/metadata.xml b/games-rpg/deponia-tcj/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/deponia-tcj/metadata.xml
+++ b/games-rpg/deponia-tcj/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/draci-historie/Manifest b/games-rpg/draci-historie/Manifest
index 4c4af984c365..9b624994de3f 100644
--- a/games-rpg/draci-historie/Manifest
+++ b/games-rpg/draci-historie/Manifest
@@ -2,3 +2,4 @@ DIST dh-cz-2012.zip 29293879 BLAKE2B 5f8d4199de6f418d041c409bbc25b383021721b062b
DIST dh-de-2012.zip 3316443 BLAKE2B 99a495be5d2add5e6f375904d249bda06f556e5e8ede4b33348d6ee46778de15b704016f9b498ca5b68ad678b3f2bd572034c37bc7dde2dfcd9d46ef2f4b242a SHA512 088f372e8de59cb52555a70cb7918ec14bb4abbb712a3867b40ce9eef80dc3f03b6c28402b9e0c9ee7e02f1938ee5f140abc02aef801716e38af84d66dafd5aa
DIST dh-en-2012.zip 3310860 BLAKE2B 22c8dc8102f5f1d984a760d51fd8f7f028cca6a28b1a4e0f459c44eec68255e3ecd526ef80426b57f2137c33f6a5ba0d16b2c760b42a67413c2ffa3cec9ec648 SHA512 a9b5ff15305c961f288fdf915f56ca204a2ebe5370dcf56c20a0057cf721c45445a20479a39fe1f5443e79e7c95bd5771abef2115396c418442d2e5e400ce10a
DIST dh-pl-2012.zip 36041498 BLAKE2B 29f6daeac610aa83f4df4a7698d19540f7c97d3a019a66078e784492010891860fa6af9b3151457c0aefeeb5eb3f90b8336693a1367b64e97592e017a7e9f247 SHA512 627f85a14362e032e00ed36275df696b6a468965734db7c8bb459d689b548c05033fe387ffee9855a83fe634f14b98a5c5ea51aefdf169c7243e9282fa1c19a5
+DIST draci-historie.png 5121 BLAKE2B f4f5ec74e00385e1cd13ba4002305960513d5be829a89f116e0ce7829347b934ab2317a5064c6bfeb89e70a6d0f3f6106eb497bf3558e6549f838b2548693512 SHA512 a0c204dcc94c0fe872dd46da7553aa148e08ac5a04941a24eee05823ae1e14ea6576b22e2bae87371d8af3c1559edf14abbd5998784a49338ccba1e217400f30
diff --git a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
index 3982a8538d15..262964dad79f 100644
--- a/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
+++ b/games-rpg/draci-historie/draci-historie-2012-r1.ebuild
@@ -1,79 +1,51 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=8
+
+inherit desktop wrapper
DESCRIPTION="Bert the little dragon searches for his father"
-HOMEPAGE="http://www.ucw.cz/draci-historie/index-en.html"
-BASE_URL="http://www.ucw.cz/draci-historie/binary/dh"
+HOMEPAGE="https://www.ucw.cz/draci-historie/index-en.html"
+BASE_URL="https://www.ucw.cz/draci-historie/binary/dh"
SRC_URI="
l10n_cs? ( ${BASE_URL}-cz-${PV}.zip )
l10n_de? ( ${BASE_URL}-de-${PV}.zip )
l10n_en? ( ${BASE_URL}-en-${PV}.zip )
l10n_pl? ( ${BASE_URL}-pl-${PV}.zip )
!l10n_cs? ( !l10n_de? ( !l10n_en? ( !l10n_pl? ( ${BASE_URL}-en-${PV}.zip ) ) ) )
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png
"
+S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="l10n_cs l10n_de l10n_en l10n_pl"
+IUSE="l10n_cs l10n_de +l10n_en l10n_pl"
-RDEPEND=">=games-engines/scummvm-1.1"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm"
+BDEPEND="app-arch/unzip"
src_unpack() {
- if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
- mkdir en || die
- unpack dh-en-${PV}.zip
- mv *.{dfw,fon,mid,sam} en/ || die
- fi
- if use l10n_cs ; then
- mkdir cs || die
- unpack dh-cz-${PV}.zip
- mv *.{dfw,fon,mid,sam,zzz} cs/ || die
- fi
- if use l10n_de ; then
- mkdir de || die
- unpack dh-de-${PV}.zip
- mv *.{dfw,fon,mid,sam} de/ || die
- fi
- if use l10n_pl ; then
- mkdir pl || die
- unpack dh-pl-${PV}.zip
- mv *.{dfw,fon,mid,sam,zzz} pl/ || die
- fi
-}
-
-src_prepare() {
- default
- rm -f *.{bat,exe,ins} readme.* || die
+ MY_L10N=( $(usev l10n_{cs,cz}) $(usev l10n_de) $(usev l10n_en) $(usev l10n_pl) )
+ [[ ${MY_L10N} ]] || MY_L10N=( l10n_en )
+
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ mkdir ${lang} || die
+ unpack dh-${lang}-${PV}.zip
+ mv *.{dfw,fon,mid,sam} ${lang}/ || die
+ done
}
src_install() {
- newicon bert.ico draci-historie.ico
insinto /usr/share/${PN}
- for lingua in $(find * -type d); do
- doins -r ${lingua}
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ doins -r ${lang}
+ make_wrapper ${PN}-${lang} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" draci"
+ make_desktop_entry ${PN}-${lang} "Dračí Historie (${lang})"
done
- if use l10n_en || ( ! use l10n_cs && ! use l10n_de && ! use l10n_en && ! use l10n_pl ) ; then
- make_wrapper draci-historie-en "scummvm -f -p \"/usr/share/${PN}/en\" draci" .
- make_desktop_entry ${PN}-en "Dračí Historie (English)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_cs ; then
- make_wrapper draci-historie-cs "scummvm -f -p \"/usr/share/${PN}/cs\" draci" .
- make_desktop_entry ${PN}-cs "Dračí Historie (Čeština)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_de ; then
- make_wrapper draci-historie-de "scummvm -f -p \"/usr/share/${PN}/de\" draci" .
- make_desktop_entry ${PN}-de "Dračí Historie (Deutsch)" /usr/share/pixmaps/draci-historie.ico
- fi
- if use l10n_pl ; then
- make_wrapper draci-historie-pl "scummvm -f -p \"/usr/share/${PN}/pl\" draci" .
- make_desktop_entry ${PN}-pl "Dračí Historie (Polski)" /usr/share/pixmaps/draci-historie.ico
- fi
- einstalldocs
+
+ doicon "${DISTDIR}"/${PN}.png
}
diff --git a/games-rpg/draci-historie/metadata.xml b/games-rpg/draci-historie/metadata.xml
index 78274e0fa550..1c3ba213c494 100644
--- a/games-rpg/draci-historie/metadata.xml
+++ b/games-rpg/draci-historie/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/drascula/Manifest b/games-rpg/drascula/Manifest
index a11c32cbc841..8a5cb59d77d2 100644
--- a/games-rpg/drascula/Manifest
+++ b/games-rpg/drascula/Manifest
@@ -1,5 +1,5 @@
DIST drascula-1.0.zip 32842993 BLAKE2B 5033e8e5f66f74c2b049a1246c62dd33b7b32c3d088575a8d031bc505cd3356c0b364efa9308c99e26e524dc58913cad7cc09424ac6ad30fff38175f952a0151 SHA512 74ca773264e1ed611456b230d6265dade8d745a3adb736f3d6583d43ed6820a25f481ec65612b31d4b3076418f6bc696c82fa0f5085ec43edc91761e95361d11
-DIST drascula-2.0.0.dat 219527 BLAKE2B 362cb71aa5c7ec7a391a9e371f7adbfeef7c3d015db562e613ebc5513d0d8661af6880549424c9fff0dde25e8fe3a82bc4658e0bd47eb6b65c071fff0dce9983 SHA512 b57cdde7f686d54b3dd669dc5737e0046c3f38a31c4f78cde1b51dc7dc3a28193a95d5364629716998f958b7c43ed45bdcd0bc32f94ca718e7882d16fea2c015
+DIST drascula-2.2.0.dat 259619 BLAKE2B 924dbd42276feef2ef3be599f37316687f1bc4940189082408c5e5eb923d1df2d638a87e4fdf88d443151ec4e4bb4f9c211905c9596b6608691aa40cef1b99b1 SHA512 032731a30561f1c77f2b9f93e80350371afa7673b1140b5a854ceac724c6ed89755af780e9519717f9ac75e7d34a225e03e0d84ebfb5986f6a6cdef0ca018745
DIST drascula-audio-2.0.zip 36531704 BLAKE2B c3426f9c10e1ab5931b6474c1ba5b13a38267db5c8a8b8663e6a9bbea95751d50f4829dc427d962110ec4b0b093f2c5b59a73ca15aedd73c9ceaf1b3b158ec82 SHA512 09018bcfa062e720db6af7b38fa582f1b3674a25e7bb323d894ad767f8bcd449739fc592a10d848f6cac90a8bb51b5148c5c39558f70d29e2a5116b0b196274e
DIST drascula-int-1.1.zip 34855203 BLAKE2B b37f6ed68d3ef6cc70915d68178a0359ae39e9d2a020f84573e8e905ec4fa946ad9328479590d5510f0b03ec5a422a4204ffd3fb6294711ea7b68f0f19899151 SHA512 f8127d09e19dec9abf75b9129792c67f3d36ea80fa69c70eeaa536f7a76f8f29072c21f041a0f9467d595f214392541c09c7a75caca0318e8d1b587db9d099cf
DIST drascula.png 34525 BLAKE2B 1d529b02f08079921ab1021a3012fbef89fd4e9e4933727cdf96c5ce52bc3837d3f636e7b32f33cb92d027cbc330d4fc9280202a6b970821741eb8a44a905346 SHA512 e49fc17cad986b8fa42bd5ede30a1b1ef264182a476168d5c197a31d484555552e824f103b9456898940c68c2f0d751f4c2782a7a95ea92c62e3daec1dd1f52a
diff --git a/games-rpg/drascula/drascula-1.0-r3.ebuild b/games-rpg/drascula/drascula-1.0-r4.ebuild
index f058ca3b8da3..f57a1d03d674 100644
--- a/games-rpg/drascula/drascula-1.0-r3.ebuild
+++ b/games-rpg/drascula/drascula-1.0-r4.ebuild
@@ -1,24 +1,26 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=8
+
+inherit desktop wrapper
INT_PV="1.1"
-INT_URI="mirror://sourceforge/scummvm/drascula-int-${INT_PV}.zip"
-DAT_PV="2.0.0"
+INT_URI="https://downloads.sourceforge.net/scummvm/drascula-int-${INT_PV}.zip"
+DAT_PV="2.2.0"
AUD_PV="2.0"
DESCRIPTION="Drascula: The Vampire Strikes Back"
HOMEPAGE="http://www.alcachofasoft.com/"
-SRC_URI="mirror://sourceforge/scummvm/drascula-${PV}.zip
+SRC_URI="https://downloads.sourceforge.net/scummvm/drascula-${PV}.zip
https://github.com/scummvm/scummvm/raw/v${DAT_PV}/dists/engine-data/drascula.dat -> drascula-${DAT_PV}.dat
- sound? ( mirror://sourceforge/scummvm/drascula-audio-${AUD_PV}.zip )
+ sound? ( https://downloads.sourceforge.net/scummvm/drascula-audio-${AUD_PV}.zip )
https://salsa.debian.org/games-team/drascula/raw/master/debian/icons/drascula.png
l10n_es? ( ${INT_URI} )
l10n_de? ( ${INT_URI} )
l10n_fr? ( ${INT_URI} )
l10n_it? ( ${INT_URI} )"
+S="${WORKDIR}"
LICENSE="drascula"
SLOT="0"
@@ -26,12 +28,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="l10n_es l10n_de l10n_fr l10n_it +sound"
RESTRICT="mirror"
-RDEPEND=">=games-engines/scummvm-0.13.1"
-DEPEND="${RDEPEND}
- app-arch/unzip
-"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm[vorbis]"
+BDEPEND="app-arch/unzip"
src_unpack() {
if use l10n_es || use l10n_de || use l10n_fr || use l10n_it; then
@@ -44,22 +42,27 @@ src_unpack() {
}
src_install() {
- local lang
-
- make_wrapper ${PN} "scummvm -f -p \"/usr/share/${PN}\" drascula" .
- for lang in es de fr it; do
- if use l10n_${lang} ; then
- make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"/usr/share/${PN}\" drascula" .
- make_desktop_entry ${PN}-${lang} "Drascula: The Vampire Strikes Back (${lang})" ${PN}
- fi
- done
insinto /usr/share/${PN}
- find . -name "P*.*" -execdir doins '{}' +
newins "${DISTDIR}"/drascula-${DAT_PV}.dat drascula.dat
- if use sound; then
- doins audio/*
+ doins Packet.001
+
+ if use l10n_es || use l10n_de || use l10n_fr || use l10n_it; then
+ doins ${PN}-int-${INT_PV}/PACKET.00[2-5]
+
+ local lang
+ for lang in es de fr it; do
+ if use l10n_${lang}; then
+ make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${EPREFIX}/usr/share/${PN}\" drascula"
+ make_desktop_entry ${PN}-${lang} "Drascula (${lang})"
+ fi
+ done
fi
- dodoc readme.txt drascula.doc
+
doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry ${PN} "Drascula: The Vampire Strikes Back"
+ make_wrapper ${PN} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}\" drascula"
+ make_desktop_entry ${PN} Drascula
+
+ use sound && doins -r audio/.
+
+ dodoc readme.txt drascula.doc
}
diff --git a/games-rpg/drascula/metadata.xml b/games-rpg/drascula/metadata.xml
index 4bb899986a01..7cb50037b06a 100644
--- a/games-rpg/drascula/metadata.xml
+++ b/games-rpg/drascula/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
index b041a158412f..8a7ccc4b40ee 100644
--- a/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
+++ b/games-rpg/dreamweb/dreamweb-1.1-r1.ebuild
@@ -1,66 +1,46 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=8
+
+inherit desktop wrapper
DESCRIPTION="Top-down adventure game set in a gritty futuristic/dystopian city"
HOMEPAGE="https://wiki.scummvm.org/index.php/Dreamweb"
-SRC_URI="doc? ( mirror://sourceforge/scummvm/${PN}-manuals-en-highres.zip )
- l10n_de? ( mirror://sourceforge/scummvm/${PN}-cd-de-${PV}.zip )
- l10n_en? ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip )
- l10n_en-GB? ( mirror://sourceforge/scummvm/${PN}-cd-uk-${PV}.zip )
- l10n_es? ( mirror://sourceforge/scummvm/${PN}-cd-es-${PV}.zip )
- l10n_fr? ( mirror://sourceforge/scummvm/${PN}-cd-fr-${PV}.zip )
- l10n_it? ( mirror://sourceforge/scummvm/${PN}-cd-it-${PV}.zip )
+SRC_URI="doc? ( https://downloads.sourceforge.net/scummvm/${PN}-manuals-en-highres.zip )
+ l10n_de? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-de-${PV}.zip )
+ l10n_en? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-us-${PV}.zip )
+ l10n_en-GB? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-uk-${PV}.zip )
+ l10n_es? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-es-${PV}.zip )
+ l10n_fr? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-fr-${PV}.zip )
+ l10n_it? ( https://downloads.sourceforge.net/scummvm/${PN}-cd-it-${PV}.zip )
!l10n_de? ( !l10n_en? ( !l10n_en-GB? ( !l10n_es? ( !l10n_fr? ( !l10n_it? \
- ( mirror://sourceforge/scummvm/${PN}-cd-us-${PV}.zip ) ) ) ) ) )
+ ( https://downloads.sourceforge.net/scummvm/${PN}-cd-us-${PV}.zip ) ) ) ) ) )
http://www.scummvm.org/images/cat-dreamweb.png"
+S="${WORKDIR}"
LICENSE="Dreamweb"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc l10n_de l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
+IUSE="doc l10n_de +l10n_en l10n_en-GB l10n_es l10n_fr l10n_it"
-RDEPEND=">=games-engines/scummvm-1.7[flac]"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm[flac]"
+BDEPEND="app-arch/unzip"
src_unpack() {
- if use l10n_de ; then
- mkdir -p "${S}"/de || die
- cd "${S}"/de || die
- unpack ${PN}-cd-de-${PV}.zip
- fi
- if use l10n_en || ( ! use l10n_de && ! use l10n_en && ! use l10n_en-GB && \
- ! use l10n_es && ! use l10n_fr && ! use l10n_it ) ; then
- mkdir -p "${S}"/en_US || die
- cd "${S}"/en_US || die
- unpack ${PN}-cd-us-${PV}.zip
- fi
- if use l10n_en-GB ; then
- mkdir -p "${S}"/en_GB || die
- cd "${S}"/en_GB || die
- unpack ${PN}-cd-uk-${PV}.zip
- fi
- if use l10n_es ; then
- mkdir -p "${S}"/es || die
- cd "${S}"/es || die
- unpack ${PN}-cd-es-${PV}.zip
- fi
- if use l10n_fr ; then
- mkdir -p "${S}"/fr || die
- cd "${S}"/fr || die
- unpack ${PN}-cd-fr-${PV}.zip
- fi
- if use l10n_it ; then
- mkdir -p "${S}"/it || die
- cd "${S}"/it || die
- unpack ${PN}-cd-it-${PV}.zip
- fi
- if use doc ; then
- mkdir -p "${S}"/doc || die
+ MY_L10N=( $(usev l10n_de) $(usev l10n_es) $(usev l10n_fr) $(usev l10n_it) )
+ MY_L10N+=( $(usev l10n_{en,us}) $(usev l10n_{en-GB,uk}) )
+ [[ ${MY_L10N} ]] || MY_L10N=( l10n_us )
+
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ mkdir "${S}"/${lang} || die
+ cd "${S}"/${lang} || die
+ unpack ${PN}-cd-${lang}-${PV}.zip
+ done
+
+ if use doc; then
+ mkdir "${S}"/doc || die
cd "${S}"/doc || die
unpack ${PN}-manuals-en-highres.zip
fi
@@ -68,42 +48,18 @@ src_unpack() {
src_prepare() {
default
- rm -rf */license.txt */*.EXE || die
+ rm -f */license.txt */*.EXE || die
}
src_install() {
insinto /usr/share/${PN}
- newicon "${DISTDIR}"/cat-dreamweb.png dreamweb.png
- if use l10n_de ; then
- doins -r de
- make_wrapper dreamweb-de "scummvm -f -p \"/usr/share/${PN}/de\" dreamweb" .
- make_desktop_entry ${PN}-de "Dreamweb (Deutsch)" dreamweb
- fi
- if use l10n_en || ( ! use l10n_de && ! use l10n_en && ! use l10n_en-GB && \
- ! use l10n_es && ! use l10n_fr && ! use l10n_it ) ; then
- doins -r en_US
- make_wrapper dreamweb-en_US "scummvm -f -p \"/usr/share/${PN}/en_US\" dreamweb" .
- make_desktop_entry ${PN}-en_US "Dreamweb (US English)" dreamweb
- fi
- if use l10n_en-GB ; then
- doins -r en_GB
- make_wrapper dreamweb-en_GB "scummvm -f -p \"/usr/share/${PN}/en_GB\" dreamweb" .
- make_desktop_entry ${PN}-en_GB "Dreamweb (UK English)" dreamweb
- fi
- if use l10n_es ; then
- doins -r es
- make_wrapper dreamweb-es "scummvm -f -p \"/usr/share/${PN}/es\" dreamweb" .
- make_desktop_entry ${PN}-es "Dreamweb (Español)" dreamweb
- fi
- if use l10n_fr ; then
- doins -r fr
- make_wrapper dreamweb-fr "scummvm -f -p \"/usr/share/${PN}/fr\" dreamweb" .
- make_desktop_entry ${PN}-fr "Dreamweb (Français)" dreamweb
- fi
- if use l10n_it ; then
- doins -r it
- make_wrapper dreamweb-it "scummvm -f -p \"/usr/share/${PN}/it\" dreamweb" .
- make_desktop_entry ${PN}-it "Dreamweb (Italiano)" dreamweb
- fi
- use doc && dodoc -r doc/*
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ doins -r ${lang}
+ make_wrapper ${PN}-${lang} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" ${PN}"
+ make_desktop_entry ${PN}-${lang} "Dreamweb (${lang})"
+ done
+
+ newicon "${DISTDIR}"/cat-${PN}.png ${PN}.png
+ use doc && dodoc -r doc/.
}
diff --git a/games-rpg/dreamweb/metadata.xml b/games-rpg/dreamweb/metadata.xml
index 1cbcf304b004..96739c8b9208 100644
--- a/games-rpg/dreamweb/metadata.xml
+++ b/games-rpg/dreamweb/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/dungeon-defenders/dungeon-defenders-20130305-r1.ebuild b/games-rpg/dungeon-defenders/dungeon-defenders-20130305-r1.ebuild
new file mode 100644
index 000000000000..e6bbd621a3e8
--- /dev/null
+++ b/games-rpg/dungeon-defenders/dungeon-defenders-20130305-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit check-reqs desktop unpacker wrapper xdg
+
+TIMESTAMP="${PV:4:2}${PV:6:2}${PV:0:4}"
+DESCRIPTION="A hybrid of two hot genres: Tower Defense and cooperative online Action-RPG"
+HOMEPAGE="https://www.humblebundle.com/store/dungeon-defenders-collection"
+SRC_URI="dundef-linux-${TIMESTAMP}.mojo.run"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+BDEPEND="
+ app-arch/unzip
+"
+RDEPEND="
+ media-libs/libsdl2[abi_x86_32,opengl,video]
+ media-libs/openal[abi_x86_32]
+ virtual/opengl[abi_x86_32]
+ x11-misc/xdg-utils
+"
+
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+CHECKREQS_DISK_BUILD="5916M"
+S="${WORKDIR}/data"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_prepare() {
+ default
+
+ # https://bugzilla.icculus.org/show_bug.cgi?id=5894
+ sed -i 's/LobbyLevel_Valentines2013\.udk/LobbyLevel.udk/' UDKGame/Config/DefaultDunDef.ini || die
+
+ # Remove bundled binaries.
+ rm -v UDKGame/Binaries/{*.so*,xdg-open} || die
+}
+
+src_install() {
+ # Move the data rather than copying. The game consumes over 5GB so a
+ # needless copy should really be avoided!
+ dodir "${DIR}"
+ mv -v Engine/ UDKGame/ "${ED}${DIR}" || die
+
+ # Use system xdg-open script, location is hardcoded.
+ dosym ../../../../usr/bin/xdg-open "${DIR}"/UDKGame/Binaries/xdg-open
+
+ make_wrapper ${PN} ./DungeonDefenders-x86 "${DIR}"/UDKGame/Binaries
+ newicon -s 48 DunDefIcon.png ${PN}.png
+ make_desktop_entry ${PN} "Dungeon Defenders"
+
+ dodoc README-linux.txt
+}
diff --git a/games-rpg/dungeon-defenders/dungeon-defenders-20130305.ebuild b/games-rpg/dungeon-defenders/dungeon-defenders-20130305.ebuild
deleted file mode 100644
index 01a66c03c0a8..000000000000
--- a/games-rpg/dungeon-defenders/dungeon-defenders-20130305.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: unbundle SDL-2 when it gets released
-
-EAPI=5
-inherit check-reqs eutils gnome2-utils unpacker games
-
-TIMESTAMP="${PV:4:2}${PV:6:2}${PV:0:4}"
-MY_PN="DungeonDefenders"
-DESCRIPTION="A hybrid of two hot genres: Tower Defense and cooperative online Action-RPG"
-HOMEPAGE="http://dungeondefenders.com/"
-SRC_URI="dundef-linux-${TIMESTAMP}.mojo.run"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="bundled-libs"
-RESTRICT="bindist fetch splitdebug"
-
-MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN}
-QA_PREBUILT="${MYGAMEDIR#/}/UDKGame/Binaries/${MY_PN}-x86
- ${MYGAMEDIR#/}/UDKGame/Binaries/libSDL2-2.0.so.0"
-CHECKREQS_DISK_BUILD="5916M"
-
-# linked against pulseaudio
-# without SDL-2 only linkage: opengl, openal
-DEPEND="app-arch/unzip"
-RDEPEND="
- x11-misc/xdg-utils
- >=media-libs/alsa-lib-1.0.27.2[abi_x86_32(-)]
- >=media-sound/pulseaudio-5.0[abi_x86_32(-)]
- virtual/opengl[abi_x86_32(-)]
- x11-libs/libX11[abi_x86_32(-)]
- x11-libs/libXScrnSaver[abi_x86_32(-)]
- x11-libs/libXcursor[abi_x86_32(-)]
- x11-libs/libXext[abi_x86_32(-)]
- x11-libs/libXi[abi_x86_32(-)]
- x11-libs/libXinerama[abi_x86_32(-)]
- x11-libs/libXrandr[abi_x86_32(-)]
- x11-libs/libXxf86vm[abi_x86_32(-)]
- !bundled-libs? ( >=media-libs/openal-1.15.1[abi_x86_32(-)] )"
-
-S=${WORKDIR}/data
-
-pkg_nofetch() {
- einfo "Please buy & download ${SRC_URI} from:"
- einfo " ${HOMEPAGE}"
- einfo "and move it to your DISTDIR directory."
- einfo
-}
-
-src_unpack() {
- unpack_zip ${A}
-}
-
-src_prepare() {
- # https://bugzilla.icculus.org/show_bug.cgi?id=5894
- sed -i \
- -e 's/LobbyLevel_Valentines2013.udk/LobbyLevel.udk/' \
- UDKGame/Config/DefaultDunDef.ini || die
-
- # Remove the binaries that we're unbundling and unnecessary stuff
- rm -v UDKGame/Binaries/xdg-open || die
- if ! use bundled-libs ; then
- einfo "Removing bundled libs..."
- rm -v UDKGame/Binaries/libopenal.so.1 || die
- fi
-}
-
-src_install() {
- # Move the data rather than copying. The game consumes over 5GB so
- # a needless copy should really be avoided!
- dodir "${MYGAMEDIR}"
- mv -v Engine UDKGame "${D}${MYGAMEDIR}" || die
-
- # use system xdg-open script, location is hardcoded
- dosym /usr/bin/xdg-open "${MYGAMEDIR}"/UDKGame/Binaries/xdg-open
-
- newicon -s 48 DunDefIcon.png ${PN}.png
- make_desktop_entry "${PN}" "Dungeon Defenders"
- games_make_wrapper ${PN} "./${MY_PN}-x86" "${MYGAMEDIR}/UDKGame/Binaries"
-
- dodoc README-linux.txt
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-rpg/dungeon-defenders/metadata.xml b/games-rpg/dungeon-defenders/metadata.xml
index b878aaa1812d..7c730d47817a 100644
--- a/games-rpg/dungeon-defenders/metadata.xml
+++ b/games-rpg/dungeon-defenders/metadata.xml
@@ -1,13 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
- <use>
- <flag name="bundled-libs">
- Use the upstream provided bundled libraries.
- </flag>
- </use>
</pkgmetadata>
diff --git a/games-rpg/egoboo/Manifest b/games-rpg/egoboo/Manifest
index 5a4082211d96..27a34b8b6552 100644
--- a/games-rpg/egoboo/Manifest
+++ b/games-rpg/egoboo/Manifest
@@ -1 +1,2 @@
DIST egoboo-2.8.1.tar.gz 150029960 BLAKE2B 582db0f3c033523f7b55e205aec5f7012301e3edb7a4667f49d6c4a26f99572b4652e3cf4b8ed0f9e4c4cf2f6129615a315955d0193f851fc7c16ab7eaf7e482 SHA512 5793a63ba90f461ae99bcb81bf4ddf287b203bc2d401e1f697f1f4f93e1d681954e09b23938eb1a36e7dd535e2d12b8882efd77572cc63392cad5f9462ac3054
+DIST egoboo.png 7903 BLAKE2B a9ba1d15bd2363d7155b817bcf4d4ce1c378d6a5f2266774772e288a862d1ed1659bb67ec0f73eb089ee8e31725035b7fc2f29c490ace7e17cb336bc9479c9ab SHA512 6a18c269f9159f7b0cf9201662f9755b3317156849ed126d215aa104ae88faeb4950911821a74720b20ccac74498cb4473e2c1170596207b496ca8efb37c1247
diff --git a/games-rpg/egoboo/egoboo-2.8.1-r1.ebuild b/games-rpg/egoboo/egoboo-2.8.1-r1.ebuild
deleted file mode 100644
index 108aefdfcecc..000000000000
--- a/games-rpg/egoboo/egoboo-2.8.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="A 3d dungeon crawling adventure in the spirit of NetHack"
-HOMEPAGE="http://egoboo.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
- dev-games/physfs
- media-libs/libsdl[joystick,video]
- media-libs/sdl-image
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-ttf
- net-libs/enet:0
- virtual/glu
- virtual/opengl"
-RDEPEND=${DEPEND}
-
-PATCHES=(
- "${FILESDIR}"/${P}-gentoo.patch
-)
-
-src_prepare() {
- edos2unix src/game/platform/file_linux.c \
- src/game/network.c \
- src/game/Makefile
- default
- sed -i \
- -e "s:@GENTOO_CONFDIR@:/etc/${PN}:" \
- -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
- src/game/platform/file_linux.c || die "sed failed"
- rm -rf src/enet || die
-}
-
-src_compile() {
- emake -C src/game PROJ_NAME=egoboo-2.x
-}
-
-src_install() {
- dodoc BUGS.txt Changelog.txt doc/*.txt doc/*.pdf
-
- insinto /usr/share/${PN}
- doins -r basicdat modules
- insinto /etc/${PN}
- doins -r controls.txt setup.txt
-
- newbin src/game/egoboo-2.x ${PN}
-
- newicon basicdat/icon.bmp ${PN}.bmp
- make_desktop_entry ${PN} Egoboo /usr/share/pixmaps/${PN}.bmp
-}
diff --git a/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
new file mode 100644
index 000000000000..81ba8550632d
--- /dev/null
+++ b/games-rpg/egoboo/egoboo-2.8.1-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop toolchain-funcs
+
+DESCRIPTION="3D dungeon crawling adventure in the spirit of NetHack"
+HOMEPAGE="https://egoboo.sourceforge.net/"
+SRC_URI="
+ https://downloads.sourceforge.net/${PN}/${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-games/physfs
+ media-libs/libsdl[joystick,opengl,video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
+ media-libs/sdl-ttf
+ net-libs/enet:1.3=
+ virtual/glu
+ virtual/opengl"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-enet-1.3.patch
+ "${FILESDIR}"/${P}-keyboard-inputs.patch
+)
+
+src_prepare() {
+ default
+
+ sed -e "s|@GENTOO_CONFDIR@|${EPREFIX}/etc/${PN}|" \
+ -e "s|@GENTOO_DATADIR@|${EPREFIX}/usr/share/${PN}|" \
+ -i src/game/platform/file_linux.c || die
+}
+
+src_compile() {
+ emake -C src/game PROJ_NAME=egoboo-2.x CC="$(tc-getCC)"
+}
+
+src_install() {
+ newbin src/game/egoboo-2.x ${PN}
+
+ dodoc BUGS.txt Changelog.txt doc/*.{txt,pdf}
+
+ insinto /usr/share/${PN}
+ doins -r basicdat modules
+
+ insinto /etc/${PN}
+ doins controls.txt setup.txt
+
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} Egoboo
+}
diff --git a/games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch b/games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch
new file mode 100644
index 000000000000..dbde2db53861
--- /dev/null
+++ b/games-rpg/egoboo/files/egoboo-2.8.1-enet-1.3.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/628038
+From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
+Date: Thu, 10 Sep 2020 18:39:45 +0300
+Subject: [PATCH] Add support for enet-1.3
+--- a/src/game/network.c
++++ b/src/game/network.c
+@@ -1847,3 +1847,3 @@
+ /// @todo Should I limit client bandwidth here?
+- net_myHost = enet_host_create( NULL, 1, 0, 0 );
++ net_myHost = enet_host_create( NULL, 1, 0, 0, 0 );
+ if ( NULL == net_myHost )
+@@ -1863,3 +1863,3 @@
+ address.port = NET_EGOBOO_PORT;
+- net_gameHost = enet_host_connect( net_myHost, &address, NET_EGOBOO_NUM_CHANNELS );
++ net_gameHost = enet_host_connect( net_myHost, &address, NET_EGOBOO_NUM_CHANNELS, 0 );
+ if ( NULL == net_gameHost )
+@@ -1906,3 +1906,3 @@
+ log_info( "sv_hostGame: Creating game on port %d\n", NET_EGOBOO_PORT );
+- net_myHost = enet_host_create( &address, MAX_PLAYER, 0, 0 );
++ net_myHost = enet_host_create( &address, MAX_PLAYER, 0, 0, 0 );
+ if ( NULL == net_myHost )
diff --git a/games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch b/games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch
index 2f1205a45118..36e8adf6dc73 100644
--- a/games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch
+++ b/games-rpg/egoboo/files/egoboo-2.8.1-gentoo.patch
@@ -1,56 +1,37 @@
---- a/src/game/platform/file_linux.c 2012-04-29 21:45:29.627419281 +0200
-+++ b/src/game/platform/file_linux.c 2012-04-29 21:45:29.628419211 +0200
-@@ -79,9 +79,9 @@
- strncpy( linux_dataPath, PREFIX "/share/games/egoboo-2.x", SDL_arraysize( linux_dataPath ) );
- #else
- // these are read-only directories
-- strncpy( linux_configPath, "/etc/egoboo-2.x/", SDL_arraysize( linux_configPath ) );
-+ strncpy( linux_configPath, "@GENTOO_CONFDIR@", SDL_arraysize( linux_configPath ) );
- strncpy( linux_binaryPath, "/games/", SDL_arraysize( linux_binaryPath ) );
-- strncpy( linux_dataPath, "/share/games/egoboo-2.x/", SDL_arraysize( linux_dataPath ) );
-+ strncpy( linux_dataPath, "@GENTOO_DATADIR@", SDL_arraysize( linux_dataPath ) );
- #endif
-
- // the log file cannot be started until there is a user data path to dump the file into
---- a/src/game/network.c 2012-04-29 20:14:31.482179973 +0200
-+++ b/src/game/network.c 2012-04-29 20:14:52.077730184 +0200
-@@ -37,7 +37,7 @@
- #include "egoboo_setup.h"
- #include "egoboo.h"
-
--#include "enet/enet.h"
-+#include <enet/enet.h>
- #include "file_common.h"
-
- #include <stdarg.h>
---- a/src/game/Makefile 2012-04-29 20:17:09.303070070 +0200
-+++ b/src/game/Makefile 2012-04-29 20:18:21.047023847 +0200
-@@ -33,8 +33,7 @@
- # the compiler options
-
--CC := gcc
--INC := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
--LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
-+INC := -I. -I.. ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
-+LDLIBS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lm
-
- # use different options if the environmental variable PREFIX is defined
- ifdef ($(PREFIX),"")
-@@ -43,7 +43,7 @@
- OPT := -Os -Wall -DPREFIX=\"${PREFIX}\" -D_NIX_PREFIX
- endif
-
--CFLAGS := ${OPT} ${INC}
-+CFLAGS += ${INC} -DENET11
-
- #------------------------------------
- # definitions of the target projects
-@@ -52,7 +52,7 @@
- all: ${EGO_BIN}
-
- ${EGO_BIN}: ${EGO_OBJ}
-- ${CC} -o $@ $^ ${LDFLAGS} ${CFLAGS}
-+ ${CC} -o $@ $^ ${LDFLAGS} ${CFLAGS} ${LDLIBS}
-
- clean:
- rm -f ${ENET_OBJ} ${EGO_OBJ} ${EGO_BIN}
+--- a/src/game/Makefile
++++ b/src/game/Makefile
+@@ -34,5 +34,4 @@
+
+-CC := gcc
+-INC := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
+-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet
++INC := -I. -I.. ${SDLCONF_I} -I./extensions -I./file_formats -I./platform
++LDLIBS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image -lphysfs -lenet -lm
+
+@@ -45,3 +44,3 @@
+
+-CFLAGS := ${OPT} ${INC}
++CFLAGS += ${INC} -DENET11
+
+@@ -55,3 +54,3 @@
+ ${EGO_BIN}: ${EGO_OBJ}
+- ${CC} -o $@ $^ ${LDFLAGS} ${CFLAGS}
++ ${CC} -o $@ $^ ${LDFLAGS} ${CFLAGS} ${LDLIBS}
+
+--- a/src/game/network.c
++++ b/src/game/network.c
+@@ -39,3 +39,3 @@
+
+-#include "enet/enet.h"
++#include <enet/enet.h>
+ #include "file_common.h"
+--- a/src/game/platform/file_linux.c
++++ b/src/game/platform/file_linux.c
+@@ -81,5 +81,5 @@
+ // these are read-only directories
+- strncpy( linux_configPath, "/etc/egoboo-2.x/", SDL_arraysize( linux_configPath ) );
++ strncpy( linux_configPath, "@GENTOO_CONFDIR@", SDL_arraysize( linux_configPath ) );
+ strncpy( linux_binaryPath, "/games/", SDL_arraysize( linux_binaryPath ) );
+- strncpy( linux_dataPath, "/share/games/egoboo-2.x/", SDL_arraysize( linux_dataPath ) );
++ strncpy( linux_dataPath, "@GENTOO_DATADIR@", SDL_arraysize( linux_dataPath ) );
+ #endif
diff --git a/games-rpg/egoboo/files/egoboo-2.8.1-keyboard-inputs.patch b/games-rpg/egoboo/files/egoboo-2.8.1-keyboard-inputs.patch
new file mode 100644
index 000000000000..5df3af7c1c5a
--- /dev/null
+++ b/games-rpg/egoboo/files/egoboo-2.8.1-keyboard-inputs.patch
@@ -0,0 +1,12 @@
+Fix being only able move down and right when using keyboard.
+https://bugs.gentoo.org/654574
+http://egoboo.sourceforge.net/phpBB3/viewtopic.php?p=61333#p61333
+--- a/src/game/game.c
++++ b/src/game/game.c
+@@ -2054,4 +2054,4 @@
+ {
+- joy_pos.x = ( control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_RIGHT ) - control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_LEFT ) );
+- joy_pos.y = ( control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_DOWN ) - control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_UP ) );
++ joy_pos.x = ( (int)control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_RIGHT ) - (int)control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_LEFT ) );
++ joy_pos.y = ( (int)control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_DOWN ) - (int)control_is_pressed( INPUT_DEVICE_KEYBOARD, CONTROL_UP ) );
+
diff --git a/games-rpg/egoboo/metadata.xml b/games-rpg/egoboo/metadata.xml
index d8a2d5fe278b..7fce844849be 100644
--- a/games-rpg/egoboo/metadata.xml
+++ b/games-rpg/egoboo/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
<upstream>
+ <remote-id type="github">egoboo/egoboo</remote-id>
<remote-id type="sourceforge">egoboo</remote-id>
</upstream>
</pkgmetadata>
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 62333050eaec..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,17 +1,18 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=7
-DESCRIPTION="A classic role-playing game"
-HOMEPAGE="http://basiliskgames.com/eschalon-book-i"
+inherit desktop wrapper
+
+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"
LICENSE="eschalon-book-1-demo"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RESTRICT="strip"
QA_PREBUILT="opt/*"
@@ -23,8 +24,6 @@ RDEPEND="
virtual/glu[abi_x86_32(-)]
virtual/opengl[abi_x86_32(-)]"
-S="${WORKDIR}/Eschalon Book I Demo"
-
src_install() {
insinto /opt/${PN}
doins -r data music sound *pdf *pak help.txt
diff --git a/games-rpg/eschalon-book-1-demo/metadata.xml b/games-rpg/eschalon-book-1-demo/metadata.xml
index 78274e0fa550..1c3ba213c494 100644
--- a/games-rpg/eschalon-book-1-demo/metadata.xml
+++ b/games-rpg/eschalon-book-1-demo/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
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/eternal-lands/metadata.xml b/games-rpg/eternal-lands/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/eternal-lands/metadata.xml
+++ b/games-rpg/eternal-lands/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/freedink-data/Manifest b/games-rpg/freedink-data/Manifest
index 963635f07a0c..216dab32038f 100644
--- a/games-rpg/freedink-data/Manifest
+++ b/games-rpg/freedink-data/Manifest
@@ -1,2 +1 @@
-DIST freedink-data-1.08.20140901.tar.gz 51303165 BLAKE2B 28c225cf12b2bdcf0cf4cccb773e39055c756f0d031d851e697b2a47b8d82781b43ac31ae88245e67582be74fed8a67b20498d8e61231bb4106cc1a679b9ac18 SHA512 cdaa50610ed7e365967f6a84f6d540295ccc85bf4d11b882b49c6b97abe2b375be9880afc1e8ea31cdf22a24365d09861b9f4d1d522cc1ae685f7a8b6b4cad82
-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.20140901-r1.ebuild b/games-rpg/freedink-data/freedink-data-1.08.20140901-r1.ebuild
deleted file mode 100644
index 3a8d887e4ddb..000000000000
--- a/games-rpg/freedink-data/freedink-data-1.08.20140901-r1.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Freedink game data"
-HOMEPAGE="http://www.freedink.org/"
-SRC_URI="mirror://gnu/freedink/${P}.tar.gz"
-
-LICENSE="ZLIB
- CC-BY-SA-3.0
- CC-BY-3.0
- FreeArt
- GPL-2
- GPL-3
- WTFPL-2
- OAL-1.0.1
- public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_install() {
- emake DESTDIR="${D}" DATADIR="/usr/share" install
- dodoc README.txt README-REPLACEMENTS.txt
-}
diff --git a/games-rpg/freedink-data/freedink-data-1.08.20170409.ebuild b/games-rpg/freedink-data/freedink-data-1.08.20190120.ebuild
index 61874259e09a..676934e2df39 100644
--- a/games-rpg/freedink-data/freedink-data-1.08.20170409.ebuild
+++ b/games-rpg/freedink-data/freedink-data-1.08.20190120.ebuild
@@ -1,25 +1,26 @@
-# Copyright 1999-2018 Gentoo Foundation
+# 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
- FreeArt
- GPL-2
- GPL-3
- WTFPL-2
+ CC-BY-SA-3.0
+ Free-Art-1.3
+ GPL-2+
+ GPL-3+
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 26079e608bed..6007480bbb0b 100644
--- a/games-rpg/freedink-data/metadata.xml
+++ b/games-rpg/freedink-data/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
+ <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 26079e608bed..6007480bbb0b 100644
--- a/games-rpg/freedink/metadata.xml
+++ b/games-rpg/freedink/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
+ <upstream>
+ <remote-id type="savannah">freedink</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/games-rpg/freedroid/Manifest b/games-rpg/freedroid/Manifest
index 926229bb607c..6208037bc139 100644
--- a/games-rpg/freedroid/Manifest
+++ b/games-rpg/freedroid/Manifest
@@ -1 +1 @@
-DIST freedroid-1.0.2.tar.gz 4819173 BLAKE2B 9548cc350010eff47ca13b8b4fd6b1082f16e1fe41bad5c2359aecd7834ef22b27adc90d1d33564edc63a592ffa6934224a0ee16784cf736b98fcb56d287229a SHA512 cfafa4af86a2007fcf761b51e6c7dcc6dc40f4513057413901fede41b7a436b9c8cf7c3e5c29130e5410fab640ffbdc8100043a442555e862acffe9f33086be1
+DIST freedroid-1.2.1.tar.gz 5875869 BLAKE2B fab7dfb16e421394b9b0564a29a2e438152cd3d8a5527e3581823edec174986df473040d58c705765ba50b4b73105a348d39f9e61bb0721bb742c70838cdef34 SHA512 4de2174935e432f6dc4fa3a0fb5efff9bed59ba25593c7860edbddbaea77875a490c3f1e11042b57f0bb72158a3a28e111bf53bb0d10bbf051f67717d4547913
diff --git a/games-rpg/freedroid/files/freedroid-1.0.2-format.patch b/games-rpg/freedroid/files/freedroid-1.0.2-format.patch
deleted file mode 100644
index 4dbf96bda3f0..000000000000
--- a/games-rpg/freedroid/files/freedroid-1.0.2-format.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/src/init.c 2015-10-24 17:37:24.431514375 +0200
-+++ b/src/init.c 2015-10-24 17:37:43.057157826 +0200
-@@ -554,13 +554,13 @@
- * following gnu-coding standards for command line interfaces */
- case 'v':
- printf ("\n%s %s \n", PACKAGE, VERSION);
-- printf (copyright);
-+ printf ("%s", copyright);
- exit (0);
- break;
-
- case 'h':
- case '?':
-- printf (usage_string);
-+ printf ("%s", usage_string);
- exit (0);
- break;
-
---- a/src/misc.c 2015-10-24 17:37:54.368941282 +0200
-+++ b/src/misc.c 2015-10-24 17:38:10.202638172 +0200
-@@ -889,7 +889,7 @@
- if (db_level <= debug_level)
- {
- vsnprintf (buffer, 5000, fmt, args);
-- fprintf (stderr, buffer);
-+ fprintf (stderr, "%s", buffer);
- fflush (stderr);
- }
-
diff --git a/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild b/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
deleted file mode 100644
index e6eb377ac6db..000000000000
--- a/games-rpg/freedroid/freedroid-1.0.2-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="Freedroid - a Paradroid clone"
-HOMEPAGE="http://freedroid.sourceforge.net/"
-SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
- virtual/jpeg:0
- media-libs/libpng:0
- media-libs/libsdl[joystick,sound,video]
- media-libs/libvorbis
- media-libs/sdl-image[jpeg,png]
- media-libs/sdl-mixer[mod,vorbis]
- sys-libs/zlib"
-RDEPEND=${DEPEND}
-
-PATCHES=(
- "${FILESDIR}"/${P}-format.patch
-)
-
-src_install() {
- default
- find "${D}" -name "Makefile*" -exec rm -f '{}' + || die
- rm -rf "${D}/usr/share/${PN}/"{freedroid.6,mac-osx} || die
- newicon graphics/paraicon.bmp ${PN}.bmp
- make_desktop_entry freedroid Freedroid /usr/share/pixmaps/${PN}.bmp
-}
diff --git a/games-rpg/freedroid/freedroid-1.2.1.ebuild b/games-rpg/freedroid/freedroid-1.2.1.ebuild
new file mode 100644
index 000000000000..abc1f4b7f8a6
--- /dev/null
+++ b/games-rpg/freedroid/freedroid-1.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop
+
+DESCRIPTION="The original Freedroid, a clone of the C64 classic Paradroid"
+HOMEPAGE="https://github.com/ReinhardPrix/FreedroidClassic"
+SRC_URI="https://github.com/ReinhardPrix/FreedroidClassic/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/FreedroidClassic-release-${PV}"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ media-libs/libsdl[joystick,sound,video]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[jpeg,png]
+ media-libs/sdl-mixer[mod,vorbis]"
+DEPEND="
+ ${RDEPEND}
+ media-libs/libpng
+ media-libs/libvorbis
+ sys-libs/zlib
+ virtual/jpeg"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_install() {
+ default
+
+ newicon graphics/paraicon_48x48.png ${PN}.png
+ make_desktop_entry ${PN} Freedroid ${PN} "Game;"
+}
diff --git a/games-rpg/freedroid/metadata.xml b/games-rpg/freedroid/metadata.xml
index ca95edad2177..ae97e39b2000 100644
--- a/games-rpg/freedroid/metadata.xml
+++ b/games-rpg/freedroid/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
<upstream>
+ <remote-id type="github">ReinhardPrix/FreedroidClassic</remote-id>
<remote-id type="sourceforge">freedroid</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-r1.ebuild b/games-rpg/freedroidrpg/freedroidrpg-1.0-r1.ebuild
new file mode 100644
index 000000000000..aae3726480c1
--- /dev/null
+++ b/games-rpg/freedroidrpg/freedroidrpg-1.0-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-3 )
+PYTHON_COMPAT=( python3_{10..12} )
+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="https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PV}/freedroidRPG-${PV}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+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:=
+ media-libs/sdl-image[jpeg,png]
+ sys-libs/zlib:=
+ virtual/libintl
+ devtools? ( media-libs/sdl-ttf )
+ opengl? (
+ media-libs/glew:0=
+ media-libs/libglvnd[X]
+ )
+ sound? ( media-libs/sdl-mixer[vorbis] )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ sys-devel/gettext
+ app-alternatives/awk
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0-AC_INCLUDES_DEFAULT.patch
+)
+
+pkg_setup() {
+ lua-single_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ python_fix_shebang src/gen_savestruct.py
+ rm data/sound/speak.py || die # unused, skip install + python rdep
+}
+
+src_configure() {
+ local econfargs=(
+ $(use_enable debug backtrace)
+ $(use_enable debug)
+ $(use_enable devtools dev-tools)
+ $(use_enable opengl)
+ $(use_enable profile rtprof)
+ $(use_enable sound)
+ $(use_with debug extra-warnings)
+ )
+
+ econf "${econfargs[@]}"
+}
diff --git a/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild b/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild
deleted file mode 100644
index e132d4f54ac7..000000000000
--- a/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-inherit autotools flag-o-matic desktop python-any-r1 xdg
-
-MY_PV=$(ver_rs 2 '')
-DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
-HOMEPAGE="http://www.freedroid.org"
-SRC_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-$(ver_cut 1-2)/freedroidRPG-${MY_PV}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug devtools nls opengl profile sanitize sound"
-
-RDEPEND="
- sys-libs/zlib
- virtual/jpeg:0
- media-libs/libpng:0
- media-libs/libsdl[opengl?,sound?,video]
- media-libs/sdl-image[jpeg,png]
- >=media-libs/sdl-gfx-2.0.21
- nls? ( virtual/libintl )
- opengl? ( virtual/opengl )
- sound? (
- media-libs/libogg
- media-libs/libvorbis
- media-libs/sdl-mixer[vorbis] )
- devtools? ( media-libs/sdl-ttf )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- ${PYTHON_DEPS}
- nls? ( sys-devel/gettext )
- sanitize? ( || ( sys-devel/gcc[sanitize] sys-devel/clang-runtime[sanitize] ) )"
-
-S="${WORKDIR}/${PN}-${MY_PV^^}"
-
-PATCHES=(
- "${FILESDIR}/${P}-fnocommon.patch"
-)
-
-src_prepare() {
- default
-
- sed -i \
- -e '/^dist_doc_DATA/d' \
- -e '/-pipe/d' \
- -e '/^SUBDIRS/s/pkgs//' \
- Makefile.am || die
- python_fix_shebang src data/sound
- eautoreconf
-}
-
-src_configure() {
- # this can produce strange results due to 'imprecise' math computations
- filter-flags -ffast-math
-
- local myconf=(
- --disable-fastmath
- --with-embedded-lua
- --localedir="${EPREFIX}/usr/share/locale"
- $(use_enable nls)
- $(use_enable opengl)
- $(use_enable sound)
- $(use_enable debug)
- $(use_with debug extra-warnings)
- $(use_enable debug backtrace)
- $(use_enable sanitize sanitize-address)
- $(use_enable profile rtprof)
- $(use_enable devtools dev-tools)
- )
- econf "${myconf[@]}"
-}
-
-src_install() {
- local i
-
- default
- for i in 48 64 96 128
- do
- doicon -s ${i} pkgs/freedesktop/icons/hicolor/${i}x${i}/apps/"${PN}".png
- done
- doicon -s scalable pkgs/freedesktop/icons/hicolor/scalable/apps/freedroidRPG.svg
- make_desktop_entry "${PN}" "Freedroid RPG" "${PN}"
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- local v min="1.0_rc1"
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "${v}" -lt "${min}"; then
- echo
- ewarn "${P} is not compatible with save games before ${min}."
- ewarn "Please start a new character."
- echo
- fi
- done
-}
diff --git a/games-rpg/freedroidrpg/metadata.xml b/games-rpg/freedroidrpg/metadata.xml
index 01b748c23632..c3291bcde5b4 100644
--- a/games-rpg/freedroidrpg/metadata.xml
+++ b/games-rpg/freedroidrpg/metadata.xml
@@ -1,34 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
-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>
- <flag name="sanitize">Compile with address sanitizer</flag>
-</use>
+ 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/grimrock/grimrock-20150707.ebuild b/games-rpg/grimrock/grimrock-20150707.ebuild
index 03275c50c9a5..e0950dd5bc09 100644
--- a/games-rpg/grimrock/grimrock-20150707.ebuild
+++ b/games-rpg/grimrock/grimrock-20150707.ebuild
@@ -1,36 +1,35 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit desktop gnome2-utils unpacker
+inherit desktop unpacker xdg
-TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}"
MY_PN="Grimrock"
+MY_TIMESTAMP="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+
DESCRIPTION="Legend of Grimrock: The ultimate dungeon crawling RPG + modding engine"
HOMEPAGE="http://www.grimrock.net/"
-SRC_URI="Grimrock-Linux-${TIMESTAMP}.sh"
+SRC_URI="Grimrock-Linux-${MY_TIMESTAMP}.sh"
+S="${WORKDIR}"
-SLOT="0"
LICENSE="all-rights-reserved"
+SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="fetch bindist splitdebug"
+RESTRICT="bindist fetch"
-QA_PREBUILT="/opt/${PN}/${MY_PN}.bin"
+QA_PREBUILT="opt/${PN}/${MY_PN}.bin"
-RDEPEND="media-libs/freeimage
+RDEPEND="
+ media-libs/freeimage
media-libs/freetype:2
- media-libs/openal
media-libs/libsdl2[opengl,sound,video]
media-libs/libvorbis
+ media-libs/openal
sys-libs/zlib[minizip]
virtual/opengl
x11-libs/libX11"
-DEPEND="app-arch/xz-utils"
-
-S="${WORKDIR}"
-
pkg_nofetch() {
einfo "Please buy and download ${SRC_URI} from:"
einfo " ${HOMEPAGE}"
@@ -38,25 +37,26 @@ pkg_nofetch() {
}
src_unpack() {
- myarch=$(usex amd64 x86_64 x86)
+ MY_ARCH=$(usex amd64 x86_64 x86)
+
unpack_makeself
local i
- for i in subarch instarchive_all instarchive_linux_${myarch}; do
- ln -snf "${i}" "${i}.tar.xz" || die
- unpack ./"${i}.tar.xz"
+ for i in subarch instarchive_all instarchive_linux_${MY_ARCH}; do
+ ln -snf ${i} ${i}.tar.xz || die
+ unpack ./${i}.tar.xz
done
}
src_install() {
local dir=/opt/${PN}
- insinto "${dir}"
+ insinto ${dir}
doins ${PN}.{dat,png}
- exeinto "${dir}"
- newexe ${MY_PN}.bin{.${myarch},}
- dosym "../..${dir}"/${MY_PN}.bin /usr/bin/${PN}
+ exeinto ${dir}
+ newexe ${MY_PN}.bin{.${MY_ARCH},}
+ dosym ../..${dir}/${MY_PN}.bin /usr/bin/${PN}
doicon -s 256 ${PN}.png
newicon -s 64 ${MY_PN}.png ${PN}.png
@@ -64,7 +64,3 @@ src_install() {
dodoc README.linux
}
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
diff --git a/games-rpg/grimrock/metadata.xml b/games-rpg/grimrock/metadata.xml
index 26079e608bed..7c730d47817a 100644
--- a/games-rpg/grimrock/metadata.xml
+++ b/games-rpg/grimrock/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/gwiz/gwiz-0.8-r1.ebuild b/games-rpg/gwiz/gwiz-0.8-r1.ebuild
index f7a462a9a302..2f7ebbb7d424 100644
--- a/games-rpg/gwiz/gwiz-0.8-r1.ebuild
+++ b/games-rpg/gwiz/gwiz-0.8-r1.ebuild
@@ -1,22 +1,22 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils flag-o-matic
+EAPI=8
-DESCRIPTION="clone of old-school Wizardry(tm) games by SirTech"
-HOMEPAGE="http://icculus.org/gwiz/"
-SRC_URI="http://icculus.org/gwiz/${P}.tar.bz2"
+inherit desktop flag-o-matic toolchain-funcs autotools
-KEYWORDS="~alpha ~amd64 ~x86"
+DESCRIPTION="Clone of old-school Wizardry(tm) games by SirTech"
+HOMEPAGE="https://icculus.org/gwiz/"
+SRC_URI="https://icculus.org/gwiz/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
SLOT="0"
-LICENSE="GPL-2"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
-DEPEND=">=media-libs/libsdl-1.2.3[joystick,video]
- >=media-libs/sdl-image-1.2.1-r1[png]
- >=media-libs/sdl-ttf-2.0.4"
-RDEPEND=${DEPEND}
+DEPEND="media-libs/libsdl[joystick,video]
+ media-libs/sdl-image[png]
+ media-libs/sdl-ttf"
+RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-buffer.patch
@@ -25,12 +25,15 @@ PATCHES=(
src_prepare() {
default
+ tc-export CC
append-cflags -std=gnu89 # build with gcc5 (bug #572532)
+ eautoreconf # fixes configure problems for free (bug #880811)
}
src_install() {
- DOCS="AUTHORS ChangeLog README doc/HOWTO-PLAY" \
- default
+ default
+
+ dodoc doc/HOWTO-PLAY
newicon pixmaps/gwiz_icon.xpm ${PN}.xpm
make_desktop_entry gwiz Gwiz
}
diff --git a/games-rpg/gwiz/metadata.xml b/games-rpg/gwiz/metadata.xml
index 78274e0fa550..1c3ba213c494 100644
--- a/games-rpg/gwiz/metadata.xml
+++ b/games-rpg/gwiz/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/hatoful-boyfriend-holiday-star/hatoful-boyfriend-holiday-star-20151218.ebuild b/games-rpg/hatoful-boyfriend-holiday-star/hatoful-boyfriend-holiday-star-20151218.ebuild
index 8ed1e04ebf18..5d702783a124 100644
--- a/games-rpg/hatoful-boyfriend-holiday-star/hatoful-boyfriend-holiday-star-20151218.ebuild
+++ b/games-rpg/hatoful-boyfriend-holiday-star/hatoful-boyfriend-holiday-star-20151218.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit eutils desktop xdg-utils
+inherit desktop wrapper xdg-utils
DESCRIPTION="Holiday-themed sequel to the Japanese visual novel and dating sim about birds"
HOMEPAGE="https://www.devolverdigital.com/games/hatoful-boyfriend-holiday-star"
SRC_URI="Linux-Standalone-${PV}.rar"
+S="${WORKDIR}/Linux-Standalone"
+
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
@@ -28,8 +30,6 @@ RDEPEND="
)
"
-S="${WORKDIR}/Linux-Standalone"
-
DIR="/opt/${PN}"
QA_PREBUILT="${DIR#/}/*"
diff --git a/games-rpg/hatoful-boyfriend-holiday-star/metadata.xml b/games-rpg/hatoful-boyfriend-holiday-star/metadata.xml
index 1dbebd848c81..9d3df4f319d2 100644
--- a/games-rpg/hatoful-boyfriend-holiday-star/metadata.xml
+++ b/games-rpg/hatoful-boyfriend-holiday-star/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/hatoful-boyfriend/metadata.xml b/games-rpg/hatoful-boyfriend/metadata.xml
index 1dbebd848c81..9d3df4f319d2 100644
--- a/games-rpg/hatoful-boyfriend/metadata.xml
+++ b/games-rpg/hatoful-boyfriend/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/kqlives/kqlives-0.99-r2.ebuild b/games-rpg/kqlives/kqlives-0.99-r100.ebuild
index 0c16049e1001..4df485613d5b 100644
--- a/games-rpg/kqlives/kqlives-0.99-r2.ebuild
+++ b/games-rpg/kqlives/kqlives-0.99-r100.ebuild
@@ -1,23 +1,27 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit autotools desktop
+LUA_COMPAT=( lua5-1 )
+
+inherit autotools desktop lua-single
MY_P=${P/lives}
-DESCRIPTION="A console-style role playing game"
-HOMEPAGE="http://kqlives.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+DESCRIPTION="Console-style role playing game"
+HOMEPAGE="https://kqlives.sourceforge.net/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz"
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="cheats nls"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
RDEPEND="
- dev-lang/lua:0
+ ${LUA_DEPS}
>=gnome-base/libglade-2.4
media-libs/allegro:0
>=media-libs/dumb-2.0.3[allegro]
diff --git a/games-rpg/kqlives/metadata.xml b/games-rpg/kqlives/metadata.xml
index 6cc3c22df52e..4ec00f1ac74c 100644
--- a/games-rpg/kqlives/metadata.xml
+++ b/games-rpg/kqlives/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/lure/lure-1.1-r1.ebuild b/games-rpg/lure/lure-1.1-r1.ebuild
index 0cfadea6e171..612a6f77de54 100644
--- a/games-rpg/lure/lure-1.1-r1.ebuild
+++ b/games-rpg/lure/lure-1.1-r1.ebuild
@@ -1,110 +1,50 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
-inherit eutils
+inherit desktop wrapper
-DAT_PV=0.13.1
-DESCRIPTION="Lure of the Temptress"
-HOMEPAGE="http://www.revolution.co.uk/_display.php?id=10"
+DAT_PV="0.13.1"
+
+DESCRIPTION="Play as the young peasant named Diermot who has to overthrow an evil sorceress"
+HOMEPAGE="https://revolution.co.uk/games_catalog/lure-of-the-temptress-copy/"
SRC_URI="
https://raw.githubusercontent.com/scummvm/scummvm/266aef932a8a052df897e4d79b4572e5d169916f/dists/engine-data/lure.dat -> lure-${DAT_PV}.dat
+ l10n_en? ( https://downloads.sourceforge.net/scummvm/${P}.zip -> ${PN}-en-${PV}.zip )
+ l10n_es? ( https://downloads.sourceforge.net/scummvm/${PN}-es-${PV}.zip )
+ l10n_fr? ( https://downloads.sourceforge.net/scummvm/${PN}-fr-${PV}.zip )
+ l10n_de? ( https://downloads.sourceforge.net/scummvm/${PN}-de-${PV}.zip )
+ l10n_it? ( https://downloads.sourceforge.net/scummvm/${PN}-it-${PV}.zip )
!l10n_en? ( !l10n_es? ( !l10n_fr? ( !l10n_de? ( !l10n_it?
- ( mirror://sourceforge/scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) ) ) ) )
- l10n_en? ( mirror://sourceforge/scummvm/${P}.zip -> ${PN}-en-${PV}.zip )
- l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-${PV}.zip )
- l10n_fr? ( mirror://sourceforge/scummvm/${PN}-fr-${PV}.zip )
- l10n_de? ( mirror://sourceforge/scummvm/${PN}-de-${PV}.zip )
- l10n_it? ( mirror://sourceforge/scummvm/${PN}-it-${PV}.zip )"
+ ( https://downloads.sourceforge.net/scummvm/${P}.zip -> ${PN}-en-${PV}.zip ) ) ) ) )"
+S="${WORKDIR}"
LICENSE="lure"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-LANGS_IUSE="l10n_en l10n_es l10n_de l10n_fr l10n_it"
-IUSE=${LANGS_IUSE}
-RESTRICT="mirror"
-
-RDEPEND=">=games-engines/scummvm-0.13.1"
-DEPEND="${RDEPEND}
- app-arch/unzip"
+IUSE="l10n_de +l10n_en l10n_es l10n_fr l10n_it"
-S=${WORKDIR}
+RDEPEND="games-engines/scummvm"
+BDEPEND="app-arch/unzip"
-any_l10n() {
- use l10n_en || use l10n_es || use l10n_de || use l10n_fr || use l10n_it
-}
-
-src_unpack() {
- local lang
+src_install() {
+ local my_l10n=( $(usev l10n_es) $(usev l10n_de) $(usev l10n_en) $(usev l10n_fr) $(usev l10n_it) )
+ [[ ${my_l10n} ]] || my_l10n=( l10n_en )
- if any_l10n ; then
- for lang in ${LANGS_IUSE}
- do
- use ${lang} && unpack ${PN}-${lang/l10n_}-${PV}.zip
- done
- mv lure lure-en 2> /dev/null
- else
- unpack ${PN}-en-${PV}.zip
- fi
-}
+ local lang name
+ for lang in "${my_l10n[@]//l10n_/}"; do
+ [[ ${lang} == en ]] && name=${PN} || name=${PN}-${lang}
-src_prepare() {
- local lang f
+ insinto /usr/share/${PN}/${lang}
+ newins "${DISTDIR}"/${PN}-${DAT_PV}.dat ${PN}.dat
+ doins ${name}/D*[1-4].[vV][gG][aA]
- default
+ docinto ${lang}
+ dodoc ${name}/{Manual.pdf,README}
+ newdoc ${name}/PROTECT.PDF PROTECT.pdf
- find . \
- \( -iname "*exe" \
- -o -iname "*ega" \
- -o -iname LICENSE.txt \) \
- -exec rm -f '{}' +
- mkdir docs
- if any_l10n ; then
- for lang in ${LANGS_IUSE}
- do
- mkdir docs/${lang}
- find lure-${lang/l10n_} \
- \( -iname "*pdf" \
- -o -iname README \
- -o -iname "*txt" \) \
- -exec mv '{}' docs/${lang} \; 2> /dev/null
- done
- else
- find lure \
- \( -iname "*pdf" \
- -o -iname README \
- -o -iname "*txt" \) \
- -exec mv '{}' docs \; 2> /dev/null
- fi
- for f in $(find docs -type f)
- do
- mv ${f} ${f%.*}.$(echo ${f#*.} | tr '[[:upper:]]' '[[:lower:]]') 2> /dev/null
+ make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" lure"
+ make_desktop_entry ${PN}-${lang} "Lure of the Temptress (${lang})" applications-games
done
}
-
-src_install() {
- local lang
-
- if any_l10n ; then
- for lang in ${LANGS_IUSE}
- do
- if use ${lang} ; then
- lang=${lang/l10n_}
- insinto "/usr/share/${PN}-${lang}"
- newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat
- doins -r ${PN}-${lang}/*
- make_wrapper ${PN}-${lang} "scummvm -q ${lang} -f -p \"/usr/share/${PN}-${lang}\" lure" .
- make_desktop_entry ${PN}-${lang} "Lure of the Temptress (${lang})" ${PN}
- docinto l10n_${lang}
- dodoc docs/l10n_${lang}/*
- fi
- done
- else
- insinto "/usr/share/${PN}"
- newins "${DISTDIR}"/lure-${DAT_PV}.dat lure.dat
- doins -r ${PN}/*
- make_wrapper ${PN} "scummvm -f -p \"/usr/share/${PN}\" lure" .
- make_desktop_entry ${PN} "Lure of the Temptress"
- fi
-}
diff --git a/games-rpg/lure/metadata.xml b/games-rpg/lure/metadata.xml
index 801e2cc48963..e6b8e4e911e0 100644
--- a/games-rpg/lure/metadata.xml
+++ b/games-rpg/lure/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch
new file mode 100644
index 000000000000..f8f4030f0b6a
--- /dev/null
+++ b/games-rpg/manaplus/files/manaplus-1.9.3.23-gcc12-time.patch
@@ -0,0 +1,26 @@
+https://bugs.gentoo.org/855212
+https://bugs.gentoo.org/855455
+--- a/src/resources/wallpaper.cpp
++++ b/src/resources/wallpaper.cpp
+@@ -38,9 +38,7 @@
+ #include <sys/time.h>
+ #endif // WIN32
+
+-#ifdef __clang__
+ #include <ctime>
+-#endif // __clang__
+
+ #include "debug.h"
+
+--- a/src/progs/dyecmd/client.cpp
++++ b/src/progs/dyecmd/client.cpp
+@@ -87,9 +87,7 @@ PRAGMA48(GCC diagnostic pop)
+ #undef ERROR
+ #endif // WIN32
+
+-#ifdef __clang__
+ #include <ctime>
+-#endif // __clang__
+
+ #ifdef ANDROID
+ #ifndef USE_SDL2
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/files/manaplus-1.9.3.23-metainfo.patch b/games-rpg/manaplus/files/manaplus-1.9.3.23-metainfo.patch
deleted file mode 100644
index dd324e5da8b4..000000000000
--- a/games-rpg/manaplus/files/manaplus-1.9.3.23-metainfo.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From c8e83006fb78b5768de1e3e19993c91a29f5da6d Mon Sep 17 00:00:00 2001
-From: Lars Wendler <polynomial-c@gentoo.org>
-Date: Thu, 1 Oct 2020 12:48:02 +0200
-Subject: [PATCH] Rename appdata to metainfo
-
-See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html
-chapter 2.1.2 "Filesystem locations"
-
-Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
----
- Makefile.am | 4 ++--
- manaplus.appdata.xml => manaplus.metainfo.xml | 0
- 2 files changed, 2 insertions(+), 2 deletions(-)
- rename manaplus.appdata.xml => manaplus.metainfo.xml (100%)
-
-diff --git a/Makefile.am b/Makefile.am
-index 603cf8e16..70c6981be 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -6,9 +6,9 @@ desktopdir = $(datarootdir)/applications
- desktop_DATA = manaplus.desktop \
- manaplustest.desktop
-
--appdatadir = $(datarootdir)/appdata
-+appdatadir = $(datarootdir)/metainfo
-
--appdata_DATA = manaplus.appdata.xml
-+appdata_DATA = manaplus.metainfo.xml
-
- # Extra files to include
- EXTRA_DIST = $(desktop_DATA) \
-diff --git a/manaplus.appdata.xml b/manaplus.metainfo.xml
-similarity index 100%
-rename from manaplus.appdata.xml
-rename to manaplus.metainfo.xml
---
-2.28.0
-
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 a319f2a43284..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,15 +1,13 @@
-# 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
-
DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
HOMEPAGE="https://manaplus.org"
if [[ ${PV} == 9999 ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/ManaPlus/ManaPlus.git"
+ inherit autotools git-r3
+ EGIT_REPO_URI="https://gitlab.com/manaplus/manaplus.git"
else
SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~x86"
@@ -32,7 +30,7 @@ RDEPEND="
x11-apps/xmessage
x11-libs/libX11
x11-misc/xdg-utils
- mumble? ( media-sound/mumble )
+ mumble? ( net-voip/mumble )
nls? ( virtual/libintl )
opengl? ( virtual/opengl )
pugixml? ( dev-libs/pugixml )
@@ -53,23 +51,26 @@ RDEPEND="
media-libs/sdl-net
media-libs/sdl-ttf
)"
-DEPEND="${RDEPEND}"
-BDEPEND="
+DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
PATCHES=(
- "${FILESDIR}/${P}-metainfo.patch"
+ "${FILESDIR}"/${PN}-1.9.3.23-gcc12-time.patch
+ "${FILESDIR}"/${PN}-1.9.3.23-gcc13.patch
)
src_prepare() {
default
- eautoreconf
+
+ if [[ ${PV} == 9999 ]] ; then
+ eautoreconf
+ fi
}
src_configure() {
local myeconfargs=(
- --localedir="${EPREFIX}"/usr/share/locale
+ --localedir="${EPREFIX}/usr/share/locale"
--without-internalsdlgfx
$(use_with mumble)
$(use_enable nls)
@@ -78,28 +79,26 @@ src_configure() {
$(use_with sdl2)
$(use_enable test unittests)
)
- CONFIG_SHELL="/bin/bash" econf "${myeconfargs[@]}"
+
+ CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
}
src_install() {
default
- local destpath="/usr/share/${PN}"
- dosym ../../../fonts/dejavu/DejaVuSans-Bold.ttf "${destpath}"/data/fonts/dejavusans-bold.ttf
- dosym ../../../fonts/dejavu/DejaVuSans.ttf "${destpath}"/data/fonts/dejavusans.ttf
- dosym ../../../fonts/dejavu/DejaVuSansMono-Bold.ttf "${destpath}"/data/fonts/dejavusansmono-bold.ttf
- dosym ../../../fonts/dejavu/DejaVuSansMono.ttf "${destpath}"/data/fonts/dejavusansmono.ttf
- dosym ../../../fonts/dejavu/DejaVuSerifCondensed-Bold.ttf "${destpath}"/data/fonts/dejavuserifcondensed-bold.ttf
- dosym ../../../fonts/dejavu/DejaVuSerifCondensed.ttf "${destpath}"/data/fonts/dejavuserifcondensed.ttf
- dosym ../../../fonts/liberation-fonts/LiberationMono-Bold.ttf "${destpath}"/data/fonts/liberationsansmono-bold.ttf
- dosym ../../../fonts/liberation-fonts/LiberationMono-Regular.ttf "${destpath}"/data/fonts/liberationsansmono.ttf
- dosym ../../../fonts/liberation-fonts/LiberationSans-Bold.ttf "${destpath}"/data/fonts/liberationsans-bold.ttf
- dosym ../../../fonts/liberation-fonts/LiberationSans-Regular.ttf "${destpath}"/data/fonts/liberationsans.ttf
- dosym ../../../fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${destpath}"/data/fonts/mplus-1p-bold.ttf
- dosym ../../../fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${destpath}"/data/fonts/mplus-1p-regular.ttf
- dosym ../../../fonts/wqy-microhei/wqy-microhei.ttc "${destpath}"/data/fonts/wqy-microhei.ttf
-}
-
-src_test() {
- make check
+ local srcpath="../../../fonts"
+ local destpath="/usr/share/${PN}/data/fonts"
+ dosym ${srcpath}/dejavu/DejaVuSans-Bold.ttf "${destpath}"/dejavusans-bold.ttf
+ dosym ${srcpath}/dejavu/DejaVuSans.ttf "${destpath}"/dejavusans.ttf
+ dosym ${srcpath}/dejavu/DejaVuSansMono-Bold.ttf "${destpath}"/dejavusansmono-bold.ttf
+ dosym ${srcpath}/dejavu/DejaVuSansMono.ttf "${destpath}"/dejavusansmono.ttf
+ dosym ${srcpath}/dejavu/DejaVuSerifCondensed-Bold.ttf "${destpath}"/dejavuserifcondensed-bold.ttf
+ dosym ${srcpath}/dejavu/DejaVuSerifCondensed.ttf "${destpath}"/dejavuserifcondensed.ttf
+ dosym ${srcpath}/liberation-fonts/LiberationMono-Bold.ttf "${destpath}"/liberationsansmono-bold.ttf
+ dosym ${srcpath}/liberation-fonts/LiberationMono-Regular.ttf "${destpath}"/liberationsansmono.ttf
+ dosym ${srcpath}/liberation-fonts/LiberationSans-Bold.ttf "${destpath}"/liberationsans-bold.ttf
+ dosym ${srcpath}/liberation-fonts/LiberationSans-Regular.ttf "${destpath}"/liberationsans.ttf
+ dosym ${srcpath}/mplus-outline-fonts/mplus-1p-bold.ttf "${destpath}"/mplus-1p-bold.ttf
+ dosym ${srcpath}/mplus-outline-fonts/mplus-1p-regular.ttf "${destpath}"/mplus-1p-regular.ttf
+ dosym ${srcpath}/wqy-microhei/wqy-microhei.ttc "${destpath}"/wqy-microhei.ttf
}
diff --git a/games-rpg/manaplus/manaplus-9999.ebuild b/games-rpg/manaplus/manaplus-9999.ebuild
index 4682afacd0d7..6c1d04cbb663 100644
--- a/games-rpg/manaplus/manaplus-9999.ebuild
+++ b/games-rpg/manaplus/manaplus-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,7 +30,7 @@ RDEPEND="
x11-apps/xmessage
x11-libs/libX11
x11-misc/xdg-utils
- mumble? ( media-sound/mumble )
+ mumble? ( net-voip/mumble )
nls? ( virtual/libintl )
opengl? ( virtual/opengl )
pugixml? ( dev-libs/pugixml )
@@ -57,6 +57,7 @@ DEPEND="${RDEPEND}
src_prepare() {
default
+
if [[ ${PV} == 9999 ]] ; then
eautoreconf
fi
@@ -73,7 +74,8 @@ src_configure() {
$(use_with sdl2)
$(use_enable test unittests)
)
- CONFIG_SHELL="/bin/bash" econf "${myeconfargs[@]}"
+
+ CONFIG_SHELL="${BROOT}/bin/bash" econf "${myeconfargs[@]}"
}
src_install() {
@@ -95,7 +97,3 @@ src_install() {
dosym ${srcpath}/mplus-outline-fonts/mplus-1p-regular.ttf "${destpath}"/mplus-1p-regular.ttf
dosym ${srcpath}/wqy-microhei/wqy-microhei.ttc "${destpath}"/wqy-microhei.ttf
}
-
-src_test() {
- make check
-}
diff --git a/games-rpg/manaplus/metadata.xml b/games-rpg/manaplus/metadata.xml
index 7ed071353700..8c55eb1db763 100644
--- a/games-rpg/manaplus/metadata.xml
+++ b/games-rpg/manaplus/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/metadata.xml b/games-rpg/metadata.xml
index 69a2c2a773bf..6f2ff635a8da 100644
--- a/games-rpg/metadata.xml
+++ b/games-rpg/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE catmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<catmetadata>
<longdescription lang="en">
The games-rpg category contains role-playing games.
@@ -29,4 +29,3 @@
Kategoria games-rpg zawiera gry RPG.
</longdescription>
</catmetadata>
-
diff --git a/games-rpg/openglad/Manifest b/games-rpg/openglad/Manifest
index cf749afecb06..94107a191738 100644
--- a/games-rpg/openglad/Manifest
+++ b/games-rpg/openglad/Manifest
@@ -1,2 +1,2 @@
-DIST openglad-0.98.tar.gz 724106 BLAKE2B 6cd9df5fd260af9902997bc0708c8285e48081e52fff7af05f432ae94f2f6fdbfba162c664ac4f531796a0372f1be3be064843dad75163e68b7e324b9b6d506d SHA512 3f9165fbf8fff081a862bfe81401a3b2ac227da58b84409beee8b0441f88b1a6deb3d24a1af6e71bd3a3484fc90de5574950fd54be82d837021a07f06302f0e1
+DIST openglad-0.98_p20200907.tar.gz 2060013 BLAKE2B 5ea16c0ab13e45f1723ceb0b4167fcbf5863d040e1fc54cd27fa59df14200f84e0e22c0cba87f9ad3294a90850d5b36199cba8e78804d1994fb2dea6ea493fff SHA512 b3bf582a780d90408fc585b28418f462602ec35434c018d6315fb8b119b34cb0dceabcd6b5a6450ba6beb2ab5dc931d6e21ecf46e76853c7f5051c9b3be9014c
DIST openglad.png 5593 BLAKE2B 1fbc5a32861dc4cc5bb4aae4b1b42e92411756618ccfa4172e1494c4f98eb527f6bd36273a250cd7ce721baa76ba80548d75ec1e89b3da134c78d0a7b415b6bd SHA512 27419fcbbbf8640718968304a4824101860736c2091f494defcd111b5cc252856b5373c0e7a2bca1c79f9c7551012b0ba04577f9ed97769e436637ee25f5caeb
diff --git a/games-rpg/openglad/files/0.98-gladpack.c.patch b/games-rpg/openglad/files/0.98-gladpack.c.patch
deleted file mode 100644
index b4f5de9e3995..000000000000
--- a/games-rpg/openglad/files/0.98-gladpack.c.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- openglad-0.98/util/gladpack.c 2002-09-14 18:37:50.000000000 +1000
-+++ openglad-0.98/util/gladpack.c 2003-12-06 12:42:31.393812945 +1100
-@@ -9,8 +9,8 @@
-
- int main(int argc, char **argv)
- {
-- if (argc > 1 && !strcmp(argv[1], "p")) pack(argc, argv);
-- else if (argc > 1 && !strcmp(argv[1], "u")) unpack(argc, argv);
-+ if (argc > 1 && !strcmp(argv[1], "p")) return pack(argc, argv);
-+ else if (argc > 1 && !strcmp(argv[1], "u")) return unpack(argc, argv);
- else
- {
- printf("Usage: gladpack (p|u) ...\n");
diff --git a/games-rpg/openglad/files/openglad-0.98-gcc43.patch b/games-rpg/openglad/files/openglad-0.98-gcc43.patch
deleted file mode 100644
index 9f46ce8e5b95..000000000000
--- a/games-rpg/openglad/files/openglad-0.98-gcc43.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/parser.cpp
-+++ b/src/parser.cpp
-@@ -23,6 +23,8 @@
- #include <iostream>
- #include <fstream>
- #include <string>
-+#include <cstring>
-+#include <cstdlib>
- #include "parser.h"
-
- using namespace std;
diff --git a/games-rpg/openglad/files/openglad-0.98-ovfl.patch b/games-rpg/openglad/files/openglad-0.98-ovfl.patch
deleted file mode 100644
index 8ec89d22559d..000000000000
--- a/games-rpg/openglad/files/openglad-0.98-ovfl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/screen.cpp 2011-07-23 21:35:34.385063301 +0200
-+++ b/src/screen.cpp 2011-07-23 21:35:59.948063312 +0200
-@@ -2383,7 +2383,7 @@
- short listsize;
- short i;
- walker * new_guy;
-- char newgrid[12] = "grid.pix"; // default grid
-+ char newgrid[13] = "grid.pix"; // default grid
- char new_scen_type; // read the scenario type
- char oneline[80];
- char numlines, tempwidth;
diff --git a/games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch b/games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch
new file mode 100644
index 000000000000..056521c604fb
--- /dev/null
+++ b/games-rpg/openglad/files/openglad-0.98_p20200907-clang.patch
@@ -0,0 +1,10 @@
+Option gets used for C as well leading to gcc warnings and a hard
+error with clang. Option isn't actually needed, so just remove it.
+
+https://bugs.gentoo.org/830571
+--- a/premake4.lua
++++ b/premake4.lua
+@@ -47,3 +47,2 @@
+ defines { "PHYSFS_SUPPORTS_ZIP" }
+- buildoptions { "-std=gnu++0x" }
+
diff --git a/games-rpg/openglad/metadata.xml b/games-rpg/openglad/metadata.xml
index b093b0fee1ec..354c3bf1ec25 100644
--- a/games-rpg/openglad/metadata.xml
+++ b/games-rpg/openglad/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
<upstream>
+ <remote-id type="github">openglad/openglad</remote-id>
<remote-id type="sourceforge">snowstorm</remote-id>
</upstream>
</pkgmetadata>
diff --git a/games-rpg/openglad/openglad-0.98-r1.ebuild b/games-rpg/openglad/openglad-0.98-r1.ebuild
deleted file mode 100644
index 8d38d5ca0ff0..000000000000
--- a/games-rpg/openglad/openglad-0.98-r1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="An SDL clone of Gladiator, a classic RPG game"
-HOMEPAGE="http://snowstorm.sourceforge.net/"
-SRC_URI="mirror://sourceforge/snowstorm/${P}.tar.gz
- mirror://gentoo/${PN}.png"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="
- media-libs/libsdl[joystick,sound,video]
- media-libs/sdl-image
- media-libs/sdl-mixer"
-RDEPEND=${DEPEND}
-
-PATCHES=(
- "${FILESDIR}"/${P}-gcc43.patch
- "${FILESDIR}"/${PV}-gladpack.c.patch
- "${FILESDIR}"/${P}-ovfl.patch
-)
-
-src_configure() {
- econf \
- --prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share/${PN}
-}
-
-src_install() {
- emake install \
- DESTDIR="${D}" \
- docdir="${D}"/usr/share/doc/${PF}
- doicon "${DISTDIR}"/${PN}.png
- make_desktop_entry openglad OpenGladiator
-}
diff --git a/games-rpg/openglad/openglad-0.98_p20200907.ebuild b/games-rpg/openglad/openglad-0.98_p20200907.ebuild
new file mode 100644
index 000000000000..111e08b4cc6c
--- /dev/null
+++ b/games-rpg/openglad/openglad-0.98_p20200907.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop flag-o-matic toolchain-funcs
+
+MY_COMMIT="80e33b15cfa6d7d288b4b3db4dcca0349f13691f"
+
+DESCRIPTION="SDL clone of Gladiator, a classic RPG game"
+HOMEPAGE="https://snowstorm.sourceforge.net/"
+SRC_URI="
+ https://github.com/openglad/openglad/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz
+ mirror://gentoo/${PN}.png"
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+LICENSE="Boost-1.0 GPL-2+ ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-libs/libyaml
+ dev-libs/libzip:=
+ media-libs/libpng:=
+ media-libs/libsdl2[joystick,opengl,sound,video]
+ media-libs/sdl2-mixer"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-util/premake:5
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-clang.patch
+)
+
+src_prepare() {
+ default
+
+ # game uses the binary's location for assets even with a wrapper
+ sed -e '/^std::string get_asset_path/!b;n' \
+ -e "a\\return \"${EPREFIX}/usr/share/${PN}/\";" \
+ -i src/io.cpp || die
+
+ # unbundle (delete + add to pkg-config below is enough)
+ # physfs: need missing physfsrwops.h matching system's to unbundle
+ rm -r src/external/{libyaml,libzip} || die
+
+ # cleanup not to install
+ rm sound/Makefile.am || die
+}
+
+src_configure() {
+ # premake4.lua assumes a lot (e.g. no SDL2 include path), check ourselves
+ local pkgs=( SDL2_mixer libpng libzip sdl2 yaml-0.1 )
+ append-cppflags $($(tc-getPKG_CONFIG) --cflags "${pkgs[@]}" || die)
+ append-libs $($(tc-getPKG_CONFIG) --libs "${pkgs[@]}" || die)
+
+ premake5 gmake || die
+}
+
+src_compile() {
+ local emakeargs=(
+ config=release
+ verbose=y
+ ARCH= # build assumes this is -m64 and tries to pass it to the compiler
+ CC="$(tc-getCC)"
+ CXX="$(tc-getCXX)"
+ LIBS="${LIBS}"
+ ALL_LDFLAGS="${LDFLAGS}" # only used to override -s
+ )
+
+ emake "${emakeargs[@]}"
+}
+
+src_install() {
+ dobin bin/Release/${PN}
+
+ insinto /usr/share/${PN}
+ doins -r builtin cfg extra_campaigns pix sound
+ # note: extra_campaigns not directly used, but users may want them
+
+ dodoc {cheats,classes,scen}.txt
+ einstalldocs
+
+ doicon "${DISTDIR}"/${PN}.png
+ make_desktop_entry ${PN} ${PN^}
+}
diff --git a/games-rpg/pcgen/Manifest b/games-rpg/pcgen/Manifest
index 38926b7852b0..6633890110f5 100644
--- a/games-rpg/pcgen/Manifest
+++ b/games-rpg/pcgen/Manifest
@@ -1 +1 @@
-DIST pcgen-6.04.01-full.zip 68679438 BLAKE2B e9afa6b9937804988425d8d18cfed7728197ecc303f586ed899491e4d500eb0e6ddc0ae92aef1d4bfef7ff3fb987cca34af95246c83ebe71e089e3e5e91aa9dd SHA512 37e76e9bca3defe803459f898d3c51015cb4c4f69905c4179b78b1b26977b7d720ef413b3f5b2ef4252aa98f732075b9567c4f4822c61d169a5a0a6e2c78c0d4
+DIST pcgen-6.06.01-full.zip 73423642 BLAKE2B 54dbebb3e73188435ce6ed6d38387e194fff156f39d9238b55f0e7d990f785eb79f562a41c60a4861f637514615802ef5103f886e0f96624f7f53b197adcd5a3 SHA512 9af94aa434229ce00f08385759b4efc22f16ad32be81be4177c44eec94f1bedcec0742b494bbed3c95c1bcf9b2c51e2649330ee0a54f7ca4b0042966099851eb
diff --git a/games-rpg/pcgen/metadata.xml b/games-rpg/pcgen/metadata.xml
index e2b2929d7fb9..07405a07bebe 100644
--- a/games-rpg/pcgen/metadata.xml
+++ b/games-rpg/pcgen/metadata.xml
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
<upstream>
+ <remote-id type="github">PCGen/pcgen</remote-id>
<remote-id type="sourceforge">pcgen</remote-id>
</upstream>
</pkgmetadata>
diff --git a/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild b/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild
deleted file mode 100644
index 45e32d2039b7..000000000000
--- a/games-rpg/pcgen/pcgen-6.04.01-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit gnome2-utils
-
-DESCRIPTION="D&D character generator"
-HOMEPAGE="http://pcgen.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pcgen/${P}-full.zip"
-
-LICENSE="LGPL-2.1 OGL-1.0a"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=virtual/jre-1.6"
-DEPEND="app-arch/unzip"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- default
-
- rm -vf *.bat || die
- sed "/dirname/ c\cd \"\/usr\/share\/${PN}\"" pcgen.sh > "${T}"/${PN} || die
-}
-
-src_install() {
- dobin "${T}"/${PN}
- insinto /usr/share/${PN}
- doins -r *
- newicon -s 128 system/sponsors/pcgen/pcgen_128x128.png ${PN}.png
- make_desktop_entry ${PN} PCGen
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-rpg/pcgen/pcgen-6.06.01.ebuild b/games-rpg/pcgen/pcgen-6.06.01.ebuild
new file mode 100644
index 000000000000..6bf03db1d130
--- /dev/null
+++ b/games-rpg/pcgen/pcgen-6.06.01.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop edos2unix
+
+DESCRIPTION="D&D character generator"
+HOMEPAGE="http://pcgen.org/"
+SRC_URI="https://github.com/PCGen/pcgen/releases/download/${PV}/${P}-full.zip"
+S="${WORKDIR}/${PN}"
+
+LICENSE="LGPL-2.1 OGL-1.0a"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:*"
+BDEPEND="app-arch/unzip"
+
+src_prepare() {
+ default
+
+ edos2unix ${PN}.sh
+ sed "/^cd /c\\cd \"${EPREFIX}/opt/${PN}\" || exit 1" ${PN}.sh > "${T}"/${PN} || die
+
+ rm -r LICENSE docs/{doc_tools,pngcrush_logs.txt} ${PN}.{exe,sh} || die
+}
+
+src_install() {
+ dobin "${T}"/${PN}
+
+ insinto /opt/${PN}
+ doins -r .
+
+ newicon system/sponsors/pcgen/pcgen_128x128.png ${PN}.png
+ make_desktop_entry ${PN} PCGen
+}
diff --git a/games-rpg/pokete/Manifest b/games-rpg/pokete/Manifest
new file mode 100644
index 000000000000..2d22f7535f30
--- /dev/null
+++ b/games-rpg/pokete/Manifest
@@ -0,0 +1 @@
+DIST pokete-0.7.3.tar.gz 2619767 BLAKE2B 9958bc7f8062fb6ee860533d88422706fb0993929cd0c78a2023aa11c2c870d3a18a50d55268985e3fcb19a96653b1706e4d744e19fad28d8fafe8ff8a2efabf SHA512 0abc9aa04c55e89b33f84604dac9daf122fee6601c593c74b43aab2c4642a24bb9e860fef6b0afd598c0b25d6c07abc1bda99df702b5df0d1439abe4a7be58f1
diff --git a/games-rpg/pokete/metadata.xml b/games-rpg/pokete/metadata.xml
new file mode 100644
index 000000000000..77596953719e
--- /dev/null
+++ b/games-rpg/pokete/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="github">lxgr-linux/pokete</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-rpg/pokete/pokete-0.7.3.ebuild b/games-rpg/pokete/pokete-0.7.3.ebuild
new file mode 100644
index 000000000000..36e9d838617d
--- /dev/null
+++ b/games-rpg/pokete/pokete-0.7.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit desktop python-single-r1 xdg
+
+DESCRIPTION="Terminal-based clone of the game Pokémon"
+HOMEPAGE="https://github.com/lxgr-linux/pokete"
+SRC_URI="https://github.com/lxgr-linux/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ >=games-engines/scrap-engine-1.2.0[${PYTHON_USEDEP}]
+ !kernel_linux? ( >=dev-python/pynput-1.7.6[${PYTHON_USEDEP}] )
+ ')
+"
+
+DIR="/usr/share/${PN}"
+
+src_install() {
+ exeinto "${DIR}"
+ insinto "${DIR}"
+
+ doins -r \
+ mods/ \
+ ${PN}_classes/ \
+ ${PN}_data/ \
+ ${PN}_general_use_fns.py \
+ release.py
+
+ python_fix_shebang ${PN}.py
+ doexe ${PN}.py
+ dosym "${DIR/\/usr/..}"/${PN}.py /usr/bin/${PN}
+
+ doicon -s scalable assets/${PN}.svg
+ make_desktop_entry ${PN} Pokete "" "" Terminal=true
+
+ dodoc *.md
+}
diff --git a/games-rpg/queen/metadata.xml b/games-rpg/queen/metadata.xml
index 801e2cc48963..e6b8e4e911e0 100644
--- a/games-rpg/queen/metadata.xml
+++ b/games-rpg/queen/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/queen/queen-1-r1.ebuild b/games-rpg/queen/queen-1-r1.ebuild
index e9e011cf3398..f30eb3407a26 100644
--- a/games-rpg/queen/queen-1-r1.ebuild
+++ b/games-rpg/queen/queen-1-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils
+
+inherit desktop wrapper
DESCRIPTION="Flight of the Amazon Queen - 2D point-and-click adventure game set in the 1940s"
HOMEPAGE="http://scummvm.sourceforge.net/"
-SF_BASE_URL="mirror://sourceforge/scummvm/"
+SF_BASE_URL="https://downloads.sourceforge.net/scummvm/"
LYS_BASE_URL="http://www.lysator.liu.se/~zino/scummvm/queen/"
FILE_DE="FOTAQ_Ger_talkie-1.0.zip"
FILE_EN="FOTAQ_Talkie-1.1.zip"
diff --git a/games-rpg/rpg-cli/Manifest b/games-rpg/rpg-cli/Manifest
new file mode 100644
index 000000000000..7573338e3e3f
--- /dev/null
+++ b/games-rpg/rpg-cli/Manifest
@@ -0,0 +1,65 @@
+DIST anyhow-1.0.43.crate 34968 BLAKE2B a846dbc5275906e9f8ec4d5019a0fbff56e16eb970f8f528f2a7e5e2078e39a235d879870ffb92d6af45dc01b730825beb0a346fd6a2de1ddbf076366cd8eada SHA512 d35eb86b3c1676a88fcd9fa8a956f0fb3d3a657caa777e27eb8d5f6a86fec352273c463782dd803a87514c72fe679855d7a379c63bb385df593a5e14c069b7a3
+DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
+DIST autocfg-1.0.1.crate 12908 BLAKE2B 40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a SHA512 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
+DIST bincode-1.3.3.crate 28958 BLAKE2B ea01d2efd8149ecba5e240ed989268b683d542a5f369902d316a4fd1ae4b8edd94e2d4a8cbff0e96646eb29facb04a84b249d74f0781dc3d29c8797ac975aa9f SHA512 49e39d71214dbb623a18e3852f6f2f2a5c3f951b64107d66c8adaa95a442a3283fba978bca41b126c9879b12833b945f478d2c77d35482b3577fc1a894e8e5f3
+DIST bitflags-1.3.2.crate 23021 BLAKE2B eb990bb27b2bdeb66fd7212ce582cb36e1c616debbac85df642d0c82b25439e6bf9b1e811fac76b59e58ea3c1bbea6170d03a61e8f9a395e4334a0e2e2987eda SHA512 3c698f757b5cc62f815f9a1cce365c3d2dd88e4db71f331dff8bba86c2865f755b81cb4c9bfc59bd86b7643b0943f9e09a7c4f8ad75eb2ab0e714803d0129f62
+DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
+DIST clap-3.0.0-beta.4.crate 150387 BLAKE2B 9069e87dbe93db07648a1eb22ee6870bb67a23f1216bdbe87ace51e5ad39085e720ef855d52819a631d2fa4b6f5e426236f2664f756f04cbdfab1be0db50c4c6 SHA512 b3fe5e28f03c2159e46f179088fce3aaf33b022edc59c1b33f1283ab0e7a720a1c810edd7a118ee1a1a6001d78025a5dd9328cf63207ad679b407f17058c2374
+DIST clap_derive-3.0.0-beta.4.crate 24876 BLAKE2B 5bf934bbf962dbef6b32658426888c8cbad0fb1d0f61439a370d05e2b11e293e3921f1a7aeb9496866f78942b11a16369807ab47b4724d2f29540e9cbd1730a2 SHA512 3623437d71f6a8222562b743cd3c1c69bbc20caef0f4263a96ec113f7abd112da43e146fc2b0402d0265d7648ace53e882dca3b2a60ed1f367051765f5c9fb5e
+DIST colored-2.0.0.crate 21619 BLAKE2B 5abcc05a95cd74a106c4e4f3c9b1722a7a9493c7d16c2d73f2a116d1d0d20f93d00c414a19871930e6286aa60cdcb0f4f4411ae059e7e76b7632cfca3a55ebe9 SHA512 c9ee830c1e8a32372ab8c7ce569701deaa6533fa369fc1b4c04bed57b1e686ed775fc76c3d9815ad21ee69cfc7c30d645abcbacad39081c7e37ff83ebb6d9e8a
+DIST ctor-0.1.20.crate 9328 BLAKE2B bc2f4ce53f6b7d6a2fb441317a3f91b8852c541261f95f0b7d12adb35ec1c943810242ce71e514445479c5d225b735cd50fa4dfb514e6b121be753555ab3c30c SHA512 877f4663f8079a368d198a3351e98551c6d8123dd5e53b812529b77b09f1c08296e6df817d7429e4c70a73a6203fd98bce5ec2ce7b09baabe4f348bd54a9c0dd
+DIST dirs-3.0.2.crate 12184 BLAKE2B 414fa4734fd9e108dbc887210e71c8be9834c1764ca35af66781a8108af9fc704f4e7d420ffbb2adeb2a14ca5658e53cb5da4b486e093b3de010c542f7ce7c7a SHA512 97dc343d580ecda68aebe87bcbe8c13a00078943771e3f1dc3101d8d450d2ccdd0d74283870eac1d88255a99e887166d42533ba8e70d15b9cdaddb57e3a27c55
+DIST dirs-sys-0.3.6.crate 10626 BLAKE2B 6da8e4a1e51a4e06ab742ce5eb75155ff9b7cbe83f06947a0bfcda711ae1e0dbe51f9a1e1733ba771f2daddb2b8b14e343b9615608c1d9a8fb927b033c161b15 SHA512 79b6bfda14aafa3839365496e1b1926f763d3569e4e138a59f4acae15c38ec9a3bdcaa64293b03b536141c897c2bf68a67d7ae5670d86215080aa313e53d39e5
+DIST dtoa-0.4.8.crate 16175 BLAKE2B 5fff15e66c2edeb9eb9da89c66389b3a9bbb891d75afc3bb7da4dcbe9cad9e50af318cc8cc01cc7e56730763e8ea8ceb33b9447d1a7fa52a8d0f0d2060a97522 SHA512 fe1701ba2c40988b92f5f4ef78a8c81718b140ff8ca2d04023b09a89440e6ddb53ef36d1ebd9dd3e948428b361ed6611bd24ec1a31b5010c220c555e1f0bf6b8
+DIST dunce-1.0.2.crate 7953 BLAKE2B 5572521dd8b85419561ad0af2abc47f3b60b1142c1966b89f678bcce500a38b88b3986523bb6c29b38205440ed110ad5dda3ec7170c476c5614054b36b691acf SHA512 9d1a5d449985913d1cecf2249f3c14001361faf98a0ffa2cb682b4ee4dbde906302355632033484640373587c78c0345c1c7e267c354018cb070cbc46517ba86
+DIST erased-serde-0.3.16.crate 24757 BLAKE2B dbe5556499608694b1a435be074058f1fa1a0aa7bff5366d551dab07f1d299e850cd6b19a9cf4380a2acece4f36d5037c3b868dec7ef7ca2ca64ce6ecee95327 SHA512 2bbdb81cf5fe572dbed35409e7a7a635bc062a75e2a5adfbbad819eda4dca1bccf25638cdfd6e01feb80ea743c98cc7a2932a5a59d8dc33ddf0be3e4ac9b1260
+DIST getrandom-0.2.3.crate 26261 BLAKE2B 3e52a87b9355f850e07e5080c20e1ab3acfa927bae28c63bb8bfd6a773ad77be96d3ba770c344631cc0f2d9a95aac920790173168b102e25f50480ee96663569 SHA512 e6da64ed529cb0fc000b613f75187ed6b20f716e721d8a02ac2ae39c507fb9f6189ebb66b522d28584eff1e7e9efc274cad6bfe43f464f58053701e1d51c603d
+DIST ghost-0.1.2.crate 12777 BLAKE2B 34293c1ec8412ef207627ca2a041f2dd8822c2d8990df8e0f17ffdfc865a1662991a80680c484ddef505758578177d358c2e56003003a2cb685f07a41d6a9feb SHA512 4258fdfab59946a4955f053cf0b73f964d5bdf25ac9357ef8f4cb21948299fb749bf0c0e89a9c1e95a8606e74c6b3a3630fb4f6316815d83882a9531e3b78b5a
+DIST hashbrown-0.11.2.crate 85713 BLAKE2B 402f9f1bdcb92631206f9b72923ee35e28db8623e87469c0f1496664bc7185077013ab3c8aea68268241e5b2504f10cddc613a350abd4291050deda6c112e559 SHA512 c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c
+DIST heck-0.3.3.crate 10260 BLAKE2B dc756738081d855583f239908f671e9b5dde72ebfb577f6387b1a169817a03332464cf67071708a4c4f06b1ecb222118e8c719073ccdec1c0f938e5ef378b13f SHA512 b3498e033f44e03206421e565efec5b21d13107b60d35e4476331c44e6effd75c81f7678f2452c822eefd581209a2ffefd2034779cca2d8b4fac4583bbbf777f
+DIST hermit-abi-0.1.19.crate 9979 BLAKE2B 801e8052b85341cca388ada9db4b06bb1bd7b64474185b2ad06c0256b9e597639bd3dd4ba0053ea010f922e53969a4ab47b90d451fd9b94c8f2324055d151ea1 SHA512 1c877fcd562b15d2de9c151fd6c5f3ea4bf48abcb799e6139a180ffad5d64b632f0000d5707bbd92ff23a0e5f349157b9e0f5be8b50f03680b0fa47315dbb78a
+DIST indexmap-1.7.0.crate 50363 BLAKE2B b45318ae2a6e1f008494db77a3159eea3fed4f77eb04ae65599be9392d6ef78d4677b65d04fefab8f917f6808fee821a33bcf53a50b88785fae5ef6848e3a08a SHA512 9b882b4a7068a686acaee0a08bd4f3b35b58d36e786358cf14a3436eb61339649e64f1757331cc7833a2fa364c76eb6b75cf0c732afaeb202113de1e66b72ab9
+DIST inventory-0.1.10.crate 11572 BLAKE2B 8b5044c9996fd53f726652617ad7f25e3c57e5c54aac12edf0c2b41ec7d4d9388e37d8613a7e39301130d9ce4f3412b48380fa9e04bba8229d5ed2ce383a8879 SHA512 5c5f34ab3ef5b89b27a353ac5c570b9f2970288f10ae3dcaf7356ef48affcba8ae7d17406206c88e319a95f133ae69a33d43b219814b682df34219bd0cfd5eae
+DIST inventory-impl-0.1.10.crate 6228 BLAKE2B 4aa7cddfc306e192ca635e5d32fa9cc61d59824f24bbc67ad6b6996578ca0fecf8e7d04e970720b9261eaef2977dd0773ac1eed35ddffe6c075a6d92007fc276 SHA512 860cb40c77d269b8f8c71db96ee71917a33f8d9b7ed5f24e06e38d0adc5e93dad73ee6688627798cabc7536c42c519788d74ee3bc8abb13b754f7e70be663a32
+DIST itoa-0.4.7.crate 12099 BLAKE2B 0e4ffbaad504565056f74c3ef560a87eff321a0da6d7a2c8fa35813c207713c22d77080c3b830fefbb21370dd29cfbc6a2807044485b38ac1e0c9c1de3ccebc5 SHA512 c61eb50aa00591af28698b45c528c36bd92088f7cd2f453cf686a1824f4656292638bebc468cf67f903473a5045f22777af623cc0515ef3bf25146b89a7c454f
+DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
+DIST libc-0.2.99.crate 524997 BLAKE2B 9b78f524c5c5b51a5927c6e72ba24276cfd751a6f75905c6bdff0c8055912edec2caa23d9e5132d58995736f8d4d34e22aaeff63bd07aaa6eeed6d31da967a5d SHA512 91a4ae007c897e0b5fa91ecd742c45271c5d0d63819806dedb65bbab81bb1e3faf4f7332899c694df9135222de23ec12ef463f9a2508b6adcd2c0ac5cc113c9c
+DIST linked-hash-map-0.5.4.crate 16166 BLAKE2B d6bfa091265355ae124885f76212c968f2a87af80f3d306c13223ab7fa1d6a449ffda8d042bdb887501d2ffd8adbc638f18cdfeefc16c39a1eb9f57b7c658bf0 SHA512 2938883357ec0e7d9c9fc5746063ae419c97250ddceeb8de3480c89e97e0a29d175cc9199bdb3ddf81cd5d6a2a1e319ee1644a7309eea96058221074cf87c0b6
+DIST once_cell-1.8.0.crate 28925 BLAKE2B 7681b1a7497b5711e663773c1a7e076f333c06c10d3f289079a781c36f050c1620cc279742ea8e5b15ec48f3d6038a6079bbda7fee3ae8e1128bd916d53ed43a SHA512 88e55c9433225ce85a08353168c87fca2237615482160a5c28f3ac17f06d48c63e0c21b5f7ef81f82ca133436e371802ea099453844f1c111003bcb6ba89e827
+DIST os_str_bytes-3.1.0.crate 14434 BLAKE2B 028097614e4d332bbccabe48abb9aa3439a5b2edb1b3ebaabc1415d5fbafbb7799aaccf0398afe7454a9f6bcfc67c8bae1240b54d58095aa8c47ef9bcce9b512 SHA512 805ecd4720d89a1b870e29b5dce325649d0680464d78ad8552cc9af516d060d3e298dba3981b3ff6825af92c92df669f7cc0ed77a88c7ab803275c2067eed512
+DIST ppv-lite86-0.2.10.crate 20915 BLAKE2B 83a075381c24b2b89f5266929f5672ce051c3781c1a199252738dadbf471618c8b87452ce84e1cd87a9eac11b44107002894f544091210cc7e77bf52c045288e SHA512 c9941052e504b9b310024064026e4b1d540dd877705ef450a833d9ff6dee70ba874cdad68c46381a71d5b54482cd80b3dbb8e0c225758fd339069031a55195f1
+DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db
+DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495
+DIST proc-macro2-1.0.28.crate 38732 BLAKE2B f2d4765789d03d5d26c9de7e1283ce6e4086ca640d95a36649f8fdfe96533ad768b2a8ba56726e0462ba4fcd8f332fc455307987e0b7c79a5e96f2e75a641162 SHA512 2a4e34ab2bb692c3661db40ebc6d22f3dbcbc30c2f4d88e1a7f022f8522e943ffe2a1c9b92411c7e04941dc0156cb365e0de953fa45d8710e39b660ee9028741
+DIST quote-1.0.9.crate 25042 BLAKE2B 26ef31e89fd2f0cc21ff65f8072f30c7977ac634d2536cf9845a0894d6659f62a96cd0a6ee48f7706036c2c1b898ef8c9167bd62714ad0c9cba4fb02f30922af SHA512 dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8
+DIST rand-0.8.4.crate 87406 BLAKE2B c09358416d2425a8243b623346fe71bf6f03fddab1a23fc752f4303ba7c241b3606629e4edf0ea720785bda0bca534acd675c2de079b78eac3df24a1ad6ba654 SHA512 77ae0e988e31e12f7d3f2c40814f930eecbc94c4aced827c337be78eeeabf39fde2dc5c4fda059afdc01285ff4afe30393c32694377de004feff16207606558e
+DIST rand_chacha-0.3.1.crate 15251 BLAKE2B 645771b2c3e274f085e0837a20306b1d59f6e9032fba8eb38a6d1b30180d15e2f89ffa2a162bf6358da41e030098242d81e71dab4321980d0a4f6ddfc2974ce3 SHA512 8198c580b1b9b0429758ffa49cd8138fa3ce724f0dcf73c767ea7e55611d6a2e4c7cad9950896510def500ce4062b594386c947ac3d89425b4e5c9b04d0b8075
+DIST rand_core-0.6.3.crate 21938 BLAKE2B 7c73e2da6d423c68dbbca31f6528bdb3f42fa39b30d0951ca7058e05ce16ef09ef5e047697b33ec17720314f934512c0907aeb892df93d63abd8b63eda2b50a7 SHA512 0fc31f96ca8ebba8c179367de01458e909265e1d627ec0c5620be7c8e83d2f9570471d6ec2cb2bc4bc531505b02fc31f1165708cc1357906791c87123b06ee87
+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.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
+DIST serde_derive-1.0.127.crate 54201 BLAKE2B 207c20d2e276a173a1ae0326be307f3d77937442838a7890db923fea434d6e134a9591a07139f8eabb9981aee74dd092d6e2c0a98f17aa67f069faa3dccec6c8 SHA512 2c346d45bb96867ea5b4a0ca24aa9b0584d83f26578f5a1ec8a51c514d0158d98c7b76408a0ea64e5718567afb6a0cfc5922d3c5588a89b7e19035b13b1a0416
+DIST serde_json-1.0.66.crate 115121 BLAKE2B c46c65339ff79138649df206f2ec759945c31ac11bac4807a8d1e76095c1937211b0b4ebf88c69d2d22cbd90ba25643a74cafeb291e815ddeb5c5ca208eec9e6 SHA512 8cbb64a24781a94e9448dd39f9429830fff6fe61be3772c1ca825f7d489ac3c06b189c42730129e281d8f43f7128b3b9cd2308727e625763588bbaf61b54d1d1
+DIST serde_yaml-0.8.18.crate 40773 BLAKE2B f54aeaa28125064bc5e6f2a80a7ddfa52ba1b059281e0dd15cae6dcd6d990b82dbe0f0a717484d36e5576c104b9f4d7936641bfb1992b1102aa5cbc85ec92c01 SHA512 7a92851d8e70eb3d95c35bf96b5eb2a228ccca499ac9a577467d5e2dbcd82d8bc38686399541fc9360ecbba297394352f34ecb09e0495c0771ace35f1b547197
+DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1
+DIST strum-0.21.0.crate 5296 BLAKE2B 6910f08a5dcbbe6008b777a2948a8f01ca18d30be76ff6a89dcfcb28b05353a860fc1b59412933b9c54b9ad424a1366e0b81773e38b04e9a5f9a038b2d1bf082 SHA512 687a99aa93616e16510213b66f53be35561d19cd19f9776084e9d6d33f8576f5eec7a806a0e48997da2b41e6f563a05424c1d5cb5ab2b4a2310cfe1d3b10a5a6
+DIST strum_macros-0.21.1.crate 16280 BLAKE2B 48e4eb3f5e5431684a4688feb55cbf024a810b39df37fa869b4d417bf16c245c3eb901fe2c544da206f1dd4a3c2e62653b4080a9dc02eb446c6795225b34d857 SHA512 85ea12f8e03f04c427b99e027065279bd559ea1c51532c6f35cc842218e350e27349258f0fe25f5efc9fca047387da3ec5d670f94a50d574b15f4b5f1c99ddea
+DIST syn-1.0.75.crate 233068 BLAKE2B 8d4b5ddf1a18c59989f7664f0893265dbb6c833235afa430bf1fd224f3f542ff7385c5068a0da8841c9771ba9e93ce8974c6ae8dd0033235447d6a44488652bf SHA512 9ecda1f0cb91b4472309ad00f10eae80fdfce3c60990ec5f6510cb2ae8adb6f49e8b1d092426c5d1f0a7e9d669929330ac26a78fed227046dd1eb09a81d2e53f
+DIST termcolor-1.1.2.crate 17287 BLAKE2B 5ff748064c9fb6663befce2fd299edf6a6deb06ea72d21a62d6e77642934cca0933e10340fa84f636631cc08c76ba83ef2284b2212759129d54248e5fccb4c49 SHA512 f37b034345382cd621b1344a3fb301ca3d4d9db8b5858ac1ea82372c983229fce3c0ea8213d6b7e91291b6034affe11e2c3e593dbd95256294ce5c584b33e14c
+DIST textwrap-0.14.2.crate 52016 BLAKE2B db80b15ba23db718064ef0214578ea6aa4f0ee3b76723adaca131be26b770324205f2ead13c8f5c1e438ae1b5c9476cf1ede8f4ed82426c9d99d9406f2b83191 SHA512 521ab37e03aae8fcce5b909541399fc90a23020e353f95102c658fa94ffc56b9bdff43f47fb3da6e30f5c9cc9447fab72fe21d7276dfa21fe5a1a5a1c874e371
+DIST typetag-0.1.7.crate 25786 BLAKE2B 27aec7292d48f8c0d412c0115b0c198cb0556b75aef0214f8e8fd5fc6697d8ebe873e34cb4af2da5cf60e6cd2e2c62c7e97473b28c286ae0bf58262959f028b1 SHA512 5909e28a94ec53bf31ae65f34908b4d45b9174a2a45a349a11e6033669222c0c41bf4391e2feb4c63196894a2e802d6bb8f1f9f4daba1da102c9ce89175ad1b9
+DIST typetag-impl-0.1.7.crate 8870 BLAKE2B 02b87ba63da05d58acd8509565b72cc466434998343472c207a1a0fb3ae7c62e04bb68b0ad87bfef96f5919f9398313b6f851eeb805db17d01438d28459e4c34 SHA512 d63e097c6c9a544c9a8e5762012b2d53a381ed9637ea00b884bbb2e9dc14fddce01d664bcd9ccac0d89bae2fcaa29913b6cba2780a2459723926e352f189383c
+DIST unicode-segmentation-1.8.0.crate 94011 BLAKE2B 33440cedd5b51bd6075c9c75541bb8dcc16037b1c937ca72962f6c46be71a30850ab8e8a144d8b7548e5a91c78d551e7bbab5f26a713f1df0311d15f11299af9 SHA512 f0779ec42907b665df53f38ea370e661f10e7c72a75917f4cbd055868428c0eac1c7fc194d4bbf048e00f0f3d3e2b3602ae88d7820ad0c73e94a5228b61f6495
+DIST unicode-width-0.1.8.crate 16732 BLAKE2B 5aa7b87eef1322e4151a3fcf981ade311b8fa030527d7561815950e58d3f15156163dfe34da6a708c37dccc3f7652bf7fc2cd899fe8bb0118b67c4113ff3a2d2 SHA512 0abba6da6981a2451e01d93bbd47652c46eb6fb07cc0214f33259fb29945bfd5ee2b302e883ddca8f68e921635f222701b7310e7da2a5e225f854980d1e474b0
+DIST unicode-xid-0.2.2.crate 14955 BLAKE2B 6c6da49ac08dbd8b3248272224d6bff96b9cd1f36029b1937a58a0b929c3a48326053305ed49e73edd70f572f5abbc4817cedc899c69e3457805ad056669f6af SHA512 92ffd0dd34e3ca235ecf110b38c447d3ec1faa23d76c112457f28d432f92fa6b5f428bc5e1bfd278f361f55426dd96e19ecb0d3eff6cf250892f069c52bd89a8
+DIST vec_map-0.8.2.crate 14466 BLAKE2B 8f109fbff19604b82ea2aa61c952e2ce9b5597ccc8e1ef4e847648e2de08dece8c4debe92889edeccb8d393645fd0b62436b49d236ded7ad181c4a51239a9539 SHA512 4f1ef59bc2c437e79f1f84fe021bce5aa8ccd581f500f3d5776913d5f17d45b03ccee64f5bd03d47656318cfc9344a1f4311079d471fa409a8e4e94c143973f9
+DIST version_check-0.9.3.crate 12547 BLAKE2B 85761c300a8d755e0b376191ef0604728ae641261fdb10682a3134a828eadc4a33216426d286bcdbd8d0c5fcfe6ca8ba20ed078c4f53066b959739a0e73daec0 SHA512 4b3b428214a0322af536a18e6f050438398766af6589389f20a804121a6721962ba411e2dcfded60aaa74313128fb0e831bea31378e2695c29b29bdc24d7cbfd
+DIST wasi-0.10.2+wasi-snapshot-preview1.crate 27505 BLAKE2B 4eb8644b945633d6e856ad80dd74990be19eb6af99823b147163384f61d471e2d9ec054d78a7064072344be53783e57073e8fffc6d5555c149b4834a9bf31dba SHA512 06977a294d76369a3867c45abdd8a87ea5c84e5a3681075ba0d14af1aee3114ff24495c7e7f7fe1e6e42230e65fba0e062898e69bc89e0209af62c2d14094ec7
+DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
+DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
+DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
+DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
+DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a66eb54d4e166b965cc84b1e06cd17bd992a0d6ee175d9a73a76e2b44a13167246383ed054afcf3cc1710b309cb SHA512 7621dc8dfd5e7d4a7a8805b2a7e8319b63b852367655f2359d4e3e8fec6c4fad52d75c46ce1161e4c674eac0780b757ce9d34e664e304d8d2beec7afa0363ea0
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/metadata.xml b/games-rpg/rpg-cli/metadata.xml
new file mode 100644
index 000000000000..3b47d4bb1520
--- /dev/null
+++ b/games-rpg/rpg-cli/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <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.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">facundoolano/rpg-cli</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild b/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild
new file mode 100644
index 000000000000..4ec52d582136
--- /dev/null
+++ b/games-rpg/rpg-cli/rpg-cli-1.0.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Auto-Generated by cargo-ebuild 0.3.2
+
+EAPI=8
+
+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"
+
+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
+ newdoc shell/README.md README-shell.md
+}
diff --git a/games-rpg/sakura-spirit/Manifest b/games-rpg/sakura-spirit/Manifest
deleted file mode 100644
index dbec86250f68..000000000000
--- a/games-rpg/sakura-spirit/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST Sakura_Spirit-linux.tar 132434253 BLAKE2B a8ea7d111b755cdcf82ca8e4d8cd1c4a41aed661998f77eefd237f748c187e77f43de701f203a97ca24b98665a7a876c458f67646e8f100c014178d8adb58790 SHA512 94c42c7252fd871915ef89535d3d28321496f3e813fd71e9fa6bf3c264421b9c10c445dff1fef64f63d60255e89fb2c1085351c85d5c1279467134e5ef5e7011
diff --git a/games-rpg/sakura-spirit/sakura-spirit-0.ebuild b/games-rpg/sakura-spirit/sakura-spirit-0.ebuild
deleted file mode 100644
index 2cc4e8c84edd..000000000000
--- a/games-rpg/sakura-spirit/sakura-spirit-0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop eutils xdg-utils
-
-RENPY_SLOT="6.99"
-MY_PN="Sakura Spirit"
-
-DESCRIPTION="Adult-themed visual novel and dating simulator set in Japan"
-HOMEPAGE="http://wingedcloud.com"
-SRC_URI="${MY_PN/ /_}-linux.tar"
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="bindist fetch"
-
-RDEPEND="games-engines/renpy:${RENPY_SLOT}"
-
-S="${WORKDIR}/${MY_PN/ /_}-linux"
-
-pkg_nofetch() {
- einfo "If you have ${SRC_URI} as distributed by Humble Bundle then move"
- einfo "it to your distfiles directory. If you have some other version then"
- einfo "please contact the Gentoo Games team."
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins -r game/*
-
- make_wrapper ${PN} "renpy-${RENPY_SLOT} '${EPREFIX}/usr/share/${PN}'"
- make_desktop_entry ${PN} "${MY_PN}" applications-games
-
- docinto html
- dodoc README.html
-}
-
-pkg_postinst() { xdg_icon_cache_update; }
-pkg_postrm() { xdg_icon_cache_update; }
diff --git a/games-rpg/silence/Manifest b/games-rpg/silence/Manifest
new file mode 100644
index 000000000000..ecd2e55c7b18
--- /dev/null
+++ b/games-rpg/silence/Manifest
@@ -0,0 +1 @@
+DIST Silence_1.2.20280_Linux_Full_EN_DE_IT_ES_FR_ZH_JA_PT_KO_RU_PL_EL_Daedalic_noDRM.zip 4618513055 BLAKE2B 6a7b420d32e0fb8c9203ce73d201c765f046fe0f2d0514fc3abc6f666216ef920091eb0ec2f896477c084d40bd5c311514211bafe778c4309897ea0ebd5f824e SHA512 9b10b5ba75b7d493ace35d4f3f5fd419614e11b80b6c4e2723b254b94651fc73db9b4d4153a97df19d667fc9838950dda53c6997039368ec4278e619297eb513
diff --git a/games-rpg/silence/metadata.xml b/games-rpg/silence/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/games-rpg/silence/metadata.xml
@@ -0,0 +1,8 @@
+<?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/silence/silence-1.2.20280.ebuild b/games-rpg/silence/silence-1.2.20280.ebuild
new file mode 100644
index 000000000000..b54a9afa9fe3
--- /dev/null
+++ b/games-rpg/silence/silence-1.2.20280.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop wrapper xdg
+
+DESCRIPTION="3D point and click adventure, sequel to The Whispered World"
+HOMEPAGE="https://www.daedalic.com/silence"
+SRC_URI="Silence_${PV}_Linux_Full_EN_DE_IT_ES_FR_ZH_JA_PT_KO_RU_PL_EL_Daedalic_noDRM.zip"
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="l10n_de +l10n_en l10n_pl l10n_zh"
+REQUIRED_USE="|| ( ${IUSE//+} )"
+RESTRICT="bindist fetch splitdebug strip"
+
+BDEPEND="app-arch/unzip"
+
+RDEPEND="
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+"
+
+S="${WORKDIR}"
+DIR="/opt/${PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " https://www.humblebundle.com/store/${PN}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_prepare() {
+ default
+
+ MY_ARCH=$(usex amd64 x86_64 x86)
+ OTHER_ARCH=$(usex amd64 x86 x86_64)
+
+ # Delete files for the other architecture.
+ # Delete Steam library because we're not running under Steam.
+ # Delete Screen Selector library, because it requires GTK2 but is unused.
+ rm -rv \
+ Silence_Data/{Mono,Plugins}/${OTHER_ARCH}/ \
+ Silence_Data/Plugins/${MY_ARCH}/{libDaedalic.Ecosystems.Steam.External,ScreenSelector}.so \
+ || die
+
+ # Remove unneeded language files.
+ local locale localedir
+ for locale in ${IUSE//+}; do
+ if [[ ${locale} = l10n_* ]] && ! use ${locale}; then
+ case ${locale#l10n_} in
+ de) localedir=german ;;
+ en) localedir=english ;;
+ pl) localedir=polish ;;
+ zh) localedir=chinese ;;
+ *) die "unrecognised locale ${locale}" ;;
+ esac
+ rm -rv Silence_Data/GameData/Sounds/{LipSync,Voice}/${localedir}/ || die
+ fi
+ done
+}
+
+src_install() {
+ exeinto "${DIR}"
+ newexe Silence.${MY_ARCH} Silence
+ make_wrapper ${PN} ./Silence "${DIR}"
+
+ insinto "${DIR}"
+ doins -r Silence_Data version.txt
+
+ local libdir
+ for libdir in Mono Plugins; do
+ exeinto "${DIR}"/Silence_Data/${libdir}/${MY_ARCH}
+ doexe Silence_Data/${libdir}/${MY_ARCH}/*.so
+ done
+
+ newicon -s 128 Silence_Data/Resources/UnityPlayer.png silence.png
+ make_desktop_entry ${PN} Silence
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if ! use l10n_en; then
+ ewarn "You have disabled the English voice audio and lip sync data. The game"
+ ewarn "still defaults to English though, so you will need to manually change"
+ ewarn "the voice language in the options menu."
+ fi
+}
diff --git a/games-rpg/soltys/metadata.xml b/games-rpg/soltys/metadata.xml
index 801e2cc48963..e6b8e4e911e0 100644
--- a/games-rpg/soltys/metadata.xml
+++ b/games-rpg/soltys/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/soltys/soltys-1.0-r2.ebuild b/games-rpg/soltys/soltys-1.0-r2.ebuild
index e9d29906063f..987b45592723 100644
--- a/games-rpg/soltys/soltys-1.0-r2.ebuild
+++ b/games-rpg/soltys/soltys-1.0-r2.ebuild
@@ -1,64 +1,51 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit eutils
+EAPI=8
+
+inherit desktop wrapper
DESCRIPTION="Classic adventure game"
HOMEPAGE="https://wiki.scummvm.org/index.php/Soltys"
-SRC_URI="l10n_en? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip )
- l10n_es? ( mirror://sourceforge/scummvm/${PN}-es-v${PV}.zip )
- l10n_pl? ( mirror://sourceforge/scummvm/${PN}-pl-v${PV}.zip )
- !l10n_en? ( !l10n_es? ( !l10n_pl? ( mirror://sourceforge/scummvm/${PN}-en-v${PV}.zip ) ) )
- http://www.scummvm.org/images/cat-soltys.png"
+SRC_URI="l10n_en? ( https://downloads.sourceforge.net/scummvm/${PN}-en-v${PV}.zip )
+ l10n_es? ( https://downloads.sourceforge.net/scummvm/${PN}-es-v${PV}.zip )
+ l10n_pl? ( https://downloads.sourceforge.net/scummvm/${PN}-pl-v${PV}.zip )
+ !l10n_en? ( !l10n_es? ( !l10n_pl? ( https://downloads.sourceforge.net/scummvm/${PN}-en-v${PV}.zip ) ) )
+ http://www.scummvm.org/images/cat-${PN}.png"
+S="${WORKDIR}"
LICENSE="Soltys"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="l10n_en l10n_es l10n_pl"
-RDEPEND=">=games-engines/scummvm-1.5"
-DEPEND="app-arch/unzip"
-
-S="${WORKDIR}"
+RDEPEND="games-engines/scummvm"
+BDEPEND="app-arch/unzip"
src_unpack() {
- if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
- mkdir -p en || die
- unpack ${PN}-en-v${PV}.zip
- mv vol.{cat,dat} en/ || die
- fi
- if use l10n_es ; then
- mkdir -p es || die
- unpack ${PN}-es-v${PV}.zip
- mv soltys-es-v1-0/vol.{cat,dat} es/ || die
- fi
- if use l10n_pl ; then
- mkdir -p pl || die
- unpack ${PN}-pl-v${PV}.zip
- mv vol.{cat,dat} pl/ || die
- fi
-}
-
-src_prepare() {
- default
- rm -rf license.txt soltys-es-v1-0
+ MY_L10N=( $(usev l10n_en) $(usev l10n_es) $(usev l10n_pl) )
+ [[ ${MY_L10N} ]] || MY_L10N=( l10n_en )
+
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ mkdir ${lang} || die
+ unpack ${PN}-${lang}-v${PV}.zip
+ if [[ ${lang} == es ]]; then
+ mv ${PN}-${lang}-v$(ver_rs 1 -)/vol.{cat,dat} ${lang}/ || die
+ else
+ mv vol.{cat,dat} ${lang}/ || die
+ fi
+ done
}
src_install() {
insinto /usr/share/${PN}
- doins -r *
- newicon "${DISTDIR}"/cat-soltys.png soltys.png
- if use l10n_en || ( ! use l10n_en && ! use l10n_es && ! use l10n_pl ) ; then
- make_wrapper soltys-en "scummvm -f -p \"/usr/share/${PN}/en\" soltys" .
- make_desktop_entry ${PN}-en "Soltys (English)" soltys
- fi
- if use l10n_es ; then
- make_wrapper soltys-es "scummvm -f -p \"/usr/share/${PN}/es\" soltys" .
- make_desktop_entry ${PN}-es "Soltys (Español)" soltys
- fi
- if use l10n_pl ; then
- make_wrapper soltys-pl "scummvm -f -p \"/usr/share/${PN}/pl\" soltys" .
- make_desktop_entry ${PN}-pl "Soltys (Polski)" soltys
- fi
+ local lang
+ for lang in "${MY_L10N[@]//l10n_/}"; do
+ doins -r ${lang}
+ make_wrapper ${PN}-${lang} "scummvm -f -p \"${EPREFIX}/usr/share/${PN}/${lang}\" ${PN}"
+ make_desktop_entry ${PN}-${lang} "Soltys (${lang})"
+ done
+
+ newicon "${DISTDIR}"/cat-${PN}.png ${PN}.png
}
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/metadata.xml b/games-rpg/sumwars/metadata.xml
deleted file mode 100644
index ee9203d83eb5..000000000000
--- a/games-rpg/sumwars/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <changelog>http://sumwars.org/mantis/changelog_page.php</changelog>
- <bugs-to>https://sumwars.org/mantis/index.php</bugs-to>
- <remote-id type="sourceforge">sumwars</remote-id>
- </upstream>
- <use>
- <flag name="tools">Builds editor tools</flag>
- </use>
-</pkgmetadata>
diff --git a/games-rpg/sumwars/sumwars-0.5.8-r1.ebuild b/games-rpg/sumwars/sumwars-0.5.8-r1.ebuild
deleted file mode 100644
index caba1802db8a..000000000000
--- a/games-rpg/sumwars/sumwars-0.5.8-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils eutils flag-o-matic gnome2-utils
-
-DESCRIPTION="a multi-player, 3D action role-playing game"
-HOMEPAGE="http://sumwars.org"
-SRC_URI="mirror://sourceforge/sumwars/${P//_/-}-src.tar.bz2"
-
-LICENSE="GPL-3 CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+tools debug"
-
-LANGS="de en it pl pt ru uk"
-for L in ${LANGS} ; do
- IUSE="${IUSE} l10n_${L}"
-done
-unset L
-
-RDEPEND="
- >=dev-games/cegui-0.8[ogre]
- >=dev-games/ogre-1.7.4-r1[freeimage,opengl]
- dev-games/ois
- dev-games/physfs
- >=dev-lang/lua-5.1:0
- >=dev-libs/tinyxml-2.6.2-r2
- media-libs/freealut
- media-libs/openal
- media-libs/libogg
- media-libs/libvorbis
- >=net-libs/enet-1.3.0
- x11-libs/libX11
- x11-libs/libXrandr
- tools? ( dev-libs/boost )"
-DEPEND=${RDEPEND}
-
-S=${WORKDIR}/${PN}-${PV%_*}
-
-src_configure() {
- # QA
- append-flags -fno-strict-aliasing
-
- use debug && CMAKE_BUILD_TYPE=Debug
-
- local l langs
- for l in ${LANGS}; do
- if use l10n_${l}; then
- langs="${langs} ${l}"
- fi
- done
-
- [[ -z "${langs}" ]] && langs="en"
-
- # configure sumwars with cmake
- local mycmakeargs=(
- -DCMAKE_INSTALL_PREFIX=""
- -DSUMWARS_BUILD_TOOLS="$(usex tools)"
- -DSUMWARS_DOC_DIR="/usr/share/doc/${PF}"
- -DSUMWARS_EXECUTABLE_DIR="/usr/bin"
- -DSUMWARS_LANGUAGES="${langs}"
- -DSUMWARS_NO_ENET=ON
- -DSUMWARS_NO_TINYXML=ON
- -DSUMWARS_PORTABLE_MODE=OFF
- -DSUMWARS_POST_BUILD_COPY=OFF
- -DSUMWARS_RANDOM_REGIONS=ON
- -DSUMWARS_SHARE_DIR="/usr/share/${PN}"
- -DSUMWARS_STANDALONE_MODE=OFF
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- newicon -s 128 share/icon/SumWarsIcon_128x128.png ${PN}.png
- make_desktop_entry ${PN} "Summoning Wars"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-rpg/the-longest-journey-hd-fmv/Manifest b/games-rpg/the-longest-journey-hd-fmv/Manifest
new file mode 100644
index 000000000000..18377ca28b0a
--- /dev/null
+++ b/games-rpg/the-longest-journey-hd-fmv/Manifest
@@ -0,0 +1 @@
+DIST TLJHD_FMV_1.1.zip 3340708806 BLAKE2B e8513bad4dcfc96d5aa63773e7128163a959e14af697a431480f6c4620743c55a3ab2008ecdde5fc4f759598499f74a76579a24345cde97f3fa495ac71b64a2b SHA512 5cfb5447c667f9db98a88ba669641ea42f12c9ac1341efa6b6c2ac5d55a73aecd0da2821e13092c9d11177c19567398b240c0632d0c2c6b4ae70e91e15554a5a
diff --git a/games-rpg/the-longest-journey-hd-fmv/metadata.xml b/games-rpg/the-longest-journey-hd-fmv/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/games-rpg/the-longest-journey-hd-fmv/metadata.xml
@@ -0,0 +1,8 @@
+<?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/the-longest-journey-hd-fmv/the-longest-journey-hd-fmv-1.1.ebuild b/games-rpg/the-longest-journey-hd-fmv/the-longest-journey-hd-fmv-1.1.ebuild
new file mode 100644
index 000000000000..800989940e03
--- /dev/null
+++ b/games-rpg/the-longest-journey-hd-fmv/the-longest-journey-hd-fmv-1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="3229M"
+CHECKREQS_DISK_USR="3229M"
+inherit check-reqs
+
+DESCRIPTION="Upscaled full motion videos for The Longest Journey"
+HOMEPAGE="https://tljhd.github.io"
+SRC_URI="TLJHD_FMV_${PV}.zip"
+LICENSE="fairuse"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist fetch"
+
+RDEPEND="
+ ${CATEGORY}/${PN%-hd-fmv}
+"
+
+BDEPEND="
+ app-arch/unzip
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ einfo "Please download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+ insinto /usr/share/${PN%-hd-fmv}
+ doins -r mods/
+}
diff --git a/games-rpg/the-longest-journey-hd/Manifest b/games-rpg/the-longest-journey-hd/Manifest
new file mode 100644
index 000000000000..e609c93f354c
--- /dev/null
+++ b/games-rpg/the-longest-journey-hd/Manifest
@@ -0,0 +1 @@
+DIST TLJHD_1.02.zip 1505177703 BLAKE2B 4f77ca7c3d1776542b262000bea0504552ba6cc85f0b210c3220ccf7ec22df59fcfd4244659e4f629a149e609d9a93f5b30adfb44008d7512f4156a554bbab52 SHA512 a3e65fa7f6edc6b547aac7ce178b054763eb15246d1c341d62f0f0a5e59c64a8aa52392685bfdeca2c6a5e0cd2a6ee14dbd00f80fe5e928e321c1df695e134cf
diff --git a/games-rpg/the-longest-journey-hd/metadata.xml b/games-rpg/the-longest-journey-hd/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/games-rpg/the-longest-journey-hd/metadata.xml
@@ -0,0 +1,8 @@
+<?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/the-longest-journey-hd/the-longest-journey-hd-1.02.ebuild b/games-rpg/the-longest-journey-hd/the-longest-journey-hd-1.02.ebuild
new file mode 100644
index 000000000000..54d0ddf85af8
--- /dev/null
+++ b/games-rpg/the-longest-journey-hd/the-longest-journey-hd-1.02.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="1463M"
+CHECKREQS_DISK_USR="1461M"
+inherit check-reqs
+
+DESCRIPTION="High definition backgrounds and sprites for The Longest Journey"
+HOMEPAGE="https://tljhd.github.io"
+SRC_URI="TLJHD_${PV}.zip"
+LICENSE="fairuse"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist fetch"
+
+RDEPEND="
+ ${CATEGORY}/${PN%-hd}
+"
+
+BDEPEND="
+ app-arch/unzip
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ einfo "Please download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_install() {
+ insinto /usr/share/${PN%-hd}
+ # The fonts are the same as the original ones.
+ doins -r mods/
+}
diff --git a/games-rpg/the-longest-journey/Manifest b/games-rpg/the-longest-journey/Manifest
new file mode 100644
index 000000000000..8fe86ac94bbf
--- /dev/null
+++ b/games-rpg/the-longest-journey/Manifest
@@ -0,0 +1,2 @@
+DIST setup_the_longest_journey_142_lang_update_(24607)-1.bin 1731065137 BLAKE2B 55d67ee12bcb527b45c4028ee1b84b6670fccad3000c0752138cd47e1225c7ed7a1f929be3711a091c6d749ec724c0768000bfa2324064d99eb070689a8dec57 SHA512 95d550a444f37b049c26aec04e851d5c057fdbd662306650024d0fc0eb88eaea8c831b2fddb599afed2dc1ed88b6a7d4f171525ebfc61fc6303080de30992687
+DIST setup_the_longest_journey_142_lang_update_(24607).exe 2126208 BLAKE2B 794c36e5080681da6b9e88fb42bb2325784336b5e2b6117240f07cc3aca87eaaa7001150dac42a5506bd3a41234775e401bd9bef4e59fff14589037f9c540cf4 SHA512 51c4221e8ddcf803814c781b0b441c8e38f17c78df0f62f35b540141799616abdcab2791dcc5f90c7ac4a9ff06ebb29b7d65a38777799087752f7c07ee1abdb9
diff --git a/games-rpg/the-longest-journey/metadata.xml b/games-rpg/the-longest-journey/metadata.xml
new file mode 100644
index 000000000000..8815a3aa2353
--- /dev/null
+++ b/games-rpg/the-longest-journey/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <use>
+ <flag name="hd">Install high definition backgrounds and sprites</flag>
+ <flag name="hd-fmv">Install upscaled full motion videos</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild b/games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild
new file mode 100644
index 000000000000..68f1a6546220
--- /dev/null
+++ b/games-rpg/the-longest-journey/the-longest-journey-142.24607.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHECKREQS_DISK_BUILD="1826M"
+CHECKREQS_DISK_USR="1820M"
+inherit check-reqs desktop wrapper xdg
+
+MY_EXE="setup_the_longest_journey_${PV%.*}_lang_update_(${PV##*.})"
+ICON="9c94fffadc23bac626a24a9c04cf8f107598ef9d0d2a58cbb6a9abd4d6eb0fbc.png"
+
+DESCRIPTION="An adventure through fantasy worlds, seen through the eyes of a student"
+HOMEPAGE="https://www.gog.com/game/the_longest_journey"
+SRC_URI="${MY_EXE}.exe ${MY_EXE}-1.bin"
+LICENSE="GOG-EULA"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+hd +hd-fmv"
+RESTRICT="bindist fetch"
+
+RDEPEND="
+ >=games-engines/scummvm-2.5.1[opengl,truetype,vorbis]
+"
+
+PDEPEND="
+ hd? ( ${CATEGORY}/${PN}-hd )
+ hd-fmv? ( ${CATEGORY}/${PN}-hd-fmv )
+"
+
+BDEPEND="
+ app-arch/innoextract
+ app-arch/unzip
+"
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${MY_EXE}{.exe,-1.bin} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ innoextract -e -s -m "${DISTDIR}/${MY_EXE}.exe" || die
+ unzip -qo app/webcache.zip "${ICON}" || die
+}
+
+src_install() {
+ local dir=/usr/share/${PN}
+
+ insinto "${dir}"
+ doins -r [0-9]?/ Global/ Static/ Fonts/ game.exe x.xarc *.ini
+ dodoc manual.pdf
+
+ docinto html
+ dodoc -r tlj_faq_files/ tlj_faq.html
+
+ newicon -s 128 "${ICON}" "${PN}.png"
+ make_wrapper ${PN} "scummvm -p \"${EPREFIX}${dir}\" tlj"
+ make_desktop_entry ${PN} "The Longest Journey"
+}
diff --git a/games-rpg/the-royal-trap/Manifest b/games-rpg/the-royal-trap/Manifest
deleted file mode 100644
index a664a6bf0918..000000000000
--- a/games-rpg/the-royal-trap/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST The_Royal_Trap_HD_1.2-linux-x86.tar 193616345 BLAKE2B f43eb162abd077b1b2dde85012652704049c18830d0e8eb5ee4aa60b05d4b123b0fe9388aec70154b0d6e8d6a89e12fba06aacf50d5026d2391e6ad90af3d5ba SHA512 d6c0172a35e36fc6e42f1c9827e99f814cd9084a2d94042b9fd2b9a0ffd4ac1adb7c898a6579b856cfde548073b1d34a49fb6ba80d4a6c6bce682673094eff0d
diff --git a/games-rpg/the-royal-trap/metadata.xml b/games-rpg/the-royal-trap/metadata.xml
deleted file mode 100644
index 59e01fb5b2fa..000000000000
--- a/games-rpg/the-royal-trap/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <longdescription>
- Madeleine Valois is a prince's companion. Her job is to guide
- and advise him, to make him look good so that he can land a
- royal bride. It is her responsibility to keep him out of
- trouble - not to let him walk blindly into a political
- minefield, not to let him get arrested for a crime he didn't
- commit, and definitely not to let him fall in love with her.
-
- Unfortunately, events are not going according to plan...
- </longdescription>
-</pkgmetadata>
diff --git a/games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild b/games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild
deleted file mode 100644
index dccd9ca8f22a..000000000000
--- a/games-rpg/the-royal-trap/the-royal-trap-1.2.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop eutils xdg-utils
-
-RENPY_SLOT="6.99"
-MY_PN="The Royal Trap"
-
-DESCRIPTION="Visual novel where you help a prince choose his royal bride"
-HOMEPAGE="https://www.hanakogames.com/royaltrap.shtml"
-SRC_URI="${MY_PN// /_}_HD_${PV}-linux-x86.tar"
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="bindist fetch"
-
-RDEPEND="games-engines/renpy:${RENPY_SLOT}"
-
-S="${WORKDIR}/${MY_PN} HD ${PV}-linux-x86"
-
-pkg_nofetch() {
- einfo "If you have ${SRC_URI} as distributed by Humble Bundle then move"
- einfo "it to your distfiles directory. If you have some other version then"
- einfo "please contact the Gentoo Games team."
-}
-
-src_install() {
- insinto /usr/share/${PN}
- doins -r game/*
-
- make_wrapper ${PN} "renpy-${RENPY_SLOT} '${EPREFIX}/usr/share/${PN}'"
- make_desktop_entry ${PN} "${MY_PN}" applications-games
-
- docinto html
- dodoc README.html
-}
-
-pkg_postinst() { xdg_icon_cache_update; }
-pkg_postrm() { xdg_icon_cache_update; }
diff --git a/games-rpg/to-the-moon/metadata.xml b/games-rpg/to-the-moon/metadata.xml
index 451145245bfb..5276fd81004a 100644
--- a/games-rpg/to-the-moon/metadata.xml
+++ b/games-rpg/to-the-moon/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/to-the-moon/to-the-moon-0.ebuild b/games-rpg/to-the-moon/to-the-moon-0-r2.ebuild
index b55f9b6f24f4..cdd9f1c63f50 100644
--- a/games-rpg/to-the-moon/to-the-moon-0.ebuild
+++ b/games-rpg/to-the-moon/to-the-moon-0-r2.ebuild
@@ -1,96 +1,80 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# TODO: unbundling sdl-sound breaks the game
+EAPI=8
-EAPI=5
+inherit desktop unpacker wrapper xdg
-inherit eutils unpacker gnome2-utils games
+MY_PN="ToTheMoon"
-MY_PN=ToTheMoon
DESCRIPTION="Two doctors traversing the memories of a dying man to fulfill his last wish"
-HOMEPAGE="http://freebirdgames.com/games/to-the-moon"
+HOMEPAGE="https://freebirdgames.com/games/to-the-moon/"
SRC_URI="${MY_PN}_linux_1389114090.sh"
+S="${WORKDIR}/data"
LICENSE="all-rights-reserved bundled-libs? ( LGPL-2 LGPL-2.1 ZLIB )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="bundled-libs"
-RESTRICT="fetch bindist splitdebug"
+RESTRICT="bindist fetch"
-QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/${MY_PN}.bin*"
-if [[ ${ARCH} == "amd64" ]] ; then
- QA_PREBUILT="${QA_PREBUILT} ${GAMES_PREFIX_OPT}/${PN}/lib64/*"
-else
- QA_PREBUILT="${QA_PREBUILT} ${GAMES_PREFIX_OPT}/${PN}/lib/*"
-fi
+QA_PREBUILT="
+ opt/${PN}/${MY_PN}.bin*
+ opt/${PN}/lib/*
+ opt/${PN}/lib64/*"
+# TODO: unbundling sdl-sound breaks the game
RDEPEND="
+ media-libs/libglvnd[X]
+ sys-libs/libxcrypt:0/1
+ sys-libs/zlib
!bundled-libs? (
dev-libs/libsigc++:2
- >=media-libs/libsdl2-2.0.1[X,joystick,opengl,sound,threads,video]
+ >=media-libs/libsdl2-2.0.1[X,joystick,opengl,sound,threads(+),video]
media-libs/openal
media-libs/sdl2-image[png]
media-libs/sdl2-ttf
)
- sys-libs/zlib
- virtual/opengl"
-
-S=${WORKDIR}/data
+"
pkg_nofetch() {
- einfo
einfo "Please buy & download ${SRC_URI} from:"
einfo " ${HOMEPAGE}"
einfo "and move/link it to your DISTDIR directory."
- einfo
}
src_unpack() {
# mojo stuff inside makeself archive, unpack_makeself fails
local lastline=$(( $(grep -a -h -n -m 1 -F -e "Extra newline, because in very rare cases (OpenSolaris) stub is directly added after script" "${DISTDIR}/${A}" | cut -d':' -f1) + 1 ))
[[ ${lastline} ]] || die "no last line"
+
local offset=$(head -n ${lastline} "${DISTDIR}/${A}" | wc -c)
[[ ${offset} ]] || die "no offset"
+
dd ibs=${offset} skip=1 if="${DISTDIR}/${A}" of="${T}"/moon.zip || die
unpack_zip "${T}"/moon.zip
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
- local libsuffix=$(usex amd64 "64" "")
- local arch=$(usex amd64 "x86_64" "x86")
+ local dir=/opt/${PN}
+ local libsuffix=$(usex amd64 64 '')
+ local arch=$(usex amd64 x86_64 x86)
- insinto "${dir}"
+ insinto ${dir}
doins -r noarch/{Audio,Data,Fonts,Graphics,Game.ini,mkxp.conf,ToTheMoon.png}
- exeinto "${dir}"
+ exeinto ${dir}
doexe ${arch}/${MY_PN}.bin.${arch}
- exeinto "${dir}/lib${libsuffix}"
+ exeinto ${dir}/lib${libsuffix}
if use bundled-libs ; then
doexe ${arch}/lib${libsuffix}/*
else
doexe ${arch}/lib${libsuffix}/libSDL_sound-1.0.so.1
fi
- games_make_wrapper ${PN} "./${MY_PN}.bin.${arch}" "${dir}" "${dir}/lib${libsuffix}"
- make_desktop_entry ${PN} "To the Moon"
- newicon -s 32 noarch/${MY_PN}.png ${PN}.png
+ make_wrapper ${PN} ./${MY_PN}.bin.${arch} ${dir}{,/lib${libsuffix}}
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
+ newicon noarch/${MY_PN}.png ${PN}.png
+ make_desktop_entry ${PN} "To the Moon"
}
diff --git a/games-rpg/twclone/Manifest b/games-rpg/twclone/Manifest
deleted file mode 100644
index 6cbe2a3ac1cd..000000000000
--- a/games-rpg/twclone/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST twclone-source-0.14.tar.gz 163065 BLAKE2B 58d5fb13c5d6dc6bb5f73d2f4da8eace8aad7625a464b45099bd21d9cd8c3d29b25714f73e505d895b7fd8815c0dd3227a289009b7298ebaf83b0ada58deff73 SHA512 66a63e2cc5fe82fb5a5b1f887c9eb3bf8b89044f7f7d489b67e5bb15a21426a5a0eb27b53ab59c05c784fc6fb7ffaadcfc5453fc55943959db859a053adb7843
diff --git a/games-rpg/twclone/files/twclone-0.14-format.patch b/games-rpg/twclone/files/twclone-0.14-format.patch
deleted file mode 100644
index d9d1a1c52516..000000000000
--- a/games-rpg/twclone/files/twclone-0.14-format.patch
+++ /dev/null
@@ -1,75 +0,0 @@
---- a/bigbang.c 2015-10-27 09:21:51.172611109 +0100
-+++ b/bigbang.c 2015-10-27 09:25:41.117233447 +0100
-@@ -530,13 +530,11 @@
- planetfile = fopen ("./planets.data", "w");
- for (loop = 1; loop <= 299 - strlen(terraInfo); loop++)
- strcat(terraInfo, " ");
-- strcat(terraInfo, "\n");
-- fprintf (planetfile, terraInfo);
-+ fprintf (planetfile, "%s\n", terraInfo);
- sprintf (ferrinfo, "%d:%d:Ferringhi:1:-2:Unknown:1000:1000:1000:0:0:0:0:3:100000:20:30:10:0:0:0:0:", 2, ferringhiSector);
- for (loop = 1; loop <= 299 - strlen(ferrinfo); loop++)
- strcat(ferrinfo, " ");
-- strcat(ferrinfo, "\n");
-- fprintf(planetfile, ferrinfo);
-+ fprintf(planetfile, "%s\n", ferrinfo);
- randomPlanetInfo = malloc (sizeof (strNameLength));
- if (numRandomPlanets > 0)
- {
-@@ -552,8 +550,7 @@
- , c, tempint, randomname (randomPlanetInfo), randomnum(1,5));
- for (loop = 1; loop <= 299 - strlen(ferrinfo); loop++)
- strcat(ferrinfo, " ");
-- strcat(ferrinfo, "\n");
-- fprintf(planetfile, ferrinfo);
-+ fprintf(planetfile, "%s\n", ferrinfo);
-
- c++;
- }
-@@ -616,10 +613,9 @@
- fileline = strcat (fileline, ":");
- if (sectorlist[x]->nebulae != NULL)
- fileline = strcat (fileline, sectorlist[x]->nebulae);
-- fileline = strcat (fileline, ":\n");
- /* Later put in whitespace buffer for saving */
- /* Not needed until user created beacons put in */
-- fprintf (file, fileline);
-+ fprintf (file, "%s:\n", fileline);
- }
- fclose (file);
- free (fileline);
-@@ -646,8 +642,7 @@
- len = (int) strlen (fileline);
- for (y = 0; y <= 99 - len; y++)
- strcat (fileline, " ");
-- strcat (fileline, "\n");
-- fprintf (file, fileline);
-+ fprintf (file, "%s\n", fileline);
- }
- fclose (file);
-
---- a/config.c 2015-10-27 09:30:00.091283678 +0100
-+++ b/config.c 2015-10-27 09:30:25.068806593 +0100
-@@ -140,9 +140,8 @@
-
- for (loop=0; loop < 199 - strlen(buffer); loop++)
- strcat(buffer, " ");
-- strcat(buffer, "\n");
-
-- fprintf(configfile, buffer);
-+ fprintf(configfile, "%s\n", buffer);
-
- fclose(configfile);
- free(buffer);
---- a/planet.c 2015-10-27 09:31:44.867282757 +0100
-+++ b/planet.c 2015-10-27 09:32:17.083667674 +0100
-@@ -59,8 +59,7 @@
- addint(stufftosave, planets[index]->citdl->upgradestart, ':', BUFF_SIZE);
- for (loop=0; loop< 399 - strlen(stufftosave); loop++)
- strcat(stufftosave, " ");
-- strcat(stufftosave, "\n");
-- fprintf(planetfile, stufftosave);
-+ fprintf(planetfile, "%s\n", stufftosave);
- }
- }
- fclose(planetfile);
diff --git a/games-rpg/twclone/metadata.xml b/games-rpg/twclone/metadata.xml
deleted file mode 100644
index 56bd9d00cd1f..000000000000
--- a/games-rpg/twclone/metadata.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <longdescription>
-How many of you remeber the BBS days back in the late 80's and early 90's?
-Back when you would call in play games and go on with your life? Well I'm
-trying to duplicate one of those old games. It was called Trade Wars
-2002(Created by Martech Software). So I decided to make a game similar to it
-that runs in Linux.
-</longdescription>
- <upstream>
- <remote-id type="sourceforge">twclone</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/games-rpg/twclone/twclone-0.14-r1.ebuild b/games-rpg/twclone/twclone-0.14-r1.ebuild
deleted file mode 100644
index 95f7c5550971..000000000000
--- a/games-rpg/twclone/twclone-0.14-r1.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${PN}-source-${PV}"
-DESCRIPTION="Clone of BBS Door game Trade Wars 2002"
-HOMEPAGE="http://twclone.sourceforge.net/"
-SRC_URI="mirror://sourceforge/twclone/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
- "${FILESDIR}"/${P}-format.patch
-)
-
-src_install() {
- DOCS="AUTHORS ChangeLog PROTOCOL README TODO" \
- default
- cd "${D}/usr/bin"
- for f in * ; do
- mv {,${PN}-}${f}
- done
-}
diff --git a/games-rpg/vendetta-online-bin/metadata.xml b/games-rpg/vendetta-online-bin/metadata.xml
index 78274e0fa550..1c3ba213c494 100644
--- a/games-rpg/vendetta-online-bin/metadata.xml
+++ b/games-rpg/vendetta-online-bin/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
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 8c863e4c4e78..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,31 +1,44 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
-inherit eutils unpacker
+EAPI=8
+
+inherit desktop unpacker
DESCRIPTION="Space-based MMORPG"
HOMEPAGE="https://www.vendetta-online.com"
-SRC_URI="amd64? (
+SRC_URI="
+ amd64? (
http://mirror.cle.vendetta-online.com/vendetta-linux-amd64-installer.sh
-> ${P}-amd64.sh
)
x86? (
http://mirror.cle.vendetta-online.com/vendetta-linux-ia32-installer.sh
-> ${P}-x86.sh
- )"
+ )
+"
+S="${WORKDIR}"
LICENSE="guild"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
-IUSE=""
RESTRICT="mirror strip"
-DEPEND="dev-util/patchelf"
-RDEPEND="virtual/opengl
- x11-libs/gtk+:2"
+RDEPEND="
+ media-libs/alsa-lib
+ media-libs/libpulse
+ virtual/glu
+ virtual/opengl
+ x11-libs/gtk+:2
+"
+BDEPEND="dev-util/patchelf"
-S=${WORKDIR}
+QA_FLAGS_IGNORED="
+ opt/vendetta-online-bin/install/drivers/.*.so
+ opt/vendetta-online-bin/install/update.rlb
+ opt/vendetta-online-bin/install/vendetta
+ opt/vendetta-online-bin/vendetta
+"
src_unpack() {
unpack_makeself
@@ -36,8 +49,7 @@ src_prepare() {
default
# scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.'
- for file in install/drivers/{gkvc.so,soundbackends/libalsa_linux_amd64.so,soundbackends/libpulseaudio_linux_amd64.so}
- do
+ for file in install/drivers/{gkvc.so,soundbackends/libalsa_linux_amd64.so,soundbackends/libpulseaudio_linux_amd64.so} ; do
patchelf --set-rpath '$ORIGIN' $file || die
done
}
@@ -45,9 +57,9 @@ src_prepare() {
src_install() {
local dir=/opt/${PN}
- insinto "${dir}"
+ insinto ${dir}
doins -r *
- fperms +x "${dir}"/{vendetta,install/{media.rlb,update.rlb,vendetta}}
+ fperms +x ${dir}/{vendetta,install/{media.rlb,update.rlb,vendetta}}
sed \
-e "s:DATADIR:${dir}:" \
diff --git a/games-rpg/wasteland2/metadata.xml b/games-rpg/wasteland2/metadata.xml
index 3c186688e265..9de68a7b7983 100644
--- a/games-rpg/wasteland2/metadata.xml
+++ b/games-rpg/wasteland2/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild b/games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild
new file mode 100644
index 000000000000..42082b1444ca
--- /dev/null
+++ b/games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CHECKREQS_DISK_BUILD="22000M"
+CHECKREQS_DISK_USR="21600M"
+inherit check-reqs desktop wrapper
+
+DESCRIPTION="Sequel to 1988 Wasteland, post-apocalyptic computer RPG inspiration for Fallout"
+HOMEPAGE="https://wasteland.inxile-entertainment.com/"
+SRC_URI="gog_wasteland_2_${PV}.tar.gz"
+S="${WORKDIR}/Wasteland 2"
+
+LICENSE="all-rights-reserved"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist fetch"
+
+QA_PREBUILT="opt/${PN}/*"
+
+RDEPEND="
+ dev-libs/atk[abi_x86_32(-)]
+ dev-libs/glib:2[abi_x86_32(-)]
+ media-libs/fontconfig:1.0[abi_x86_32(-)]
+ media-libs/freetype:2[abi_x86_32(-)]
+ virtual/glu[abi_x86_32(-)]
+ virtual/opengl[abi_x86_32(-)]
+ x11-libs/cairo[abi_x86_32(-)]
+ x11-libs/gdk-pixbuf[abi_x86_32(-)]
+ x11-libs/gtk+:2[abi_x86_32(-)]
+ x11-libs/libX11[abi_x86_32(-)]
+ x11-libs/libXcursor[abi_x86_32(-)]
+ x11-libs/libXext[abi_x86_32(-)]
+ x11-libs/libXrandr[abi_x86_32(-)]
+ x11-libs/pango[abi_x86_32(-)]"
+
+pkg_nofetch() {
+ einfo "Please buy Wasteland 2"
+ einfo "from https://www.gog.com/ and"
+ einfo "download ${SRC_URI}"
+ einfo "and move it to your DISTDIR directory."
+ einfo
+ einfo "This ebuild was tested with the CLASSICAL edition."
+ einfo "If it works with the deluxe edition too, please"
+ einfo "open a bug report. If not, open a bug report too."
+}
+
+src_install() {
+ local dir=/opt/${PN}
+
+ # over 20GB of data
+ dodir ${dir}
+ mv game/WL2_Data "${ED}"/${dir}/ || die
+
+ exeinto ${dir}
+ doexe game/WL2
+
+ make_wrapper ${PN} ./WL2 ${dir}
+
+ newicon support/gog-wasteland-2.png ${PN}.png
+ make_desktop_entry ${PN} "Wasteland 2"
+
+ dodoc docs/*.pdf
+}
diff --git a/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild b/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild
deleted file mode 100644
index b8ddb7e9b2e9..000000000000
--- a/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils gnome2-utils check-reqs games
-
-DESCRIPTION="Sequel to 1988 Wasteland, post-apocalyptic computer RPG inspiration for Fallout"
-HOMEPAGE="https://wasteland.inxile-entertainment.com/"
-SRC_URI="gog_wasteland_2_${PV}.tar.gz"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="bindist fetch mirror"
-
-QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/*"
-
-RDEPEND="
- >=dev-libs/atk-2.12.0-r1[abi_x86_32(-)]
- >=dev-libs/glib-2.40.0-r1:2[abi_x86_32(-)]
- >=media-libs/fontconfig-2.10.92:1.0[abi_x86_32(-)]
- >=media-libs/freetype-2.5.3-r1:2[abi_x86_32(-)]
- >=x11-libs/cairo-1.12.16-r2[abi_x86_32(-)]
- >=x11-libs/gdk-pixbuf-2.30.8:2[abi_x86_32(-)]
- >=x11-libs/gtk+-2.24.24:2[abi_x86_32(-)]
- >=x11-libs/pango-1.36.5[abi_x86_32(-)]
- >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
- >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
- >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
- >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
- >=virtual/glu-9.0-r1[abi_x86_32(-)]
- virtual/opengl
-"
-
-S="${WORKDIR}/Wasteland 2"
-
-CHECKREQS_DISK_BUILD="22000M"
-CHECKREQS_DISK_USR="21600M"
-
-pkg_nofetch() {
- einfo
- einfo "Please buy Wasteland 2"
- einfo "from https://www.gog.com/ and"
- einfo "download ${SRC_URI}"
- einfo "and move it to your DISTDIR directory."
- einfo
- einfo "This ebuild was tested with the CLASSICAL edition."
- einfo "If it works with the deluxe edition too, please"
- einfo "open a bug report. If not, open a bug report too."
- einfo
-}
-
-src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
-
- # over 20GB of data
- dodir "${dir}"
- mv game/WL2_Data "${D%/}${dir}"/ || die
- exeinto "${dir}"
- doexe game/WL2
-
- games_make_wrapper ${PN} ./WL2 "${dir}"
- newicon -s 256 support/gog-wasteland-2.png ${PN}.png
- make_desktop_entry ${PN} "Wasteland 2"
-
- dodoc docs/*.pdf
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-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 78274e0fa550..000000000000
--- a/games-rpg/wastesedge/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
-</pkgmetadata>
diff --git a/games-rpg/wastesedge/wastesedge-0.3.8.ebuild b/games-rpg/wastesedge/wastesedge-0.3.8.ebuild
deleted file mode 100644
index 1138036c0acd..000000000000
--- a/games-rpg/wastesedge/wastesedge-0.3.8.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-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="/usr/bin/adonthell"
-}
diff --git a/games-rpg/xu4/metadata.xml b/games-rpg/xu4/metadata.xml
index 4bc2f4a79c26..f6c4eeb680aa 100644
--- a/games-rpg/xu4/metadata.xml
+++ b/games-rpg/xu4/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>games@gentoo.org</email>
diff --git a/games-rpg/xu4/xu4-0.9-r1.ebuild b/games-rpg/xu4/xu4-0.9-r1.ebuild
index 69fd4ed87d0b..ce71208f5d6c 100644
--- a/games-rpg/xu4/xu4-0.9-r1.ebuild
+++ b/games-rpg/xu4/xu4-0.9-r1.ebuild
@@ -1,14 +1,13 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit eutils
DESCRIPTION="A remake of the computer game Ultima IV"
HOMEPAGE="http://xu4.sourceforge.net/"
-SRC_URI="mirror://sourceforge/xu4/${P}.tar.gz
- mirror://sourceforge/xu4/ultima4-1.01.zip
- mirror://sourceforge/xu4/u4upgrad.zip"
+SRC_URI="https://downloads.sourceforge.net/xu4/${P}.tar.gz
+ https://downloads.sourceforge.net/xu4/ultima4-1.01.zip
+ https://downloads.sourceforge.net/xu4/u4upgrad.zip"
LICENSE="GPL-2"
SLOT="0"
@@ -23,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.
@@ -35,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
@@ -50,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 fd719a8a1e3c..4c01d44ed7f6 100644
--- a/games-rpg/zsdx/Manifest
+++ b/games-rpg/zsdx/Manifest
@@ -1 +1 @@
-DIST zsdx-1.9.0.tar.gz 20757184 BLAKE2B 392aa36cfddaa82367cd3aa6769ffeb95f5e7235b5574d2793af629f289da107a67b70bfc2ad7d86651d2145a3f956bc000102919ca65ee18a1d83eac282d119 SHA512 2fc540d19856734050674945dd4903f254b325cab08ae0199722ae014447523ad9e979b54ddfd59d5cbc290b783481c79d5e155115c90f24feab5587d52804ee
+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 733429dcbd22..498ee40f1e56 100644
--- a/games-rpg/zsdx/metadata.xml
+++ b/games-rpg/zsdx/metadata.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
<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.12.3.ebuild b/games-rpg/zsdx/zsdx-1.12.3.ebuild
new file mode 100644
index 000000000000..e12897b9d848
--- /dev/null
+++ b/games-rpg/zsdx/zsdx-1.12.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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/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 bindist"
+
+RDEPEND="
+ >=games-engines/solarus-1.6
+ <games-engines/solarus-1.7
+
+"
+
+BDEPEND="
+ app-arch/zip
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share"
+ -DSOLARUS_INSTALL_BINDIR="/usr/bin"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png
+ 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-run \"/usr/share/solarus/${PN}\""
+
+ make_desktop_entry ${PN} "Zelda: Mystery of Solarus DX"
+}
diff --git a/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild b/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild
deleted file mode 100644
index dc00fda49542..000000000000
--- a/games-rpg/zsdx/zsdx-1.9.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils eutils gnome2-utils
-
-DESCRIPTION="A free 2D Zelda fangame"
-HOMEPAGE="http://www.solarus-games.org/"
-SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}.tar.gz"
-
-LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror"
-
-RDEPEND="
- >=games-engines/solarus-1.3.0
- <games-engines/solarus-1.4.0
-"
-DEPEND="app-arch/zip"
-
-src_configure() {
- local mycmakeargs=(
- -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share"
- -DSOLARUS_INSTALL_BINDIR="/usr/bin"
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
- newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png
- newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png
-
- # install proper wrapper script
- rm -f "${ED}"/usr/bin/${PN}
- make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\""
-
- make_desktop_entry "${PN}" "Zelda: Mystery of Solarus DX"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-rpg/zsxd/Manifest b/games-rpg/zsxd/Manifest
index aad1e550b8c1..d86c8e467b5a 100644
--- a/games-rpg/zsxd/Manifest
+++ b/games-rpg/zsxd/Manifest
@@ -1 +1 @@
-DIST zsxd-1.9.0.tar.gz 3706125 BLAKE2B 3d83fff945bfecc387b79126628e3d1f45a461ae7b58b702dbe0c0f1799d6b57c53ecd4b1bfeb7a9ccebd279a3b299da8c328a2aca3126bea09f4865e1bfea1e SHA512 cecb8b4ff40b7129bb516cf71e9bbbc92e10ace944c735eb2885dbf0e0b8adef80491c1874ee91efb2c9779b819d0217639fe85f9e3a085c980af6a2972e571e
+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 742803c605cd..893e083a5fc6 100644
--- a/games-rpg/zsxd/metadata.xml
+++ b/games-rpg/zsxd/metadata.xml
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!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>
<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.12.2.ebuild b/games-rpg/zsxd/zsxd-1.12.2.ebuild
new file mode 100644
index 000000000000..245082be2fd8
--- /dev/null
+++ b/games-rpg/zsxd/zsxd-1.12.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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/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 bindist"
+
+RDEPEND="
+ >=games-engines/solarus-1.6
+ <games-engines/solarus-1.7
+"
+
+BDEPEND="
+ app-arch/zip
+"
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share"
+ -DSOLARUS_INSTALL_BINDIR="/usr/bin"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png
+ 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-run \"${EPREFIX}/usr/share/solarus/${PN}\""
+
+ make_desktop_entry ${PN} "Zelda: Mystery of Solarus XD"
+}
diff --git a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild b/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild
deleted file mode 100644
index 76a8fc0fe7f1..000000000000
--- a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils gnome2-utils cmake-utils
-
-DESCRIPTION="A free 2D Zelda fangame parody"
-HOMEPAGE="http://www.solarus-games.org/"
-SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}.tar.gz"
-
-LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-RESTRICT="mirror bindist"
-
-RDEPEND=">=games-engines/solarus-1.3.1-r1
- <games-engines/solarus-1.4.0"
-DEPEND="app-arch/zip"
-
-DOCS=( ChangeLog readme.txt )
-
-src_prepare() {
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DSOLARUS_INSTALL_DATAROOTDIR="/usr/share"
- -DSOLARUS_INSTALL_BINDIR="/usr/bin"
- )
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png
- newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png
-
- # install proper wrapper script
- rm -f "${ED%/}/usr/bin/${PN}
- make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\"
-
- make_desktop_entry "${PN}" "Zelda: Mystery of Solarus XD"
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}