1 |
commit: ebda1f68a2bdc4af27e1cad31b21de32574241d5 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 3 16:03:06 2012 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Sun Jun 3 16:04:40 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=ebda1f68 |
7 |
|
8 |
[games-strategy/revenge-of-the-titans] New version 1.80.15.1 |
9 |
Removed old 1.80.12. Added HIB package support. |
10 |
|
11 |
(Portage version: 2.1.10.49/git/Linux x86_64, unsigned Manifest commit) |
12 |
|
13 |
--- |
14 |
games-strategy/revenge-of-the-titans/metadata.xml | 4 ++- |
15 |
...uild => revenge-of-the-titans-1.80.15.1.ebuild} | 36 ++++++++++++------- |
16 |
2 files changed, 26 insertions(+), 14 deletions(-) |
17 |
|
18 |
diff --git a/games-strategy/revenge-of-the-titans/metadata.xml b/games-strategy/revenge-of-the-titans/metadata.xml |
19 |
index b8fe539..e7a6947 100644 |
20 |
--- a/games-strategy/revenge-of-the-titans/metadata.xml |
21 |
+++ b/games-strategy/revenge-of-the-titans/metadata.xml |
22 |
@@ -1,7 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
<pkgmetadata> |
26 |
-<herd>no-herd</herd> |
27 |
<maintainer> |
28 |
<email>azamat.hackimov@×××××.com</email> |
29 |
<name>Azamat H. Hackimov</name> |
30 |
@@ -9,4 +8,7 @@ |
31 |
<longdescription lang="en"> |
32 |
Defeat the returning Titan horde in a series of epic ground battles. |
33 |
</longdescription> |
34 |
+<use> |
35 |
+<flag name="hib">Install game from Humble Indie Bundle package</flag> |
36 |
+</use> |
37 |
</pkgmetadata> |
38 |
|
39 |
diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.15.1.ebuild |
40 |
similarity index 52% |
41 |
rename from games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild |
42 |
rename to games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.15.1.ebuild |
43 |
index 3a76b7f..dcd8d7b 100644 |
44 |
--- a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild |
45 |
+++ b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.15.1.ebuild |
46 |
@@ -1,8 +1,8 @@ |
47 |
-# Copyright 1999-2011 Gentoo Foundation |
48 |
+# Copyright 1999-2012 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: $ |
51 |
|
52 |
-EAPI=2 |
53 |
+EAPI=3 |
54 |
|
55 |
inherit games java-pkg-2 versionator |
56 |
|
57 |
@@ -13,34 +13,44 @@ MY_PV=$(delete_all_version_separators) |
58 |
|
59 |
DESCRIPTION="Defeat the returning Titan horde in a series of epic ground battles." |
60 |
HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans/" |
61 |
-SRC_URI="amd64? ( RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz ) |
62 |
- x86? ( RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz )" |
63 |
+SRC_URI="hib? ( |
64 |
+ amd64? ( RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz ) |
65 |
+ x86? ( RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz ) ) |
66 |
+ !hib? ( |
67 |
+ amd64? ( http://d4ec1k3inlcla.cloudfront.net/RevengeOfTheTitans-amd64.tar.gz -> ${P}-amd64.tar.gz ) |
68 |
+ x86? ( http://d4ec1k3inlcla.cloudfront.net/RevengeOfTheTitans-i386.tar.gz -> ${P}-i386.tar.gz ) )" |
69 |
|
70 |
LICENSE="as-is" |
71 |
SLOT="0" |
72 |
KEYWORDS="-* ~amd64 ~x86" |
73 |
-IUSE="" |
74 |
+IUSE="hib" |
75 |
|
76 |
RDEPEND=">=virtual/jre-1.6 |
77 |
virtual/opengl" |
78 |
DEPEND="" |
79 |
|
80 |
-RESTRICT="fetch strip" |
81 |
+RESTRICT="mirror strip" |
82 |
|
83 |
dir="${GAMES_PREFIX_OPT}/${MY_PN}" |
84 |
S="${WORKDIR}/${MY_PN}" |
85 |
|
86 |
pkg_nofetch() { |
87 |
- if use amd64 ; then |
88 |
- einfo "Please download RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz" |
89 |
+ if use hib ; then |
90 |
+ if use amd64 ; then |
91 |
+ einfo "Please download RevengeOfTheTitans-HIB-${MY_PV}-amd64.tar.gz" |
92 |
+ fi |
93 |
+ if use x86 ; then |
94 |
+ einfo "Please download RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz" |
95 |
+ fi |
96 |
+ einfo "from your personal page in Humble Indie Bundle #2 site" |
97 |
+ einfo "(http://www.humblebundle.com) and place it in ${DISTDIR}" |
98 |
fi |
99 |
- if use x86 ; then |
100 |
- einfo "Please download RevengeOfTheTitans-HIB-${MY_PV}-i386.tar.gz" |
101 |
- fi |
102 |
- einfo "from your personal page in Humble Indie Bundle #2 site" |
103 |
- einfo "(http://www.humblebundle.com) and place it in ${DISTDIR}" |
104 |
} |
105 |
|
106 |
+# nothing to do ... stubs for eclasses |
107 |
+src_configure() { :; } |
108 |
+src_compile() { :; } |
109 |
+ |
110 |
src_install() { |
111 |
insinto "${dir}" |
112 |
doins *.jar || die "doins jar" |