1 |
commit: b0e272bd41913305438317b7f2ae3e72a5c9fba4 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 21:56:53 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 21:56:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e272bd |
7 |
|
8 |
games-engines/odamex: Drop old 0.8.2 |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-engines/odamex/Manifest | 1 - |
14 |
.../odamex/files/odamex-0.8.1-SearchDir.patch | 11 ---- |
15 |
.../odamex-0.8.2-Fix-odamex.wad-build-flow.patch | 71 -------------------- |
16 |
...emove-duplicate-build-rule-for-odamex.wad.patch | 26 -------- |
17 |
games-engines/odamex/odamex-0.8.2.ebuild | 77 ---------------------- |
18 |
5 files changed, 186 deletions(-) |
19 |
|
20 |
diff --git a/games-engines/odamex/Manifest b/games-engines/odamex/Manifest |
21 |
index cd2dcf02a55..70aeb43694a 100644 |
22 |
--- a/games-engines/odamex/Manifest |
23 |
+++ b/games-engines/odamex/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
DIST odamex-0.8.3.tar.bz2 8532510 BLAKE2B 751d65dfe07a4c4c0cb5ff360e76a1291cf4ba289c459f15a0c277aca4d15b1e0989e1606cdc4e0f0bec56d6ae437027046302f5c55efb3b835a42df512fb18f SHA512 01a875973d43c87dde7953464e0e3c37fa088b00b6cc0ecbef1a8b3b9a87257ab24ef4e3c224ebcbc0e38cd3139c7adc56b12a03ae2528b66d6498bb8d84d720 |
26 |
-DIST odamex-src-0.8.2.tar.bz2 8502115 BLAKE2B bf4acaea1c9ce81966886bdfef35d361f84dab02e32ec4fd11fe8d250b76c6ca86c0b2870f38382961949713059a2944eea50c6f4d05a41411799386ab3acc64 SHA512 bb3e2427ede7267afce8bb2b852eed3f8d2ed9cf17c5b15a264d6821d170c49dccea06ea0742d9dc7cfe42518701342572689b57ec6712f4b818bd0e25b436c8 |
27 |
|
28 |
diff --git a/games-engines/odamex/files/odamex-0.8.1-SearchDir.patch b/games-engines/odamex/files/odamex-0.8.1-SearchDir.patch |
29 |
deleted file mode 100644 |
30 |
index 70bd476eb3f..00000000000 |
31 |
--- a/games-engines/odamex/files/odamex-0.8.1-SearchDir.patch |
32 |
+++ /dev/null |
33 |
@@ -1,11 +0,0 @@ |
34 |
-diff -Naur a/common/d_main.cpp b/common/d_main.cpp |
35 |
---- a/common/d_main.cpp 2019-07-22 19:11:28.000000000 +0100 |
36 |
-+++ b/common/d_main.cpp 2019-09-09 22:57:47.624246017 +0100 |
37 |
-@@ -459,6 +459,7 @@ |
38 |
- D_AddSearchDir(dirs, INSTALL_PREFIX "/" INSTALL_DATADIR "/games/odamex", separator); |
39 |
- #endif |
40 |
- |
41 |
-+ D_AddSearchDir(dirs, "/usr/share/doom", separator); |
42 |
- D_AddSearchDir(dirs, "/usr/share/games/doom", separator); |
43 |
- D_AddSearchDir(dirs, "/usr/local/share/games/doom", separator); |
44 |
- D_AddSearchDir(dirs, "/usr/local/share/doom", separator); |
45 |
|
46 |
diff --git a/games-engines/odamex/files/odamex-0.8.2-Fix-odamex.wad-build-flow.patch b/games-engines/odamex/files/odamex-0.8.2-Fix-odamex.wad-build-flow.patch |
47 |
deleted file mode 100644 |
48 |
index e90617c38ea..00000000000 |
49 |
--- a/games-engines/odamex/files/odamex-0.8.2-Fix-odamex.wad-build-flow.patch |
50 |
+++ /dev/null |
51 |
@@ -1,71 +0,0 @@ |
52 |
-From 03581f45a3563d3d79075fe0e85e6fb52e864b76 Mon Sep 17 00:00:00 2001 |
53 |
-From: William Breathitt Gray <vilhelm.gray@×××××.com> |
54 |
-Date: Sat, 4 Apr 2020 22:38:26 -0400 |
55 |
-Subject: [PATCH] Fix odamex.wad build flow |
56 |
- |
57 |
-The odamex.wad file should be built in the proper build directory; |
58 |
-building in the source tree confuses CMake and causes it to attempt to |
59 |
-rebuild a second time. This patch also removes odawad dependency for the |
60 |
-Odamex client and server executables. |
61 |
---- |
62 |
- wad/CMakeLists.txt | 40 ++++++++++++++++++++++------------------ |
63 |
- 1 file changed, 22 insertions(+), 18 deletions(-) |
64 |
- |
65 |
-diff --git a/wad/CMakeLists.txt b/wad/CMakeLists.txt |
66 |
-index c09b0d1a..349ce0df 100644 |
67 |
---- a/wad/CMakeLists.txt |
68 |
-+++ b/wad/CMakeLists.txt |
69 |
-@@ -4,28 +4,32 @@ find_program(DEUTEX deutex) |
70 |
- if(DEUTEX) |
71 |
- message("Found DeuTex: ${DEUTEX}") |
72 |
- |
73 |
-- file(REMOVE odamex.wad) |
74 |
-- add_custom_command(OUTPUT odamex.wad |
75 |
-- COMMAND ${DEUTEX} -rgb 0 255 255 -doom2 bootstrap -build wadinfo.txt odamex.wad |
76 |
-+ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
77 |
-+ COMMAND ${DEUTEX} -rgb 0 255 255 -doom2 bootstrap -build wadinfo.txt ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
78 |
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
79 |
-+ BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
80 |
- VERBATIM) |
81 |
- |
82 |
-- add_custom_target(odawad DEPENDS odamex.wad) |
83 |
-+ add_custom_target(odawad ALL |
84 |
-+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad) |
85 |
- |
86 |
-- if(BUILD_CLIENT) |
87 |
-- add_dependencies(odamex odawad) |
88 |
-+ if(WIN32) |
89 |
-+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
90 |
-+ DESTINATION . |
91 |
-+ COMPONENT common) |
92 |
-+ else() |
93 |
-+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
94 |
-+ DESTINATION ${CMAKE_INSTALL_DATADIR}/odamex |
95 |
-+ COMPONENT common) |
96 |
- endif() |
97 |
-- if(BUILD_SERVER) |
98 |
-- add_dependencies(odasrv odawad) |
99 |
-- endif() |
100 |
--endif() |
101 |
-- |
102 |
--if(WIN32) |
103 |
-- install(FILES odamex.wad |
104 |
-- DESTINATION . |
105 |
-- COMPONENT common) |
106 |
- else() |
107 |
-- install(FILES odamex.wad |
108 |
-- DESTINATION ${CMAKE_INSTALL_DATADIR}/odamex |
109 |
-- COMPONENT common) |
110 |
-+ if(WIN32) |
111 |
-+ install(FILES odamex.wad |
112 |
-+ DESTINATION . |
113 |
-+ COMPONENT common) |
114 |
-+ else() |
115 |
-+ install(FILES odamex.wad |
116 |
-+ DESTINATION ${CMAKE_INSTALL_DATADIR}/odamex |
117 |
-+ COMPONENT common) |
118 |
-+ endif() |
119 |
- endif() |
120 |
--- |
121 |
-2.26.0 |
122 |
- |
123 |
|
124 |
diff --git a/games-engines/odamex/files/odamex-0.8.2-Remove-duplicate-build-rule-for-odamex.wad.patch b/games-engines/odamex/files/odamex-0.8.2-Remove-duplicate-build-rule-for-odamex.wad.patch |
125 |
deleted file mode 100644 |
126 |
index 1b1bcf55d9e..00000000000 |
127 |
--- a/games-engines/odamex/files/odamex-0.8.2-Remove-duplicate-build-rule-for-odamex.wad.patch |
128 |
+++ /dev/null |
129 |
@@ -1,26 +0,0 @@ |
130 |
-From 2d80f79770f43d19e1af2c7b04a41078b860a46a Mon Sep 17 00:00:00 2001 |
131 |
-From: William Breathitt Gray <vilhelm.gray@×××××.com> |
132 |
-Date: Wed, 8 Apr 2020 11:47:45 -0400 |
133 |
-Subject: [PATCH] Remove duplicate build rule for odamex.wad |
134 |
- |
135 |
-The odamex.wad file shouldn't be listed in BYPRODUCTS because it's |
136 |
-already listed as the OUTPUT of the add_custom_command. |
137 |
---- |
138 |
- wad/CMakeLists.txt | 1 - |
139 |
- 1 file changed, 1 deletion(-) |
140 |
- |
141 |
-diff --git a/wad/CMakeLists.txt b/wad/CMakeLists.txt |
142 |
-index 349ce0df..7b948ea3 100644 |
143 |
---- a/wad/CMakeLists.txt |
144 |
-+++ b/wad/CMakeLists.txt |
145 |
-@@ -7,7 +7,6 @@ if(DEUTEX) |
146 |
- add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
147 |
- COMMAND ${DEUTEX} -rgb 0 255 255 -doom2 bootstrap -build wadinfo.txt ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
148 |
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} |
149 |
-- BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/odamex.wad |
150 |
- VERBATIM) |
151 |
- |
152 |
- add_custom_target(odawad ALL |
153 |
--- |
154 |
-2.26.0 |
155 |
- |
156 |
|
157 |
diff --git a/games-engines/odamex/odamex-0.8.2.ebuild b/games-engines/odamex/odamex-0.8.2.ebuild |
158 |
deleted file mode 100644 |
159 |
index 572889edd82..00000000000 |
160 |
--- a/games-engines/odamex/odamex-0.8.2.ebuild |
161 |
+++ /dev/null |
162 |
@@ -1,77 +0,0 @@ |
163 |
-# Copyright 1999-2019 Gentoo Authors |
164 |
-# Distributed under the terms of the GNU General Public License v2 |
165 |
- |
166 |
-EAPI=7 |
167 |
- |
168 |
-WX_GTK_VER="3.0-gtk3" |
169 |
-inherit cmake desktop prefix wxwidgets xdg |
170 |
- |
171 |
-DESCRIPTION="Online multiplayer free software engine for DOOM" |
172 |
-HOMEPAGE="https://odamex.net/" |
173 |
-SRC_URI="mirror://sourceforge/${PN}/Odamex/${PV}/${PN}-src-${PV}.tar.bz2" |
174 |
- |
175 |
-LICENSE="GPL-2+ MIT" |
176 |
-SLOT="0" |
177 |
-KEYWORDS="~amd64 ~arm ~x86" |
178 |
-IUSE="+client master +odalaunch portmidi server upnp X" |
179 |
-REQUIRED_USE="|| ( client master server )" |
180 |
- |
181 |
-RDEPEND=" |
182 |
- client? ( |
183 |
- media-libs/libpng:0= |
184 |
- media-libs/libsdl2[joystick,sound,video] |
185 |
- media-libs/sdl2-mixer |
186 |
- odalaunch? ( x11-libs/wxGTK:${WX_GTK_VER}[X] ) |
187 |
- portmidi? ( media-libs/portmidi ) |
188 |
- X? ( x11-libs/libX11 ) |
189 |
- ) |
190 |
- server? ( |
191 |
- upnp? ( net-libs/miniupnpc:= ) |
192 |
- )" |
193 |
-DEPEND="${RDEPEND}" |
194 |
-BDEPEND="games-util/deutex" |
195 |
- |
196 |
-S="${WORKDIR}/${PN}-src-${PV}" |
197 |
- |
198 |
-PATCHES=( |
199 |
- "${FILESDIR}"/odamex-0.8.1-miniupnpc.patch |
200 |
- "${FILESDIR}"/odamex-0.8.1-SearchDir.patch |
201 |
- "${FILESDIR}"/odamex-0.8.2-Fix-odamex.wad-build-flow.patch |
202 |
- "${FILESDIR}"/odamex-0.8.2-Remove-duplicate-build-rule-for-odamex.wad.patch |
203 |
-) |
204 |
- |
205 |
-src_prepare() { |
206 |
- rm -r libraries/libminiupnpc wad/odamex.wad || die |
207 |
- hprefixify common/d_main.cpp |
208 |
- |
209 |
- use odalaunch && setup-wxwidgets |
210 |
- |
211 |
- cmake_src_prepare |
212 |
-} |
213 |
- |
214 |
-src_configure() { |
215 |
- local mycmakeargs=( |
216 |
- -DBUILD_CLIENT=$(usex client) |
217 |
- -DBUILD_MASTER=$(usex master) |
218 |
- -DBUILD_ODALAUNCH=$(usex odalaunch) |
219 |
- -DBUILD_SERVER=$(usex server) |
220 |
- -DENABLE_PORTMIDI=$(usex portmidi) |
221 |
- -DUSE_MINIUPNP=$(usex upnp) |
222 |
- ) |
223 |
- |
224 |
- cmake_src_configure |
225 |
-} |
226 |
- |
227 |
-src_install() { |
228 |
- if use client ; then |
229 |
- newicon -s 128 "${S}/media/icon_${PN}_128.png" "${PN}.png" |
230 |
- make_desktop_entry "${PN}" "Odamex" |
231 |
- |
232 |
- if use odalaunch ; then |
233 |
- newicon -s 128 "${S}/media/icon_odalaunch_128.png" "odalaunch.png" |
234 |
- make_desktop_entry odalaunch "Odamex Launcher" odalaunch |
235 |
- fi |
236 |
- fi |
237 |
- |
238 |
- cmake_src_install |
239 |
-} |