commit: 3470985dd0ffad847195b1e30a9575495f34b588 Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> AuthorDate: Thu Nov 23 10:30:16 2023 +0000 Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com> CommitDate: Thu Nov 23 10:43:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3470985d
games-rpg/open-adventure: new package, add 1.16 Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com> games-rpg/open-adventure/Manifest | 1 + games-rpg/open-adventure/metadata.xml | 11 ++++++ .../open-adventure/open-adventure-1.16.ebuild | 41 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) diff --git a/games-rpg/open-adventure/Manifest b/games-rpg/open-adventure/Manifest new file mode 100644 index 0000000000..653b92b764 --- /dev/null +++ b/games-rpg/open-adventure/Manifest @@ -0,0 +1 @@ +DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07 diff --git a/games-rpg/open-adventure/metadata.xml b/games-rpg/open-adventure/metadata.xml new file mode 100644 index 0000000000..a4448d805b --- /dev/null +++ b/games-rpg/open-adventure/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="person"> + <email>smaniotto.nic...@gmail.com</email> + <name>Nicola Smaniotto</name> + </maintainer> + <upstream> + <remote-id type="gitlab">esr/open-adventure</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-rpg/open-adventure/open-adventure-1.16.ebuild b/games-rpg/open-adventure/open-adventure-1.16.ebuild new file mode 100644 index 0000000000..2d4d8bd038 --- /dev/null +++ b/games-rpg/open-adventure/open-adventure-1.16.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit desktop python-any-r1 + +DESCRIPTION="Forward-port of the Crowther/Woods Adventure 2.5" +HOMEPAGE="http://www.catb.org/~esr/open-adventure/" +SRC_URI="https://gitlab.com/esr/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]' ) +" + +DOCS=( NEWS.adoc hints.adoc history.adoc README.adoc notes.adoc ) + +src_compile() { + emake advent advent.6 +} + +src_install() { + einstalldocs + doman advent.6 + + dobin advent + + doicon -s scalable advent.svg + domenu advent.desktop +} + +src_test() { + # parallel tests often fail + emake -j1 check +}