ChangeLog

# ChangeLog for games-strategy/coldwar-demo
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/ChangeLog,v 1.5 2008/02/29 19:43:01 carlo Exp $

29 Feb 2008; Carsten Lohrke coldwar-demo-1-r1.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.

*coldwar-demo-1-r1 (28 Sep 2006)

28 Sep 2006; Chris Gianelloni
-coldwar-demo-1.ebuild, +coldwar-demo-1-r1.ebuild:
Revision bump to remove fetch restriction. Updated ebuild by Paul Bredbury
. Closing bug #142016.

22 May 2006; Chris Gianelloni coldwar-demo-1.ebuild:
Demo->(Demo) for bug #133836.

20 Jan 2006; Chris Gianelloni coldwar-demo-1.ebuild:
Added modular X dependencies and fixing other dependencies.

*coldwar-demo-1 (22 Nov 2005)

22 Nov 2005; Chris Gianelloni +metadata.xml,
+coldwar-demo-1.ebuild:
Initial import. Ebuild by Paul Bredbury and modified by me.
Closing bug #111884.

Manifest

DIST coldwar-demo.run 354684447 RMD160 e43e7c7b30d53599a2a309c9a9bf6f7b8994262f SHA1 a0caeebe60858272ecfc8ecf6bc33e39b25dd431 SHA256 769ca25da2f095e85e594ee09343ea20bf353e75f3bce362b937c2fae04c52aa
EBUILD coldwar-demo-1-r1.ebuild 1816 RMD160 e1bc5c0aea9c937fea07d665635f04c62ec77107 SHA1 d0b956c749eb279b71912dd2b8df713fec2ea176 SHA256 f0ace41e542d36bd82d2cf1f66eebb55e0ce3d2d71ba4b486ae0f479f8f24ff8
MISC ChangeLog 1119 RMD160 91a9418364e98d27d13c4b093d37db007f47fea7 SHA1 79c356c2bc89fbe010daf29fab652270e8e298e3 SHA256 d2ba073a023ae8b964d04109764dc6536db0f59e84f67d27c919c3e59efe0a82
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

coldwar-demo-1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/coldwar-demo/coldwar-demo-1-r1.ebuild,v 1.2 2008/02/29 19:43:01 carlo Exp $

inherit eutils games

MY_PN=${PN%-demo}

DESCRIPTION="Third-person sneaker like Splinter Cell"
HOMEPAGE="http://linuxgamepublishing.com/info.php?id=coldwar"
SRC_URI="http://demofiles.linuxgamepublishing.com/coldwar/coldwar-demo.run"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="strip"

RDEPEND="virtual/opengl
x86? (
media-libs/libogg
media-libs/openal
media-libs/libvorbis
media-libs/smpeg
dev-libs/glib
x11-libs/libX11
x11-libs/libXext )
amd64? (
app-emulation/emul-linux-x86-sdl
app-emulation/emul-linux-x86-xlibs
app-emulation/emul-linux-x86-medialibs )"
DEPEND=""

S=${WORKDIR}
dir=${GAMES_PREFIX_OPT}/${PN}

QA_TEXTRELS="${dir:1}/lib/libSDL-1.2.so.0.7.2
${dir:1}/lib/libSDL-1.2.so.0"

src_unpack() {
unpack_makeself
unpack ./data/data.tar.gz

mv bin/Linux/x86/${MY_PN}_demo .
mv bin/Linux/x86/bin/meng bin

rm -r bin/{Linux,*BSD} lgp_* setup.* data/data.tar.gz
}

src_install() {
insinto "${dir}"
doins -r * || die "doins -r * failed"
rm "${D}/${dir}"/{${MY_PN}_demo,bin/{launcher,meng}}

exeinto "${dir}"
doexe ${MY_PN}_demo || die "doexe ${MY_PN}_demo failed"
exeinto "${dir}/bin"
doexe bin/{launcher,meng} || die "doexe bin failed"

games_make_wrapper ${PN} ./${MY_PN}_demo "${dir}" "${dir}"
newicon icon.xpm ${PN}.xpm || die "newicon failed"
make_desktop_entry ${PN} "Cold War (Demo)" ${PN}

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
elog "The instruction manual is available as:"
elog " http://demofiles.linuxgamepublishing.com/coldwar/manual.pdf"
echo
einfo "To play the game, run: ${PN}"
}

metadata.xml




games