ChangeLog

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

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

15 Sep 2007; Chris Gianelloni
-x2-demo-1.4.03.ebuild:
Cleaning out the older ebuild since it won't work properly, anyway, and
upstream sucks by not versioning their downloads.

*x2-demo-1.4.05 (15 Sep 2007)

15 Sep 2007; Chris Gianelloni
+x2-demo-1.4.05.ebuild:
Version bump to 1.4.05 and closing bug #181265.

*x2-demo-1.4.03 (12 Dec 2006)

12 Dec 2006; Chris Gianelloni
-x2-demo-1.4.01.ebuild, +x2-demo-1.4.03.ebuild:
Version bump. Unfortunately, upstream sucks and doesn't bother putting
versions in their packaging. Because of this, we aren't mirroring this on
our mirrors. Closing bug #157294.

06 Dec 2006; Chris Gianelloni x2-demo-1.4.01.ebuild:
Remove old virtual/x11 dependency.

*x2-demo-1.4.01 (18 May 2006)

18 May 2006; Chris Gianelloni +metadata.xml,
+x2-demo-1.4.01.ebuild:
Initial import. Ebuild by Paul Bredbury and modified by me.
Closing bug #132286.

Manifest

DIST x2_demo.run 188272758 RMD160 2aca85cdede12bbb7a75d61c93dcf447344913cf SHA1 0ff1986b98015c1c3baea2b23feff346dfa9adab SHA256 185590eb67c56e862d57f97761276e37a5f3bb2a312c8eb7ab17c094a93a0859
EBUILD x2-demo-1.4.05.ebuild 1593 RMD160 c59a08861370c94c91a1b78b3d232a1c371bdd86 SHA1 1618e7a83ee8a0243e81ae789e0a8628bc3a7de4 SHA256 a6e9393e4f6149c15a54989ccfefd33f656dc5cb77c5f438bdb4db19bc219218
MISC ChangeLog 1401 RMD160 c2cab3fb6c5c116fbcb6287c2cc9821a6f556770 SHA1 12d0dfb95b1f7141dfb5a0949d794e11cbd8c459 SHA256 6ab56e3ee26844832ce3df56999dd51b06ceb90421184e31c71720c42050102f
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

metadata.xml




games

x2-demo-1.4.05.ebuild

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

inherit eutils games

MY_PN=${PN/-/_}

DESCRIPTION="Open-ended space opera with trading, building & fighting"
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=x2"

# Patches are in http://updatefiles.linuxgamepublishing.com/x2-demo/
# Unversioned filename, grrr (is pre-patched).
SRC_URI="http://demofiles.linuxgamepublishing.com/x2/${MY_PN}.run"

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

RDEPEND="media-libs/alsa-lib
sys-libs/glibc
x86? (
media-libs/libsdl
media-libs/openal
sys-libs/zlib
x11-libs/gtk+
x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXi )
amd64? (
app-emulation/emul-linux-x86-gtklibs
app-emulation/emul-linux-x86-sdl )"

S=${WORKDIR}

dir=${GAMES_PREFIX_OPT}/${PN}
Ddir=${D}/${dir}

src_unpack() {
unpack_makeself ${MY_PN}.run
unpack ./data.tar.gz
rm -rf data.tar.gz lgp_* setup*

mv bin "${T}" || die "mv bin"
}

src_install() {
exeinto "${dir}"
doexe "${T}"/bin/Linux/x86/x2_demo{,.dynamic} || die "doexe x2"

insinto "${dir}"
doins -r * || die "doins -r"

keepdir "${dir}"/database

# We don't support the dynamic version, even though we install it.
games_make_wrapper ${PN} ./x2_demo "${dir}" "${dir}"
newicon icon.xpm ${PN}.xpm || die "newicon failed"
make_desktop_entry ${PN} "X2 - The Threat (Demo)" ${PN}

prepgamesdirs
}