1 |
commit: 38eb1039ea4457656b4a3c39266c490810814634 |
2 |
Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 29 04:05:46 2015 +0000 |
4 |
Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 29 07:40:51 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38eb1039 |
7 |
|
8 |
old |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
games-action/supertuxkart/Manifest | 1 - |
13 |
.../files/supertuxkart-0.8.1-cmake.patch | 20 ----- |
14 |
.../files/supertuxkart-0.8.1-desktopfile.patch | 24 ------ |
15 |
.../files/supertuxkart-0.8.1-gentoo.patch | 47 ----------- |
16 |
.../files/supertuxkart-0.8.1-icon-dest.patch | 19 ----- |
17 |
.../files/supertuxkart-0.8.1-irrlicht.patch | 69 ---------------- |
18 |
.../files/supertuxkart-0.8.1-jpeg9.patch | 11 --- |
19 |
.../files/supertuxkart-0.8.1-mesa-10.x.patch | 38 --------- |
20 |
.../supertuxkart/supertuxkart-0.8.1.ebuild | 92 ---------------------- |
21 |
9 files changed, 321 deletions(-) |
22 |
|
23 |
diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest |
24 |
index 4250de8..99cc093 100644 |
25 |
--- a/games-action/supertuxkart/Manifest |
26 |
+++ b/games-action/supertuxkart/Manifest |
27 |
@@ -1,3 +1,2 @@ |
28 |
-DIST supertuxkart-0.8.1-src.tar.bz2 229944480 SHA256 335301ae61b0c177be68d5593c65e5b197dc807421f08a8a35740a254cacf8d6 SHA512 1d72230a2cfa6196c6ea6c5464f01d1a0064994c9dafbf5d47c04b5db87e82590fde57a88d5316f2cf6094dcebae5e115b81e5ecc964a29bd669bc83d527d13a WHIRLPOOL 5cf87e57cd5b5d12e4549bf49efb0596e4a1fafa7cba58e366c843e2ebf61c02e5c3471d1591f1231194021cbcb6082829e026616403680fc7ad05bd235b155e |
29 |
DIST supertuxkart-0.9.1-src.tar.xz 425822808 SHA256 c50f00a71df165fb613d20e86bea2d9d5e51ed3e27e1d436fbac3b07cf2ea149 SHA512 11ea064210ea6bc36258f08e57c6aac46739133017ad3ba97ca0edd84c818c2f72dae60bbe7cd79135be9785fb0e15c9904b151c894e1c21b881598113344cf4 WHIRLPOOL 8acd59e878b44f8e504d57687ea1bbece05d5f14b29e0c62a22183729129fb115fccb9a1a89d5e0a86881ac6487c36ea520aab835ba5efaaa3c71471fda9b15f |
30 |
DIST supertuxkart.png 4435 SHA256 99bc1801cb0514946cb0171d6d5a84484b6dc881edfa7f096b6eb5fea2f28828 SHA512 a180332f79220431922fa8b351cb476ebc5d9d1df09f20707eb3bdd7002fd264cb027b8190c73c5221050e6e8601beb6758a5809d05aedfb18f0bdb426f47eda WHIRLPOOL eef651802a927b451226fc06a682d7dea68b65b05195130ccfc7544165f26f65bda4fc9565e09d6487d02be3cf57880b0c6c257f26587c6bc6d30afc6aa5d3c2 |
31 |
|
32 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-cmake.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-cmake.patch |
33 |
deleted file mode 100644 |
34 |
index 17a7236..0000000 |
35 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-cmake.patch |
36 |
+++ /dev/null |
37 |
@@ -1,20 +0,0 @@ |
38 |
---- CMakeLists.txt.orig 2015-06-13 01:47:50.493401323 -0400 |
39 |
-+++ CMakeLists.txt 2015-06-13 01:48:53.691255054 -0400 |
40 |
-@@ -128,6 +128,9 @@ |
41 |
- find_package(OpenGL REQUIRED) |
42 |
- include_directories(${OPENGL_INCLUDE_DIR}) |
43 |
- |
44 |
-+find_package(X11 REQUIRED) |
45 |
-+include_directories(${X11_INCLUDE_DIR}) |
46 |
-+ |
47 |
- if(UNIX AND NOT APPLE) |
48 |
- find_library(IRRLICHT_XF86VM_LIBRARY Xxf86vm) |
49 |
- mark_as_advanced(IRRLICHT_XF86VM_LIBRARY) |
50 |
-@@ -239,6 +242,7 @@ |
51 |
- ${IRRLICHT_XF86VM_LIBRARY} |
52 |
- ${OPENAL_LIBRARY} |
53 |
- ${OPENGL_LIBRARIES} |
54 |
-+ ${X11_LIBRARIES} |
55 |
- png |
56 |
- jpeg |
57 |
- bz2 |
58 |
|
59 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-desktopfile.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-desktopfile.patch |
60 |
deleted file mode 100644 |
61 |
index 0766456..0000000 |
62 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-desktopfile.patch |
63 |
+++ /dev/null |
64 |
@@ -1,24 +0,0 @@ |
65 |
-From: Julian Ospald <hasufell@g.o> |
66 |
-Date: Thu Dec 13 18:45:18 UTC 2012 |
67 |
-Subject: fix desktop file |
68 |
- |
69 |
---- data/supertuxkart_desktop.template |
70 |
-+++ data/supertuxkart_desktop.template |
71 |
-@@ -1,14 +1,14 @@ |
72 |
- [Desktop Entry] |
73 |
- Name=SuperTuxKart |
74 |
--Icon=@PREFIX@/share/pixmaps/supertuxkart_128.png |
75 |
-+Icon=supertuxkart |
76 |
- GenericName=A kart racing game |
77 |
- GenericName[de_DE]=Ein Kart-Rennspiel |
78 |
- GenericName[fr_FR]=Un jeu de karting |
79 |
- GenericName[gl]=Xogo de carreiras con karts |
80 |
- GenericName[ro_RO]=Un joc de curse cu carturi |
81 |
--Exec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/supertuxkart --no-console |
82 |
-+Exec=@STK_INSTALL_BINARY_DIR@/supertuxkart --no-console |
83 |
- Terminal=false |
84 |
- StartupNotify=false |
85 |
- Type=Application |
86 |
--TryExec=@PREFIX@/@STK_INSTALL_BINARY_DIR@/supertuxkart |
87 |
-+TryExec=@STK_INSTALL_BINARY_DIR@/supertuxkart |
88 |
- Categories=Game;ArcadeGame; |
89 |
|
90 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-gentoo.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-gentoo.patch |
91 |
deleted file mode 100644 |
92 |
index 647c522..0000000 |
93 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-gentoo.patch |
94 |
+++ /dev/null |
95 |
@@ -1,47 +0,0 @@ |
96 |
-gentoo specific hacks because we unbundle the |
97 |
-deps of irrlicht |
98 |
- |
99 |
---- a/CMakeLists.txt |
100 |
-+++ b/CMakeLists.txt |
101 |
-@@ -45,7 +45,6 @@ add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet") |
102 |
- include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include") |
103 |
- |
104 |
- # Build the irrlicht library |
105 |
--add_subdirectory("${PROJECT_SOURCE_DIR}/lib/irrlicht") |
106 |
- include_directories("${PROJECT_SOURCE_DIR}/lib/irrlicht/include") |
107 |
- |
108 |
- # Build the Wiiuse library |
109 |
-@@ -137,6 +136,13 @@ else() |
110 |
- endif() |
111 |
- |
112 |
- |
113 |
-+# Irrlicht |
114 |
-+if (APPLE) |
115 |
-+ set(IRRLICHT_LIBRARY "/Library/Frameworks/IrrFramework.framework") |
116 |
-+else() |
117 |
-+ set(IRRLICHT_LIBRARY ${PROJECT_SOURCE_DIR}/lib/irrlicht/lib/Linux/libIrrlicht.a) |
118 |
-+endif() |
119 |
-+ |
120 |
- |
121 |
- # Set some compiler options |
122 |
- if(UNIX) |
123 |
-@@ -226,12 +232,17 @@ target_link_libraries(supertuxkart |
124 |
- bulletcollision |
125 |
- bulletmath |
126 |
- enet |
127 |
-- stkirrlicht |
128 |
- ${CURL_LIBRARIES} |
129 |
-+ ${IRRLICHT_LIBRARIES} |
130 |
- ${OGGVORBIS_LIBRARIES} |
131 |
-+ ${IRRLICHT_LIBRARY} |
132 |
- ${IRRLICHT_XF86VM_LIBRARY} |
133 |
- ${OPENAL_LIBRARY} |
134 |
-- ${OPENGL_LIBRARIES}) |
135 |
-+ ${OPENGL_LIBRARIES} |
136 |
-+ png |
137 |
-+ jpeg |
138 |
-+ bz2 |
139 |
-+ z) |
140 |
- |
141 |
- if(APPLE) |
142 |
- # In theory it would be cleaner to let CMake detect the right dependencies. In practice, this means that if a OSX user has |
143 |
|
144 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-icon-dest.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-icon-dest.patch |
145 |
deleted file mode 100644 |
146 |
index 5ce3fff..0000000 |
147 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-icon-dest.patch |
148 |
+++ /dev/null |
149 |
@@ -1,19 +0,0 @@ |
150 |
-commit f46a26640382ffc76e71f58eaaf1e5223a11c9a0 |
151 |
-Author: hasufell <hasufell@g.o> |
152 |
-Date: Tue Nov 26 22:13:21 2013 +0100 |
153 |
- |
154 |
- fix icon install dest |
155 |
- |
156 |
---- a/CMakeLists.txt |
157 |
-+++ b/CMakeLists.txt |
158 |
-@@ -304,7 +304,9 @@ endif() |
159 |
- install(TARGETS supertuxkart RUNTIME DESTINATION ${STK_INSTALL_BINARY_DIR} BUNDLE DESTINATION .) |
160 |
- install(DIRECTORY ${STK_DATA_DIR} DESTINATION ${STK_INSTALL_DATA_DIR} PATTERN ".svn" EXCLUDE) |
161 |
- install(FILES ${PROJECT_BINARY_DIR}/supertuxkart.desktop DESTINATION share/applications) |
162 |
--install(FILES data/supertuxkart_32.png data/supertuxkart_128.png DESTINATION share/pixmaps) |
163 |
-+install(FILES data/supertuxkart_128.png DESTINATION share/icons/hicolor/128x128/apps RENAME supertuxkart.png) |
164 |
-+install(FILES data/supertuxkart_32.png DESTINATION share/icons/hicolor/32x32/apps RENAME supertuxkart.png) |
165 |
-+ |
166 |
- |
167 |
- set(PREFIX ${CMAKE_INSTALL_PREFIX}) |
168 |
- configure_file(data/supertuxkart_desktop.template supertuxkart.desktop) |
169 |
|
170 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-irrlicht.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-irrlicht.patch |
171 |
deleted file mode 100644 |
172 |
index 43130d1..0000000 |
173 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-irrlicht.patch |
174 |
+++ /dev/null |
175 |
@@ -1,69 +0,0 @@ |
176 |
-unbundle Irrlicht dependencies |
177 |
-and respect CFLAGS |
178 |
- |
179 |
---- lib/irrlicht/include/IrrCompileConfig.h |
180 |
-+++ lib/irrlicht/include/IrrCompileConfig.h |
181 |
-@@ -245,7 +245,7 @@ |
182 |
- //! Define _IRR_USE_NON_SYSTEM_JPEG_LIB_ to let irrlicht use the jpeglib which comes with irrlicht. |
183 |
- /** If this is commented out, Irrlicht will try to compile using the jpeg lib installed in the system. |
184 |
- This is only used when _IRR_COMPILE_WITH_LIBJPEG_ is defined. */ |
185 |
--#define _IRR_USE_NON_SYSTEM_JPEG_LIB_ |
186 |
-+//#define _IRR_USE_NON_SYSTEM_JPEG_LIB_ |
187 |
- #ifdef NO_IRR_USE_NON_SYSTEM_JPEG_LIB_ |
188 |
- #undef _IRR_USE_NON_SYSTEM_JPEG_LIB_ |
189 |
- #endif |
190 |
-@@ -261,7 +261,7 @@ |
191 |
- //! Define _IRR_USE_NON_SYSTEM_LIBPNG_ to let irrlicht use the libpng which comes with irrlicht. |
192 |
- /** If this is commented out, Irrlicht will try to compile using the libpng installed in the system. |
193 |
- This is only used when _IRR_COMPILE_WITH_LIBPNG_ is defined. */ |
194 |
--#define _IRR_USE_NON_SYSTEM_LIB_PNG_ |
195 |
-+//#define _IRR_USE_NON_SYSTEM_LIB_PNG_ |
196 |
- #ifdef NO_IRR_USE_NON_SYSTEM_LIB_PNG_ |
197 |
- #undef _IRR_USE_NON_SYSTEM_LIB_PNG_ |
198 |
- #endif |
199 |
-@@ -598,7 +598,7 @@ |
200 |
- /** If this is commented out, Irrlicht will try to compile using the zlib |
201 |
- installed on the system. This is only used when _IRR_COMPILE_WITH_ZLIB_ is |
202 |
- defined. */ |
203 |
--#define _IRR_USE_NON_SYSTEM_ZLIB_ |
204 |
-+//#define _IRR_USE_NON_SYSTEM_ZLIB_ |
205 |
- #ifdef NO_IRR_USE_NON_SYSTEM_ZLIB_ |
206 |
- #undef _IRR_USE_NON_SYSTEM_ZLIB_ |
207 |
- #endif |
208 |
---- lib/irrlicht/source/Irrlicht/Makefile |
209 |
-+++ lib/irrlicht/source/Irrlicht/Makefile |
210 |
-@@ -46,11 +46,7 @@ |
211 |
- IRRIOOBJ = CFileList.o CFileSystem.o CLimitReadFile.o CMemoryFile.o CReadFile.o CWriteFile.o CXMLReader.o CXMLWriter.o CWADReader.o CZipReader.o CPakReader.o CNPKReader.o CTarReader.o CMountPointReader.o irrXML.o CAttributes.o lzma/LzmaDec.o |
212 |
- IRROTHEROBJ = CIrrDeviceSDL.o CIrrDeviceLinux.o CIrrDeviceConsole.o CIrrDeviceStub.o CIrrDeviceWin32.o CIrrDeviceFB.o CLogger.o COSOperator.o Irrlicht.o os.o |
213 |
- IRRGUIOBJ = CGUIButton.o CGUICheckBox.o CGUIComboBox.o CGUIContextMenu.o CGUIEditBox.o CGUIEnvironment.o CGUIFileOpenDialog.o CGUIFont.o CGUIImage.o CGUIInOutFader.o CGUIListBox.o CGUIMenu.o CGUIMeshViewer.o CGUIMessageBox.o CGUIModalScreen.o CGUIScrollBar.o CGUISpinBox.o CGUISkin.o CGUIStaticText.o CGUITabControl.o CGUITable.o CGUIToolBar.o CGUIWindow.o CGUIColorSelectDialog.o CDefaultGUIElementFactory.o CGUISpriteBank.o CGUIImageList.o CGUITreeView.o |
214 |
--ZLIBOBJ = zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o zlib/uncompr.o zlib/zutil.o |
215 |
--JPEGLIBOBJ = jpeglib/jcapimin.o jpeglib/jcapistd.o jpeglib/jccoefct.o jpeglib/jccolor.o jpeglib/jcdctmgr.o jpeglib/jchuff.o jpeglib/jcinit.o jpeglib/jcmainct.o jpeglib/jcmarker.o jpeglib/jcmaster.o jpeglib/jcomapi.o jpeglib/jcparam.o jpeglib/jcprepct.o jpeglib/jcsample.o jpeglib/jctrans.o jpeglib/jdapimin.o jpeglib/jdapistd.o jpeglib/jdatadst.o jpeglib/jdatasrc.o jpeglib/jdcoefct.o jpeglib/jdcolor.o jpeglib/jddctmgr.o jpeglib/jdhuff.o jpeglib/jdinput.o jpeglib/jdmainct.o jpeglib/jdmarker.o jpeglib/jdmaster.o jpeglib/jdmerge.o jpeglib/jdpostct.o jpeglib/jdsample.o jpeglib/jdtrans.o jpeglib/jerror.o jpeglib/jfdctflt.o jpeglib/jfdctfst.o jpeglib/jfdctint.o jpeglib/jidctflt.o jpeglib/jidctfst.o jpeglib/jidctint.o jpeglib/jmemmgr.o jpeglib/jmemnobs.o jpeglib/jquant1.o jpeglib/jquant2.o jpeglib/jutils.o jpeglib/jcarith.o jpeglib/jdarith.o jpeglib/jaricom.o |
216 |
--LIBPNGOBJ = libpng/png.o libpng/pngerror.o libpng/pngget.o libpng/pngmem.o libpng/pngpread.o libpng/pngread.o libpng/pngrio.o libpng/pngrtran.o libpng/pngrutil.o libpng/pngset.o libpng/pngtrans.o libpng/pngwio.o libpng/pngwrite.o libpng/pngwtran.o libpng/pngwutil.o |
217 |
- LIBAESGM = aesGladman/aescrypt.o aesGladman/aeskey.o aesGladman/aestab.o aesGladman/fileenc.o aesGladman/hmac.o aesGladman/prng.o aesGladman/pwd2key.o aesGladman/sha1.o aesGladman/sha2.o |
218 |
--BZIP2OBJ = bzip2/blocksort.o bzip2/huffman.o bzip2/crctable.o bzip2/randtable.o bzip2/bzcompress.o bzip2/decompress.o bzip2/bzlib.o |
219 |
- |
220 |
- # Next variable is for additional scene nodes etc. of customized Irrlicht versions |
221 |
- EXTRAOBJ = |
222 |
-@@ -61,18 +57,16 @@ |
223 |
- |
224 |
- ############### |
225 |
- #Compiler flags |
226 |
--CXXINCS = -I../../include -Izlib -Ijpeglib -Ilibpng |
227 |
-+CXXINCS = -I../../include |
228 |
- CPPFLAGS += $(CXXINCS) -DIRRLICHT_EXPORTS=1 |
229 |
--CXXFLAGS += -Wall -pipe -fno-exceptions -fno-rtti -fstrict-aliasing |
230 |
-+CXXFLAGS += -Wall -fno-exceptions -fno-rtti |
231 |
- ifndef NDEBUG |
232 |
--CXXFLAGS += -g -D_DEBUG |
233 |
--else |
234 |
--CXXFLAGS += -fexpensive-optimizations -O3 |
235 |
-+CXXFLAGS += -D_DEBUG |
236 |
- endif |
237 |
- ifdef PROFILE |
238 |
- CXXFLAGS += -pg |
239 |
- endif |
240 |
--CFLAGS := -O3 -fexpensive-optimizations -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES |
241 |
-+CFLAGS += -DPNG_THREAD_UNSAFE_OK -DPNG_NO_MMX_CODE -DPNG_NO_MNG_FEATURES |
242 |
- |
243 |
- sharedlib sharedlib_osx: CXXFLAGS += -fPIC |
244 |
- sharedlib sharedlib_osx: CFLAGS += -fPIC |
245 |
|
246 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-jpeg9.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-jpeg9.patch |
247 |
deleted file mode 100644 |
248 |
index b1bae37..0000000 |
249 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-jpeg9.patch |
250 |
+++ /dev/null |
251 |
@@ -1,11 +0,0 @@ |
252 |
---- lib/irrlicht/source/Irrlicht/CImageLoaderJPG.cpp.old |
253 |
-+++ lib/irrlicht/source/Irrlicht/CImageLoaderJPG.cpp |
254 |
-@@ -66,7 +66,7 @@ |
255 |
- boolean CImageLoaderJPG::fill_input_buffer (j_decompress_ptr cinfo) |
256 |
- { |
257 |
- // DO NOTHING |
258 |
-- return 1; |
259 |
-+ return TRUE; |
260 |
- } |
261 |
- |
262 |
- |
263 |
|
264 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.8.1-mesa-10.x.patch b/games-action/supertuxkart/files/supertuxkart-0.8.1-mesa-10.x.patch |
265 |
deleted file mode 100644 |
266 |
index b4d8e68..0000000 |
267 |
--- a/games-action/supertuxkart/files/supertuxkart-0.8.1-mesa-10.x.patch |
268 |
+++ /dev/null |
269 |
@@ -1,38 +0,0 @@ |
270 |
-From: Julian Ospald <hasufell@g.o> |
271 |
-Date: Tue Apr 29 23:28:11 UTC 2014 |
272 |
-Subject: fix build with mesa-10.x |
273 |
- |
274 |
---- lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h |
275 |
-+++ lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h |
276 |
-@@ -21,6 +21,7 @@ |
277 |
- #endif |
278 |
- #include <GL/gl.h> |
279 |
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
280 |
-+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
281 |
- #include "glext.h" |
282 |
- #endif |
283 |
- #include "wglext.h" |
284 |
-@@ -36,6 +37,7 @@ |
285 |
- #endif |
286 |
- #include <OpenGL/gl.h> |
287 |
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
288 |
-+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
289 |
- #include "glext.h" |
290 |
- #endif |
291 |
- #elif defined(_IRR_COMPILE_WITH_SDL_DEVICE_) && !defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
292 |
-@@ -49,6 +51,7 @@ |
293 |
- #define NO_SDL_GLEXT |
294 |
- #include <SDL/SDL_video.h> |
295 |
- #include <SDL/SDL_opengl.h> |
296 |
-+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
297 |
- #include "glext.h" |
298 |
- #else |
299 |
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
300 |
-@@ -61,6 +64,7 @@ |
301 |
- #include <GL/gl.h> |
302 |
- #include <GL/glx.h> |
303 |
- #if defined(_IRR_OPENGL_USE_EXTPOINTER_) |
304 |
-+ typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); |
305 |
- #include "glext.h" |
306 |
- #undef GLX_ARB_get_proc_address // avoid problems with local glxext.h |
307 |
- #include "glxext.h" |
308 |
|
309 |
diff --git a/games-action/supertuxkart/supertuxkart-0.8.1.ebuild b/games-action/supertuxkart/supertuxkart-0.8.1.ebuild |
310 |
deleted file mode 100644 |
311 |
index 4ae2a2b..0000000 |
312 |
--- a/games-action/supertuxkart/supertuxkart-0.8.1.ebuild |
313 |
+++ /dev/null |
314 |
@@ -1,92 +0,0 @@ |
315 |
-# Copyright 1999-2015 Gentoo Foundation |
316 |
-# Distributed under the terms of the GNU General Public License v2 |
317 |
-# $Id$ |
318 |
- |
319 |
-EAPI=5 |
320 |
-inherit gnome2-utils cmake-utils eutils games |
321 |
- |
322 |
-DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" |
323 |
-HOMEPAGE="http://supertuxkart.sourceforge.net/" |
324 |
-SRC_URI="mirror://sourceforge/supertuxkart/SuperTuxKart/${PV}/${P}-src.tar.bz2 |
325 |
- mirror://gentoo/${PN}.png" |
326 |
- |
327 |
-LICENSE="GPL-3 CC-BY-SA-3.0 CC-BY-2.0 public-domain ZLIB" |
328 |
-SLOT="0" |
329 |
-KEYWORDS="amd64 ~ppc x86" |
330 |
-IUSE="debug fribidi wiimote" |
331 |
- |
332 |
-# don't unbundle irrlicht and bullet |
333 |
-# both are modified and system versions will break the game |
334 |
-# http://sourceforge.net/tracker/?func=detail&aid=3454889&group_id=74339&atid=540679 |
335 |
- |
336 |
-# VERSION BUMP NOTICE: enet might be needed for supertuxkart-0.9 |
337 |
-RDEPEND="media-libs/freeglut |
338 |
- media-libs/libpng:0 |
339 |
- media-libs/libvorbis |
340 |
- media-libs/openal |
341 |
- net-misc/curl |
342 |
- sys-libs/zlib |
343 |
- virtual/glu |
344 |
- virtual/jpeg:0 |
345 |
- virtual/libintl |
346 |
- virtual/opengl |
347 |
- x11-libs/libX11 |
348 |
- x11-libs/libXxf86vm |
349 |
- fribidi? ( dev-libs/fribidi ) |
350 |
- wiimote? ( net-wireless/bluez )" |
351 |
-DEPEND="${RDEPEND} |
352 |
- sys-devel/gettext |
353 |
- virtual/pkgconfig" |
354 |
- |
355 |
-S=${WORKDIR}/SuperTuxKart-${PV} |
356 |
- |
357 |
-src_prepare() { |
358 |
- epatch "${FILESDIR}"/${P}-{gentoo,icon-dest,irrlicht,desktopfile,mesa-10.x,jpeg9,cmake}.patch |
359 |
- |
360 |
- # inconsistent handling of debug definition |
361 |
- # avoid using Debug build type |
362 |
- if use debug ; then |
363 |
- sed -i \ |
364 |
- -e 's/add_definitions(-DNDEBUG)/add_definitions(-DDEBUG)/' \ |
365 |
- CMakeLists.txt || die |
366 |
- fi |
367 |
-} |
368 |
- |
369 |
-src_configure() { |
370 |
- local mycmakeargs=( |
371 |
- $(cmake-utils_use_use fribidi FRIBIDI) |
372 |
- $(cmake-utils_use_use wiimote WIIUSE) |
373 |
- -DSTK_INSTALL_BINARY_DIR="${GAMES_BINDIR}" |
374 |
- -DSTK_INSTALL_DATA_DIR="${GAMES_DATADIR}"/${PN} |
375 |
- ) |
376 |
- |
377 |
- cmake-utils_src_configure |
378 |
-} |
379 |
- |
380 |
-src_compile() { |
381 |
- # build bundled irrlicht |
382 |
- NDEBUG=1 emake -C lib/irrlicht/source/Irrlicht |
383 |
- |
384 |
- cmake-utils_src_compile |
385 |
-} |
386 |
- |
387 |
-src_install() { |
388 |
- cmake-utils_src_install |
389 |
- doicon -s 64 "${DISTDIR}"/${PN}.png |
390 |
- dodoc AUTHORS ChangeLog README TODO |
391 |
- prepgamesdirs |
392 |
-} |
393 |
- |
394 |
-pkg_preinst() { |
395 |
- games_pkg_preinst |
396 |
- gnome2_icon_savelist |
397 |
-} |
398 |
- |
399 |
-pkg_postinst() { |
400 |
- games_pkg_postinst |
401 |
- gnome2_icon_cache_update |
402 |
-} |
403 |
- |
404 |
-pkg_postrm() { |
405 |
- gnome2_icon_cache_update |
406 |
-} |