ChangeLog

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

29 Feb 2008; Carsten Lohrke ChangeLog:
Remove icon extension from desktop entry to match Icon Theme Specification.

19 Sep 2006; Chris Gianelloni
majesty-demo-1.0.0.ebuild:
Adding strip to RESTRICT for bug #137819.

11 Sep 2006; Daniel Gryniewicz
majesty-demo-1.0.0.ebuild:
Marked stable on amd64 for bug #146886

09 Sep 2006; majesty-demo-1.0.0.ebuild:
Stable on x86, bug #146886.

09 Sep 2006; majesty-demo-1.0.0.ebuild:
Stable on ppc wrt bug 146886

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

20 Jan 2006; Chris Gianelloni
majesty-demo-1.0.0.ebuild:
Added modular X dependencies.

21 Oct 2005; Chris Gianelloni
majesty-demo-1.0.0.ebuild:
Added addition dir variable to games_make_wrapper for bug #109793.

09 May 2005; David Holm majesty-demo-1.0.0.ebuild:
Added to ~ppc.

*majesty-demo-1.0.0 (22 Feb 2005)

22 Feb 2005; Chris Gianelloni +metadata.xml,
+majesty-demo-1.0.0.ebuild:
Initial import. Ebuild by me. Closes bug #70914.

Manifest

DIST majesty_demo.run 43170241 RMD160 a792b420c789ae06b7822f935e5c082b1945c38d SHA1 b17d7eb5dac703cf8a7c3a6a5cf9c55cfd8d7e1c SHA256 3d3d1479dde2412804b8c5daa865584d77d5d60b861f2a042255e825decfbffe
EBUILD majesty-demo-1.0.0.ebuild 1541 RMD160 aa4e6b51dc7499d57a2597d4861b544034758a53 SHA1 cd3241105eab23c8d182dba80c461b95e53524dc SHA256 09786c10645e3703c216af34d71f9642c657750e0bfea1397e3cb9251891d355
MISC ChangeLog 1465 RMD160 2a86336fff878de96d24a22b2fbdcf99b5af4e78 SHA1 aa2ddd0afe6c24bb7fd90f9238717268527f8099 SHA256 645ff62b8314c7187a832c7fab5d2e9690555574b924339c172ac50a3995663e
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

majesty-demo-1.0.0.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/majesty-demo/majesty-demo-1.0.0.ebuild,v 1.11 2008/02/29 19:44:40 carlo Exp $

inherit eutils games

DESCRIPTION="Control your own kingdom in this simulation."
HOMEPAGE="http://www.linuxgamepublishing.com/info.php?id=8&"
SRC_URI="http://demos.linuxgamepublishing.com/majesty/majesty_demo.run"

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

RDEPEND="sys-libs/glibc
x86? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp )
ppc? (
x11-libs/libX11
x11-libs/libXext
x11-libs/libXau
x11-libs/libXdmcp )
amd64? (
app-emulation/emul-linux-x86-baselibs
app-emulation/emul-linux-x86-xlibs )"

S=${WORKDIR}

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

src_unpack() {
unpack_makeself
}

src_install() {
dodoc README* || die "dodoc"
insinto "${dir}"
exeinto "${dir}"
doins -r data quests || die "doins data"
doins majesty.{bmp,xpm} majestysite.url || die "doins"
cp "${S}"/majesty.xpm "${S}"/majesty-demo.xpm || die "copy icon"
doicon majesty-demo.xpm || die "doicon"
# I am only installing the static version for now
if use x86 || use amd64; then
doexe bin/Linux/x86/glibc-2.1/maj_demo || die "doexe"
elif use ppc; then
doexe bin/Linux/ppc/glibc-2.1/maj_demo || die "doexe"
fi
games_make_wrapper maj_demo ./maj_demo "${dir}" "${dir}"
prepgamesdirs
make_desktop_entry maj_demo "Majesty (Demo)" ${PN}
}

metadata.xml




games