Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/gzdoom/
Date: Sat, 09 Oct 2021 22:20:53
Message-Id: 1633817528.e246606b23079ee0cdf4190b0c8fd915a1aba7e6.chewi@gentoo
1 commit: e246606b23079ee0cdf4190b0c8fd915a1aba7e6
2 Author: William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
3 AuthorDate: Sat Oct 2 09:05:37 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 22:12:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e246606b
7
8 games-fps/gzdoom: Drop old
9
10 Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/22464
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 games-fps/gzdoom/Manifest | 1 -
15 games-fps/gzdoom/gzdoom-4.6.0.ebuild | 83 ------------------------------------
16 2 files changed, 84 deletions(-)
17
18 diff --git a/games-fps/gzdoom/Manifest b/games-fps/gzdoom/Manifest
19 index bb35095aad0..830e1f26f61 100644
20 --- a/games-fps/gzdoom/Manifest
21 +++ b/games-fps/gzdoom/Manifest
22 @@ -1,4 +1,3 @@
23 -DIST gzdoom-4.6.0.tar.gz 13921655 BLAKE2B acf3273d53f24a1d65a1d7cd1614589699926211370e84570062464d989adc7a0427423ea3444db37a9c6393d3fee971db84c9a2c4346b5677906dd89d926af4 SHA512 d7c1f5155c1262e79c812983cac3856b917f5861f9ead0b9a307040f99802a489c3f836ed23baae245122971fa4fed872202131c8c8cf17724cf4e9b2b4efea5
24 DIST gzdoom-4.6.1.tar.gz 13937864 BLAKE2B 59ea057b42058944566a66c21f441752bd014235ac4644f9b50182673856fedc33414cbe12505a294842e46c93faaf120d844ccd49fb9afeede67640feab3764 SHA512 cec64f4f6a3be3693b35d716a44930cfa9fd10b794b380cf0ea624e7901f78f3e5211b17a0905b65de367fa62046cd6ebd099f5300c7f49e1c020faaae15dd41
25 DIST gzdoom-4.7.0.tar.gz 14070204 BLAKE2B 4cf0555e7d1e34f71057502bce0973d49ffca6bccd2396faee6360832511b90450008c4ec22a0cdadfa3edcd13ec73bf412c0af7c6298c560c087f8a3d5f0bdb SHA512 539d1de85b3e2313e57fc8fcb0fa4b7a5110107f5436ee3412342c1140cebbe4ccec45efa3211b43aba8bc3715ce0e7819dd593f55d8ee906f2382573435361f
26 DIST widepix-d458411.tar.gz 2542783 BLAKE2B 622355d61c102cf71f724ed709b80ba6ba652905fb806bfd6dad6a0944eabd3bac71c7fdad17354af17493f64d6418e93eef37c032e85615dffa27f9e8faa97f SHA512 fe8a243e2dbe6330121bf139e310baf677ec4803d6b0ecd24a93792a2f7071ba739b1c038ca7aa7eeafcc83bf57c8a009189a90e3115305967ba23b675c96543
27
28 diff --git a/games-fps/gzdoom/gzdoom-4.6.0.ebuild b/games-fps/gzdoom/gzdoom-4.6.0.ebuild
29 deleted file mode 100644
30 index 7d3705e66a4..00000000000
31 --- a/games-fps/gzdoom/gzdoom-4.6.0.ebuild
32 +++ /dev/null
33 @@ -1,83 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -inherit cmake desktop xdg flag-o-matic
40 -
41 -WIDEPIX_COMMIT="d458411db4795dfd1420cf1c6456f6d2999b3bad"
42 -DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine"
43 -HOMEPAGE="https://zdoom.org"
44 -SRC_URI="https://github.com/coelckers/${PN}/archive/g${PV}.tar.gz -> ${P}.tar.gz
45 - non-free? ( https://github.com/nashmuhandes/WidePix/archive/${WIDEPIX_COMMIT}.tar.gz -> widepix-${WIDEPIX_COMMIT:0:7}.tar.gz )"
46 -
47 -LICENSE="Apache-2.0 BSD BZIP2 GPL-3 LGPL-2.1+ LGPL-3 MIT
48 - non-free? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist WidePix )"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~arm ~x86"
51 -IUSE="debug gtk +non-free openmp"
52 -
53 -DEPEND="
54 - app-arch/bzip2
55 - media-libs/libsdl2[opengl]
56 - media-libs/openal
57 - media-libs/zmusic
58 - sys-libs/zlib
59 - virtual/jpeg:0
60 - gtk? ( x11-libs/gtk+:3 )"
61 -RDEPEND="${DEPEND}"
62 -
63 -S="${WORKDIR}/${PN}-g${PV}"
64 -
65 -PATCHES=(
66 - "${FILESDIR}/${PN}-4.5.0-Introduce-the-BUILD_NONFREE-option.patch"
67 -)
68 -
69 -src_prepare() {
70 - rm -rf docs/licenses || die
71 - rm -rf libraries/{bzip2,jpeg,zlib} || die
72 - if ! use non-free ; then
73 - rm -rf wadsrc_bm wadsrc_extra wadsrc_widescreen || die
74 - else
75 - mv "${WORKDIR}/WidePix-${WIDEPIX_COMMIT}/filter" wadsrc_widescreen/static/ || die
76 - fi
77 -
78 - cmake_src_prepare
79 -}
80 -
81 -src_configure() {
82 - local mycmakeargs=(
83 - -DINSTALL_DOCS_PATH="${EPREFIX}/usr/share/doc/${PF}"
84 - -DINSTALL_PK3_PATH="${EPREFIX}/usr/share/doom"
85 - -DINSTALL_SOUNDFONT_PATH="${EPREFIX}/usr/share/doom"
86 - -DDYN_OPENAL=OFF
87 - -DNO_GTK="$(usex !gtk)"
88 - -DNO_OPENAL=OFF
89 - -DNO_OPENMP="$(usex !openmp)"
90 - -DBUILD_NONFREE="$(usex non-free)"
91 - )
92 -
93 - use debug || append-cppflags -DNDEBUG
94 -
95 - cmake_src_configure
96 -}
97 -
98 -src_install() {
99 - newicon src/posix/zdoom.xpm "${PN}.xpm"
100 - make_desktop_entry "${PN}" "GZDoom" "${PN}" "Game;ActionGame"
101 - cmake_src_install
102 -}
103 -
104 -pkg_postinst() {
105 - xdg_pkg_postinst
106 -
107 - if ! use non-free ; then
108 - ewarn
109 - ewarn "GZDoom installed without non-free components."
110 - ewarn "Note: The non-free game_support.pk3 file is needed to play"
111 - ewarn " games natively supported by GZDoom."
112 - ewarn "A list of games natively supported by GZDoom is available"
113 - ewarn "on the ZDoom wiki: https://zdoom.org/wiki/IWAD"
114 - ewarn
115 - fi
116 -}