commit: 58b6854ffb2895b07bf1e0824515fda30ae2131d
Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Tue May 12 14:04:16 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue May 12 14:08:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58b6854f
games-fps/crispy-doom: Version bump to 5.8.0
The truecolor USE flag is introduced for experimental true-color
rendering.
Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
games-fps/crispy-doom/Manifest | 1 +
games-fps/crispy-doom/crispy-doom-5.8.0.ebuild | 43 ++++++++++++++++++++++++++
games-fps/crispy-doom/metadata.xml | 3 ++
3 files changed, 47 insertions(+)
diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest
index 6f3e148..1e60c1e 100644
--- a/games-fps/crispy-doom/Manifest
+++ b/games-fps/crispy-doom/Manifest
@@ -1 +1,2 @@
DIST crispy-doom-5.7.2.tar.gz 2624917 BLAKE2B
2c381d234168c53fda79c17d5b3544dbb72131d591bc6161524cc16b2ef47fa1e93c80656c3c9629dd3193a78dedad8fd4bffa66a1816ad5eb63c9c06a928e39
SHA512
236826c98e2cd66edcc11336b9ab1e6942ec9db09b53cb9f23e472046222431c94dc597fa0768e006b0b1b32ab6a6073c715e0bd95effebde17ea70b8e5f11ad
+DIST crispy-doom-5.8.0.tar.gz 2627570 BLAKE2B
f4495363216fe251566ffda6ff4dff0952661050ebb1221e536ab5a13f792b69ae4eb159f2a89b32843cc796cead43455216ddec8cc2047d44e565f0aaab302b
SHA512
c6a4833c27b81e9808565b352214001a0d621f8bf6dbb7f4235d2bedaa35db68a1cf2567f77e7139da29df1d56a1097419e16791d1b49e5882674e33ce8c4649
diff --git a/games-fps/crispy-doom/crispy-doom-5.8.0.ebuild
b/games-fps/crispy-doom/crispy-doom-5.8.0.ebuild
new file mode 100644
index 0000000..a2e79c4
--- /dev/null
+++ b/games-fps/crispy-doom/crispy-doom-5.8.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit autotools 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"
+
+LICENSE="BSD GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libsamplerate png python timidity truecolor +vorbis zlib"
+
+DEPEND="
+ media-libs/libsdl2
+ media-libs/sdl2-mixer[timidity?,vorbis?]
+ media-libs/sdl2-net
+ libsamplerate? ( media-libs/libsamplerate )
+ png? ( media-libs/libpng:= )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="${DEPEND}"
+BDEPEND="python? ( ${PYTHON_DEPS} )"
+
+S="${WORKDIR}"/${PN}-${P}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${P}/docs" \
+ $(use_with libsamplerate) \
+ $(use_with png libpng) \
+ $(use_enable truecolor) \
+ $(use_with zlib)
+}
diff --git a/games-fps/crispy-doom/metadata.xml
b/games-fps/crispy-doom/metadata.xml
index 5150d4b..a8959f1 100644
--- a/games-fps/crispy-doom/metadata.xml
+++ b/games-fps/crispy-doom/metadata.xml
@@ -8,6 +8,9 @@
<email>[email protected]</email>
<name>William Breathitt Gray</name>
</maintainer>
+ <use>
+ <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>