From d98b8928e27c90f71a280d319e04b5b09520b9d6 Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Sun, 8 Sep 2019 14:48:20 -0400 Subject: Add games-fps/chocolate-doom --- README.md | 1 + games-fps/chocolate-doom/Manifest | 1 + .../chocolate-doom/chocolate-doom-9999.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) create mode 100644 games-fps/chocolate-doom/Manifest create mode 100644 games-fps/chocolate-doom/chocolate-doom-9999.ebuild diff --git a/README.md b/README.md index 20c9765..0a28e28 100644 --- a/README.md +++ b/README.md @@ -6,5 +6,6 @@ other overlays, or modifying less-than-ideals in the upstream ebuild repository. ## Software Packaged Here - [cc65](http://cc65.github.io/) as dev-embedded/cc65 +- [chocolate-doom](http://www.chocolate-doom.org/) as games-fps/chocolate-doom - [crispy-doom](https://github.com/fabiangreffrath/crispy-doom) as games-fps/crispy-doom - [dosbox-x](https://github.com/joncampbell123/dosbox-x) as games-emulation/dosbox-x diff --git a/games-fps/chocolate-doom/Manifest b/games-fps/chocolate-doom/Manifest new file mode 100644 index 0000000..b20e214 --- /dev/null +++ b/games-fps/chocolate-doom/Manifest @@ -0,0 +1 @@ +EBUILD chocolate-doom-9999.ebuild 1820 BLAKE2B 87e343fb2280ba3e87178bc5939f7c8430444a1328e51dc089940306466bd33e92b493a07715e93bea0beda06fc235758f3a95fad26422e6a888e06667c23777 SHA512 17dbe602650c0856ae6bfc3cf0d061f4e35c00bcebd531375919f6a3f3207a90192fc1f47237df0a03a188d37a8c6d52097e29b100f66490625975a4186986af diff --git a/games-fps/chocolate-doom/chocolate-doom-9999.ebuild b/games-fps/chocolate-doom/chocolate-doom-9999.ebuild new file mode 100644 index 0000000..6a8c634 --- /dev/null +++ b/games-fps/chocolate-doom/chocolate-doom-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools git-r3 + +DESCRIPTION="Doom source port that accurately reproduces the experience of Doom as it was played in the 1990s" +HOMEPAGE="http://www.chocolate-doom.org/" +EGIT_REPO_URI="https://github.com/chocolate-doom/chocolate-doom.git" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="media-libs/libsamplerate + media-libs/libsdl2 + media-libs/sdl2-mixer + media-libs/sdl2-net" +DEPEND="${RDEPEND}" + +src_prepare() { + eautoreconf + default +} + +src_install() { + dobin src/chocolate-doom + dobin src/chocolate-setup + dobin src/chocolate-server + dobin src/chocolate-doom-setup + + doman man/chocolate-doom.6 + doman man/chocolate-doom-setup.6 + + doman man/default.cfg.5 + doman man/chocolate-doom.cfg.5 + + dodoc AUTHORS ChangeLog HACKING.md NEWS.md NOT-BUGS.md README* TODO.md +} + +pkg_postinst() { + einfo + einfo "To play the original Doom levels, place doom.wad and/or doom2.wad" + einfo "into ${GAMES_DATADIR}/doom-data, then run: ${PN}" + einfo + einfo "To configure game options run: chocolate-setup" + einfo +} -- cgit v1.3