1 |
commit: eab8f58addffd4eb3d0f676db4f5f2cbcecbecc5 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 10 17:31:53 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Mon Feb 10 18:11:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=eab8f58a |
7 |
|
8 |
games-rpg/solarus: remove package |
9 |
|
10 |
Source unavailable, deperecated eclasses, dependency issues. |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
games-rpg/solarus/files/FindLuaJIT.cmake | 63 ----------------------------- |
14 |
games-rpg/solarus/metadata.xml | 9 ----- |
15 |
games-rpg/solarus/solarus-9999.ebuild | 69 -------------------------------- |
16 |
3 files changed, 141 deletions(-) |
17 |
|
18 |
diff --git a/games-rpg/solarus/files/FindLuaJIT.cmake b/games-rpg/solarus/files/FindLuaJIT.cmake |
19 |
deleted file mode 100644 |
20 |
index e626a5a..0000000 |
21 |
--- a/games-rpg/solarus/files/FindLuaJIT.cmake |
22 |
+++ /dev/null |
23 |
@@ -1,63 +0,0 @@ |
24 |
-# Locate LuaJIT library |
25 |
-# This module defines |
26 |
-# LUAJIT_FOUND, if false, do not try to link to Lua |
27 |
-# LUA_LIBRARIES |
28 |
-# LUA_INCLUDE_DIR, where to find lua.h |
29 |
-# LUAJIT_VERSION_STRING, the version of Lua found (since CMake 2.8.8) |
30 |
- |
31 |
-## Copied from default CMake FindLua51.cmake |
32 |
- |
33 |
-find_path(LUA_INCLUDE_DIR luajit.h |
34 |
- HINTS |
35 |
- ENV LUA_DIR |
36 |
- PATH_SUFFIXES include/luajit-2.0 include |
37 |
- PATHS |
38 |
- ~/Library/Frameworks |
39 |
- /Library/Frameworks |
40 |
- /sw # Fink |
41 |
- /opt/local # DarwinPorts |
42 |
- /opt/csw # Blastwave |
43 |
- /opt |
44 |
-) |
45 |
- |
46 |
-find_library(LUA_LIBRARY |
47 |
- NAMES luajit-5.1 |
48 |
- HINTS |
49 |
- ENV LUA_DIR |
50 |
- PATH_SUFFIXES lib |
51 |
- PATHS |
52 |
- ~/Library/Frameworks |
53 |
- /Library/Frameworks |
54 |
- /sw |
55 |
- /opt/local |
56 |
- /opt/csw |
57 |
- /opt |
58 |
-) |
59 |
- |
60 |
-if(LUA_LIBRARY) |
61 |
- # include the math library for Unix |
62 |
- if(UNIX AND NOT APPLE) |
63 |
- find_library(LUA_MATH_LIBRARY m) |
64 |
- set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries") |
65 |
- # For Windows and Mac, don't need to explicitly include the math library |
66 |
- else() |
67 |
- set( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries") |
68 |
- endif() |
69 |
-endif() |
70 |
- |
71 |
-if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/luajit.h") |
72 |
- file(STRINGS "${LUA_INCLUDE_DIR}/luajit.h" luajit_version_str REGEX "^#define[ \t]+LUAJIT_VERSION[ \t]+\"LuaJIT .+\"") |
73 |
- |
74 |
- string(REGEX REPLACE "^#define[ \t]+LUAJIT_VERSION[ \t]+\"LuaJIT ([^\"]+)\".*" "\\1" LUAJIT_VERSION_STRING "${luajit_version_str}") |
75 |
- unset(luajit_version_str) |
76 |
-endif() |
77 |
- |
78 |
-include(FindPackageHandleStandardArgs) |
79 |
-# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if |
80 |
-# all listed variables are TRUE |
81 |
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LuaJIT |
82 |
- REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR |
83 |
- VERSION_VAR LUAJIT_VERSION_STRING) |
84 |
- |
85 |
-mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES LUA_LIBRARY LUA_MATH_LIBRARY) |
86 |
- |
87 |
|
88 |
diff --git a/games-rpg/solarus/metadata.xml b/games-rpg/solarus/metadata.xml |
89 |
deleted file mode 100644 |
90 |
index a46199f..0000000 |
91 |
--- a/games-rpg/solarus/metadata.xml |
92 |
+++ /dev/null |
93 |
@@ -1,9 +0,0 @@ |
94 |
-<?xml version="1.0" encoding="UTF-8"?> |
95 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
96 |
-<pkgmetadata> |
97 |
-<maintainer> |
98 |
- <email>krytzz@×××××××.eu</email> |
99 |
- <name>steffen stramm</name> |
100 |
-</maintainer> |
101 |
-<herd>playboys</herd> |
102 |
-</pkgmetadata> |
103 |
|
104 |
diff --git a/games-rpg/solarus/solarus-9999.ebuild b/games-rpg/solarus/solarus-9999.ebuild |
105 |
deleted file mode 100644 |
106 |
index 83b66f0..0000000 |
107 |
--- a/games-rpg/solarus/solarus-9999.ebuild |
108 |
+++ /dev/null |
109 |
@@ -1,69 +0,0 @@ |
110 |
-# Copyright 1999-2010 Gentoo Foundation |
111 |
-# Distributed under the terms of the GNU General Public License v2 |
112 |
-# $Header: $ |
113 |
- |
114 |
-EAPI="5" |
115 |
- |
116 |
-inherit cmake-utils games subversion |
117 |
- |
118 |
-DESCRIPTION="Zelda Mystery of Solarus DX" |
119 |
-HOMEPAGE="http://www.zelda-solarus.com" |
120 |
-ESVN_REPO_URI="svn://svn.solarus-engine.org/solarus/trunk" |
121 |
- |
122 |
-LICENSE="GPL-3" |
123 |
-SLOT="0" |
124 |
-KEYWORDS="" |
125 |
-IUSE="debug luajit" |
126 |
- |
127 |
-DEPEND="media-libs/sdl-image[png] |
128 |
- media-libs/sdl-ttf |
129 |
- media-libs/openal |
130 |
- || ( =dev-lang/lua-5.1* dev-lang/luajit:2 ) |
131 |
- luajit? ( dev-lang/luajit ) |
132 |
- media-libs/libsndfile |
133 |
- dev-games/physfs[zip]" |
134 |
-RDEPEND="${DEPEND} |
135 |
- app-arch/zip" |
136 |
- |
137 |
-src_prepare() { |
138 |
- use luajit && { |
139 |
- cp "${FILESDIR}/FindLuaJIT.cmake" "${S}/cmake/modules/" || die "copying failed" |
140 |
- sed \ |
141 |
- -e "s#Lua51#LuaJIT#" \ |
142 |
- -i "${S}/src/CMakeLists.txt" || die "luajit sed failed" |
143 |
- sed -r \ |
144 |
- -e 's#(COMMAND) (luac -o) (\$\{CMAKE_CURRENT_BINARY_DIR\}/\$\{lua_source_file\}c) (\$\{lua_source_file\})#\1 luajit -b \4 \3#' \ |
145 |
- -i "${S}/quests/zsdx/data/CMakeLists.txt" |
146 |
- } |
147 |
- sed \ |
148 |
- -e "s#-pedantic -Wall -Werror#-Wno-error -fpermissive#" \ |
149 |
- -i "${S}/src/CMakeLists.txt" || die "compilation fix sed failed" |
150 |
- sed \ |
151 |
- -e "s%#%%g" \ |
152 |
- -i "${S}/quests/zsdx/data/languages/languages.dat" |
153 |
-} |
154 |
- |
155 |
-src_configure() { |
156 |
- mycmakeargs="${mycmakeargs} -DDATAPATH=${GAMES_DATADIR}/${PN}" |
157 |
- |
158 |
- cmake-utils_src_configure |
159 |
-} |
160 |
- |
161 |
-src_compile() { |
162 |
- cmake-utils_src_compile |
163 |
-} |
164 |
- |
165 |
-src_install() { |
166 |
- dogamesbin "${WORKDIR}/${P}_build/src/${PN}" || die "dobin failed" |
167 |
- |
168 |
- local datadir="${GAMES_DATADIR}"/"${PN}" |
169 |
- dodir ${datadir} |
170 |
- insinto "${GAMES_DATADIR}"/"${PN}" |
171 |
- doins "${WORKDIR}/${P}_build/quests/zsdx/data/data.${PN}" || die "doins failed" |
172 |
- |
173 |
- prepgamesdirs |
174 |
-} |
175 |
- |
176 |
-pkg_postinst() { |
177 |
- games_pkg_postinst |
178 |
-} |