ChangeLog

# ChangeLog for games-fps/quake1-demodata
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-demodata/ChangeLog,v 1.7 2007/12/26 21:58:24 phreak Exp $

26 Dec 2007; Christian Heim Manifest:
Fixing digestentry.unused (quake1-demodata-1.06.ebuild.rej).

27 Jul 2007; Chris Gianelloni
quake1-demodata-1.06.ebuild:
Added a patch from Paul Bredbury to fix bug #159100.
Original idea by John R. Graham in the same
bug.

12 Mar 2007; Marius Mauch quake1-demodata-1.06.ebuild:
Replacing einfo with elog

27 Sep 2006; Tristan Heaven quake1-demodata-1.06.ebuild:
Add app-arch/unzip to DEPEND

27 Jun 2006; Chris Gianelloni
quake1-demodata-1.06.ebuild:
Added a patch from Paul Bredbury to make sure we don't
conflict with games-fps/quake1-data. Closing bug #137402.

19 Jun 2006; Chris Gianelloni
quake1-demodata-1.06.ebuild:
Added ~amd64 since this is just binary data.

*quake1-demodata-1.06 (19 Jun 2006)

19 Jun 2006; Chris Gianelloni +metadata.xml,
+quake1-demodata-1.06.ebuild:
Initial import. Ebuild by Paul Bredbury . Closing bug
#136157.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST quake106.zip 9094045 RMD160 93770833400903ee17f05835fbc2004c5aed52d1 SHA1 f8a1a509b094ccdbed3c54b96f7d9b351c0898f5 SHA256 ec6c9d34b1ae0252ac0066045b6611a7919c2a0d78a3a66d9387a8f597553239
EBUILD quake1-demodata-1.06.ebuild 1792 RMD160 77d2ee63cb50770bfd922c7b4e93ea31be670f5f SHA1 58eb79af66676a088764a463e2a6a47e4ed69781 SHA256 9f4db846c9b82f3b88b5e07cb39ea3c305709425f38a84ed262d94ad0b0effbb
MISC ChangeLog 1379 RMD160 028cde5cff1108632cd602237545732d73569ad5 SHA1 d8fd0a12e1db0921e47a1283083299af9482dc0d SHA256 f8f21166d201413df54b45e9e5e05367e65c83caa7ca4f58ff3f02cdc572de04
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHtMsXdz7hIScOURERAsrsAKCHw1qmqbz0/8KmRteVEGOc5GXB2gCg9yrL
CFTxo1JIYjEaAemzi9FzJuo=
=vgf0
-----END PGP SIGNATURE-----

metadata.xml




games

quake1-demodata-1.06.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/quake1-demodata/quake1-demodata-1.06.ebuild,v 1.7 2008/02/14 23:13:21 nyhm Exp $

inherit eutils versionator games

MY_PV=$(delete_all_version_separators)
MY_PN="quake"

DESCRIPTION="Demo data for Quake 1"
HOMEPAGE="http://en.wikipedia.org/wiki/Quake_I"
SRC_URI="mirror://idsoftware/${MY_PN}/${MY_PN}${MY_PV}.zip"

# See licinfo.txt
LICENSE="quake1-demodata"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="symlink"

RDEPEND=""
DEPEND="app-arch/lha
app-arch/unzip"

S=${WORKDIR}
dir=${GAMES_DATADIR}/${MY_PN}1

pkg_setup() {
games_pkg_setup

if has_version "games-fps/quake1-data" ; then
ewarn "games-fps/quake1-data already includes the demo data,"
ewarn "so this installation is not very useful."
echo
if use symlink ; then
eerror "The symlink for the demo data conflicts with the cdinstall data"
die "Remove the 'symlink' USE flag for this package"
fi
ebeep
epause
fi
}

src_unpack() {
unpack ${A}

# File rename for bug #159100
mv resource.{1,x}

lha xfq resource.x || die "lha failed"
# Don't want to conflict with the cdinstall files
mv id1 demo
}

src_install() {
insinto "${dir}"
doins -r demo || die "doins -r failed"

dodoc *.txt

if use symlink ; then
# Make the demo the default, so that people can just run it,
# without having to mess with command-line options.
cd "${D}/${dir}" && ln -sfn demo id1
fi

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst

elog "This is just the demo data."
elog "You will still need a Quake 1 client, to play, such as darkplaces."
echo

if use symlink ; then
elog "id1 has been symlinked to demo, for convenience, within:"
elog "${dir}"
echo
fi
}