commit:     96f132b5e870bd32466754b6fcee63bd2a9ca5b4
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Mon May 13 15:54:49 2019 +0000
Commit:     Ralph Seichter <gentoo <AT> seichter <DOT> de>
CommitDate: Thu May 16 01:42:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96f132b5

games-fps/chocolate-doom: New package

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>

 games-fps/chocolate-doom/Manifest                  |  1 +
 .../chocolate-doom/chocolate-doom-3.0.0.ebuild     | 48 ++++++++++++++++++++++
 games-fps/chocolate-doom/metadata.xml              | 16 ++++++++
 3 files changed, 65 insertions(+)

diff --git a/games-fps/chocolate-doom/Manifest 
b/games-fps/chocolate-doom/Manifest
new file mode 100644
index 0000000..414ec22
--- /dev/null
+++ b/games-fps/chocolate-doom/Manifest
@@ -0,0 +1 @@
+DIST chocolate-doom-3.0.0.tar.gz 2495591 BLAKE2B 
11989b4b4458098af63c4b89a73552a8bb43c22077d358770b0e89e1b816950b92630592dcb5b4a782ccf673951b7e3d8503bc517577fe59d052d8b4f3f125e1
 SHA512 
41f235c0d84ef21070636ad0610e97898dfd366fae7f9244bd2aebf8974db98dcf55f70bcab2f93589b9bf31dd421db32e8af88e0f8e0a655d2b9f1d4ead2afd

diff --git a/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild 
b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild
new file mode 100644
index 0000000..97c1786
--- /dev/null
+++ b/games-fps/chocolate-doom/chocolate-doom-3.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg
+
+DESCRIPTION="Chocolate Doom - a Doom source port that is minimalist and 
historically accurate"
+HOMEPAGE="https://www.chocolate-doom.org";
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.gz";
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bash-completion libsamplerate png python timidity +vorbis"
+
+DEPEND="
+       media-libs/libsdl2
+       media-libs/sdl2-mixer[timidity?,vorbis?]
+       media-libs/sdl2-net
+       libsamplerate? ( media-libs/libsamplerate )
+       png? ( media-libs/libpng:= )"
+RDEPEND="
+       ${DEPEND}
+       bash-completion? ( app-shells/bash-completion )
+       python? (
+               dev-lang/python
+               dev-python/pillow
+       )"
+
+src_configure() {
+       econf \
+               --docdir="${EPREFIX}/usr/share/doc/${P}/docs" \
+               $(use_with libsamplerate) \
+               $(use_with png libpng)
+}
+
+pkg_preinst() {
+       xdg_pkg_preinst
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+}

diff --git a/games-fps/chocolate-doom/metadata.xml 
b/games-fps/chocolate-doom/metadata.xml
new file mode 100644
index 0000000..b236c97
--- /dev/null
+++ b/games-fps/chocolate-doom/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <longdescription lang="en">
+               Chocolate Doom aims to accurately reproduce the original DOS 
version of Doom and other games based on the Doom engine in a form that can be 
run on modern computers.
+       </longdescription>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>William Breathitt Gray</name>
+       </maintainer>
+       <upstream>
+               
<bugs-to>https://github.com/chocolate-doom/chocolate-doom/issues</bugs-to>
+               <doc lang="en">https://www.chocolate-doom.org</doc>
+               <remote-id 
type="github">chocolate-doom/chocolate-doom</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to