1 |
commit: af1c5734679a5ed12b949d47876f0865d1fcddc4 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Nov 15 21:34:03 2018 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Thu Nov 15 21:34:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=af1c5734 |
7 |
|
8 |
games-strategy/glfrontier: fixes to ebuild |
9 |
|
10 |
Need to review more. |
11 |
|
12 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
13 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
14 |
|
15 |
.../glfrontier/glfrontier-20060623-r4.ebuild | 28 ++++++++++------------ |
16 |
games-strategy/glfrontier/metadata.xml | 9 ++++--- |
17 |
2 files changed, 17 insertions(+), 20 deletions(-) |
18 |
|
19 |
diff --git a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild |
20 |
index 5b14f4d..ea13aef 100644 |
21 |
--- a/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild |
22 |
+++ b/games-strategy/glfrontier/glfrontier-20060623-r4.ebuild |
23 |
@@ -1,6 +1,5 @@ |
24 |
-# Copyright 1999-2011 Gentoo Foundation |
25 |
+# Copyright 1999-2018 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: $ |
28 |
|
29 |
EAPI=6 |
30 |
|
31 |
@@ -12,39 +11,38 @@ DESCRIPTION="Frontier: Elite 2 with OpenGL support" |
32 |
HOMEPAGE="http://tom.noflag.org.uk/glfrontier.html" |
33 |
|
34 |
SRC_URI="http://tom.noflag.org.uk/glfrontier/frontvm3-20060623.tar.bz2 |
35 |
- http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2" |
36 |
+ http://tom.noflag.org.uk/misc/frontvm-audio-20060222.tar.bz2" |
37 |
|
38 |
- |
39 |
-LICENSE="GPL" |
40 |
-KEYWORDS="~x86 ~amd64" |
41 |
+LICENSE="HPND" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
IUSE="" |
44 |
|
45 |
SLOT="0" |
46 |
|
47 |
RDEPEND=">=media-libs/freeglut-2.6 |
48 |
- media-libs/libsdl |
49 |
- media-libs/libogg" |
50 |
+ media-libs/libsdl |
51 |
+ media-libs/libogg" |
52 |
DEPEND="${RDEPEND}" |
53 |
|
54 |
S=${WORKDIR} |
55 |
|
56 |
src_prepare() { |
57 |
- epatch "${FILESDIR}/${MY_P}"-fix_missing_math_lib.patch |
58 |
+ epatch "${FILESDIR}/${MY_P}-fix_missing_math_lib.patch" |
59 |
eapply_user |
60 |
} |
61 |
|
62 |
src_compile() { |
63 |
- cd ${S}/frontvm3-20060623 |
64 |
+ cd "${S}/frontvm3-20060623" |
65 |
make -f Makefile-C || die "make install failed" |
66 |
} |
67 |
|
68 |
src_install() { |
69 |
- mv ${S}/frontvm3-20060623/frontier ${S}/frontvm3-20060623/${MY_PN} |
70 |
+ mv "${S}/frontvm3-20060623/frontier" "${S}/frontvm3-20060623/${MY_PN}" |
71 |
|
72 |
- dobin ${S}/frontvm3-20060623/${MY_PN} |
73 |
- insinto /usr/share/${MY_PN} |
74 |
- doins ${S}/frontvm3-20060623/fe2.s.bin |
75 |
- doins -r ${S}/frontvm-audio-20060222/* |
76 |
+ newbin "${S}/frontvm3-20060623/frontier" ${MY_PN} |
77 |
+ insinto "/usr/share/${MY_PN}" |
78 |
+ doins "${S}/frontvm3-20060623/fe2.s.bin" |
79 |
+ doins -r "${S}/frontvm-audio-20060222/*" |
80 |
|
81 |
make_desktop_entry /usr/share/${MY_PN}/${MY_PN} GLFrontier ${MY_PN} Game Path=/usr/share/${MY_PN} |
82 |
} |
83 |
|
84 |
diff --git a/games-strategy/glfrontier/metadata.xml b/games-strategy/glfrontier/metadata.xml |
85 |
index 3987c0c..cc20dcf 100644 |
86 |
--- a/games-strategy/glfrontier/metadata.xml |
87 |
+++ b/games-strategy/glfrontier/metadata.xml |
88 |
@@ -1,13 +1,12 @@ |
89 |
<?xml version="1.0" encoding="UTF-8"?> |
90 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
91 |
<pkgmetadata> |
92 |
-<herd>no-herd</herd> |
93 |
-<maintainer> |
94 |
- <email>yamakuzure@×××.net</email> |
95 |
- <description>The creator of this ebuild, but not the official maintainer</description> |
96 |
+<maintainer type="person"> |
97 |
+<email>yamakuzure@×××.net</email> |
98 |
+<description>The creator of this ebuild, but not the official maintainer</description> |
99 |
</maintainer> |
100 |
<longdescription> |
101 |
-MISSING |
102 |
+Frontier: Elite 2 with OpenGL support |
103 |
</longdescription> |
104 |
<use /> |
105 |
</pkgmetadata> |