1 |
commit: 31bd7ef5e3bc88b5a5bef5db2df4999fd35389b7 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 29 17:07:15 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 29 17:13:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31bd7ef5 |
7 |
|
8 |
games-fps/doomsday: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
games-fps/doomsday/Manifest | 1 - |
13 |
games-fps/doomsday/doomsday-1.15.8.ebuild | 182 ------------------------------ |
14 |
games-fps/doomsday/metadata.xml | 2 - |
15 |
3 files changed, 185 deletions(-) |
16 |
|
17 |
diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest |
18 |
index 7d8cb7b307b..b063d3ba494 100644 |
19 |
--- a/games-fps/doomsday/Manifest |
20 |
+++ b/games-fps/doomsday/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
DIST doomsday-2.0.3.tar.gz 18060670 BLAKE2B e01545f5d719310a78f01de77249a72f9c3c61a1d295ee0827475439b63653f613660bdc033c1651180cc390469c89120d262c15c6e22cece52600e2889e1437 SHA512 4f8e737df9e004cf3ac3cf16b84ffce0c85e2180af552bac41a224595c7f6932397c39f7d3e9fa522e1ae62828cb87f564a5fa411e742eb07bbee96f14c3ee7c |
23 |
-DIST doomsday-stable-1.15.8.tar.gz 52054238 BLAKE2B ab33c197a89c5b3a9aa00628cd88edb5b5d2c1116ed72c55f34bd21e8128b6ff056bbc81900a9ea133b2230319e3c0f7ef79df98609980a59dc1f3da41e2195d SHA512 6d1b86c6e364cbd043b0714eb351113c8bbaf98daddde1bf615fe663c15a763e26d3e478d1adeb6d8a75ed4c89a5a19f3a891e12ea5937ff2fc54b84118f642c |
24 |
|
25 |
diff --git a/games-fps/doomsday/doomsday-1.15.8.ebuild b/games-fps/doomsday/doomsday-1.15.8.ebuild |
26 |
deleted file mode 100644 |
27 |
index c2cadea8b25..00000000000 |
28 |
--- a/games-fps/doomsday/doomsday-1.15.8.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,182 +0,0 @@ |
31 |
-# Copyright 1999-2016 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-# TODO: fmod support broken (deng_fmod) |
35 |
- |
36 |
-EAPI=5 |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
-inherit python-r1 eutils qmake-utils games |
39 |
- |
40 |
-DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen" |
41 |
-HOMEPAGE="http://www.dengine.net/" |
42 |
-SRC_URI="mirror://sourceforge/deng/Doomsday%20Engine/${PV}/${PN}-stable-${PV}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-3+ LGPL-3+" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
-IUSE="dedicated fluidsynth openal snowberry +doom demo freedoom heretic hexen resources tools" |
48 |
-# we need python at build time, so |
49 |
-# snowberry? ( ${PYTHON_REQUIRED_USE} ) |
50 |
-# could break the build |
51 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE} |
52 |
- demo? ( doom ) freedoom? ( doom ) resources? ( doom )" |
53 |
- |
54 |
-DEPEND=" |
55 |
- dev-qt/qtnetwork:5 |
56 |
- dev-qt/qtopengl:5 |
57 |
- dev-qt/qtwidgets:5 |
58 |
- dev-qt/qtx11extras:5 |
59 |
- dev-qt/qtgui:5[-gles2] |
60 |
- dev-qt/qtcore:5 |
61 |
- net-misc/curl |
62 |
- sys-libs/zlib |
63 |
- media-libs/assimp |
64 |
- !dedicated? ( |
65 |
- media-libs/libsdl2[joystick,sound] |
66 |
- media-libs/sdl2-mixer |
67 |
- media-libs/libpng:0 |
68 |
- virtual/opengl |
69 |
- virtual/glu |
70 |
- x11-libs/libX11 |
71 |
- x11-libs/libXrandr |
72 |
- x11-libs/libXxf86vm |
73 |
- ) |
74 |
- fluidsynth? ( media-sound/fluidsynth ) |
75 |
- openal? ( media-libs/openal ) |
76 |
- tools? ( sys-libs/ncurses:0 )" |
77 |
-RDEPEND="${DEPEND} |
78 |
- !dedicated? ( |
79 |
- snowberry? ( |
80 |
- ${PYTHON_DEPS} |
81 |
- dev-lang/python-exec:2[${PYTHON_USEDEP}] |
82 |
- dev-python/wxpython[${PYTHON_USEDEP}] |
83 |
- ) |
84 |
- )" |
85 |
-DEPEND="${DEPEND} |
86 |
- ${PYTHON_DEPS} |
87 |
- virtual/pkgconfig" |
88 |
-PDEPEND=" |
89 |
- !dedicated? ( |
90 |
- demo? ( games-fps/doom-data ) |
91 |
- freedoom? ( games-fps/freedoom ) |
92 |
- resources? ( games-fps/doomsday-resources ) |
93 |
- )" |
94 |
- |
95 |
-S=${WORKDIR}/${PN}-stable-${PV}/${PN} |
96 |
- |
97 |
-pkg_setup() { |
98 |
- games_pkg_setup |
99 |
- python_setup |
100 |
-} |
101 |
- |
102 |
-src_prepare() { |
103 |
- sed -i \ |
104 |
- -e '/readme.path/s#$$PREFIX#/usr#' \ |
105 |
- client/client.pro server/server.pro || die |
106 |
- |
107 |
- sed -i \ |
108 |
- -e "/DENG_BASE_DIR =/s:\$\$PREFIX/share:${GAMES_DATADIR}:" \ |
109 |
- config_unix.pri || die |
110 |
- |
111 |
- { |
112 |
- echo "CONFIG += nostrip" |
113 |
- echo "PREFIX=${GAMES_PREFIX}" |
114 |
- |
115 |
- if use dedicated ; then |
116 |
- echo "CONFIG += deng_noclient" |
117 |
- echo "CONFIG += deng_nosnowberry" |
118 |
- else |
119 |
- echo "CONFIG += deng_$(usex snowberry '' no)snowberry" |
120 |
- fi |
121 |
- |
122 |
- use fluidsynth && echo "CONFIG += deng_fluidsynth" |
123 |
- |
124 |
- use tools || echo "CONFIG += deng_notools" |
125 |
- |
126 |
- use openal && echo "CONFIG += deng_openal" |
127 |
- true |
128 |
- |
129 |
- } > config_user.pri || die |
130 |
-} |
131 |
- |
132 |
-#Usage: doom_make_wrapper <name> <game> <icon> <desktop entry title> [args] |
133 |
-doom_make_wrapper() { |
134 |
- local name=$1 game=$2 icon=$3 de_title=$4 |
135 |
- shift 4 |
136 |
- games_make_wrapper $name "doomsday -game ${game} $@" |
137 |
- make_desktop_entry $name "${de_title}" ${icon} |
138 |
-} |
139 |
- |
140 |
-src_configure() { |
141 |
- eqmake5 doomsday.pro |
142 |
-} |
143 |
- |
144 |
-src_install() { |
145 |
- emake INSTALL_ROOT="${D}" install |
146 |
- dodoc "${S}"/../README.md |
147 |
- |
148 |
- mv "${D}/${GAMES_DATADIR}"/{${PN}/data/jdoom,doom-data} || die |
149 |
- dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/${PN}/data/jdoom |
150 |
- |
151 |
- if use !dedicated ; then |
152 |
- if use snowberry ; then |
153 |
- python_replicate_script "${D}"/"${GAMES_BINDIR}"/launch-doomsday |
154 |
- |
155 |
- installmodules() { |
156 |
- # relocate snowberry module directory recursively into site-packages |
157 |
- python_domodule "${D}/${GAMES_DATADIR}"/${PN}/snowberry |
158 |
- # hack around improper path handling |
159 |
- sed -i \ |
160 |
- -e "s:os.chdir.*$:os.chdir('$(python_get_sitedir)/snowberry'):" \ |
161 |
- "${D%/}$(python_get_scriptdir)"/launch-doomsday || die |
162 |
- } |
163 |
- python_foreach_impl installmodules |
164 |
- # remove old module dir |
165 |
- rm -r "${D}/${GAMES_DATADIR}"/${PN}/snowberry || die |
166 |
- |
167 |
- make_desktop_entry launch-doomsday "Snowberry DoomsDay" snowberry |
168 |
- doicon ../snowberry/graphics/snowberry.png |
169 |
- fi |
170 |
- |
171 |
- if use doom; then |
172 |
- local res_arg |
173 |
- |
174 |
- if use resources; then |
175 |
- res_arg="-def \"${GAMES_DATADIR}\"/${PN}/defs/jdoom/jDRP.ded" |
176 |
- fi |
177 |
- |
178 |
- doicon ../snowberry/graphics/orb-doom.png |
179 |
- doom_make_wrapper jdoom doom1 orb-doom "DoomsDay Engine: Doom 1" "${res_arg}" |
180 |
- elog "Created jdoom launcher. To play Doom place your doom.wad to" |
181 |
- elog "\"${GAMES_DATADIR}\"/doom-data" |
182 |
- elog |
183 |
- |
184 |
- if use demo; then |
185 |
- doom_make_wrapper jdoom-demo doom1-share orb-doom "DoomsDay Engine: Doom 1 Demo" \ |
186 |
- "-iwad \"${GAMES_DATADIR}\"/doom-data/doom1.wad ${res_arg}" |
187 |
- fi |
188 |
- if use freedoom; then |
189 |
- doom_make_wrapper jdoom-freedoom doom1-share orb-doom "DoomsDay Engine: FreeDoom" \ |
190 |
- "-iwad \"${GAMES_DATADIR}\"/doom-data/freedoom/doom1.wad" |
191 |
- fi |
192 |
- fi |
193 |
- if use hexen; then |
194 |
- doicon ../snowberry/graphics/orb-hexen.png |
195 |
- doom_make_wrapper jhexen hexen orb-hexen "DoomsDay Engine: Hexen" |
196 |
- |
197 |
- elog "Created jhexen launcher. To play Hexen place your hexen.wad to" |
198 |
- elog "\"${GAMES_DATADIR}\"/${PN}/data/jhexen" |
199 |
- elog |
200 |
- fi |
201 |
- if use heretic; then |
202 |
- doicon ../snowberry/graphics/orb-heretic.png |
203 |
- doom_make_wrapper jheretic heretic orb-heretic "DoomsDay Engine: Heretic" |
204 |
- |
205 |
- elog "Created jheretic launcher. To play Heretic place your heretic.wad to" |
206 |
- elog "\"${GAMES_DATADIR}\"/${PN}/data/jheretic" |
207 |
- elog |
208 |
- fi |
209 |
- fi |
210 |
- |
211 |
- prepgamesdirs |
212 |
-} |
213 |
|
214 |
diff --git a/games-fps/doomsday/metadata.xml b/games-fps/doomsday/metadata.xml |
215 |
index 8c49e302718..851017e48a8 100644 |
216 |
--- a/games-fps/doomsday/metadata.xml |
217 |
+++ b/games-fps/doomsday/metadata.xml |
218 |
@@ -13,8 +13,6 @@ |
219 |
<flag name="freedoom">Install launcher for doom1.wad from <pkg>games-fps/freedoom</pkg></flag> |
220 |
<flag name="heretic">Install launcher for jheretic game</flag> |
221 |
<flag name="hexen">Install launcher for jhexen game</flag> |
222 |
- <flag name="resources">Enable support for <pkg>games-fps/doomsday-resources</pkg> in jdoom launcher</flag> |
223 |
- <flag name="snowberry">Install Snowberry doomsday front-end</flag> |
224 |
<flag name="tools">Build additional tools such as doomsday-shell, md2tool and texc</flag> |
225 |
</use> |
226 |
<upstream> |