1 |
mgorny 14/06/25 17:18:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gorky17-demo-1.0.1.0.1-r1.ebuild |
5 |
Log: |
6 |
Support multilib dependencies aside to emul-linux-x86. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 games-strategy/gorky17-demo/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/gorky17-demo/ChangeLog?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/gorky17-demo/ChangeLog?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/gorky17-demo/ChangeLog?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/games-strategy/gorky17-demo/ChangeLog,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- ChangeLog 6 May 2014 16:03:49 -0000 1.8 |
24 |
+++ ChangeLog 25 Jun 2014 17:18:13 -0000 1.9 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for games-strategy/gorky17-demo |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/gorky17-demo/ChangeLog,v 1.8 2014/05/06 16:03:49 ulm Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/gorky17-demo/ChangeLog,v 1.9 2014/06/25 17:18:13 mgorny Exp $ |
30 |
+ |
31 |
+*gorky17-demo-1.0.1.0.1-r1 (25 Jun 2014) |
32 |
+ |
33 |
+ 25 Jun 2014; Michał Górny <mgorny@g.o> |
34 |
+ +gorky17-demo-1.0.1.0.1-r1.ebuild: |
35 |
+ Support multilib dependencies aside to emul-linux-x86. |
36 |
|
37 |
06 May 2014; Ulrich Müller <ulm@g.o> gorky17-demo-1.0.1.0.1.ebuild: |
38 |
Fix LICENSE, add mirror and bindist restrictions, bug 505766. |
39 |
@@ -38,4 +44,3 @@ |
40 |
+gorky17-demo-1.0.0.ebuild: |
41 |
Initial import. Ebuild by Paul Bredbury <brebs@××××.com> and modified by me. |
42 |
Closing bug #135958. |
43 |
- |
44 |
|
45 |
|
46 |
|
47 |
1.1 games-strategy/gorky17-demo/gorky17-demo-1.0.1.0.1-r1.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/gorky17-demo/gorky17-demo-1.0.1.0.1-r1.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/gorky17-demo/gorky17-demo-1.0.1.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: gorky17-demo-1.0.1.0.1-r1.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2014 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/games-strategy/gorky17-demo/gorky17-demo-1.0.1.0.1-r1.ebuild,v 1.1 2014/06/25 17:18:13 mgorny Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
inherit eutils unpacker versionator games |
61 |
|
62 |
MY_PN="gorky17" |
63 |
MY_PV=$(replace_version_separator 2 '-') |
64 |
|
65 |
DESCRIPTION="Horror conspiracy game mixing elements of strategy and role-playing" |
66 |
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=gorky17" |
67 |
SRC_URI="http://demofiles.linuxgamepublishing.com/${MY_PN}/${MY_PN}_demo.run |
68 |
http://updatefiles.linuxgamepublishing.com/gorky17-demo/${PN}-${MY_PV}-x86.run" |
69 |
|
70 |
LICENSE="all-rights-reserved" |
71 |
SLOT="0" |
72 |
KEYWORDS="~x86" |
73 |
IUSE="" |
74 |
RESTRICT="mirror bindist strip" |
75 |
|
76 |
RDEPEND=" |
77 |
|| ( |
78 |
( |
79 |
media-libs/alsa-lib[abi_x86_32(-)] |
80 |
media-libs/libsdl[abi_x86_32(-)] |
81 |
sys-libs/zlib[abi_x86_32(-)] |
82 |
x11-libs/libX11[abi_x86_32(-)] |
83 |
x11-libs/libXau[abi_x86_32(-)] |
84 |
x11-libs/libXdmcp[abi_x86_32(-)] |
85 |
x11-libs/libXext[abi_x86_32(-)] |
86 |
) |
87 |
amd64? ( |
88 |
( |
89 |
app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
90 |
app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)] |
91 |
app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)] |
92 |
app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)] |
93 |
) |
94 |
) |
95 |
)" |
96 |
|
97 |
S=${WORKDIR} |
98 |
|
99 |
dir=${GAMES_PREFIX_OPT}/${PN} |
100 |
Ddir=${D}/${dir} |
101 |
|
102 |
QA_EXECSTACK="${dir:1}/gorky17_demo ${dir:1}/gorky17_demo.dynamic" |
103 |
|
104 |
src_unpack() { |
105 |
unpack_makeself ${MY_PN}_demo.run |
106 |
unpack ./data/data.tar.gz |
107 |
|
108 |
mkdir patch |
109 |
cd patch |
110 |
unpack_makeself ${PN}-${MY_PV}-x86.run |
111 |
cd "${S}" |
112 |
|
113 |
# Apply patch |
114 |
mv bin/Linux/x86/* . |
115 |
mv patch/*.sh . |
116 |
./patch/bin/Linux/x86/loki_patch patch/patch.dat . \ |
117 |
|| die "loki_patch failed" |
118 |
|
119 |
rm -r update.sh *patch.sh data lgp_* patch setup* bin |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
insinto "${dir}" |
124 |
doins -r * |
125 |
rm "${Ddir}"/${MY_PN}* |
126 |
|
127 |
exeinto "${dir}" |
128 |
doexe ${MY_PN}* |
129 |
|
130 |
games_make_wrapper ${PN} ./${MY_PN}_demo "${dir}" "${dir}" |
131 |
newicon icon.xpm ${PN}.xpm |
132 |
make_desktop_entry ${PN} "Gorky 17 (Demo)" ${PN} |
133 |
|
134 |
prepgamesdirs |
135 |
} |
136 |
|
137 |
pkg_postinst() { |
138 |
games_pkg_postinst |
139 |
|
140 |
elog "The instruction manual is available as:" |
141 |
elog " http://demofiles.linuxgamepublishing.com/gorky17/manual.pdf" |
142 |
echo |
143 |
} |