1 |
commit: 35e1a7cb0a492f80e4f9b6233d4151ff29fa57fd |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 28 00:09:52 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 28 00:10:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35e1a7cb |
7 |
|
8 |
games-fps/yamagi-quake2: Drop old 7.40 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-fps/yamagi-quake2/Manifest | 1 - |
14 |
games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild | 149 ---------------------- |
15 |
2 files changed, 150 deletions(-) |
16 |
|
17 |
diff --git a/games-fps/yamagi-quake2/Manifest b/games-fps/yamagi-quake2/Manifest |
18 |
index dbc41660ecf..048d8efc7a0 100644 |
19 |
--- a/games-fps/yamagi-quake2/Manifest |
20 |
+++ b/games-fps/yamagi-quake2/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
-DIST quake2-7.40.tar.xz 1972020 BLAKE2B be5c01dbcb226f343d18f9d318022edff56bac6f953a0b85cbe3c108451c51020339a12b63fd82803cb9cfbbc26f5dfc230b4cad870ab116cb0333baa0160173 SHA512 23ac94b3b5aa28ad7d36e585f00af4aa285db3f93044175c9f65169fb2f89f5d721a3833a386146cf278c4db47846a442ebd8acd98c97ffa6f149d5949dcd5b1 |
23 |
DIST quake2-7.41.tar.xz 1978952 BLAKE2B 9d3626f102b652c443caea294f7f66dc46869612b64d16c5f2e9b7f28a83800a0653450f8fc44ebaa83e01ddfaf2b2cd5dd9c6feb8001b5cabd7df32171e035b SHA512 fd2c991274415eb38cf3deb7562f7c51c7f8e935cf7215eba7e8ae088f25cddf95e86221fcbbb5fcc8bd97e264b147951bf5f4aecb8ee54973d46af7ef39d3af |
24 |
DIST quake2-ctf-1.06.tar.xz 135464 BLAKE2B 457ab883ba9ecfb723d890f5c9e3da710aae4ed5fa4e530c8028b0fa93186350e6ed1b483b89ddf98cbb3f3b1992a15c33af5d181073395b61e5b9a7c9987d88 SHA512 24c58f895d4056127e6f714c618d53b80bd75968758d8aa729deba750297efd5d6c40bd69afd98ebbf0d231bd59909e6438ec64b258883d8cfd33d33e928b2f9 |
25 |
DIST quake2-rogue-2.05.tar.xz 241120 BLAKE2B 58be655bfcba9c6ee66616dbedaf01c4329d656c205ad99910dccb095981a8f29b09d557e76f9e43df21f36eebeb5ad0c0f2788d2bee2bc1cfe68dda824df5d1 SHA512 521860cc3c46e8679f0dee2b9bc6c3a643439f560ad2437e2961e746285a95fa118201d516eefefdd8b5fe7da8ec5ea0c9fae8910751256a0d986300497631ff |
26 |
|
27 |
diff --git a/games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild |
28 |
deleted file mode 100644 |
29 |
index 5e8aa0b53d2..00000000000 |
30 |
--- a/games-fps/yamagi-quake2/yamagi-quake2-7.40.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,149 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=7 |
37 |
- |
38 |
-inherit desktop eutils |
39 |
- |
40 |
-CTF_V=1.06 |
41 |
-ROGUE_V=2.05 |
42 |
-XATRIX_V=2.06 |
43 |
- |
44 |
-DESCRIPTION="Quake 2 engine focused on single player" |
45 |
-HOMEPAGE="https://www.yamagi.org/quake2/" |
46 |
-SRC_URI="https://deponie.yamagi.org/quake2/quake2-${PV}.tar.xz |
47 |
- ctf? ( https://deponie.yamagi.org/quake2/quake2-ctf-${CTF_V}.tar.xz ) |
48 |
- rogue? ( https://deponie.yamagi.org/quake2/quake2-rogue-${ROGUE_V}.tar.xz ) |
49 |
- xatrix? ( https://deponie.yamagi.org/quake2/quake2-xatrix-${XATRIX_V}.tar.xz )" |
50 |
- |
51 |
-LICENSE="GPL-2" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~amd64 ~x86" |
54 |
-IUSE="+client ctf dedicated openal +opengl rogue softrender xatrix" |
55 |
-REQUIRED_USE="|| ( client dedicated ) client? ( || ( opengl softrender ) )" |
56 |
- |
57 |
-COMMON_DEPEND=" |
58 |
- client? ( |
59 |
- media-libs/libsdl2[video] |
60 |
- openal? ( media-libs/openal ) |
61 |
- !openal? ( media-libs/libsdl2[sound] ) |
62 |
- opengl? ( |
63 |
- media-libs/libsdl2[opengl] |
64 |
- virtual/opengl |
65 |
- ) |
66 |
- ) |
67 |
-" |
68 |
-RDEPEND="${COMMON_DEPEND} |
69 |
- client? ( openal? ( media-libs/openal ) ) |
70 |
-" |
71 |
- |
72 |
-DEPEND="${COMMON_DEPEND}" |
73 |
- |
74 |
-S="${WORKDIR}/quake2-${PV}" |
75 |
- |
76 |
-PATCHES=( |
77 |
- "${FILESDIR}"/${PN}-respect-flags.patch |
78 |
-) |
79 |
-DOCS=( CHANGELOG README.md doc/. ) |
80 |
- |
81 |
-mymake() { |
82 |
- emake \ |
83 |
- VERBOSE=1 \ |
84 |
- WITH_SYSTEMWIDE=yes \ |
85 |
- WITH_SYSTEMDIR="${EPREFIX}"/usr/share/games/quake2 \ |
86 |
- WITH_OPENAL=$(usex openal) \ |
87 |
- "$@" |
88 |
-} |
89 |
- |
90 |
-src_prepare() { |
91 |
- local addon |
92 |
- for addon in ctf rogue xatrix; do |
93 |
- use ${addon} || continue |
94 |
- |
95 |
- pushd "${WORKDIR}"/quake2-${addon}-* >/dev/null || die |
96 |
- eapply -l -- "${FILESDIR}"/${PN}-addon-respect-flags-r2.patch |
97 |
- popd >/dev/null || die |
98 |
- done |
99 |
- |
100 |
- default |
101 |
-} |
102 |
- |
103 |
-src_compile() { |
104 |
- local targets=( game ) |
105 |
- if use client; then |
106 |
- targets+=( client ) |
107 |
- use opengl && targets+=( ref_gl1 ref_gl3 ) |
108 |
- use softrender && targets+=( ref_soft ) |
109 |
- fi |
110 |
- use dedicated && targets+=( server ) |
111 |
- |
112 |
- mymake config |
113 |
- mymake "${targets[@]}" |
114 |
- |
115 |
- local addon |
116 |
- for addon in ctf rogue xatrix; do |
117 |
- use ${addon} || continue |
118 |
- emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 |
119 |
- done |
120 |
-} |
121 |
- |
122 |
-src_install() { |
123 |
- insinto /usr/lib/yamagi-quake2 |
124 |
- # Yamagi Quake II expects all binaries to be in the same directory |
125 |
- # See stuff/packaging.md for more info |
126 |
- exeinto /usr/lib/yamagi-quake2 |
127 |
- doins -r release/. |
128 |
- |
129 |
- if use client; then |
130 |
- doexe release/quake2 |
131 |
- dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 |
132 |
- |
133 |
- newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" |
134 |
- make_desktop_entry "yquake2" "Yamagi Quake II" |
135 |
- fi |
136 |
- |
137 |
- if use dedicated; then |
138 |
- doexe release/q2ded |
139 |
- dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded |
140 |
- fi |
141 |
- |
142 |
- insinto /usr/lib/yamagi-quake2/baseq2 |
143 |
- doins stuff/yq2.cfg |
144 |
- |
145 |
- local addon |
146 |
- for addon in ctf rogue xatrix; do |
147 |
- use ${addon} || continue |
148 |
- |
149 |
- insinto /usr/lib/yamagi-quake2/${addon} |
150 |
- doins "${WORKDIR}"/quake2-${addon}-*/release/game.so |
151 |
- |
152 |
- if use client; then |
153 |
- local addon_name |
154 |
- case ${addon} in |
155 |
- ctf) addon_name="CTF" ;; |
156 |
- rogue) addon_name="Ground Zero" ;; |
157 |
- xatrix) addon_name="The Reckoning" ;; |
158 |
- esac |
159 |
- |
160 |
- make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" |
161 |
- make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" |
162 |
- fi |
163 |
- done |
164 |
- |
165 |
- einstalldocs |
166 |
- if use client; then |
167 |
- docinto examples |
168 |
- dodoc stuff/cdripper.sh |
169 |
- fi |
170 |
-} |
171 |
- |
172 |
-pkg_postinst() { |
173 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
174 |
- elog |
175 |
- elog "In order to play, you must at least install:" |
176 |
- elog "games-fps/quake2-data or games-fps/quake2-demodata or copy game" |
177 |
- elog "data files to ~/.yq2/ or ${EPREFIX}/usr/share/games/quake2/ manually." |
178 |
- elog "Read ${EPREFIX}/usr/share/doc/${PF}/README.md* for more information." |
179 |
- elog |
180 |
- fi |
181 |
-} |