Gentoo Archives: gentoo-commits

From: William Breathitt Gray <vilhelm.gray@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-fps/crispy-doom/
Date: Fri, 04 Sep 2020 12:52:19
Message-Id: 1599223902.03d93e5440f7d66e890df712ae240de325232ff5.vilhelm.gray@gentoo
1 commit: 03d93e5440f7d66e890df712ae240de325232ff5
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 4 12:51:42 2020 +0000
4 Commit: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
5 CommitDate: Fri Sep 4 12:51:42 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=03d93e54
7
8 games-fps/crispy-doom: Version bump to 5.9.1
9
10 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
11
12 games-fps/crispy-doom/Manifest | 1 +
13 games-fps/crispy-doom/crispy-doom-5.9.1.ebuild | 71 ++++++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest
17 index 1798910..4532e0d 100644
18 --- a/games-fps/crispy-doom/Manifest
19 +++ b/games-fps/crispy-doom/Manifest
20 @@ -1 +1,2 @@
21 +DIST crispy-doom-5.9.1.tar.gz 2640684 BLAKE2B 2bf862d8134689afba101abeed5cf1e1695378f235718941bf9fc2717bc93dd848173bb758e8bf0bc4a8ab1bfa75533c2ae838210326451f7c4285b0acb2e08b SHA512 1f9ed3520fe3d0fd176d3bcd6a2a3f5e730c29312ad20a4c1f692cc69881069efbf35d758dfcdafd402a499333dd2ae54764f4ec007375138ecf9cab84ebdbcd
22 DIST crispy-doom-5.9.0.tar.gz 2641211 BLAKE2B a97bb7d9bda0c4e984054a0051cadfcaba7c758829bec9e615801bbf91dc1c8063decfedf5b76056cd2fb05e8fcf4113f19c10d72604399b715011d994af3e8b SHA512 9970291f374003ac2a1d9e4c44db18b97a41ae3348a5e100ec369affc162d681d15ce61846480667c8a7418700b78a4380bedab1e3acae77976eb4271a22b644
23
24 diff --git a/games-fps/crispy-doom/crispy-doom-5.9.1.ebuild b/games-fps/crispy-doom/crispy-doom-5.9.1.ebuild
25 new file mode 100644
26 index 0000000..cb2ce13
27 --- /dev/null
28 +++ b/games-fps/crispy-doom/crispy-doom-5.9.1.ebuild
29 @@ -0,0 +1,71 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{7,8} )
36 +
37 +inherit autotools prefix python-any-r1 xdg
38 +
39 +DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on Chocolate Doom"
40 +HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom"
41 +SRC_URI="https://github.com/fabiangreffrath/${PN}/archive/${P}.tar.gz"
42 +
43 +LICENSE="BSD GPL-2+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="bash-completion doc libsamplerate +midi png truecolor vorbis zlib"
47 +
48 +DEPEND="
49 + media-libs/libsdl2[video]
50 + media-libs/sdl2-mixer[midi?,vorbis?]
51 + media-libs/sdl2-net
52 + libsamplerate? ( media-libs/libsamplerate )
53 + png? ( media-libs/libpng:= )
54 + zlib? ( sys-libs/zlib )"
55 +RDEPEND="${DEPEND}"
56 +BDEPEND="
57 + bash-completion? ( ${PYTHON_DEPS} )
58 + doc? ( ${PYTHON_DEPS} )"
59 +
60 +S="${WORKDIR}"/${PN}-${P}
61 +
62 +DOCS=(
63 + "AUTHORS"
64 + "ChangeLog"
65 + "NEWS.md"
66 + "NOT-BUGS.md"
67 + "PHILOSOPHY.md"
68 + "README.md"
69 + "README.Music.md"
70 + "README.Strife.md"
71 +)
72 +
73 +src_prepare() {
74 + default
75 +
76 + hprefixify src/d_iwad.c
77 +
78 + eautoreconf
79 +}
80 +
81 +src_configure() {
82 + econf \
83 + $(use_enable bash-completion) \
84 + $(use_enable doc) \
85 + --disable-fonts \
86 + --disable-icons \
87 + $(use_with libsamplerate) \
88 + $(use_with png libpng) \
89 + $(use_enable truecolor) \
90 + $(use_with zlib)
91 +}
92 +
93 +src_install() {
94 + emake DESTDIR="${D}" install
95 +
96 + # Remove redundant documentation files
97 + rm -r "${ED}/usr/share/doc/"* || die
98 +
99 + einstalldocs
100 +}