Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-fps/zdoom/
Date: Thu, 05 Mar 2020 21:19:11
Message-Id: 1583441093.8837091fb30238984ac417d52454111a1c0992bd.winterheart@gentoo
1 commit: 8837091fb30238984ac417d52454111a1c0992bd
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 5 20:44:53 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Thu Mar 5 20:44:53 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=8837091f
7
8 games-fps/zdoom: deprecated by upstream
9
10 Deprecated, development stoped. Use games-fps/gzdoom.
11 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
12
13 games-fps/zdoom/metadata.xml | 19 ----------
14 games-fps/zdoom/zdoom-2.8.1.ebuild | 77 --------------------------------------
15 2 files changed, 96 deletions(-)
16
17 diff --git a/games-fps/zdoom/metadata.xml b/games-fps/zdoom/metadata.xml
18 deleted file mode 100644
19 index 36b28ff..0000000
20 --- a/games-fps/zdoom/metadata.xml
21 +++ /dev/null
22 @@ -1,19 +0,0 @@
23 -<?xml version="1.0" encoding="UTF-8"?>
24 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
25 -<pkgmetadata>
26 -<maintainer type="person">
27 -<email>azamat.hackimov@×××××.com</email>
28 -<name>Azamat H. Hackimov</name>
29 -</maintainer>
30 -<longdescription lang="en">
31 -ZDoom is an enhanced port of the official DOOM source code
32 -</longdescription>
33 -<longdescription lang="ru">
34 -ZDoom - улучшенный порт движка DOOM
35 -</longdescription>
36 -<use>
37 -<flag name="asm">Enable assembly implementations</flag>
38 -<!-- <flag name="fmod">Enable the fmod music and sound effects</flag> -->
39 -</use>
40 -</pkgmetadata>
41 -
42
43 diff --git a/games-fps/zdoom/zdoom-2.8.1.ebuild b/games-fps/zdoom/zdoom-2.8.1.ebuild
44 deleted file mode 100644
45 index 66e4ffe..0000000
46 --- a/games-fps/zdoom/zdoom-2.8.1.ebuild
47 +++ /dev/null
48 @@ -1,77 +0,0 @@
49 -# Copyright 1999-2016 Gentoo Foundation
50 -# Distributed under the terms of the GNU General Public License v2
51 -# $Id$
52 -
53 -EAPI=6
54 -inherit cmake-utils eutils versionator unpacker
55 -
56 -DESCRIPTION="ZDoom is an enhanced port of the official DOOM source code"
57 -HOMEPAGE="http://www.zdoom.org"
58 -SRC_URI="http://www.zdoom.org/files/${PN}/$(get_version_component_range 1-2)/${P}-src.7z"
59 -
60 -LICENSE="BSD BUILD DOOM"
61 -SLOT="0"
62 -KEYWORDS="~amd64 ~x86"
63 -# FIXME fmod does not work
64 -IUSE="asm gtk openal"
65 -
66 -# fmod? ( media-libs/fmod:1 )
67 -RDEPEND="app-arch/bzip2
68 - media-libs/game-music-emu
69 - media-libs/libsdl2
70 - openal? ( media-libs/openal )
71 - media-sound/fluidsynth
72 - sys-libs/zlib
73 - virtual/jpeg:0
74 - x11-libs/libXcursor
75 - gtk? ( x11-libs/gtk+:2 )"
76 -DEPEND="${RDEPEND}
77 - asm? ( || ( dev-lang/nasm dev-lang/yasm ) )
78 - $(unpacker_src_uri_depends)"
79 -
80 -S="${WORKDIR}"
81 -
82 -DOCS=( "docs/commands.txt" )
83 -HTML_DOCS=( "docs/console.{css,html}" )
84 -
85 -src_prepare() {
86 - default
87 -
88 - sed -i \
89 - -e "s:/usr/local/share/:/usr/share/doom-data/:" \
90 - src/posix/i_system.h || die "sed i_system.h failed"
91 -
92 - sed -i \
93 - -e "s:/usr/local/share/doom:/usr/share/doom-data/:" \
94 - src/gameconfigfile.cpp || die "sed gameconfigfile.cpp failed"
95 -}
96 -
97 -src_configure() {
98 - mycmakeargs=(
99 -# "-DFMOD_LOCAL_LIB_DIRS=/opt/fmodex/api/lib"
100 -# "-DFMOD_INCLUDE_DIR=/opt/fmodex/api/inc"
101 - "-DGME_INCLUDE_DIR=/usr/include"
102 - "-DFORCE_INTERNAL_GME=no"
103 - -DNO_ASM=$(usex !asm)
104 -# -DNO_FMOD=$(usex !fmod)
105 - -DNO_GTK=$(usex !gtk)
106 - -DNO_OPENAL=$(usex !openal)
107 - )
108 - cmake-utils_src_configure
109 -}
110 -
111 -src_install() {
112 - dobin "${CMAKE_BUILD_DIR}/${PN}"
113 - insinto "/usr/share/doom-data"
114 - doins "${CMAKE_BUILD_DIR}/${PN}.pk3"
115 -}
116 -
117 -pkg_postinst() {
118 - echo
119 - elog "Copy or link wad files into /usr/share/doom-data/"
120 - elog
121 - elog "To play, simply run:"
122 - elog
123 - elog " zdoom"
124 - echo
125 -}