Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/heretic2: heretic2-1.06c.ebuild ChangeLog
Date: Mon, 05 May 2008 13:40:33
Message-Id: E1Jt0ve-0003OW-96@stork.gentoo.org
1 nyhm 08/05/05 13:40:30
2
3 Modified: heretic2-1.06c.ebuild ChangeLog
4 Log:
5 Add ~amd64 keyword
6 (Portage version: 2.1.5_rc6)
7
8 Revision Changes Path
9 1.4 games-action/heretic2/heretic2-1.06c.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild?rev=1.4&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild?rev=1.4&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild?r1=1.3&r2=1.4
14
15 Index: heretic2-1.06c.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild,v
18 retrieving revision 1.3
19 retrieving revision 1.4
20 diff -u -r1.3 -r1.4
21 --- heretic2-1.06c.ebuild 29 Feb 2008 18:04:06 -0000 1.3
22 +++ heretic2-1.06c.ebuild 5 May 2008 13:40:29 -0000 1.4
23 @@ -1,8 +1,8 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild,v 1.3 2008/02/29 18:04:06 carlo Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/heretic2-1.06c.ebuild,v 1.4 2008/05/05 13:40:29 nyhm Exp $
28
29 -inherit eutils games
30 +inherit eutils multilib games
31
32 DESCRIPTION="Third-person classic magical action-adventure game"
33 HOMEPAGE="http://lokigames.com/products/heretic2/
34 @@ -13,19 +13,18 @@
35
36 LICENSE="LOKI-EULA"
37 SLOT="0"
38 -KEYWORDS="~x86"
39 +KEYWORDS="~amd64 ~x86"
40 IUSE=""
41 RESTRICT="strip"
42 QA_TEXTRELS="${GAMES_PREFIX_OPT:1}/${PN}/base/*.so"
43
44 DEPEND="games-util/loki_patch"
45 -RDEPEND="virtual/opengl"
46 +RDEPEND="virtual/opengl
47 + amd64? ( app-emulation/emul-linux-x86-xlibs )"
48
49 S=${WORKDIR}
50
51 GAMES_CHECK_LICENSE="yes"
52 -dir=${GAMES_PREFIX_OPT}/${PN}
53 -Ddir=${D}/${dir}
54
55 src_unpack() {
56 cdrom_get_cds bin/x86/glibc-2.1/${PN}
57 @@ -39,6 +38,8 @@
58 }
59
60 src_install() {
61 + local dir=${GAMES_PREFIX_OPT}/${PN}
62 +
63 cd "${CDROM_ROOT}"
64
65 insinto "${dir}"
66 @@ -49,22 +50,25 @@
67
68 games_make_wrapper ${PN} ./${PN} "${dir}" "${dir}"
69 newicon icon.xpm ${PN}.xpm
70 - make_desktop_entry ${PN} "Heretic II" ${PN}
71 + make_desktop_entry ${PN} "Heretic II"
72
73 - cd "${Ddir}"
74 + cd "${D}/${dir}"
75 ln -s "${CDROM_ROOT}"/*.gz .
76 unpack ./*.gz
77 rm -f *.gz
78
79 local d
80 for d in "${S}"/* ; do
81 - cd "${d}"
82 - loki_patch patch.dat "${Ddir}" || die "loki_patch ${d} failed"
83 + pushd "${d}" > /dev/null
84 + loki_patch patch.dat "${D}/${dir}" || die "loki_patch ${d} failed"
85 + popd > /dev/null
86 done
87
88 - rmdir "${Ddir}"/gl_drivers
89 - sed -i '128i set gl_driver "/usr/lib/libGL.so"' \
90 - "${Ddir}"/base/default.cfg || die "sed failed"
91 + rmdir gl_drivers
92 + sed -i \
93 + "128i set gl_driver \"/usr/$(ABI=x86 get_libdir)/libGL.so\"" \
94 + base/default.cfg \
95 + || die "sed failed"
96
97 prepgamesdirs
98 }
99
100
101
102 1.4 games-action/heretic2/ChangeLog
103
104 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/heretic2/ChangeLog?rev=1.4&view=markup
105 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/heretic2/ChangeLog?rev=1.4&content-type=text/plain
106 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/heretic2/ChangeLog?r1=1.3&r2=1.4
107
108 Index: ChangeLog
109 ===================================================================
110 RCS file: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v
111 retrieving revision 1.3
112 retrieving revision 1.4
113 diff -u -r1.3 -r1.4
114 --- ChangeLog 29 Feb 2008 18:04:06 -0000 1.3
115 +++ ChangeLog 5 May 2008 13:40:29 -0000 1.4
116 @@ -1,6 +1,9 @@
117 # ChangeLog for games-action/heretic2
118 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
119 -# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v 1.3 2008/02/29 18:04:06 carlo Exp $
120 +# $Header: /var/cvsroot/gentoo-x86/games-action/heretic2/ChangeLog,v 1.4 2008/05/05 13:40:29 nyhm Exp $
121 +
122 + 05 May 2008; Tristan Heaven <nyhm@g.o> heretic2-1.06c.ebuild:
123 + Add ~amd64 keyword
124
125 29 Feb 2008; Carsten Lohrke <carlo@g.o> heretic2-1.06c.ebuild:
126 Remove icon extension from desktop entry to match Icon Theme Specification.
127
128
129
130 --
131 gentoo-commits@l.g.o mailing list