1 |
commit: ebd83e0a6c68dfa47a2d9a89941c3b76d666275e |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 10:38:11 2022 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 11:22:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebd83e0a |
7 |
|
8 |
games-fps/yamagi-quake2: drop 8.00 |
9 |
|
10 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
11 |
|
12 |
games-fps/yamagi-quake2/Manifest | 1 - |
13 |
games-fps/yamagi-quake2/yamagi-quake2-8.00.ebuild | 143 ---------------------- |
14 |
2 files changed, 144 deletions(-) |
15 |
|
16 |
diff --git a/games-fps/yamagi-quake2/Manifest b/games-fps/yamagi-quake2/Manifest |
17 |
index 0574ba5f5b12..1f2e3c6c6498 100644 |
18 |
--- a/games-fps/yamagi-quake2/Manifest |
19 |
+++ b/games-fps/yamagi-quake2/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST quake2-8.00.tar.xz 2086776 BLAKE2B 6a525b0d3703e17ca6ff85cbef7cf0c0522308fb71f8db4649e7bfbe3326c610d878d6a4af36ed6a578c700c5e1d004be7c0a9dd86cb495a27c8deb8b761eab9 SHA512 886c0df687e7e64a534f6e6f0b212084212d4d5c1278d2567b25bdd48df9ffab9ce75894ab6cfc2fd3a070adf9c1e3d7bb2e823d4f5aef8ef2cbc21c21c063bd |
22 |
DIST quake2-8.01.tar.xz 2109408 BLAKE2B a68fe6ea3a0ab44ba9776bf99a3a826afe0ee25c842d6169296eb8837a3b22146f481defd7a66294dc9e42e75e5848225199e4314bf94756606e7325ba789db2 SHA512 8f616f8f09ad9e44bb34227d5492cc0d63180cecebcc39760582590078f4a63a0a4433d66cdffefb26a68d070b2ea1223334de9ae7c32e6c46e42a5aab721a06 |
23 |
DIST quake2-ctf-1.08.tar.xz 136468 BLAKE2B cce9f75333c03494dccc1a693c3c0a62194457673c17c59cd5d08a06a11daa769dabaf787c04d9de291c7cc255b4decef06ae5f045c5bc7bc3f4008f0e6babdb SHA512 3d3343ae5287c5f01efd3363ede19f2e41cc8d083691c928afd9e4a81c0b46f6002eb2ed99d11742b7c04f8ea728a1dbb3b5d26ce4fd1066b4f49e3fb664317e |
24 |
DIST quake2-ref_vk-1.0.1.tar.gz 290799 BLAKE2B 0716d539704a58067fd2d6d4f21b27976c6bd073b2722584a804c9702f2886b252701d81f2fe1e5aba22ab83fbddd1e35ce3574c3e3d41b609ebac417ee7cfe4 SHA512 99a6b7191a2eed714f70ec389a1f1972f430b9ba324e6880ce96101336beac640fef2d45adc1a6bf04c386a1d088fafd401d303704079ed7207fe7b56d2758db |
25 |
|
26 |
diff --git a/games-fps/yamagi-quake2/yamagi-quake2-8.00.ebuild b/games-fps/yamagi-quake2/yamagi-quake2-8.00.ebuild |
27 |
deleted file mode 100644 |
28 |
index 195061628b29..000000000000 |
29 |
--- a/games-fps/yamagi-quake2/yamagi-quake2-8.00.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,143 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
- |
37 |
-inherit desktop toolchain-funcs wrapper |
38 |
- |
39 |
-CTF_V="1.08" |
40 |
-ROGUE_V="2.08" |
41 |
-XATRIX_V="2.09" |
42 |
-REF_VK_V="1.0.1" |
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 |
- vulkan? ( https://github.com/yquake2/ref_vk/archive/refs/tags/v${REF_VK_V}.tar.gz -> |
51 |
- quake2-ref_vk-${REF_VK_V}.tar.gz ) |
52 |
-" |
53 |
-S="${WORKDIR}/quake2-${PV}" |
54 |
- |
55 |
-LICENSE="GPL-2" |
56 |
-SLOT="0" |
57 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
58 |
-IUSE="+client ctf dedicated openal +opengl rogue softrender vulkan xatrix" |
59 |
-REQUIRED_USE=" |
60 |
- || ( client dedicated ) |
61 |
- client? ( || ( opengl softrender vulkan ) ) |
62 |
-" |
63 |
- |
64 |
-RDEPEND=" |
65 |
- client? ( |
66 |
- media-libs/libsdl2[opengl?,video,vulkan?] |
67 |
- net-misc/curl |
68 |
- openal? ( media-libs/openal ) |
69 |
- !openal? ( media-libs/libsdl2[sound] ) |
70 |
- opengl? ( virtual/opengl ) |
71 |
- ) |
72 |
-" |
73 |
-DEPEND="${RDEPEND} |
74 |
- client? ( vulkan? ( dev-util/vulkan-headers ) ) |
75 |
-" |
76 |
- |
77 |
-DOCS=( CHANGELOG README.md doc ) |
78 |
- |
79 |
-src_compile() { |
80 |
- tc-export CC |
81 |
- |
82 |
- local targets=( game ) |
83 |
- local emakeargs=( |
84 |
- VERBOSE=1 |
85 |
- WITH_SYSTEMWIDE=yes |
86 |
- WITH_SYSTEMDIR="${EPREFIX}"/usr/share/quake2 |
87 |
- WITH_OPENAL=$(usex openal) |
88 |
- ) |
89 |
- |
90 |
- if use client; then |
91 |
- targets+=( client ) |
92 |
- use opengl && targets+=( ref_gl1 ref_gl3 ) |
93 |
- use softrender && targets+=( ref_soft ) |
94 |
- fi |
95 |
- use dedicated && targets+=( server ) |
96 |
- |
97 |
- emake "${emakeargs[@]}" config |
98 |
- emake "${emakeargs[@]}" "${targets[@]}" |
99 |
- |
100 |
- if use client && use vulkan; then |
101 |
- emake -C "${WORKDIR}"/ref_vk-${REF_VK_V} VERBOSE=1 |
102 |
- fi |
103 |
- |
104 |
- local addon |
105 |
- for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do |
106 |
- emake -C "${WORKDIR}"/quake2-${addon}-* VERBOSE=1 |
107 |
- done |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- insinto /usr/lib/yamagi-quake2 |
112 |
- # Yamagi Quake II expects all binaries to be in the same directory |
113 |
- # See doc/070_packaging.md for more info |
114 |
- exeinto /usr/lib/yamagi-quake2 |
115 |
- doins -r release/. |
116 |
- |
117 |
- if use client; then |
118 |
- doexe release/quake2 |
119 |
- dosym ../lib/yamagi-quake2/quake2 /usr/bin/yquake2 |
120 |
- |
121 |
- newicon stuff/icon/Quake2.svg "yamagi-quake2.svg" |
122 |
- make_desktop_entry "yquake2" "Yamagi Quake II" |
123 |
- |
124 |
- if use vulkan; then |
125 |
- doins "${WORKDIR}"/ref_vk-${REF_VK_V}/release/ref_vk.so |
126 |
- fi |
127 |
- fi |
128 |
- |
129 |
- if use dedicated; then |
130 |
- doexe release/q2ded |
131 |
- dosym ../lib/yamagi-quake2/q2ded /usr/bin/yq2ded |
132 |
- fi |
133 |
- |
134 |
- insinto /usr/lib/yamagi-quake2/baseq2 |
135 |
- doins stuff/yq2.cfg |
136 |
- |
137 |
- local addon |
138 |
- for addon in $(usev ctf) $(usev rogue) $(usev xatrix); do |
139 |
- insinto /usr/lib/yamagi-quake2/${addon} |
140 |
- doins "${WORKDIR}"/quake2-${addon}-*/release/game.so |
141 |
- |
142 |
- if use client; then |
143 |
- local addon_name |
144 |
- case ${addon} in |
145 |
- ctf) addon_name="CTF" ;; |
146 |
- rogue) addon_name="Ground Zero" ;; |
147 |
- xatrix) addon_name="The Reckoning" ;; |
148 |
- esac |
149 |
- |
150 |
- make_wrapper "yquake2-${addon}" "yquake2 +set game ${addon}" |
151 |
- make_desktop_entry "yquake2-${addon}" "Yamagi Quake II: ${addon_name}" |
152 |
- fi |
153 |
- done |
154 |
- |
155 |
- keepdir /usr/share/quake2 |
156 |
- |
157 |
- einstalldocs |
158 |
- if use client; then |
159 |
- docinto examples |
160 |
- dodoc stuff/cdripper.sh |
161 |
- fi |
162 |
-} |
163 |
- |
164 |
-pkg_postinst() { |
165 |
- if [[ -z ${REPLACING_VERSIONS} ]]; then |
166 |
- elog |
167 |
- elog "In order to play, you should do one of the following things:" |
168 |
- elog " - install games-fps/quake2-data or games-fps/quake2-demodata;" |
169 |
- elog " - manually copy game data files into ~/.yq2/ or" |
170 |
- elog " ${EROOT}/usr/share/quake2/." |
171 |
- elog "Read ${EROOT}/usr/share/doc/${PF}/README.md* for more information." |
172 |
- elog |
173 |
- fi |
174 |
-} |