commit:     3fb428f609b1b7766b6dbd3aaa937259614dd98d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  7 19:41:45 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Feb  7 19:43:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fb428f6

games-fps/crispy-doom: New package, v7.1

A limit-removing enhanced-resolution Doom source port based on Chocolate
Doom.  Roughly based on the ebuild in ::guru, thanks to the previous
maintainers!

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-fps/crispy-doom/Manifest               |  1 +
 games-fps/crispy-doom/crispy-doom-7.1.ebuild | 64 ++++++++++++++++++++++++++++
 games-fps/crispy-doom/metadata.xml           | 22 ++++++++++
 3 files changed, 87 insertions(+)

diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest
new file mode 100644
index 000000000000..47bd729fef38
--- /dev/null
+++ b/games-fps/crispy-doom/Manifest
@@ -0,0 +1 @@
+DIST crispy-doom-7.1.tar.gz 2609031 BLAKE2B 
9e3250e5f7e39c175d980bc03f02d7a5edbff2c53e0526dd88434dc5e954246c3fc1280336842e910b3641da325f1df5f805b7d25ba44a8aa245f668ac0e8bb9
 SHA512 
b8286c035d067456e673898e98ee9c32248000eaca6873ce902c26d52aab476da5848bf47cf5310a23f1df60fb98c23b68cc75fdcb8bc3b8e9c9094dd4f695ac

diff --git a/games-fps/crispy-doom/crispy-doom-7.1.ebuild 
b/games-fps/crispy-doom/crispy-doom-7.1.ebuild
new file mode 100644
index 000000000000..f4ef00e7f654
--- /dev/null
+++ b/games-fps/crispy-doom/crispy-doom-7.1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit autotools prefix python-any-r1 xdg
+
+DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on 
Chocolate Doom"
+HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom/";
+SRC_URI="https://github.com/fabiangreffrath/crispy-doom/archive/${P}.tar.gz";
+S=${WORKDIR}/${PN}-${P}
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="fluidsynth libsamplerate +midi png truecolor vorbis zlib"
+REQUIRE_USE="fluidsynth? ( midi )"
+
+DEPEND="
+       media-libs/libsdl2[video]
+       media-libs/sdl2-mixer[fluidsynth?,midi?,vorbis?]
+       media-libs/sdl2-net
+       libsamplerate? ( media-libs/libsamplerate )
+       png? ( media-libs/libpng:= )
+       zlib? ( virtual/zlib:= )
+"
+RDEPEND="${DEPEND}"
+# ${PYTHON_DEPS} for bash-completion and docs (manpages)
+BDEPEND="${PYTHON_DEPS}"
+
+src_prepare() {
+       default
+       hprefixify src/d_iwad.c
+       eautoreconf
+}
+
+src_configure() {
+       local myconf=(
+               --enable-bash-completion
+               --enable-doc
+               --disable-fonts
+               --disable-icons
+               $(use_with libsamplerate)
+               $(use_with png libpng)
+               --enable-sdl2mixer
+               --enable-sdl2net
+               $(use_with fluidsynth)
+               $(use_enable truecolor)
+               $(use_with zlib)
+               --disable-zpool
+       )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       local DOCS=()
+       default
+       mv "${ED}"/usr/share/doc/crispy-{doom,heretic,hexen,strife}/* \
+               "${ED}"/usr/share/doc/${PF}/ || die
+       rmdir "${ED}"/usr/share/doc/crispy-{doom,heretic,hexen,strife} || die
+}

diff --git a/games-fps/crispy-doom/metadata.xml 
b/games-fps/crispy-doom/metadata.xml
new file mode 100644
index 000000000000..7ca1686fdff9
--- /dev/null
+++ b/games-fps/crispy-doom/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <longdescription lang="en">
+               Crispy Doom is a friendly fork of Chocolate Doom that provides 
a higher display resolution, removes the static limits of the Doom engine and 
offers further optional visual, tactical and physical enhancements while 
remaining entirely config file, savegame, netplay and demo compatible with the 
original.
+       </longdescription>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Michał Górny</name>
+       </maintainer>
+       <use>
+               <flag name="fluidsynth">Use <pkg>media-sound/fluidsynth</pkg>
+                       for MIDI support</flag>
+               <flag name="midi">Basic support for MIDI files</flag>
+               <flag name="truecolor">Enable true-color rendering 
(experimental)</flag>
+       </use>
+       <upstream>
+               
<bugs-to>https://github.com/fabiangreffrath/crispy-doom/issues</bugs-to>
+               <doc 
lang="en">https://github.com/fabiangreffrath/crispy-doom</doc>
+               <remote-id type="github">fabiangreffrath/crispy-doom</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to