Portage is a package management system used by Gentoo Linux
# ChangeLog for games-fps/nprquake-sdl
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/ChangeLog,v 1.8 2007/12/25 22:45:44 solar Exp $
25 Dec 2007;
- binary packages that are linked with libc.so.6 need to use sys-libs/glibc
in RDEPEND
02 Jul 2007; Tristan Heaven
+files/nprquake-sdl-1-exec-stack.patch, files/1-gentoo.patch,
nprquake-sdl-1-r1.ebuild:
remove need for an executable stack
12 Mar 2007; Marius Mauch
Replacing einfo with elog
26 Sep 2005; Chris Gianelloni
nprquake-sdl-1-r1.ebuild:
Making games last on inherit line.
*nprquake-sdl-1-r1 (28 Sep 2003)
28 Sep 2003; Mike Frysinger
Add ${GAMES_DATADIR}/quake-data to the pak file search path #29710.
*nprquake-sdl-1 (17 Jul 2003)
17 Jul 2003; Mike Frysinger
Initial import. Ebuild submitted by me.
AUX 1-gentoo.patch 2681 RMD160 5fda684a1ef65e7ff39ec1b09f0ab439a9561542 SHA1 cf6c6accd782b3ca6b80bc939e7cca18f5737914 SHA256 f98a084e455abb5577ecabfa70acff1f1d0dbf2322cc4a982de1f52773107340
AUX nprquake-sdl-1-exec-stack.patch 738 RMD160 038cae0a46a15512a6fddacae7168a9ae60903ce SHA1 b61e8a1217af34a94e9f2f02382ab4e5d190f783 SHA256 cc82f9cd428bdfa9cc63a539692321573a415c18b6a442665a219f915294c868
DIST NPRQuake-SDL.tar.gz 3393497 RMD160 dc0359a4504c7dc5b751bacf2442c926684626ab SHA1 1efd4df26c9f6e3e1dc7e0d9b14f6f08ae896fb7 SHA256 f4c88c1f31909d2e870d331d1f0badaa8ff787f56521cd2d449f279a62fb3e46
EBUILD nprquake-sdl-1-r1.ebuild 1969 RMD160 89e8365ccefb138e4c520fbbef1d8f3bd793f196 SHA1 3529b51dac6be852908e27e6e964da10c9f2f4d2 SHA256 c0c536ceb3d9a1f47a5e59a6c9f1deb7eb44da28b3fdb9b9f42704214d564562
MISC ChangeLog 1053 RMD160 37d70ed1845f0ad302df93229dd27805bc24f85c SHA1 4a8f7745b334b577a264d611a0efa7f34fc47fbd SHA256 8957a813adba14a1c79a13dcbf1d4cb10dde40826cfd61f3c0345fce789478be
MISC metadata.xml 791 RMD160 65ab8ee79685914dc959e723201d6218ce43f9f2 SHA1 de924251db2ada8bc3b12bcd344a0606654b0c9f SHA256 eeb2e808574f5573b21cf3a2231ec32e90654ef0ec91c0ef0646cc9e4eb9d0f0
Non-PhotoRealistic Rendering (npr) is often considered the task of taking a 3d
environment and displaying it as if it were (for example) hand-drawn. Stylization is
the main purpose of an npr, as is with most pencil-and-paper artists (imagine if
everyone who drew cartoons tried to make them look as realistic as possible -
boring!). NPRQuake attempts to capture the elements of different drawing techniques,
and immerse the viewer in worlds drawn entirely in the prescribed style. If you have
ever imagined running around inside a painting or a drawing, you are beginning to
get the idea.
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/nprquake-sdl/nprquake-sdl-1-r1.ebuild,v 1.14 2007/12/25 22:45:44 solar Exp $
inherit eutils games
DESCRIPTION="quake1 utilizing a hand drawn engine"
HOMEPAGE="http://www.cs.wisc.edu/graphics/Gallery/NPRQuake/ http://www.tempestgames.com/ryan/"
SRC_URI="http://www.tempestgames.com/ryan/downloads/NPRQuake-SDL.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="cdinstall"
DEPEND="media-libs/libsdl sys-libs/glibc"
RDEPEND="${DEPEND}
cdinstall? ( games-fps/quake1-data )"
S=${WORKDIR}/NPRQuake-SDL
src_unpack() {
unpack ${A}
cd "${S}"
epatch \
"${FILESDIR}"/${PV}-gentoo.patch \
"${FILESDIR}"/${P}-exec-stack.patch
}
src_compile() {
emake \
GENTOO_LIBDIR="$(games_get_libdir)/${PN}" \
GENTOO_DATADIR="${GAMES_DATADIR}/quake1" \
OPTFLAGS="${CFLAGS}" \
release \
|| die "emake failed"
}
src_install() {
dodoc README CHANGELOG
newgamesbin NPRQuakeSrc/release*/bin/* nprquake-sdl \
|| die "newgamesbin failed"
dodir "$(games_get_libdir)/${PN}"
cp -r build/* "${D}/$(games_get_libdir)/${PN}/" || die "cp failed"
cd "${D}/$(games_get_libdir)/${PN}"
mv dr_default.so default.so
ln -s sketch.so dr_default.so
prepgamesdirs
}
pkg_postinst() {
# same warning used in quake1 / quakeforge / nprquake-sdl
games_pkg_postinst
echo
elog "Before you can play, you must make sure"
elog "${PN} can find your Quake .pak files"
elog
elog "You have 2 choices to do this"
elog "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake1/id1"
elog "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake1/id1"
elog
elog "Example:"
elog "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/"
elog "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake1/id1/pak0.pak"
elog
elog "You only need pak0.pak to play the demo version,"
elog "the others are needed for registered version"
}