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: Thu, 07 Nov 2019 21:28:46
Message-Id: 1573161829.72472af53164bec4d2df5c2090288986582a6448.chewi@gentoo
1 commit: 72472af53164bec4d2df5c2090288986582a6448
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 7 21:23:49 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 7 21:23:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72472af5
7
8 games-fps/gzdoom: Drop old 4.2.3
9
10 Package-Manager: Portage-2.3.78, Repoman-2.3.17
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-fps/gzdoom/Manifest | 1 -
14 games-fps/gzdoom/gzdoom-4.2.3.ebuild | 83 ------------------------------------
15 2 files changed, 84 deletions(-)
16
17 diff --git a/games-fps/gzdoom/Manifest b/games-fps/gzdoom/Manifest
18 index 77c9697b179..b1ac6d58a84 100644
19 --- a/games-fps/gzdoom/Manifest
20 +++ b/games-fps/gzdoom/Manifest
21 @@ -1,2 +1 @@
22 -DIST gzdoom-4.2.3.tar.gz 13682309 BLAKE2B 33bc9b2c3a28b9b692bd2b28ba45dce95274f78eb42b18c17e48b546b5b5f0c19fe09fd9c36fbb27bae4b1235dd8f0bddde0e67e46d07ea3bca776e6768e697a SHA512 d73b643f2ec6dbf7daa5048ba2db0f18968fb054ca9585dd07f18d20707efbe8e41cc3d8b4520d793d9d32ff34e1a6c74b2eaf84d0192d02263b907f5b3bbbc6
23 DIST gzdoom-4.2.4.tar.gz 13683768 BLAKE2B cfdecaf6d92720b3a61fe986a63e6230674cafc65d02f5496a073ffe870319eec62c58377204fd8509fce4869b2a970cc4d1ad98db055d063393ce59d04b1d4f SHA512 555e280db3d66a643cf1412ac1bae5f8c607af339a11a61b1039061de60cf6165c41b3de0c3323ac852b0b2f63f787a1c10ba9240da3174a85ec09d61f5b271a
24
25 diff --git a/games-fps/gzdoom/gzdoom-4.2.3.ebuild b/games-fps/gzdoom/gzdoom-4.2.3.ebuild
26 deleted file mode 100644
27 index e59ca414756..00000000000
28 --- a/games-fps/gzdoom/gzdoom-4.2.3.ebuild
29 +++ /dev/null
30 @@ -1,83 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit cmake-utils desktop xdg
37 -
38 -DESCRIPTION="A modder-friendly OpenGL source port based on the DOOM engine"
39 -HOMEPAGE="https://zdoom.org"
40 -SRC_URI="https://github.com/coelckers/${PN}/archive/g${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="BSD BZIP2 DUMB-0.9.3 GPL-3 LGPL-3 MIT
43 - nonfree? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist )"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~x86"
46 -IUSE="gtk gtk2 +nonfree openmp"
47 -
48 -DEPEND="
49 - media-libs/libsdl2[opengl]
50 - media-libs/libsndfile
51 - media-libs/openal
52 - media-sound/fluidsynth:=
53 - media-sound/mpg123
54 - sys-libs/zlib
55 - virtual/jpeg:0
56 - gtk? (
57 - gtk2? ( x11-libs/gtk+:2 )
58 - !gtk2? ( x11-libs/gtk+:3 )
59 - )"
60 -RDEPEND="${DEPEND}"
61 -
62 -S="${WORKDIR}/${PN}-g${PV}"
63 -
64 -PATCHES=(
65 - "${FILESDIR}/${PN}-4.2.1-install_soundfonts.patch"
66 - "${FILESDIR}/${PN}-4.2.1-Introduce-the-BUILD_NONFREE-option.patch"
67 -)
68 -
69 -src_prepare() {
70 - rm -rf docs/licenses || die
71 - if ! use nonfree ; then
72 - rm -rf wadsrc_bm wadsrc_extra || die
73 - fi
74 -
75 - cmake-utils_src_prepare
76 -}
77 -
78 -src_configure() {
79 - local mycmakeargs=(
80 - -DINSTALL_DOCS_PATH="${EPREFIX}/usr/share/doc/${PF}"
81 - -DINSTALL_PK3_PATH="${EPREFIX}/usr/share/doom"
82 - -DINSTALL_SOUNDFONT_PATH="${EPREFIX}/usr/share/doom"
83 - -DDYN_FLUIDSYNTH=OFF
84 - -DDYN_OPENAL=OFF
85 - -DDYN_SNDFILE=OFF
86 - -DDYN_MPG123=OFF
87 - -DNO_GTK="$(usex !gtk)"
88 - -DNO_OPENAL=OFF
89 - -DNO_OPENMP="$(usex !openmp)"
90 - -DBUILD_NONFREE="$(usex nonfree)"
91 - )
92 - cmake-utils_src_configure
93 -}
94 -
95 -src_install() {
96 - newicon src/posix/zdoom.xpm "${PN}.xpm"
97 - make_desktop_entry "${PN}" "GZDoom" "${PN}" "Game;ActionGame"
98 - cmake-utils_src_install
99 -}
100 -
101 -pkg_postinst() {
102 - xdg_pkg_postinst
103 -
104 - if ! use nonfree ; then
105 - ewarn
106 - ewarn "GZDoom installed without nonfree components."
107 - ewarn "Note: The nonfree game_support.pk3 file is needed to play"
108 - ewarn " games natively supported by GZDoom."
109 - ewarn "A list of games natively supported by GZDoom may be found"
110 - ewarn "on the ZDoom wiki: https://zdoom.org/wiki/IWAD"
111 - ewarn
112 - fi
113 -}