games-rpg/open-adventure: new package, add 1.16

Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
This commit is contained in:
Nicola Smaniotto 2023-11-23 11:30:16 +01:00
parent da11b98a1e
commit 3470985dd0
No known key found for this signature in database
GPG Key ID: C44BA4D73A21E89F
3 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST open-adventure-1.16.tar.bz2 211155 BLAKE2B 2c54bf8b30fefb5b52cd69d5c315e0c628ee51d514f545d2830ca809c40f3824e20eb5c06ad94b6fbf3aaeb9c9c2bad72b9217dfbabc33ec8cd469690ddab125 SHA512 4b58937a20200a081bc44464f5132ea33a010756831f95d5be75916f01b70bc54bd9f5606823fee5fbe2de1dd2e558325f516f050bc40e48cd8d840e65c17e07

View File

@ -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.nicola@gmail.com</email>
<name>Nicola Smaniotto</name>
</maintainer>
<upstream>
<remote-id type="gitlab">esr/open-adventure</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
}