Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-fps/crispy-doom/
Date: Fri, 09 Sep 2022 20:02:51
Message-Id: 1662653844.ea524f86185713fc26c331f40529fa783ff93df5.tastytea@gentoo
1 commit: ea524f86185713fc26c331f40529fa783ff93df5
2 Author: William Breathitt Gray <william.gray <AT> linaro <DOT> org>
3 AuthorDate: Thu Sep 8 16:17:12 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Thu Sep 8 16:17:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea524f86
7
8 games-fps/crispy-doom: add 5.12.0
9
10 Signed-off-by: William Breathitt Gray <william.gray <AT> linaro.org>
11
12 games-fps/crispy-doom/Manifest | 1 +
13 games-fps/crispy-doom/crispy-doom-5.12.0.ebuild | 75 +++++++++++++++++++++++++
14 2 files changed, 76 insertions(+)
15
16 diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest
17 index f5a77ae7a..b0653fb58 100644
18 --- a/games-fps/crispy-doom/Manifest
19 +++ b/games-fps/crispy-doom/Manifest
20 @@ -3,3 +3,4 @@ DIST crispy-doom-5.10.1.tar.gz 2649358 BLAKE2B 920df67f123218d737de1a1b147d96090
21 DIST crispy-doom-5.10.2.tar.gz 2648117 BLAKE2B 2a502dca71418a9358c474801e175b510f7fcbf1453df6a061d20439e79c642881ad6166c0788840e4f8c64f70c6ea95d1a97bbab7c83e0f4d3c2af8296a64dd SHA512 a1ee20510608bb889236288b30eb5d84b841c267b0907f5155497d3824021b9490365bc29e83a3e59c0519eaab35802aea71935e82b4f7a09b7b07fd933a296b
22 DIST crispy-doom-5.10.3.tar.gz 2648144 BLAKE2B 050f6e28c5db73d6f11539bee7e1de7a390fa6f3169d4bbede698b736523b9a0255cba3f67ec99653fef4925843c5e107200bed981bb0db96ff1373434ffb134 SHA512 f98d8cbfb748bccca1ef50d9d46355d5b6f6dfa44b271803193f3e41e48c28fa8c6ad5bbe3a7a4ae36585cc150f2acad7ad5bd4b7a411faf45b234455d83d651
23 DIST crispy-doom-5.11.1.tar.gz 2664465 BLAKE2B 80b67193fb3b626f22e4570a1c17de70376846464bb82103196776d8b300f0c30a38612ee6c99f0abf71a7852109c91ce5b84c49dc6810bdb093a31e347e9125 SHA512 c970f1b32d15f91c6ec693571b9179a7607190a03cbbd2651bba0368120a25ef6ade2f157a2782dc4ea8cf05df23e66e6e7c8d2ea011bbb7626f4487f4e3b4c9
24 +DIST crispy-doom-5.12.0.tar.gz 2425206 BLAKE2B 18c0bd66dcec7b30404e32aa045d5666b89d68f2b9efb6f83455ab007d78816f72218591e5ddcf6ea68a02588f19e98057545dc27219407e450bf4ce600e3c1f SHA512 eb7b4da44c9b261712da4da1935de747928488571ba2be9f0fa43cedd2a0bab3e0f4e0ce1cec247f44ab1b61fc2aa1f545bb0ef50f5f8ac1d3c564342d992a11
25
26 diff --git a/games-fps/crispy-doom/crispy-doom-5.12.0.ebuild b/games-fps/crispy-doom/crispy-doom-5.12.0.ebuild
27 new file mode 100644
28 index 000000000..983b8c325
29 --- /dev/null
30 +++ b/games-fps/crispy-doom/crispy-doom-5.12.0.ebuild
31 @@ -0,0 +1,75 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8,9,10,11} )
38 +
39 +inherit autotools prefix python-any-r1 xdg
40 +
41 +DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on Chocolate Doom"
42 +HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom"
43 +SRC_URI="https://github.com/fabiangreffrath/${PN}/archive/${P}.tar.gz"
44 +
45 +LICENSE="BSD GPL-2+"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="doc libsamplerate +midi png truecolor vorbis zlib"
49 +
50 +DEPEND="
51 + media-libs/libsdl2[video]
52 + media-libs/sdl2-mixer[midi?,vorbis?]
53 + media-libs/sdl2-net
54 + libsamplerate? ( media-libs/libsamplerate )
55 + png? ( media-libs/libpng:= )
56 + zlib? ( sys-libs/zlib )"
57 +RDEPEND="${DEPEND}"
58 +# ${PYTHON_DEPS} for bash-completion
59 +BDEPEND="
60 + ${PYTHON_DEPS}
61 + doc? ( ${PYTHON_DEPS} )"
62 +
63 +S="${WORKDIR}"/${PN}-${P}
64 +
65 +DOCS=(
66 + "AUTHORS"
67 + "ChangeLog"
68 + "NEWS.md"
69 + "NOT-BUGS.md"
70 + "PHILOSOPHY.md"
71 + "README.md"
72 + "README.Music.md"
73 + "README.Strife.md"
74 +)
75 +
76 +src_prepare() {
77 + default
78 +
79 + hprefixify src/d_iwad.c
80 +
81 + eautoreconf
82 +}
83 +
84 +src_configure() {
85 + econf \
86 + --enable-bash-completion \
87 + $(use_enable doc) \
88 + --disable-fonts \
89 + --disable-icons \
90 + $(use_with libsamplerate) \
91 + $(use_with png libpng) \
92 + --enable-sdl2mixer \
93 + --enable-sdl2net \
94 + $(use_enable truecolor) \
95 + $(use_with zlib) \
96 + --disable-zpool
97 +}
98 +
99 +src_install() {
100 + emake DESTDIR="${D}" install
101 +
102 + # Remove redundant documentation files
103 + rm -r "${ED}/usr/share/doc/"* || die
104 +
105 + einstalldocs
106 +}