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: Wed, 19 Aug 2020 12:38:03
Message-Id: 1597840496.d15be3e5318904110322c031dd2325b004db82e4.vilhelm.gray@gentoo
1 commit: d15be3e5318904110322c031dd2325b004db82e4
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 19 12:34:56 2020 +0000
4 Commit: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
5 CommitDate: Wed Aug 19 12:34:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d15be3e5
7
8 games-fps/cripsy-doom: Version bump to 5.9.0
9
10 Bug: https://bugs.gentoo.org/729216
11 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
12
13 games-fps/crispy-doom/Manifest | 3 +-
14 games-fps/crispy-doom/crispy-doom-5.7.2.ebuild | 42 ----------------------
15 ...-doom-5.8.0.ebuild => crispy-doom-5.9.0.ebuild} | 33 ++++++++++++++---
16 games-fps/crispy-doom/metadata.xml | 1 +
17 4 files changed, 31 insertions(+), 48 deletions(-)
18
19 diff --git a/games-fps/crispy-doom/Manifest b/games-fps/crispy-doom/Manifest
20 index 1e60c1e..1798910 100644
21 --- a/games-fps/crispy-doom/Manifest
22 +++ b/games-fps/crispy-doom/Manifest
23 @@ -1,2 +1 @@
24 -DIST crispy-doom-5.7.2.tar.gz 2624917 BLAKE2B 2c381d234168c53fda79c17d5b3544dbb72131d591bc6161524cc16b2ef47fa1e93c80656c3c9629dd3193a78dedad8fd4bffa66a1816ad5eb63c9c06a928e39 SHA512 236826c98e2cd66edcc11336b9ab1e6942ec9db09b53cb9f23e472046222431c94dc597fa0768e006b0b1b32ab6a6073c715e0bd95effebde17ea70b8e5f11ad
25 -DIST crispy-doom-5.8.0.tar.gz 2627570 BLAKE2B f4495363216fe251566ffda6ff4dff0952661050ebb1221e536ab5a13f792b69ae4eb159f2a89b32843cc796cead43455216ddec8cc2047d44e565f0aaab302b SHA512 c6a4833c27b81e9808565b352214001a0d621f8bf6dbb7f4235d2bedaa35db68a1cf2567f77e7139da29df1d56a1097419e16791d1b49e5882674e33ce8c4649
26 +DIST crispy-doom-5.9.0.tar.gz 2641211 BLAKE2B a97bb7d9bda0c4e984054a0051cadfcaba7c758829bec9e615801bbf91dc1c8063decfedf5b76056cd2fb05e8fcf4113f19c10d72604399b715011d994af3e8b SHA512 9970291f374003ac2a1d9e4c44db18b97a41ae3348a5e100ec369affc162d681d15ce61846480667c8a7418700b78a4380bedab1e3acae77976eb4271a22b644
27
28 diff --git a/games-fps/crispy-doom/crispy-doom-5.7.2.ebuild b/games-fps/crispy-doom/crispy-doom-5.7.2.ebuild
29 deleted file mode 100644
30 index d8a3500..0000000
31 --- a/games-fps/crispy-doom/crispy-doom-5.7.2.ebuild
32 +++ /dev/null
33 @@ -1,42 +0,0 @@
34 -# Copyright 1999-2020 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -PYTHON_COMPAT=( python3_{6,7,8} )
40 -
41 -inherit autotools python-any-r1 xdg
42 -
43 -DESCRIPTION="A limit-removing enhanced-resolution Doom source port based on Chocolate Doom"
44 -HOMEPAGE="https://github.com/fabiangreffrath/crispy-doom"
45 -SRC_URI="https://github.com/fabiangreffrath/${PN}/archive/${P}.tar.gz"
46 -
47 -LICENSE="BSD GPL-2+"
48 -SLOT="0"
49 -KEYWORDS="~amd64 ~x86"
50 -IUSE="libsamplerate png python timidity +vorbis zlib"
51 -
52 -DEPEND="
53 - media-libs/libsdl2
54 - media-libs/sdl2-mixer[timidity?,vorbis?]
55 - media-libs/sdl2-net
56 - libsamplerate? ( media-libs/libsamplerate )
57 - png? ( media-libs/libpng:= )
58 - zlib? ( sys-libs/zlib )"
59 -RDEPEND="${DEPEND}"
60 -BDEPEND="python? ( ${PYTHON_DEPS} )"
61 -
62 -S="${WORKDIR}"/${PN}-${P}
63 -
64 -src_prepare() {
65 - default
66 - eautoreconf
67 -}
68 -
69 -src_configure() {
70 - econf \
71 - --docdir="${EPREFIX}/usr/share/doc/${P}/docs" \
72 - $(use_with libsamplerate) \
73 - $(use_with png libpng) \
74 - $(use_with zlib)
75 -}
76
77 diff --git a/games-fps/crispy-doom/crispy-doom-5.8.0.ebuild b/games-fps/crispy-doom/crispy-doom-5.9.0.ebuild
78 similarity index 60%
79 rename from games-fps/crispy-doom/crispy-doom-5.8.0.ebuild
80 rename to games-fps/crispy-doom/crispy-doom-5.9.0.ebuild
81 index a2e79c4..a7d1e8f 100644
82 --- a/games-fps/crispy-doom/crispy-doom-5.8.0.ebuild
83 +++ b/games-fps/crispy-doom/crispy-doom-5.9.0.ebuild
84 @@ -14,20 +14,33 @@ SRC_URI="https://github.com/fabiangreffrath/${PN}/archive/${P}.tar.gz"
85 LICENSE="BSD GPL-2+"
86 SLOT="0"
87 KEYWORDS="~amd64 ~x86"
88 -IUSE="libsamplerate png python timidity truecolor +vorbis zlib"
89 +IUSE="bash-completion doc libsamplerate +midi png truecolor +vorbis zlib"
90
91 DEPEND="
92 media-libs/libsdl2
93 - media-libs/sdl2-mixer[timidity?,vorbis?]
94 + media-libs/sdl2-mixer[midi?,vorbis?]
95 media-libs/sdl2-net
96 libsamplerate? ( media-libs/libsamplerate )
97 png? ( media-libs/libpng:= )
98 zlib? ( sys-libs/zlib )"
99 RDEPEND="${DEPEND}"
100 -BDEPEND="python? ( ${PYTHON_DEPS} )"
101 +BDEPEND="
102 + bash-completion? ( ${PYTHON_DEPS} )
103 + doc? ( ${PYTHON_DEPS} )"
104
105 S="${WORKDIR}"/${PN}-${P}
106
107 +DOCS=(
108 + "AUTHORS"
109 + "ChangeLog"
110 + "NEWS.md"
111 + "NOT-BUGS.md"
112 + "PHILOSOPHY.md"
113 + "README.md"
114 + "README.Music.md"
115 + "README.Strife.md"
116 +)
117 +
118 src_prepare() {
119 default
120 eautoreconf
121 @@ -35,9 +48,21 @@ src_prepare() {
122
123 src_configure() {
124 econf \
125 - --docdir="${EPREFIX}/usr/share/doc/${P}/docs" \
126 + $(use_enable bash-completion) \
127 + $(use_enable doc) \
128 + --disable-fonts \
129 + --disable-icons \
130 $(use_with libsamplerate) \
131 $(use_with png libpng) \
132 $(use_enable truecolor) \
133 $(use_with zlib)
134 }
135 +
136 +src_install() {
137 + emake DESTDIR="${D}" install
138 +
139 + # Remove redundant documentation files
140 + rm -r "${ED}/usr/share/doc/"* || die
141 +
142 + einstalldocs
143 +}
144
145 diff --git a/games-fps/crispy-doom/metadata.xml b/games-fps/crispy-doom/metadata.xml
146 index a8959f1..119c68e 100644
147 --- a/games-fps/crispy-doom/metadata.xml
148 +++ b/games-fps/crispy-doom/metadata.xml
149 @@ -9,6 +9,7 @@
150 <name>William Breathitt Gray</name>
151 </maintainer>
152 <use>
153 + <flag name="midi">Basic support for MIDI files</flag>
154 <flag name="truecolor">Enable true-color rendering (experimental)</flag>
155 </use>
156 <upstream>