1 |
commit: 6ce37119f6937bc62019af613d6ce6bad6d87b67 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 28 20:33:32 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 28 20:37:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ce37119 |
7 |
|
8 |
games-action/supertuxkart: Drop old 1.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.96, Repoman-2.3.20 |
11 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
12 |
|
13 |
games-action/supertuxkart/Manifest | 1 - |
14 |
.../supertuxkart-0.9.3-irrlicht-arch-support.patch | 47 ----------- |
15 |
.../files/supertuxkart-1.0-fix-buildsystem.patch | 20 ----- |
16 |
.../files/supertuxkart-1.0-system-squish.patch | 43 ---------- |
17 |
games-action/supertuxkart/supertuxkart-1.0.ebuild | 97 ---------------------- |
18 |
5 files changed, 208 deletions(-) |
19 |
|
20 |
diff --git a/games-action/supertuxkart/Manifest b/games-action/supertuxkart/Manifest |
21 |
index fd603cfb6c9..4fd966710bc 100644 |
22 |
--- a/games-action/supertuxkart/Manifest |
23 |
+++ b/games-action/supertuxkart/Manifest |
24 |
@@ -1,3 +1,2 @@ |
25 |
-DIST supertuxkart-1.0-src.tar.xz 597012504 BLAKE2B ed1b851bad8696b4593c54f215b115528afc29bde237f67627e2918c4a9fab09eddc204d0c879fa85c6b10b5544dba5fa5fc1b437cb83e6d884ac717e3369c28 SHA512 182754610abd09545630fa1f7fda858ba1731bbacb078bc71597e143f9cb2a1cfcedd3038720760d0471a89b79cc3bb1eb292d38fcd53be05aad7cb17c474ca9 |
26 |
DIST supertuxkart-1.1-src.tar.xz 616739152 BLAKE2B a4dd9ec0a8ee158306dc902d3de363b68e7a317800df1b36339843521019df91c0713b74bdef8dc06b40bee57285237408a17b539c7bd7298cd3ef3deaf99fda SHA512 81d5ff59bb33eba8a00547239d54cacfde25eed0c56c857712a00a62032e4cf371cdd367159eaa4bfec6d4dd5781b705e41b58a26b864aa43678cfe9926bb804 |
27 |
DIST supertuxkart.png 4435 BLAKE2B b48b95e1cdebe930837cc784c4c5e9a089a69077e2fcfed15fe5e8c4d649a0f8024769b2f2102bbaea3a94eb21f4b58b5d291b97493266c3c5c8d7335cf69a80 SHA512 a180332f79220431922fa8b351cb476ebc5d9d1df09f20707eb3bdd7002fd264cb027b8190c73c5221050e6e8601beb6758a5809d05aedfb18f0bdb426f47eda |
28 |
|
29 |
diff --git a/games-action/supertuxkart/files/supertuxkart-0.9.3-irrlicht-arch-support.patch b/games-action/supertuxkart/files/supertuxkart-0.9.3-irrlicht-arch-support.patch |
30 |
deleted file mode 100644 |
31 |
index 66191861a96..00000000000 |
32 |
--- a/games-action/supertuxkart/files/supertuxkart-0.9.3-irrlicht-arch-support.patch |
33 |
+++ /dev/null |
34 |
@@ -1,47 +0,0 @@ |
35 |
-From: Christoph Egger <debian@×××××××××××××××.org> |
36 |
-Subject: [PATCH] debian/arch-support |
37 |
- |
38 |
-Building on non-linux architectures currently fails with unpatched |
39 |
-irrlicht because irrlicht tries to create Joystick support using |
40 |
-linux-specific headers. However there's infrastructure to disable |
41 |
-Joystick support, we just need to activate that on non-linux |
42 |
-architectures. |
43 |
- |
44 |
-Additionally if built on a sparc machine irrlicht assumes wrongly it's |
45 |
-a solaris system. We fix this wrong assumption as our sparc builds are |
46 |
-all on linux. |
47 |
- |
48 |
-Finally irrlicht exceeds the size constraights for -fpic requiering to |
49 |
-build with -fPIC. As upstream doesn't do that we need to fix this for |
50 |
-sparc and s390 builds (powerPC?). |
51 |
- |
52 |
-Signed-off-by: Christoph Egger <debian@×××××××××××××××.org> |
53 |
- |
54 |
---- |
55 |
- lib/irrlicht/include/IrrCompileConfig.h | 10 +++++----- |
56 |
- 1 files changed, 5 insertions(+), 5 deletions(-) |
57 |
- |
58 |
---- a/lib/irrlicht/include/IrrCompileConfig.h |
59 |
-+++ b/lib/irrlicht/include/IrrCompileConfig.h |
60 |
-@@ -110,4 +110,8 @@ |
61 |
- #ifndef _IRR_SOLARIS_PLATFORM_ |
62 |
- #define _IRR_LINUX_PLATFORM_ |
63 |
-+#include <endian.h> |
64 |
-+ #if __BYTE_ORDER == __BIG_ENDIAN |
65 |
-+ #define __BIG_ENDIAN__ |
66 |
-+ #endif |
67 |
- #endif |
68 |
- #define _IRR_POSIX_API_ |
69 |
-@@ -460,11 +464,7 @@ |
70 |
- #undef _IRR_WCHAR_FILESYSTEM |
71 |
- #endif |
72 |
- |
73 |
--#if defined(__sparc__) || defined(__sun__) |
74 |
--#define __BIG_ENDIAN__ |
75 |
--#endif |
76 |
-- |
77 |
--#if defined(_IRR_SOLARIS_PLATFORM_) |
78 |
-+#if defined(_IRR_SOLARIS_PLATFORM_) || defined(__FreeBSD_kernel__) || defined(__gnu_hurd__) |
79 |
- #undef _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ |
80 |
- #endif |
81 |
- |
82 |
|
83 |
diff --git a/games-action/supertuxkart/files/supertuxkart-1.0-fix-buildsystem.patch b/games-action/supertuxkart/files/supertuxkart-1.0-fix-buildsystem.patch |
84 |
deleted file mode 100644 |
85 |
index 23e8280a18f..00000000000 |
86 |
--- a/games-action/supertuxkart/files/supertuxkart-1.0-fix-buildsystem.patch |
87 |
+++ /dev/null |
88 |
@@ -1,20 +0,0 @@ |
89 |
-diff --git a/lib/irrlicht/CMakeLists.txt b/lib/irrlicht/CMakeLists.txt |
90 |
-index 92a881c81..1371fdf11 100644 |
91 |
---- a/lib/irrlicht/CMakeLists.txt |
92 |
-+++ b/lib/irrlicht/CMakeLists.txt |
93 |
-@@ -96,15 +96,6 @@ endif() |
94 |
- if(WIN32) |
95 |
- add_definitions(-D_IRR_STATIC_LIB_) |
96 |
- add_definitions(-D_CRT_SECURE_NO_WARNINGS) # Shut up about unsafe stuff |
97 |
--else() |
98 |
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -pipe -O3 -fno-exceptions -fstrict-aliasing") |
99 |
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pipe -O3 -fno-exceptions -fstrict-aliasing") |
100 |
-- if(CMAKE_COMPILER_IS_GNUCC) |
101 |
-- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fexpensive-optimizations") |
102 |
-- endif() |
103 |
-- if(CMAKE_COMPILER_IS_GNUCXX) |
104 |
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fexpensive-optimizations") |
105 |
-- endif() |
106 |
- endif() |
107 |
- |
108 |
- if(USE_GLES2) |
109 |
|
110 |
diff --git a/games-action/supertuxkart/files/supertuxkart-1.0-system-squish.patch b/games-action/supertuxkart/files/supertuxkart-1.0-system-squish.patch |
111 |
deleted file mode 100644 |
112 |
index 8158c4bb9e5..00000000000 |
113 |
--- a/games-action/supertuxkart/files/supertuxkart-1.0-system-squish.patch |
114 |
+++ /dev/null |
115 |
@@ -1,43 +0,0 @@ |
116 |
-From e1601b1ae07e3c1ac05cffe05b82e0c60998bc72 Mon Sep 17 00:00:00 2001 |
117 |
-From: James Le Cuirot <chewi@g.o> |
118 |
-Date: Mon, 13 May 2019 22:51:21 +0100 |
119 |
-Subject: [PATCH] CMake: Add option to use system Squish library |
120 |
- |
121 |
-The system version was preferred before but it wasn't possible to |
122 |
-explicitly disable it, making its use automagic, which is bad for |
123 |
-packaging. |
124 |
- |
125 |
-Closes: https://github.com/supertuxkart/stk-code/pull/3916 |
126 |
---- |
127 |
- CMakeLists.txt | 8 ++++++-- |
128 |
- 1 file changed, 6 insertions(+), 2 deletions(-) |
129 |
- |
130 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
131 |
-index 8a7f03264..40e7790fe 100644 |
132 |
---- a/CMakeLists.txt |
133 |
-+++ b/CMakeLists.txt |
134 |
-@@ -31,6 +31,8 @@ CMAKE_DEPENDENT_OPTION(BUILD_RECORDER "Build opengl recorder" ON |
135 |
- "NOT SERVER_ONLY;NOT APPLE" OFF) |
136 |
- CMAKE_DEPENDENT_OPTION(USE_FRIBIDI "Support for right-to-left languages" ON |
137 |
- "NOT SERVER_ONLY" OFF) |
138 |
-+CMAKE_DEPENDENT_OPTION(USE_SYSTEM_SQUISH "Use system Squish library instead of the built-in version, when available." ON |
139 |
-+ "NOT SERVER_ONLY" OFF) |
140 |
- CMAKE_DEPENDENT_OPTION(USE_WIIUSE "Support for wiimote input devices" ON |
141 |
- "NOT SERVER_ONLY;NOT MINGW;NOT CYGWIN" OFF) |
142 |
- |
143 |
-@@ -247,8 +249,10 @@ if(NOT SERVER_ONLY) |
144 |
- endif() |
145 |
- |
146 |
- if(NOT SERVER_ONLY) |
147 |
-- find_library(SQUISH_LIBRARY NAMES squish libsquish) |
148 |
-- find_path(SQUISH_INCLUDEDIR NAMES squish.h PATHS) |
149 |
-+ if(USE_SYSTEM_SQUISH) |
150 |
-+ find_library(SQUISH_LIBRARY NAMES squish libsquish) |
151 |
-+ find_path(SQUISH_INCLUDEDIR NAMES squish.h PATHS) |
152 |
-+ endif() |
153 |
- if (NOT SQUISH_LIBRARY OR NOT SQUISH_INCLUDEDIR) |
154 |
- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/libsquish") |
155 |
- include_directories("${PROJECT_SOURCE_DIR}/lib/libsquish") |
156 |
--- |
157 |
-2.20.1 |
158 |
- |
159 |
|
160 |
diff --git a/games-action/supertuxkart/supertuxkart-1.0.ebuild b/games-action/supertuxkart/supertuxkart-1.0.ebuild |
161 |
deleted file mode 100644 |
162 |
index 9d7ff7ec227..00000000000 |
163 |
--- a/games-action/supertuxkart/supertuxkart-1.0.ebuild |
164 |
+++ /dev/null |
165 |
@@ -1,97 +0,0 @@ |
166 |
-# Copyright 1999-2020 Gentoo Authors |
167 |
-# Distributed under the terms of the GNU General Public License v2 |
168 |
- |
169 |
-EAPI=7 |
170 |
- |
171 |
-inherit cmake desktop xdg-utils |
172 |
- |
173 |
-DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)" |
174 |
-HOMEPAGE="https://supertuxkart.net/" |
175 |
-SRC_URI="mirror://sourceforge/${PN}/SuperTuxKart/${PV}/${P}-src.tar.xz |
176 |
- mirror://gentoo/${PN}.png" |
177 |
- |
178 |
-LICENSE="GPL-2 GPL-3 CC-BY-SA-3.0 CC-BY-SA-4.0 CC0-1.0 public-domain ZLIB" |
179 |
-SLOT="0" |
180 |
-KEYWORDS="~amd64 ~x86" |
181 |
-IUSE="debug fribidi libressl nettle recorder wiimote" |
182 |
- |
183 |
-# don't unbundle irrlicht and bullet |
184 |
-# both are modified and system versions will break the game |
185 |
-# https://sourceforge.net/p/irrlicht/feature-requests/138/ |
186 |
- |
187 |
-RDEPEND=" |
188 |
- dev-libs/angelscript:= |
189 |
- media-libs/freetype:2 |
190 |
- media-libs/glew:0= |
191 |
- media-libs/libpng:0= |
192 |
- media-libs/libvorbis |
193 |
- media-libs/openal |
194 |
- net-libs/enet:1.3= |
195 |
- net-misc/curl |
196 |
- sys-libs/zlib |
197 |
- virtual/glu |
198 |
- virtual/jpeg:0 |
199 |
- virtual/libintl |
200 |
- virtual/opengl |
201 |
- x11-libs/libX11 |
202 |
- x11-libs/libXxf86vm |
203 |
- fribidi? ( dev-libs/fribidi ) |
204 |
- nettle? ( dev-libs/nettle:= ) |
205 |
- !nettle? ( |
206 |
- libressl? ( dev-libs/libressl:= ) |
207 |
- !libressl? ( >=dev-libs/openssl-1.0.1d:0= ) |
208 |
- ) |
209 |
- recorder? ( media-libs/libopenglrecorder ) |
210 |
- wiimote? ( net-wireless/bluez )" |
211 |
-DEPEND="${RDEPEND}" |
212 |
-BDEPEND=" |
213 |
- sys-devel/gettext |
214 |
- virtual/pkgconfig" |
215 |
- |
216 |
-PATCHES=( |
217 |
- "${FILESDIR}"/${PN}-0.9.3-irrlicht-arch-support.patch |
218 |
- "${FILESDIR}"/${PN}-0.9.3-irrlicht-system-libs.patch |
219 |
- "${FILESDIR}"/${PN}-1.0-fix-buildsystem.patch |
220 |
- "${FILESDIR}"/${PN}-1.0-system-squish.patch |
221 |
-) |
222 |
- |
223 |
-src_prepare() { |
224 |
- cmake_src_prepare |
225 |
- |
226 |
- # remove bundled libraries, just to be sure |
227 |
- rm -r lib/{angelscript,enet,glew,jpeglib,libpng,zlib} || die |
228 |
-} |
229 |
- |
230 |
-src_configure() { |
231 |
- local mycmakeargs=( |
232 |
- -DUSE_SYSTEM_ANGELSCRIPT=ON |
233 |
- -DUSE_SYSTEM_ENET=ON |
234 |
- -DUSE_SYSTEM_GLEW=ON |
235 |
- -DUSE_SYSTEM_SQUISH=OFF |
236 |
- -DUSE_SYSTEM_WIIUSE=OFF |
237 |
- -DUSE_CRYPTO_OPENSSL=$(usex nettle no yes) |
238 |
- -DENABLE_WAYLAND_DEVICE=OFF |
239 |
- -DUSE_FRIBIDI=$(usex fribidi) |
240 |
- -DBUILD_RECORDER=$(usex recorder) |
241 |
- -DUSE_WIIUSE=$(usex wiimote) |
242 |
- -DSTK_INSTALL_BINARY_DIR=bin |
243 |
- -DSTK_INSTALL_DATA_DIR=share/${PN} |
244 |
- -DBUILD_SHARED_LIBS=OFF # build bundled libsquish as static library |
245 |
- ) |
246 |
- cmake_src_configure |
247 |
-} |
248 |
- |
249 |
-src_install() { |
250 |
- cmake_src_install |
251 |
- dodoc CHANGELOG.md |
252 |
- |
253 |
- doicon -s 64 "${DISTDIR}"/${PN}.png |
254 |
-} |
255 |
- |
256 |
-pkg_postinst() { |
257 |
- xdg_icon_cache_update |
258 |
-} |
259 |
- |
260 |
-pkg_postrm() { |
261 |
- xdg_icon_cache_update |
262 |
-} |