1 |
commit: 580d1cce5cbe2585a01e7236280f1a2d58419767 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Nov 15 20:43:31 2018 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Thu Nov 15 20:43:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=580d1cce |
7 |
|
8 |
[games-fps/doom3-gpl] unusable, use dhewm3 instead |
9 |
|
10 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
11 |
|
12 |
games-fps/doom3-gpl/doom3-gpl-9999.ebuild | 99 ------------------------------- |
13 |
games-fps/doom3-gpl/metadata.xml | 8 --- |
14 |
2 files changed, 107 deletions(-) |
15 |
|
16 |
diff --git a/games-fps/doom3-gpl/doom3-gpl-9999.ebuild b/games-fps/doom3-gpl/doom3-gpl-9999.ebuild |
17 |
deleted file mode 100644 |
18 |
index 1d5d5ce..0000000 |
19 |
--- a/games-fps/doom3-gpl/doom3-gpl-9999.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,99 +0,0 @@ |
22 |
-# Copyright 1999-2011 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Header: $ |
25 |
- |
26 |
-EAPI="3" |
27 |
- |
28 |
-inherit scons-utils toolchain-funcs games git-2 |
29 |
- |
30 |
-DESCRIPTION="3rd installment of the classic iD 3D first-person shooter" |
31 |
-HOMEPAGE="https://github.com/TTimo/doom3.gpl" |
32 |
-EGIT_REPO_URI="git://github.com/TTimo/doom3.gpl.git" |
33 |
- |
34 |
-LICENSE="GPL-3" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="" |
37 |
-IUSE="alsa debug dedicated opengl" |
38 |
- |
39 |
-RDEPEND=" |
40 |
- opengl? ( |
41 |
- virtual/opengl |
42 |
- alsa? ( media-libs/alsa-lib ) |
43 |
- amd64? ( app-emulation/emul-linux-x86-xlibs[opengl] ) |
44 |
- ) |
45 |
-" |
46 |
-DEPEND="${RDEPEND} |
47 |
- sys-devel/m4 |
48 |
-" |
49 |
- |
50 |
-dir=$(games_get_libdir)/${PN} |
51 |
- |
52 |
-src_configure() { |
53 |
- S+="/neo" |
54 |
- |
55 |
- myesconsargs=( |
56 |
- CC="$(tc-getCC)" |
57 |
- CXX="$(tc-getCXX)" |
58 |
- ) |
59 |
- # FIXME build fails with JOBS=3 |
60 |
- #JOBS="$(echo -j1 ${MAKEOPTS} | sed -r "s/.*(-j\s*|--jobs=)([0-9]+).*/\2/")" |
61 |
- |
62 |
- if use debug; then |
63 |
- myesconsargs+=( BUILD="debug-all" ) |
64 |
- else |
65 |
- myesconsargs+=( BUILD="release" ) |
66 |
- fi |
67 |
- |
68 |
- if use dedicated; then |
69 |
- if use opengl; then |
70 |
- myesconsargs+=( DEDICATED="2" ) |
71 |
- else |
72 |
- myesconsargs+=( DEDICATED="1" ) |
73 |
- fi |
74 |
- else |
75 |
- # TODO use EAPI4 |
76 |
- use !opengl && die "Nothing to build" |
77 |
- myesconsargs+=( DEDICATED="0" ) |
78 |
- fi |
79 |
- |
80 |
- # FIXME needs 32-bit libz.a |
81 |
- myesconsargs+=( NOCURL="1" ) |
82 |
-} |
83 |
- |
84 |
-src_compile() { |
85 |
- escons |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- exeinto "${dir}" |
90 |
- doexe gamex86-base.so || die |
91 |
- doexe gamex86-d3xp.so || die |
92 |
- |
93 |
- if use dedicated; then |
94 |
- doexe doomded.x86 || die |
95 |
- fi |
96 |
- |
97 |
- if use opengl; then |
98 |
- doexe doom.x86 || die |
99 |
- doexe sys/linux/setup/image/openurl.sh || die |
100 |
- games_make_wrapper ${PN} ./doom.x86 "${dir}" "${dir}" |
101 |
- newicon sys/linux/setup/image/doom3.png ${PN}.png || die |
102 |
- make_desktop_entry ${PN} "Doom III GPL" |
103 |
- fi |
104 |
- |
105 |
- prepgamesdirs |
106 |
- |
107 |
- dodoc sys/linux/setup/image/README || die |
108 |
-} |
109 |
- |
110 |
-pkg_postinst() { |
111 |
- games_pkg_postinst |
112 |
- |
113 |
- elog "You need to copy 'base' directory" |
114 |
- elog "from either your installation media or your hard drive to" |
115 |
- elog "${dir}/ before running the game." |
116 |
- echo |
117 |
- elog "To play the game, run:" |
118 |
- elog " ${PN}" |
119 |
- echo |
120 |
-} |
121 |
|
122 |
diff --git a/games-fps/doom3-gpl/metadata.xml b/games-fps/doom3-gpl/metadata.xml |
123 |
deleted file mode 100644 |
124 |
index ee286d6..0000000 |
125 |
--- a/games-fps/doom3-gpl/metadata.xml |
126 |
+++ /dev/null |
127 |
@@ -1,8 +0,0 @@ |
128 |
-<?xml version="1.0" encoding="UTF-8"?> |
129 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
130 |
-<pkgmetadata> |
131 |
- <maintainer> |
132 |
- <email>nikoli@×××××××.com</email> |
133 |
- <name>Nikoli</name> |
134 |
- </maintainer> |
135 |
-</pkgmetadata> |