Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-puzzle/osmos/
Date: Sun, 27 Feb 2011 21:34:27
Message-Id: 568a567c90324eeeb0b0371a639f3fc8be1753ff.winterheart@gentoo
1 commit: 568a567c90324eeeb0b0371a639f3fc8be1753ff
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sun Feb 27 21:33:55 2011 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sun Feb 27 21:33:55 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=568a567c
7
8 [games-puzzle/osmos] New version 1.6.1, removing old.
9 Font glitch is now fixed.
10
11 (Portage version: 2.1.9.25/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
12
13 ---
14 .../{osmos-1.6.0.ebuild => osmos-1.6.1.ebuild} | 18 +++++-------------
15 1 files changed, 5 insertions(+), 13 deletions(-)
16
17 diff --git a/games-puzzle/osmos/osmos-1.6.0.ebuild b/games-puzzle/osmos/osmos-1.6.1.ebuild
18 similarity index 66%
19 rename from games-puzzle/osmos/osmos-1.6.0.ebuild
20 rename to games-puzzle/osmos/osmos-1.6.1.ebuild
21 index b6c252b..774e0e0 100644
22 --- a/games-puzzle/osmos/osmos-1.6.0.ebuild
23 +++ b/games-puzzle/osmos/osmos-1.6.1.ebuild
24 @@ -2,7 +2,7 @@
25 # Distributed under the terms of the GNU General Public License v2
26 # $Header: $
27
28 -EAPI=3
29 +EAPI=2
30
31 inherit eutils games
32
33 @@ -11,13 +11,13 @@ MY_P="${MY_PN}_${PV}"
34
35 DESCRIPTION="Play as a single-celled organism absorbing others"
36 HOMEPAGE="http://www.hemispheregames.com/osmos/"
37 -SRC_URI="http://www.hemispheregames.com/blog/wp-content/uploads/2010/04/${MY_P}.tar.gz"
38 +SRC_URI="${MY_P}.tar.gz"
39
40 LICENSE="OSMOS"
41 SLOT="0"
42 KEYWORDS="-* ~amd64 ~x86"
43 IUSE=""
44 -RESTRICT="mirror strip"
45 +RESTRICT="fetch strip"
46 PROPERTIES="interactive"
47
48 RDEPEND="virtual/opengl
49 @@ -33,16 +33,8 @@ S=${WORKDIR}/${MY_PN}
50
51 GAMES_CHECK_LICENSE="yes"
52
53 -src_prepare() {
54 - # Fix for font error
55 - # See http://www.hemispheregames.com/forum/viewtopic.php?f=8&t=498&start=0
56 - # Thanks to Martin von Gagern for proposed way and research!
57 - echo -n $'\x5d\x19\xc3\x5c' | \
58 - dd of=Fonts/FortuneCity.ttf bs=1 conv=notrunc seek=128 \
59 - || die "Binary patching failed"
60 - echo -n $'\x80\x77' | \
61 - dd of=Fonts/FortuneCity.ttf bs=1 conv=notrunc seek=138 \
62 - || die "Binary patching failed"
63 +pkg_nofetch() {
64 + einfo "Please download ${MY_P}.tar.gz and place it into ${DESTDIR}"
65 }
66
67 src_install() {