1 |
commit: 67a9a69e18775464dbbd2067169f0b196e82e6f8 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 3 09:02:58 2016 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 3 09:14:41 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67a9a69e |
7 |
|
8 |
games-fps/doomsday: remove old |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
games-fps/doomsday/Manifest | 1 - |
13 |
games-fps/doomsday/doomsday-1.14.5.ebuild | 186 ------------------------------ |
14 |
2 files changed, 187 deletions(-) |
15 |
|
16 |
diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest |
17 |
index 4f4d2c4..5e34795 100644 |
18 |
--- a/games-fps/doomsday/Manifest |
19 |
+++ b/games-fps/doomsday/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST doomsday-1.14.5.tar.gz 14081857 SHA256 019cd0cf89e69d80cd8f6fbbd3e3fd57b8ae4d0bcdf4285e8a71caad9f46417e SHA512 f8ecf7d213ab57081858226ab4078fcf8f250271be19a3ce5883c01e53c43b5c0e7afc16085703fe19c0cbccb795c7fd1b651e3efb8a8e854160131c6374cd9a WHIRLPOOL 2351129c6dba951ca4975e6f6e92d78c75ad3e8f9648e9129a9f5a3a22c295b25c4fdb87d5208b2d3fe9c0af94c4ff968730929fbc645da9171018a672cfc60e |
22 |
DIST doomsday-stable-1.15.8.tar.gz 52054238 SHA256 4c7b1dfdb7f0a44257f47322fe58fd1befba8dac10f44594e1be5dac582f43bf SHA512 6d1b86c6e364cbd043b0714eb351113c8bbaf98daddde1bf615fe663c15a763e26d3e478d1adeb6d8a75ed4c89a5a19f3a891e12ea5937ff2fc54b84118f642c WHIRLPOOL 0f660a430c4b036c92d02f5f84be16fb658b4963bcd694ca2cc92476218afcea367c7ff9d159b9cb63d753d5d10b443dbfdc0684c2c28ce78217d92764f7bdb5 |
23 |
|
24 |
diff --git a/games-fps/doomsday/doomsday-1.14.5.ebuild b/games-fps/doomsday/doomsday-1.14.5.ebuild |
25 |
deleted file mode 100644 |
26 |
index a229a14..00000000 |
27 |
--- a/games-fps/doomsday/doomsday-1.14.5.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,186 +0,0 @@ |
30 |
-# Copyright 1999-2015 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Id$ |
33 |
- |
34 |
-# TODO: fmod support broken (deng_fmod) |
35 |
- |
36 |
-EAPI=5 |
37 |
-PYTHON_COMPAT=( python2_7 ) |
38 |
-inherit python-r1 confutils eutils qt4-r2 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}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-2" |
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/qtcore:4 |
56 |
- dev-qt/qtopengl:4 |
57 |
- dev-qt/qtgui:4 |
58 |
- net-misc/curl |
59 |
- sys-libs/zlib |
60 |
- !dedicated? ( |
61 |
- media-libs/libsdl[joystick,sound] |
62 |
- media-libs/sdl-mixer |
63 |
- media-libs/libpng:0 |
64 |
- virtual/opengl |
65 |
- virtual/glu |
66 |
- x11-libs/libX11 |
67 |
- x11-libs/libXrandr |
68 |
- x11-libs/libXxf86vm |
69 |
- ) |
70 |
- fluidsynth? ( media-sound/fluidsynth ) |
71 |
- openal? ( media-libs/openal ) |
72 |
- tools? ( sys-libs/ncurses:0 )" |
73 |
-RDEPEND="${DEPEND} |
74 |
- !dedicated? ( |
75 |
- snowberry? ( |
76 |
- ${PYTHON_DEPS} |
77 |
- dev-lang/python-exec:2[${PYTHON_USEDEP}] |
78 |
- dev-python/wxpython[${PYTHON_USEDEP}] |
79 |
- ) |
80 |
- )" |
81 |
-DEPEND="${DEPEND} |
82 |
- ${PYTHON_DEPS}" |
83 |
-PDEPEND=" |
84 |
- !dedicated? ( |
85 |
- demo? ( games-fps/doom-data ) |
86 |
- freedoom? ( games-fps/freedoom ) |
87 |
- resources? ( games-fps/doomsday-resources ) |
88 |
- )" |
89 |
- |
90 |
-S=${S}/${PN} |
91 |
- |
92 |
-pkg_setup() { |
93 |
- games_pkg_setup |
94 |
- python_export_best |
95 |
-} |
96 |
- |
97 |
-src_prepare() { |
98 |
- sed -i \ |
99 |
- -e '/readme.path/s#$$PREFIX#/usr#' \ |
100 |
- client/client.pro || die |
101 |
- |
102 |
- sed -i \ |
103 |
- -e "/^DENG_BASE_DIR =/s:\$\$PREFIX/share:${GAMES_DATADIR}:" \ |
104 |
- config_unix.pri || die |
105 |
- |
106 |
- echo "CONFIG += nostrip" > config_user.pri |
107 |
- echo "PREFIX=/usr/games" >> config_user.pri |
108 |
- |
109 |
- if use dedicated ; then |
110 |
- echo "CONFIG += deng_noclient" >> config_user.pri |
111 |
- echo "CONFIG += deng_nosnowberry" >> config_user.pri |
112 |
- else |
113 |
- use snowberry && |
114 |
- echo "CONFIG += deng_snowberry" >> config_user.pri || \ |
115 |
- echo "CONFIG += deng_nosnowberry" >> config_user.pri |
116 |
- fi |
117 |
- |
118 |
- use fluidsynth && |
119 |
- echo "CONFIG += deng_fluidsynth" >> config_user.pri |
120 |
- |
121 |
- use tools || |
122 |
- echo "CONFIG += deng_notools" >> config_user.pri |
123 |
- |
124 |
- if use openal; then |
125 |
- echo "CONFIG += deng_openal" >> config_user.pri |
126 |
- sed -i \ |
127 |
- -e 's:\# Generic Unix.:LIBS += -lopenal:' \ |
128 |
- dep_openal.pri || die |
129 |
- fi |
130 |
- |
131 |
- qt4-r2_src_prepare |
132 |
-} |
133 |
- |
134 |
-#Usage: doom_make_wrapper <name> <game> <icon> <desktop entry title> [args] |
135 |
-doom_make_wrapper() { |
136 |
- local name=$1 game=$2 icon=$3 de_title=$4 |
137 |
- shift 4 |
138 |
- games_make_wrapper $name \ |
139 |
- "doomsday -game ${game} $@" |
140 |
- make_desktop_entry $name "${de_title}" ${icon} |
141 |
-} |
142 |
- |
143 |
-src_configure() { |
144 |
- qt4-r2_src_configure |
145 |
-} |
146 |
- |
147 |
-src_install() { |
148 |
- qt4-r2_src_install |
149 |
- |
150 |
- dodoc "${WORKDIR}"/${P}/README.md |
151 |
- |
152 |
- mv "${D}/${GAMES_DATADIR}"/{${PN}/data/jdoom,doom-data} || die |
153 |
- dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/${PN}/data/jdoom |
154 |
- |
155 |
- if use !dedicated ; then |
156 |
- if use snowberry ; then |
157 |
- python_replicate_script "${D}"/"${GAMES_BINDIR}"/launch-doomsday |
158 |
- |
159 |
- installmodules() { |
160 |
- # relocate snowberry module directory recursively into site-packages |
161 |
- python_domodule "${D}/${GAMES_DATADIR}"/${PN}/snowberry |
162 |
- # hack around improper path handling |
163 |
- sed -i \ |
164 |
- -e "s:os.chdir.*$:os.chdir('$(python_get_sitedir)/snowberry'):" \ |
165 |
- "${D%/}$(python_get_scriptdir)"/launch-doomsday || die |
166 |
- } |
167 |
- python_foreach_impl installmodules |
168 |
- # remove old module dir |
169 |
- rm -r "${D}/${GAMES_DATADIR}"/${PN}/snowberry || die |
170 |
- |
171 |
- make_desktop_entry launch-doomsday "Snowberry DoomsDay" snowberry |
172 |
- doicon ../snowberry/graphics/snowberry.png |
173 |
- fi |
174 |
- |
175 |
- if use doom; then |
176 |
- local res_arg |
177 |
- if use resources; then |
178 |
- res_arg="-def \"${GAMES_DATADIR}\"/${PN}/defs/jdoom/jDRP.ded" |
179 |
- fi |
180 |
- |
181 |
- doicon ../snowberry/graphics/orb-doom.png |
182 |
- doom_make_wrapper jdoom doom1 orb-doom "DoomsDay Engine: Doom 1" "${res_arg}" |
183 |
- elog "Created jdoom launcher. To play Doom place your doom.wad to" |
184 |
- elog "\"${GAMES_DATADIR}\"/doom-data" |
185 |
- elog |
186 |
- |
187 |
- if use demo; then |
188 |
- doom_make_wrapper jdoom-demo doom1-share orb-doom "DoomsDay Engine: Doom 1 Demo" \ |
189 |
- "-iwad \"${GAMES_DATADIR}\"/doom-data/doom1.wad ${res_arg}" |
190 |
- fi |
191 |
- if use freedoom; then |
192 |
- doom_make_wrapper jdoom-freedoom doom1-share orb-doom "DoomsDay Engine: FreeDoom" \ |
193 |
- "-iwad \"${GAMES_DATADIR}\"/doom-data/freedoom/doom1.wad" |
194 |
- fi |
195 |
- fi |
196 |
- if use hexen; then |
197 |
- doicon ../snowberry/graphics/orb-hexen.png |
198 |
- doom_make_wrapper jhexen hexen orb-hexen "DoomsDay Engine: Hexen" |
199 |
- |
200 |
- elog "Created jhexen launcher. To play Hexen place your hexen.wad to" |
201 |
- elog "\"${GAMES_DATADIR}\"/${PN}/data/jhexen" |
202 |
- elog |
203 |
- fi |
204 |
- if use heretic; then |
205 |
- doicon ../snowberry/graphics/orb-heretic.png |
206 |
- doom_make_wrapper jheretic heretic orb-heretic "DoomsDay Engine: Heretic" |
207 |
- |
208 |
- elog "Created jheretic launcher. To play Heretic place your heretic.wad to" |
209 |
- elog "\"${GAMES_DATADIR}\"/${PN}/data/jheretic" |
210 |
- elog |
211 |
- fi |
212 |
- fi |
213 |
- |
214 |
- prepgamesdirs |
215 |
-} |