From: | "Tristan Heaven (nyhm)" <nyhm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-action/lugaru-demo: ChangeLog lugaru-demo-1.0b.ebuild |
Date: | Mon, 24 Aug 2009 10:16:52 |
Message-Id: | E1MfWba-0005L8-2z@stork.gentoo.org |
1 | nyhm 09/08/24 10:16:50 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lugaru-demo-1.0b.ebuild |
5 | Log: |
6 | Version bump, bug #282401 |
7 | (Portage version: 2.2_rc39/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.9 games-action/lugaru-demo/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/lugaru-demo/ChangeLog?rev=1.9&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/lugaru-demo/ChangeLog?rev=1.9&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/lugaru-demo/ChangeLog?r1=1.8&r2=1.9 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/ChangeLog,v |
19 | retrieving revision 1.8 |
20 | retrieving revision 1.9 |
21 | diff -u -r1.8 -r1.9 |
22 | --- ChangeLog 29 Feb 2008 18:06:13 -0000 1.8 |
23 | +++ ChangeLog 24 Aug 2009 10:16:49 -0000 1.9 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for games-action/lugaru-demo |
26 | -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/ChangeLog,v 1.8 2008/02/29 18:06:13 carlo Exp $ |
28 | +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/ChangeLog,v 1.9 2009/08/24 10:16:49 nyhm Exp $ |
30 | + |
31 | +*lugaru-demo-1.0b (24 Aug 2009) |
32 | + |
33 | + 24 Aug 2009; Tristan Heaven <nyhm@g.o> +lugaru-demo-1.0b.ebuild: |
34 | + Version bump, bug #282401 |
35 | |
36 | 29 Feb 2008; Carsten Lohrke <carlo@g.o> lugaru-demo-1.0.ebuild: |
37 | Remove icon extension from desktop entry to match Icon Theme Specification. |
38 | |
39 | |
40 | |
41 | 1.1 games-action/lugaru-demo/lugaru-demo-1.0b.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/lugaru-demo/lugaru-demo-1.0b.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/lugaru-demo/lugaru-demo-1.0b.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: lugaru-demo-1.0b.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-action/lugaru-demo/lugaru-demo-1.0b.ebuild,v 1.1 2009/08/24 10:16:49 nyhm Exp $ |
51 | |
52 | inherit eutils games |
53 | |
54 | DESCRIPTION="3D arcade with unique fighting system and antropomorphic characters" |
55 | HOMEPAGE="http://www.wolfire.com/lugaru" |
56 | SRC_URI="http://cdn.wolfire.com/games/lugaru-linux-x86-${PV}.bin" |
57 | |
58 | LICENSE="as-is" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~x86" |
61 | IUSE="" |
62 | RESTRICT="mirror strip" |
63 | |
64 | DEPEND="app-arch/unzip" |
65 | RDEPEND="sys-libs/glibc |
66 | amd64? ( app-emulation/emul-linux-x86-xlibs ) |
67 | x86? ( |
68 | x11-libs/libX11 |
69 | x11-libs/libXext |
70 | )" |
71 | |
72 | S=${WORKDIR}/data |
73 | |
74 | src_unpack() { |
75 | tail -c +193061 "${DISTDIR}"/${A} > ${A}.zip |
76 | unpack ./${A}.zip |
77 | rm -f ${A}.zip |
78 | |
79 | # Duplicate file and can't be handled by portage, bug #14983 |
80 | rm -f "${S}/Data/Textures/Quit.png " |
81 | } |
82 | |
83 | src_install() { |
84 | local dir=${GAMES_PREFIX_OPT}/lugaru |
85 | |
86 | insinto "${dir}" |
87 | doins -r Data *.png *.txt || die "doins failed" |
88 | |
89 | exeinto "${dir}" |
90 | doexe lugaru lib*so* xdg-open || die "doexe failed" |
91 | games_make_wrapper lugaru ./lugaru "${dir}" "${dir}" |
92 | |
93 | doicon lugaru.png |
94 | make_desktop_entry lugaru Lugaru lugaru |
95 | |
96 | prepgamesdirs |
97 | } |