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, 25 Jan 2020 14:20:07
Message-Id: 1579961963.d7e2fdca55e75a4b2ddc2f0e9daba8383ba4810e.chewi@gentoo
1 commit: d7e2fdca55e75a4b2ddc2f0e9daba8383ba4810e
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 25 14:19:23 2020 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 25 14:19:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7e2fdca
7
8 games-fps/gzdoom: Drop old 4.3.1
9
10 Package-Manager: Portage-2.3.85, Repoman-2.3.20
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-fps/gzdoom/Manifest | 1 -
14 games-fps/gzdoom/gzdoom-4.3.1.ebuild | 88 ------------------------------------
15 2 files changed, 89 deletions(-)
16
17 diff --git a/games-fps/gzdoom/Manifest b/games-fps/gzdoom/Manifest
18 index a4ae231fe4b..c7de0cf9fa7 100644
19 --- a/games-fps/gzdoom/Manifest
20 +++ b/games-fps/gzdoom/Manifest
21 @@ -1,2 +1 @@
22 -DIST gzdoom-4.3.1.tar.gz 13689272 BLAKE2B 3bc26732bc2f3281d0e5a1c667226153d411048877d3a716b6e4ce89534a38cde3763e5cf5d409d99bb053e75d5922b20b4b4d93ce574de58420ae89158eab32 SHA512 6904b8a132f720f07ba15bb4959cf248bba753c318e248d882c5701d919d35492a4fb460a4d4716bc26fde8a1c59d4bceaf3f626326a90a06d4f6cde6a180b96
23 DIST gzdoom-4.3.3.tar.gz 13704956 BLAKE2B 4c9338b8958a408bee268eadadd779be8488540e68d5f46d7d0b18a825cd6391368b2c5149eff965685dd97f7ee51f12050e07f558c7f62551c8e239049110ea SHA512 ef8e3a7cfa4d03a98536deddb53ded4b23609b834dd07af4224cd2eb1136bca2a318a99a959a36b2e423038938a2175c015c48d89510f124bd32b7656004e1d1
24
25 diff --git a/games-fps/gzdoom/gzdoom-4.3.1.ebuild b/games-fps/gzdoom/gzdoom-4.3.1.ebuild
26 deleted file mode 100644
27 index 1ba984d753b..00000000000
28 --- a/games-fps/gzdoom/gzdoom-4.3.1.ebuild
29 +++ /dev/null
30 @@ -1,88 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit cmake 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 - non-free? ( Activision ChexQuest3 DOOM-COLLECTORS-EDITION freedist )"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~arm ~x86"
46 -IUSE="alsa fluidsynth gtk gtk2 mpg123 +non-free openmp sndfile"
47 -
48 -DEPEND="
49 - media-libs/libsdl2[opengl]
50 - media-libs/openal
51 - sys-libs/zlib
52 - virtual/jpeg:0
53 - alsa? ( media-libs/alsa-lib )
54 - fluidsynth? ( media-sound/fluidsynth:= )
55 - gtk? (
56 - gtk2? ( x11-libs/gtk+:2 )
57 - !gtk2? ( x11-libs/gtk+:3 )
58 - )
59 - mpg123? ( media-sound/mpg123 )
60 - sndfile? ( media-libs/libsndfile )"
61 -RDEPEND="${DEPEND}"
62 -
63 -S="${WORKDIR}/${PN}-g${PV}"
64 -
65 -PATCHES=(
66 - "${FILESDIR}/${PN}-4.2.1-install_soundfonts.patch"
67 - "${FILESDIR}/${PN}-4.2.1-Introduce-the-BUILD_NONFREE-option.patch"
68 -)
69 -
70 -src_prepare() {
71 - rm -rf docs/licenses || die
72 - if ! use non-free ; then
73 - rm -rf wadsrc_bm wadsrc_extra || die
74 - fi
75 -
76 - cmake_src_prepare
77 -}
78 -
79 -src_configure() {
80 - local mycmakeargs=(
81 - -DINSTALL_DOCS_PATH="${EPREFIX}/usr/share/doc/${PF}"
82 - -DINSTALL_PK3_PATH="${EPREFIX}/usr/share/doom"
83 - -DINSTALL_SOUNDFONT_PATH="${EPREFIX}/usr/share/doom"
84 - -DDYN_FLUIDSYNTH=OFF
85 - -DDYN_OPENAL=OFF
86 - -DDYN_SNDFILE=OFF
87 - -DDYN_MPG123=OFF
88 - -DNO_GTK="$(usex !gtk)"
89 - -DNO_OPENAL=OFF
90 - -DNO_OPENMP="$(usex !openmp)"
91 - -DBUILD_NONFREE="$(usex non-free)"
92 - -DCMAKE_DISABLE_FIND_PACKAGE_ALSA="$(usex !alsa)"
93 - -DCMAKE_DISABLE_FIND_PACKAGE_FluidSynth="$(usex !fluidsynth)"
94 - -DCMAKE_DISABLE_FIND_PACKAGE_MPG123="$(usex !mpg123)"
95 - -DCMAKE_DISABLE_FIND_PACKAGE_SndFile="$(usex !sndfile)"
96 - )
97 - cmake_src_configure
98 -}
99 -
100 -src_install() {
101 - newicon src/posix/zdoom.xpm "${PN}.xpm"
102 - make_desktop_entry "${PN}" "GZDoom" "${PN}" "Game;ActionGame"
103 - cmake_src_install
104 -}
105 -
106 -pkg_postinst() {
107 - xdg_pkg_postinst
108 -
109 - if ! use non-free ; then
110 - ewarn
111 - ewarn "GZDoom installed without non-free components."
112 - ewarn "Note: The non-free game_support.pk3 file is needed to play"
113 - ewarn " games natively supported by GZDoom."
114 - ewarn "A list of games natively supported by GZDoom is available"
115 - ewarn "on the ZDoom wiki: https://zdoom.org/wiki/IWAD"
116 - ewarn
117 - fi
118 -}