games-fps/crispy-doom: Moved to ::gentoo

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-02-07 20:42:07 +01:00
parent 950d967a59
commit 033878d4c3
6 changed files with 0 additions and 205 deletions

View File

@@ -1,2 +0,0 @@
DIST crispy-doom-5.12.0.tar.gz 2425206 BLAKE2B 18c0bd66dcec7b30404e32aa045d5666b89d68f2b9efb6f83455ab007d78816f72218591e5ddcf6ea68a02588f19e98057545dc27219407e450bf4ce600e3c1f SHA512 eb7b4da44c9b261712da4da1935de747928488571ba2be9f0fa43cedd2a0bab3e0f4e0ce1cec247f44ab1b61fc2aa1f545bb0ef50f5f8ac1d3c564342d992a11
DIST crispy-doom-6.0.tar.gz 2499918 BLAKE2B fc864ae55100db0d074d14eae795bd603b355fba8eaa783b564b167cf1bf65ff1e97f4640d2b0d56f8c4ec076125fd0f0e2a95bc5eac7251997e9f7757f4d295 SHA512 44ab9ffea1febe7eaab0c28d5dd178df821c200354aa9aeecd0b84dbe98419a037416f8d8e6176611dbd1a2dba8ec050d9e7267c61dcf8640c08c422765b270f

View File

@@ -1,79 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
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/${PN}/archive/${P}.tar.gz"
S="${WORKDIR}"/${PN}-${P}
LICENSE="BSD GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc libsamplerate +midi png truecolor vorbis zlib"
DEPEND="
media-libs/libsdl2[video]
media-libs/sdl2-mixer[midi?,vorbis?]
media-libs/sdl2-net
libsamplerate? ( media-libs/libsamplerate )
png? ( media-libs/libpng:= )
zlib? ( virtual/zlib:= )"
RDEPEND="${DEPEND}"
# ${PYTHON_DEPS} for bash-completion
BDEPEND="
${PYTHON_DEPS}
doc? ( ${PYTHON_DEPS} )"
DOCS=(
"AUTHORS"
"ChangeLog"
"NEWS.md"
"NOT-BUGS.md"
"PHILOSOPHY.md"
"README.md"
"README.Music.md"
"README.Strife.md"
)
PATCHES=(
${FILESDIR}/${P}-cflags.patch
)
src_prepare() {
default
hprefixify src/d_iwad.c
eautoreconf
}
src_configure() {
econf \
--enable-bash-completion \
$(use_enable doc) \
--disable-fonts \
--disable-icons \
$(use_with libsamplerate) \
$(use_with png libpng) \
--enable-sdl2mixer \
--enable-sdl2net \
$(use_enable truecolor) \
$(use_with zlib) \
--disable-zpool
}
src_install() {
emake DESTDIR="${D}" install
# Remove redundant documentation files
rm -r "${ED}/usr/share/doc/"* || die
einstalldocs
}

View File

@@ -1,81 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
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/${PN}/archive/${P}.tar.gz"
S="${WORKDIR}"/${PN}-${P}
LICENSE="BSD GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc 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
BDEPEND="
${PYTHON_DEPS}
doc? ( ${PYTHON_DEPS} )"
DOCS=(
"AUTHORS"
"ChangeLog"
"NEWS.md"
"NOT-BUGS.md"
"PHILOSOPHY.md"
"README.md"
"README.Music.md"
"README.Strife.md"
)
PATCHES=(
${FILESDIR}/${P}-cflags.patch
)
src_prepare() {
default
hprefixify src/d_iwad.c
eautoreconf
}
src_configure() {
econf \
--enable-bash-completion \
$(use_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
}
src_install() {
emake DESTDIR="${D}" install
# Remove redundant documentation files
rm -r "${ED}/usr/share/doc/"* || die
einstalldocs
}

View File

@@ -1,13 +0,0 @@
diff --git a/configure.ac b/configure.ac
index e4614a1..5908e1a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,7 +28,7 @@ OPT_LEVEL=2
if test "$GCC" = "yes"
then
WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
+ CFLAGS="$WARNINGS $orig_CFLAGS"
- CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS"
fi
PKG_CHECK_MODULES(SDL, [sdl2 >= 2.0.7])

View File

@@ -1,11 +0,0 @@
--- a/configure.ac 2024-10-22 14:32:01.009784223 -0400
+++ b/configure.ac 2024-10-22 14:38:40.706790279 -0400
@@ -28,7 +28,7 @@
if test "$GCC" = "yes"
then
WARNINGS="-Wall -Wdeclaration-after-statement -Wredundant-decls"
- CFLAGS="-O$OPT_LEVEL -g $WARNINGS $orig_CFLAGS"
+ CFLAGS="$WARNINGS $orig_CFLAGS"
fi
PKG_CHECK_MODULES(SDL, [sdl2 >= 2.0.7])

View File

@@ -1,19 +0,0 @@
<?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-needed -->
<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>