1 |
commit: e375b49fd96d9e7fbf9e1a58f4f350f9d4c3e402 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Feb 5 18:02:26 2021 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Fri Feb 5 19:25:58 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=e375b49f |
7 |
|
8 |
games-arcade/aquaria: remove package |
9 |
|
10 |
Unmaintained, failed to compile. |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
games-arcade/aquaria/aquaria-9999.ebuild | 109 ------------------------------- |
14 |
games-arcade/aquaria/metadata.xml | 8 --- |
15 |
2 files changed, 117 deletions(-) |
16 |
|
17 |
diff --git a/games-arcade/aquaria/aquaria-9999.ebuild b/games-arcade/aquaria/aquaria-9999.ebuild |
18 |
deleted file mode 100644 |
19 |
index 3b1583b..0000000 |
20 |
--- a/games-arcade/aquaria/aquaria-9999.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,109 +0,0 @@ |
23 |
-# Copyright 1999-2020 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=6 |
27 |
-EHG_REPO_URI="http://hg.icculus.org/icculus/aquaria" |
28 |
- |
29 |
-inherit eutils flag-o-matic cmake-utils mercurial |
30 |
- |
31 |
-DESCRIPTION="A 2D scroller set in a massive ocean world" |
32 |
-HOMEPAGE="http://www.bit-blot.com/aquaria/" |
33 |
-SRC_URI="aquaria-lnx-humble-bundle.mojo.run" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="" |
38 |
-IUSE="luajit" |
39 |
-RESTRICT="fetch" |
40 |
- |
41 |
-RDEPEND=" |
42 |
- luajit? ( |
43 |
- dev-lang/luajit:2 |
44 |
- ) |
45 |
- !luajit? ( |
46 |
- || ( |
47 |
- dev-lang/lua:5.1 |
48 |
- dev-lang/lua:0 |
49 |
- ) |
50 |
- ) |
51 |
- >=dev-libs/tinyxml-2.6.1-r1[stl] |
52 |
- games-engines/bbge |
53 |
- media-libs/glpng |
54 |
- media-libs/libsdl |
55 |
-" |
56 |
- |
57 |
-DEPEND="${RDEPEND} |
58 |
- app-arch/unzip" |
59 |
- |
60 |
-S="${WORKDIR}/${PN}" |
61 |
- |
62 |
-pkg_nofetch() { |
63 |
- echo |
64 |
- ewarn "Despite game code is open source, it still need artwork from original humblebundle package." |
65 |
- ewarn "Please, download ${A} from ${HOMEPAGE} (or from your humble bundle library) and place it in ${DISTDIR}" |
66 |
- echo |
67 |
-} |
68 |
- |
69 |
-src_unpack() { |
70 |
- # self unpacking zip archive; unzip warns about the exe stuff |
71 |
- local a="${DISTDIR}/${A}" |
72 |
- echo ">>> Unpacking ${a} to ${PWD}" |
73 |
- unzip -q "${a}" |
74 |
- [ $? -gt 1 ] && die "unpacking failed" |
75 |
- |
76 |
- mercurial_src_unpack |
77 |
-} |
78 |
- |
79 |
-src_prepare() { |
80 |
- local lua=lua |
81 |
- use luajit && lua=luajit-5.1 |
82 |
- has_version 'dev-lang/lua:5.1' && lua=lua5.1 |
83 |
- |
84 |
- # Fix include paths. |
85 |
- sed -i \ |
86 |
- -e "s:\.\./ExternalLibs/glpng:GL/glpng:" \ |
87 |
- -e "s:\.\./ExternalLibs/::" \ |
88 |
- -e "s:\.\./BBGE/:BBGE/:" \ |
89 |
- Aquaria/*.{cpp,h} || die "Fix include patch failed" |
90 |
- |
91 |
- # Only build game sources. |
92 |
- rm -r BBGE/ ExternalLibs/ || die "dropping bbge && ExternalLibs faled" |
93 |
- sed -i "/ADD_EXECUTABLE[(]/,/[)]/d" CMakeLists.txt || die "dropping bbge && ExternalLibs faled" |
94 |
- echo 'ADD_EXECUTABLE(aquaria ${AQUARIA_SRCS})' >> CMakeLists.txt || die "dropping bbge && ExternalLibs faled" |
95 |
- |
96 |
- # Redefine libraries to link against. |
97 |
- sed -i "/TARGET_LINK_LIBRARIES/d" CMakeLists.txt || die |
98 |
- echo "TARGET_LINK_LIBRARIES(aquaria BBGE glpng ${lua} pthread SDL tinyxml)" >> CMakeLists.txt || die |
99 |
- |
100 |
- default |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- local lua=lua |
105 |
- |
106 |
- use luajit && ( |
107 |
- local ljpk="$(best_version dev-lang/luajit:2)" |
108 |
- local ljv="$(get_version_component_range 1-2 ${ljpk/*luajit-/})" |
109 |
- append-cppflags -I/usr/include/luajit"${ljv}" |
110 |
- ) |
111 |
- |
112 |
- has_version 'dev-lang/lua:5.1' && append-cppflags -I/usr/include/lua5.1 |
113 |
- |
114 |
- append-cppflags -I/usr/include/BBGE -I/usr/include/freetype2 |
115 |
- cmake-utils_src_configure |
116 |
-} |
117 |
- |
118 |
-src_install() { |
119 |
- cmake-utils_src_install |
120 |
- |
121 |
- cd ../data |
122 |
- insinto /usr/share/Aquaria |
123 |
- doins -r *.xml */ |
124 |
- doins -r "${S}"/game_scripts/* |
125 |
- |
126 |
- dodoc README-linux.txt |
127 |
- dodoc -r docs/* |
128 |
- |
129 |
- doicon "${PN}.png" |
130 |
- make_desktop_entry "${PN}" "Aquaria" |
131 |
-} |
132 |
|
133 |
diff --git a/games-arcade/aquaria/metadata.xml b/games-arcade/aquaria/metadata.xml |
134 |
deleted file mode 100644 |
135 |
index d3009e1..0000000 |
136 |
--- a/games-arcade/aquaria/metadata.xml |
137 |
+++ /dev/null |
138 |
@@ -1,8 +0,0 @@ |
139 |
-<?xml version="1.0" encoding="UTF-8"?> |
140 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
141 |
-<pkgmetadata> |
142 |
- <maintainer type="person"> |
143 |
- <email>wizzleby@×××××.com</email> |
144 |
- <name>Locke Shinseiko</name> |
145 |
- </maintainer> |
146 |
-</pkgmetadata> |