1 |
commit: ff98ec6d084ecd9f5f6186c69c01fd09b6042e2e |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 10 21:15:44 2019 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 10 21:16:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff98ec6d |
7 |
|
8 |
games-action/supertuxkart: Drop old 0.9.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-action/supertuxkart/Manifest | 1 - |
14 |
.../files/supertuxkart-0.9.3-fix-buildsystem.patch | 103 --------------------- |
15 |
.../files/supertuxkart-0.9.3-intrin.patch | 56 ----------- |
16 |
.../supertuxkart-0.9.3-irrlicht-bundled-libs.patch | 33 ------- |
17 |
.../files/supertuxkart-0.9.3-unbundle-enet.patch | 57 ------------ |
18 |
.../files/supertuxkart-0.9.3-unbundle-libs.patch | 19 ---- |
19 |
.../supertuxkart/supertuxkart-0.9.3.ebuild | 91 ------------------ |
20 |
7 files changed, 360 deletions(-) |
21 |
|
22 |
diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest |
23 |
index d64bb151b7d..5a0e070b25a 100644 |
24 |
--- a/games-action/supertuxkart/Manifest |
25 |
+++ b/games-action/supertuxkart/Manifest |
26 |
@@ -1,3 +1,2 @@ |
27 |
-DIST supertuxkart-0.9.3-src.tar.xz 544517772 BLAKE2B 84ab64371a59bf302905181ad98dd12542a9ffda18b9081ecfa6fcbb61d89c6b1f76f3598184459bbb40a42a1c968767837e76bbd0c9b2ade6b4c18831bc61fb SHA512 29eb1d8fb8e336453e590273089af09eac9a563f82c0bc797d43d5e21d5c9d1274a84ea7ee46487b3d127c47e55e3d233ad7e0e8c502c15dbafc1cc0f5c861c9 |
28 |
DIST supertuxkart-1.0-src.tar.xz 597012504 BLAKE2B ed1b851bad8696b4593c54f215b115528afc29bde237f67627e2918c4a9fab09eddc204d0c879fa85c6b10b5544dba5fa5fc1b437cb83e6d884ac717e3369c28 SHA512 182754610abd09545630fa1f7fda858ba1731bbacb078bc71597e143f9cb2a1cfcedd3038720760d0471a89b79cc3bb1eb292d38fcd53be05aad7cb17c474ca9 |
29 |
DIST supertuxkart.png 4435 BLAKE2B b48b95e1cdebe930837cc784c4c5e9a089a69077e2fcfed15fe5e8c4d649a0f8024769b2f2102bbaea3a94eb21f4b58b5d291b97493266c3c5c8d7335cf69a80 SHA512 a180332f79220431922fa8b351cb476ebc5d9d1df09f20707eb3bdd7002fd264cb027b8190c73c5221050e6e8601beb6758a5809d05aedfb18f0bdb426f47eda |
30 |
|
31 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-fix-buildsystem.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-fix-buildsystem.patch |
32 |
deleted file mode 100644 |
33 |
index def5c80340b..00000000000 |
34 |
--- a/games-action/supertuxkart/files/supertuxkart-0.9.3-fix-buildsystem.patch |
35 |
+++ /dev/null |
36 |
@@ -1,103 +0,0 @@ |
37 |
-* Unbundle remaining libraries: GLEW, zlib, png, jpeg |
38 |
-* Add -DAS_DEPRECATED for Angelscript |
39 |
-* Remove definition of debug macros |
40 |
-* Build bundled Irrlicht with user flags |
41 |
- |
42 |
---- a/CMakeLists.txt |
43 |
-+++ b/CMakeLists.txt |
44 |
-@@ -110,43 +110,11 @@ |
45 |
- include_directories(${ENET_INCLUDE_DIR}) |
46 |
- |
47 |
- # Build glew library |
48 |
- if(NOT USE_GLES2 AND NOT SERVER_ONLY) |
49 |
-+ find_package(GLEW REQUIRED) |
50 |
-+ include_directories(${GLEW_INCLUDE_DIRS}) |
51 |
- add_definitions(-DGLEW_NO_GLU) |
52 |
-- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/glew") |
53 |
-- include_directories("${PROJECT_SOURCE_DIR}/lib/glew/include") |
54 |
- endif() |
55 |
- |
56 |
--if(MSVC OR APPLE) |
57 |
-- if (NOT APPLE) |
58 |
-- # Build zlib library |
59 |
-- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/zlib") |
60 |
-- include_directories("${PROJECT_SOURCE_DIR}/lib/zlib") |
61 |
-- |
62 |
-- set(ZLIB_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lib/zlib" "${PROJECT_BINARY_DIR}/lib/zlib/") |
63 |
-- set(ZLIB_LIBRARY zlibstatic) |
64 |
-- endif() |
65 |
-- |
66 |
-- # Build png library |
67 |
-- set(SKIP_INSTALL_ALL TRUE) |
68 |
-- set(PNG_STATIC TRUE CACHE BOOL "Build static lib") |
69 |
-- set(PNG_TESTS FALSE CACHE BOOL "Build libpng tests") |
70 |
-- set(PNG_SHARED FALSE CACHE BOOL "Build shared lib") |
71 |
-- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/libpng") |
72 |
-- include_directories("${PROJECT_SOURCE_DIR}/lib/libpng") |
73 |
-- |
74 |
-- set(PNG_PNG_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lib/libpng/") |
75 |
-- set(PNG_LIBRARY png_static) |
76 |
--endif() |
77 |
-- |
78 |
--# Add jpeg library |
79 |
--if (APPLE) |
80 |
-- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/jpeglib") |
81 |
-- include_directories("${PROJECT_SOURCE_DIR}/lib/jpeglib") |
82 |
-- set(JPEG_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lib/jpeglib/") |
83 |
-- set(JPEG_LIBRARY jpeglib) |
84 |
--else() |
85 |
-- find_package(JPEG REQUIRED) |
86 |
-- include_directories(${JPEG_INCLUDE_DIR}) |
87 |
--endif() |
88 |
- |
89 |
- if (BUILD_RECORDER) |
90 |
-@@ -206,6 +174,7 @@ |
91 |
- find_package(Angelscript) |
92 |
- if(ANGELSCRIPT_FOUND) |
93 |
- include_directories(${Angelscript_INCLUDE_DIRS}) |
94 |
-+ add_definitions(-DAS_DEPRECATED) |
95 |
- else() |
96 |
- message(FATAL_ERROR "Angelscript not found. " |
97 |
- "Either install angelscript or use built-in version using " |
98 |
-@@ -307,14 +276,6 @@ |
99 |
- # VS will automatically add NDEBUG for release mode, but only _DEBUG in debug mode. |
100 |
- # Since STK uses DEBUG, this is added for debug compilation only: |
101 |
- set_property(DIRECTORY PROPERTY COMPILE_DEFINITIONS_DEBUG DEBUG) |
102 |
--else() |
103 |
-- # All non VS generators used create only a single compile mode, so |
104 |
-- # compile flags can be simplye be added |
105 |
-- if(CMAKE_BUILD_TYPE MATCHES Debug) |
106 |
-- add_definitions(-DDEBUG) |
107 |
-- else() |
108 |
-- add_definitions(-DNDEBUG) |
109 |
-- endif() |
110 |
- endif() |
111 |
- |
112 |
- # TODO: remove this switch |
113 |
-@@ -426,7 +395,7 @@ |
114 |
- if(NOT SERVER_ONLY) |
115 |
- if(NOT USE_GLES2) |
116 |
-- target_link_libraries(supertuxkart ${OPENGL_gl_LIBRARY} glew graphics_utils) |
117 |
-+ target_link_libraries(supertuxkart ${OPENGL_gl_LIBRARY} ${GLEW_LIBRARIES} graphics_utils) |
118 |
- else() |
119 |
- target_link_libraries(supertuxkart GLESv2) |
120 |
- endif() |
121 |
- endif() |
122 |
---- a/lib/irrlicht/CMakeLists.txt |
123 |
-+++ b/lib/irrlicht/CMakeLists.txt |
124 |
-@@ -68,15 +68,6 @@ |
125 |
- if(WIN32) |
126 |
- add_definitions(-D_IRR_STATIC_LIB_) |
127 |
- add_definitions(-D_CRT_SECURE_NO_WARNINGS) # Shut up about unsafe stuff |
128 |
--else() |
129 |
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -O3 -fno-exceptions -fstrict-aliasing") |
130 |
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pipe -O3 -fno-exceptions -fstrict-aliasing") |
131 |
-- if(CMAKE_COMPILER_IS_GNUCC) |
132 |
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexpensive-optimizations") |
133 |
-- endif() |
134 |
-- if(CMAKE_COMPILER_IS_GNUCXX) |
135 |
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexpensive-optimizations") |
136 |
-- endif() |
137 |
- endif() |
138 |
- |
139 |
- if(USE_GLES2) |
140 |
|
141 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-intrin.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-intrin.patch |
142 |
deleted file mode 100644 |
143 |
index 75830b8ba8f..00000000000 |
144 |
--- a/games-action/supertuxkart/files/supertuxkart-0.9.3-intrin.patch |
145 |
+++ /dev/null |
146 |
@@ -1,56 +0,0 @@ |
147 |
-From 813b08bc73e4e93714b972ee56c64b4771735e01 Mon Sep 17 00:00:00 2001 |
148 |
-From: Benau <Benau@××××××××××××××××××××.com> |
149 |
-Date: Sun, 14 Jan 2018 10:19:37 +0800 |
150 |
-Subject: [PATCH] Fix #3091 |
151 |
- |
152 |
---- |
153 |
- lib/graphics_utils/mipmap/cpusimd.h | 14 +++++++------- |
154 |
- 1 file changed, 7 insertions(+), 7 deletions(-) |
155 |
- |
156 |
-diff --git a/lib/graphics_utils/mipmap/cpusimd.h b/lib/graphics_utils/mipmap/cpusimd.h |
157 |
-index 1dc2c730b2..5e2cf30e5f 100644 |
158 |
---- a/lib/graphics_utils/mipmap/cpusimd.h |
159 |
-+++ b/lib/graphics_utils/mipmap/cpusimd.h |
160 |
-@@ -38,11 +38,11 @@ |
161 |
- #include <mmintrin.h> |
162 |
- #define CPU_MMX_SUPPORT (1) |
163 |
- #endif |
164 |
--#if __SSE__ || _M_X64 || _M_IX86_FP >= 1 || CPU_ENABLE_SSE |
165 |
-+#if __SSE__ || defined(_M_X64) || ( defined(_M_IX86_FP) && ( _M_IX86_FP >= 1 ) ) || CPU_ENABLE_SSE |
166 |
- #include <xmmintrin.h> |
167 |
- #define CPU_SSE_SUPPORT (1) |
168 |
- #endif |
169 |
--#if __SSE2__ || _M_X64 || _M_IX86_FP >= 2 || CPU_ENABLE_SSE2 |
170 |
-+#if __SSE2__ || defined(_M_X64) || ( defined(_M_IX86_FP) && ( _M_IX86_FP >= 2 ) ) || CPU_ENABLE_SSE2 |
171 |
- #include <emmintrin.h> |
172 |
- #define CPU_SSE2_SUPPORT (1) |
173 |
- #endif |
174 |
-@@ -95,23 +95,23 @@ |
175 |
- #define CPU_POPCNT_SUPPORT (1) |
176 |
- #endif |
177 |
- #if __LZCNT__ || CPU_ENABLE_LZCNT |
178 |
-- #include <lzcntintrin.h> |
179 |
-+ #include <x86intrin.h> |
180 |
- #define CPU_LZCNT_SUPPORT (1) |
181 |
- #endif |
182 |
- #if __F16C__ || CPU_ENABLE_F16C |
183 |
-- #include <f16cintrin.h> |
184 |
-+ #include <x86intrin.h> |
185 |
- #define CPU_F16C_SUPPORT (1) |
186 |
- #endif |
187 |
- #if __BMI__ || CPU_ENABLE_BMI |
188 |
-- #include <bmiintrin.h> |
189 |
-+ #include <x86intrin.h> |
190 |
- #define CPU_BMI_SUPPORT (1) |
191 |
- #endif |
192 |
- #if __BMI2__ || CPU_ENABLE_BMI2 |
193 |
-- #include <bmi2intrin.h> |
194 |
-+ #include <x86intrin.h> |
195 |
- #define CPU_BMI2_SUPPORT (1) |
196 |
- #endif |
197 |
- #if __TBM__ || CPU_ENABLE_TBM |
198 |
-- #include <tbmintrin.h> |
199 |
-+ #include <x86intrin.h> |
200 |
- #define CPU_TBM_SUPPORT (1) |
201 |
- #endif |
202 |
- |
203 |
|
204 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-irrlicht-bundled-libs.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-irrlicht-bundled-libs.patch |
205 |
deleted file mode 100644 |
206 |
index 194f278b958..00000000000 |
207 |
--- a/games-action/supertuxkart/files/supertuxkart-0.9.3-irrlicht-bundled-libs.patch |
208 |
+++ /dev/null |
209 |
@@ -1,33 +0,0 @@ |
210 |
-Description: Remove embedded libraries in Irrlicht source (flagged by lintian) |
211 |
- Since removing the subdirectories containing libjpeg/libpng/zlib/bzip2/lzma |
212 |
- would make this patch way too large, this patch should be applied on top of |
213 |
- rm -rf lib/jpeglib/ |
214 |
- rm -rf lib/zlib/ |
215 |
- rm -rf lib/libpng/ |
216 |
- in debian/rules (e.g. in the clean target). |
217 |
-Forwarded: no |
218 |
-Author: Vincent Cheng <vcheng@××××××.org> |
219 |
-Last-Update: 2016-07-07 |
220 |
- |
221 |
---- a/lib/irrlicht/CMakeLists.txt |
222 |
-+++ b/lib/irrlicht/CMakeLists.txt |
223 |
-@@ -2,9 +2,6 @@ |
224 |
- find_package(PNG REQUIRED) |
225 |
- find_package(JPEG REQUIRED) |
226 |
- |
227 |
--include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include/" |
228 |
-- "${JPEG_INCLUDE_DIR}" |
229 |
-- "${PNG_INCLUDE_DIRS}" |
230 |
-- "${ZLIB_INCLUDE_DIR}") |
231 |
-+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include/) |
232 |
- |
233 |
- if(MSVC OR APPLE) |
234 |
-@@ -576,7 +573,7 @@ |
235 |
- endif() |
236 |
- |
237 |
- add_library(stkirrlicht STATIC ${IRRLICHT_SOURCES}) |
238 |
- |
239 |
--target_link_libraries(stkirrlicht ${PNG_LIBRARY} ${JPEG_LIBRARY} ${ZLIB_LIBRARY}) |
240 |
-+target_link_libraries(stkirrlicht png jpeg z) |
241 |
- |
242 |
- if(NOT SERVER_ONLY) |
243 |
|
244 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch |
245 |
deleted file mode 100644 |
246 |
index 8c00fce7e18..00000000000 |
247 |
--- a/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-enet.patch |
248 |
+++ /dev/null |
249 |
@@ -1,57 +0,0 @@ |
250 |
-Description: Build supertuxkart against system enet instead of embedded copy |
251 |
-Forwarded: not-yet |
252 |
-Author: Vincent Cheng <vcheng@××××××.org> |
253 |
-Last-Update: 2016-07-17 |
254 |
- |
255 |
---- a/CMakeLists.txt |
256 |
-+++ b/CMakeLists.txt |
257 |
-@@ -105,9 +105,9 @@ |
258 |
- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/bullet") |
259 |
- include_directories("${PROJECT_SOURCE_DIR}/lib/bullet/src") |
260 |
- |
261 |
--# Build the ENet UDP network library |
262 |
--add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet") |
263 |
--include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include") |
264 |
-+# ENet |
265 |
-+find_package(ENet REQUIRED) |
266 |
-+include_directories(${ENET_INCLUDE_DIR}) |
267 |
- |
268 |
- # Build glew library |
269 |
- if(NOT USE_GLES2 AND NOT SERVER_ONLY) |
270 |
-@@ -406,10 +406,10 @@ |
271 |
- bulletdynamics |
272 |
- bulletcollision |
273 |
- bulletmath |
274 |
-- enet |
275 |
- stkirrlicht |
276 |
- ${Angelscript_LIBRARIES} |
277 |
- ${CURL_LIBRARIES} |
278 |
-+ ${ENET_LIBRARIES} |
279 |
- ${OGGVORBIS_LIBRARIES} |
280 |
- ${OPENAL_LIBRARY} |
281 |
- ${FREETYPE_LIBRARIES} |
282 |
---- /dev/null |
283 |
-+++ b/cmake/FindENet.cmake |
284 |
-@@ -0,0 +1,22 @@ |
285 |
-+# - Find ENet |
286 |
-+# Find the ENet includes and libraries |
287 |
-+# |
288 |
-+# Following variables are provided: |
289 |
-+# ENET_FOUND |
290 |
-+# True if ENet has been found |
291 |
-+# ENET_INCLUDE_DIR |
292 |
-+# The include directories of ENet |
293 |
-+# ENET_LIBRARIES |
294 |
-+# ENet library list |
295 |
-+ |
296 |
-+ |
297 |
-+find_path(ENET_INCLUDE_DIR enet/enet.h /usr/include) |
298 |
-+find_library(ENET_LIBRARY NAMES enet PATHS /usr/lib) |
299 |
-+ |
300 |
-+include(FindPackageHandleStandardArgs) |
301 |
-+find_package_handle_standard_args(ENet DEFAULT_MSG ENET_INCLUDE_DIR ENET_LIBRARY) |
302 |
-+ |
303 |
-+# Publish variables |
304 |
-+set(ENET_INCLUDE_DIRS ${ENET_INCLUDE_DIR}) |
305 |
-+set(ENET_LIBRARIES ${ENET_LIBRARY}) |
306 |
-+mark_as_advanced(ENET_INCLUDE_DIR ENET_LIBRARY) |
307 |
|
308 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-libs.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-libs.patch |
309 |
deleted file mode 100644 |
310 |
index 798a6cdea7a..00000000000 |
311 |
--- a/games-action/supertuxkart/files/supertuxkart-0.9.3-unbundle-libs.patch |
312 |
+++ /dev/null |
313 |
@@ -1,19 +0,0 @@ |
314 |
-Description: Link against system copies of zlib/libpng/libjpeg/bzip2 |
315 |
-Forwarded: not-yet |
316 |
-Author: Vincent Cheng <vcheng@××××××.org> |
317 |
-Last-Update: 2016-07-17 |
318 |
- |
319 |
---- a/CMakeLists.txt |
320 |
-+++ b/CMakeLists.txt |
321 |
-@@ -416,6 +416,11 @@ |
322 |
- ${JPEG_LIBRARIES} |
323 |
- ${TURBOJPEG_LIBRARY} |
324 |
- #${VPX_LIBRARIES} |
325 |
-+ X11 |
326 |
-+ z |
327 |
-+ png |
328 |
-+ jpeg |
329 |
-+ bz2 |
330 |
- ) |
331 |
- |
332 |
- if(NOT SERVER_ONLY) |
333 |
|
334 |
diff --git a/games-action/supertuxkart/supertuxkart-0.9.3.ebuild b/games-action/supertuxkart/supertuxkart-0.9.3.ebuild |
335 |
deleted file mode 100644 |
336 |
index 1e666dfcdc1..00000000000 |
337 |
--- a/games-action/supertuxkart/supertuxkart-0.9.3.ebuild |
338 |
+++ /dev/null |
339 |
@@ -1,91 +0,0 @@ |
340 |
-# Copyright 1999-2018 Gentoo Foundation |
341 |
-# Distributed under the terms of the GNU General Public License v2 |
342 |
- |
343 |
-EAPI=6 |
344 |
- |
345 |
-inherit cmake-utils desktop gnome2-utils |
346 |
- |
347 |
-DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" |
348 |
-HOMEPAGE="https://supertuxkart.net/" |
349 |
-SRC_URI="mirror://sourceforge/${PN}/SuperTuxKart/${PV}/${P}-src.tar.xz |
350 |
- mirror://gentoo/${PN}.png" |
351 |
- |
352 |
-LICENSE="GPL-2 GPL-3 CC-BY-SA-3.0 CC-BY-2.0 public-domain ZLIB" |
353 |
-SLOT="0" |
354 |
-KEYWORDS="~amd64 ~x86" |
355 |
-IUSE="debug fribidi recorder wiimote" |
356 |
- |
357 |
-# don't unbundle irrlicht and bullet |
358 |
-# both are modified and system versions will break the game |
359 |
-# https://sourceforge.net/p/irrlicht/feature-requests/138/ |
360 |
- |
361 |
-RDEPEND=" |
362 |
- media-libs/glew:0= |
363 |
- media-libs/libpng:0= |
364 |
- media-libs/libvorbis |
365 |
- media-libs/openal |
366 |
- net-libs/enet:1.3= |
367 |
- net-misc/curl |
368 |
- sys-libs/zlib |
369 |
- virtual/glu |
370 |
- virtual/jpeg:0 |
371 |
- virtual/libintl |
372 |
- virtual/opengl |
373 |
- x11-libs/libX11 |
374 |
- x11-libs/libXxf86vm |
375 |
- fribidi? ( dev-libs/fribidi ) |
376 |
- recorder? ( media-libs/libopenglrecorder ) |
377 |
- wiimote? ( net-wireless/bluez )" |
378 |
-DEPEND="${RDEPEND} |
379 |
- sys-devel/gettext |
380 |
- virtual/pkgconfig" |
381 |
- |
382 |
-PATCHES=( |
383 |
- "${FILESDIR}"/${PN}-0.9.3-intrin.patch |
384 |
- "${FILESDIR}"/${PN}-0.9.3-unbundle-enet.patch |
385 |
- "${FILESDIR}"/${PN}-0.9.3-unbundle-libs.patch |
386 |
- "${FILESDIR}"/${PN}-0.9.3-irrlicht-arch-support.patch |
387 |
- "${FILESDIR}"/${PN}-0.9.3-irrlicht-bundled-libs.patch |
388 |
- "${FILESDIR}"/${PN}-0.9.3-irrlicht-system-libs.patch |
389 |
- "${FILESDIR}"/${PN}-0.9.3-fix-buildsystem.patch |
390 |
-) |
391 |
- |
392 |
-src_prepare() { |
393 |
- cmake-utils_src_prepare |
394 |
- |
395 |
- # remove bundled libraries, just to be sure |
396 |
- rm -r lib/{enet,glew,jpeglib,libpng,zlib} || die |
397 |
-} |
398 |
- |
399 |
-src_configure() { |
400 |
- local mycmakeargs=( |
401 |
- # system dev-libs/angelscript leads |
402 |
- # to failed assert segfaults |
403 |
- -DUSE_SYSTEM_ANGELSCRIPT=OFF |
404 |
- -DUSE_FRIBIDI=$(usex fribidi) |
405 |
- -DBUILD_RECORDER=$(usex recorder) |
406 |
- -DUSE_WIIUSE=$(usex wiimote) |
407 |
- -DSTK_INSTALL_BINARY_DIR=bin |
408 |
- -DSTK_INSTALL_DATA_DIR=share/${PN} |
409 |
- ) |
410 |
- cmake-utils_src_configure |
411 |
-} |
412 |
- |
413 |
-src_install() { |
414 |
- cmake-utils_src_install |
415 |
- dodoc CHANGELOG.md |
416 |
- |
417 |
- doicon -s 64 "${DISTDIR}"/${PN}.png |
418 |
-} |
419 |
- |
420 |
-pkg_preinst() { |
421 |
- gnome2_icon_savelist |
422 |
-} |
423 |
- |
424 |
-pkg_postinst() { |
425 |
- gnome2_icon_cache_update |
426 |
-} |
427 |
- |
428 |
-pkg_postrm() { |
429 |
- gnome2_icon_cache_update |
430 |
-} |