Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-strategy/coldwar-demo: coldwar-demo-1-r2.ebuild ChangeLog
Date: Wed, 25 Jun 2014 17:26:04
Message-Id: 20140625172546.8A70E2004F@flycatcher.gentoo.org
1 mgorny 14/06/25 17:25:46
2
3 Modified: ChangeLog
4 Added: coldwar-demo-1-r2.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/coldwar-demo/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/ChangeLog?rev=1.9&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/ChangeLog?rev=1.9&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/ChangeLog?r1=1.8&r2=1.9
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v
20 retrieving revision 1.8
21 retrieving revision 1.9
22 diff -u -r1.8 -r1.9
23 --- ChangeLog 7 May 2014 15:41:03 -0000 1.8
24 +++ ChangeLog 25 Jun 2014 17:25:46 -0000 1.9
25 @@ -1,6 +1,11 @@
26 # ChangeLog for games-strategy/coldwar-demo
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v 1.8 2014/05/07 15:41:03 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v 1.9 2014/06/25 17:25:46 mgorny Exp $
30 +
31 +*coldwar-demo-1-r2 (25 Jun 2014)
32 +
33 + 25 Jun 2014; Michał Górny <mgorny@g.o> +coldwar-demo-1-r2.ebuild:
34 + Support multilib dependencies aside to emul-linux-x86.
35
36 07 May 2014; Ulrich Müller <ulm@g.o> coldwar-demo-1-r1.ebuild:
37 Fix LICENSE, add mirror and bindist restrictions, bug 505752.
38 @@ -33,4 +38,3 @@
39 +coldwar-demo-1.ebuild:
40 Initial import. Ebuild by Paul Bredbury <brebs@××××.com> and modified by me.
41 Closing bug #111884.
42 -
43
44
45
46 1.1 games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild?rev=1.1&content-type=text/plain
50
51 Index: coldwar-demo-1-r2.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r2.ebuild,v 1.1 2014/06/25 17:25:46 mgorny Exp $
56
57 EAPI=5
58
59 inherit eutils unpacker games
60
61 MY_PN=${PN%-demo}
62
63 DESCRIPTION="Third-person sneaker like Splinter Cell"
64 HOMEPAGE="http://linuxgamepublishing.com/info.php?id=coldwar"
65 SRC_URI="http://demofiles.linuxgamepublishing.com/coldwar/coldwar-demo.run"
66
67 LICENSE="all-rights-reserved"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86"
70 IUSE=""
71 RESTRICT="mirror bindist strip"
72
73 RDEPEND="
74 || (
75 (
76 dev-libs/glib[abi_x86_32(-)]
77 media-libs/libogg[abi_x86_32(-)]
78 media-libs/libvorbis[abi_x86_32(-)]
79 media-libs/openal[abi_x86_32(-)]
80 media-libs/smpeg[abi_x86_32(-)]
81 virtual/opengl[abi_x86_32(-)]
82 x11-libs/libX11[abi_x86_32(-)]
83 x11-libs/libXext[abi_x86_32(-)]
84 )
85 amd64? (
86 (
87 app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
88 app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
89 app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
90 app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
91 app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
92 )
93 )
94 )"
95 DEPEND=""
96
97 S=${WORKDIR}
98 dir=${GAMES_PREFIX_OPT}/${PN}
99
100 QA_PREBUILT="${dir:1}/lib/*
101 ${dir:1}/bin/meng"
102
103 src_unpack() {
104 unpack_makeself
105 unpack ./data/data.tar.gz
106
107 mv bin/Linux/x86/${MY_PN}_demo .
108 mv bin/Linux/x86/bin/meng bin
109
110 rm -r bin/{Linux,*BSD} lgp_* setup.* data/data.tar.gz
111 }
112
113 src_install() {
114 insinto "${dir}"
115 doins -r *
116 rm "${D}/${dir}"/{${MY_PN}_demo,bin/{launcher,meng}}
117
118 exeinto "${dir}"
119 doexe ${MY_PN}_demo
120 exeinto "${dir}/bin"
121 doexe bin/{launcher,meng}
122
123 games_make_wrapper ${PN} ./${MY_PN}_demo "${dir}" "${dir}"
124 newicon icon.xpm ${PN}.xpm
125 make_desktop_entry ${PN} "Cold War (Demo)" ${PN}
126
127 prepgamesdirs
128 }
129
130 pkg_postinst() {
131 games_pkg_postinst
132 elog "The instruction manual is available as:"
133 elog " http://demofiles.linuxgamepublishing.com/coldwar/manual.pdf"
134 echo
135 einfo "To play the game, run: ${PN}"
136 }