From: Chris Gianelloni Date: Tue, 9 Jan 2007 17:25:00 +0000 (+0000) Subject: Initial import. Original ebuild by Paul Bredbury and edited by... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cfbdaf2cdcd91bf81d487c58a9bfc160c0059d8a;p=gentoo.git Initial import. Original ebuild by Paul Bredbury and edited by me. Closing bug #154590. Package-Manager: portage-2.1.2_rc4-r1 --- diff --git a/games-action/d1x-rebirth/ChangeLog b/games-action/d1x-rebirth/ChangeLog new file mode 100644 index 000000000000..335dba9300c0 --- /dev/null +++ b/games-action/d1x-rebirth/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-action/d1x-rebirth +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/ChangeLog,v 1.1 2007/01/09 17:25:00 wolf31o2 Exp $ + +*d1x-rebirth-0.50 (09 Jan 2007) + + 09 Jan 2007; Chris Gianelloni +metadata.xml, + +d1x-rebirth-0.50.ebuild: + Initial import. Original ebuild by Paul Bredbury and edited + by me. Closing bug #154590. + diff --git a/games-action/d1x-rebirth/Manifest b/games-action/d1x-rebirth/Manifest new file mode 100644 index 000000000000..c3f9eef58fe8 --- /dev/null +++ b/games-action/d1x-rebirth/Manifest @@ -0,0 +1,29 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST d1x-rebirth_hires-briefings.zip 893529 RMD160 1aeff3e8ffd2f17383a2bbdd439a555611624fe8 SHA1 3f68db3f07a7b1bd5ad8f0e5717a880021adaa62 SHA256 497043a5b11dcfd7f192ade3b20ec68fa15394b284d3a02aadf640dbe551b1d8 +DIST d1x-rebirth_hires-fonts.zip 29503 RMD160 c2dbaf36d2732641cc96403e1588e4fcc1360e7a SHA1 9a26d06352bc4748e3a2e5ec0a7f366977a4e37d SHA256 59d8f8c11861cfbc48239ed55c678aee92f3df2a922a3648f51d8fe8047f4aa4 +DIST d1x-rebirth_v0.50-src-20061025.tar.gz 1336642 RMD160 0e85d20e09ee4ff7359b6ae9950026e8aaf5818b SHA1 a8c21987c2c1599403f7c6377d4585a0beb62e2f SHA256 742249021633fed2b07ef2d5ab040a66ae72cc5b122330521578bc2952895078 +DIST dxx-rebirth_icons.zip 137392 RMD160 2e82d09ecd6e249aa7964221be3dc2647e31d505 SHA1 7228b659259aed6960760ee163dfa41ff2cf2740 SHA256 d38ba8730335b13d63ddf9119ad180e3f6c29e3f238baad87080cf60c4730efc +EBUILD d1x-rebirth-0.50.ebuild 3459 RMD160 ed64721a5e655171513a1efbb3358ff990e11b1e SHA1 a114c68a6082963ff845106bbdb86b240692a5d6 SHA256 4259cbac5cdfe4d91c57017713339c449099c389b48041dd7f139b1cfee4d0fd +MD5 ab09b1b390c4b5986788d239b54f2e24 d1x-rebirth-0.50.ebuild 3459 +RMD160 ed64721a5e655171513a1efbb3358ff990e11b1e d1x-rebirth-0.50.ebuild 3459 +SHA256 4259cbac5cdfe4d91c57017713339c449099c389b48041dd7f139b1cfee4d0fd d1x-rebirth-0.50.ebuild 3459 +MISC ChangeLog 463 RMD160 20c2af779101fb53b14de7fb50de4a1a6fda205e SHA1 30ec638a27b432b5534533f1727ce7253524b2e4 SHA256 b209d404f9a9c6c1e0046c99945192a01acac7cf7839567a52e4ba14f3a1996c +MD5 26cccea5e9af0355893d2b853f64915e ChangeLog 463 +RMD160 20c2af779101fb53b14de7fb50de4a1a6fda205e ChangeLog 463 +SHA256 b209d404f9a9c6c1e0046c99945192a01acac7cf7839567a52e4ba14f3a1996c ChangeLog 463 +MISC metadata.xml 498 RMD160 fd4ccf86d4c198335dc55bc67e47beb8dd581e30 SHA1 f5c7d52e7eeecac15d92335dff514d4e37912b46 SHA256 71671d36c4865c9594ace8fca76f7df46f87a05f7abfa8475dced6106e58a986 +MD5 7795e7f1e2f4681662264650f6aca511 metadata.xml 498 +RMD160 fd4ccf86d4c198335dc55bc67e47beb8dd581e30 metadata.xml 498 +SHA256 71671d36c4865c9594ace8fca76f7df46f87a05f7abfa8475dced6106e58a986 metadata.xml 498 +MD5 fc6eaca1e374f3fbe0883e541b59786c files/digest-d1x-rebirth-0.50 1072 +RMD160 27537354b7d320fa4066818b5b686e5929295aa0 files/digest-d1x-rebirth-0.50 1072 +SHA256 eb4fb705086e04002f97ca863984d1d9a9307109b500ac0edb502ed0f710eb4f files/digest-d1x-rebirth-0.50 1072 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFo8/ykT4lNIS36YERAp46AKCg8f6JNaCjKqNxBGNvCJtHZe2h7QCeIjBM ++AmGY0sWJHpLy8D88X5Vd3s= +=G3U+ +-----END PGP SIGNATURE----- diff --git a/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild b/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild new file mode 100644 index 000000000000..4e4c103e9f24 --- /dev/null +++ b/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild,v 1.1 2007/01/09 17:25:00 wolf31o2 Exp $ + +inherit autotools eutils games + +# DV is the Descent version. Used because the d2x-rebirth ebuild is similar. +DV="1" +DATE="20061025" +DVX=d${DV}x +FILE_START="${PN}_v${PV}-src-${DATE}" +SRC_STEM="http://www.dxx-rebirth.de/download/dxx" + +DESCRIPTION="Descent Rebirth - enhanced Descent 1 client" +HOMEPAGE="http://www.dxx-rebirth.de/" +SRC_URI="${SRC_STEM}/oss/src/${FILE_START}.tar.gz + ${SRC_STEM}/res/dxx-rebirth_icons.zip + ${SRC_STEM}/res/${PN}_hires-briefings.zip + ${SRC_STEM}/res/${PN}_hires-fonts.zip" + +# Licence info at bug #117344. +# All 3 licences apply. +LICENSE="D1X + GPL-2 + as-is" +SLOT="0" +# Should work on amd64 also +KEYWORDS="~x86" +IUSE="awe32 debug demo mpu401 opengl mixer" + +QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" + +UIRDEPEND="media-libs/alsa-lib + >=media-libs/libsdl-1.2.9 + >=media-libs/sdl-image-1.2.3-r1 + mixer? ( media-libs/sdl-mixer ) + >=dev-games/physfs-1.0.1 + opengl? ( + virtual/glu + virtual/opengl ) + x11-libs/libX11" +UIDEPEND="x11-proto/xf86dgaproto + x11-proto/xf86vidmodeproto + x11-proto/xproto" +# There is no ebuild for descent1-data +RDEPEND="${UIRDEPEND} + demo? ( games-action/descent1-demodata )" +DEPEND="${UIRDEPEND} + ${UIDEPEND} + dev-util/scons + app-arch/unzip" + +S=${WORKDIR}/${PN} +dir=${GAMES_DATADIR}/${DVX} + +src_unpack() { + unpack ${A} + cd "${S}" + + # "sdl_only=1" does not compile otherwise: + # arch/sdl/clipboard.o: In function `getClipboardText': + # clipboard.c:(.text+0x89): undefined reference to `XGetSelectionOwner' + sed -i \ + -e "s:'SDL':'SDL', 'X11':" \ + -e "s:-O2:${CXXFLAGS}:" \ + SConstruct || die "sed SConstruct failed" + + # Midi music - awe32 for most SoundBlaster cards + if use awe32 ; then + sed -i \ + -e "s://#define WANT_AWE32 1:#define WANT_AWE32 1:" \ + arch/linux/hmiplay.c || die "sed awe32 failed" + elif use mpu401 ; then + sed -i \ + -e "s://#define WANT_MPU401 1:#define WANT_MPU401 1:" \ + arch/linux/hmiplay.c || die "sed mpu401 failed" + fi +} + +src_compile() { + local opts + use debug && opts="${opts} debug=1" + use mixer && opts="${opts} sdlmixer=1" + use x86 || opts="${opts} no_asm=1" + use opengl || opts="${opts} sdl_only=1" + use demo && opts="${opts} shareware=1" + + # From "scons -h" + # sharepath must end with a slash. + scons \ + ${opts} \ + sharepath="${dir}/" \ + || die "scons failed" +} + +src_install() { + local icon="${PN}.xpm" + # Reasonable set of default options. + # Don't bother with ${DVX}.ini file. + local params="-gl_trilinear -gl_anisotropy 8.0 -gl_16bpp -gl_16bittextures -gl_reticle 2 -fullscreen -menu_gameres -nomovies -nocdrom" + + local exe=${PN}-sdl + use opengl && exe=${PN}-gl + newgamesbin ${exe} ${PN} || die "newgamesbin ${exe} failed" + games_make_wrapper ${PN}-common "${PN} ${params}" + doicon "${WORKDIR}/${icon}" + make_desktop_entry ${PN}-common "Descent ${DV} Rebirth" "${icon}" + + insinto "${dir}" + doins "${WORKDIR}"/*.{pcx,fnt} || die + + dodoc *.txt + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + if use demo ; then + elog "${PN} has been compiled specifically for the demo data." + else + elog "Place the DOS data files in ${dir}" + ewarn "Re-emerge with the 'demo' USE flag if this error is shown:" + ewarn " Error: Not enough strings in text file" + fi + elog "To play the game with common options, run: ${PN}-common" + echo +} diff --git a/games-action/d1x-rebirth/files/digest-d1x-rebirth-0.50 b/games-action/d1x-rebirth/files/digest-d1x-rebirth-0.50 new file mode 100644 index 000000000000..d1114325d84b --- /dev/null +++ b/games-action/d1x-rebirth/files/digest-d1x-rebirth-0.50 @@ -0,0 +1,12 @@ +MD5 2c30abc84691fbeb84a49db9a14df52f d1x-rebirth_hires-briefings.zip 893529 +RMD160 1aeff3e8ffd2f17383a2bbdd439a555611624fe8 d1x-rebirth_hires-briefings.zip 893529 +SHA256 497043a5b11dcfd7f192ade3b20ec68fa15394b284d3a02aadf640dbe551b1d8 d1x-rebirth_hires-briefings.zip 893529 +MD5 c13bb6641afbab73979a107fed51b3fd d1x-rebirth_hires-fonts.zip 29503 +RMD160 c2dbaf36d2732641cc96403e1588e4fcc1360e7a d1x-rebirth_hires-fonts.zip 29503 +SHA256 59d8f8c11861cfbc48239ed55c678aee92f3df2a922a3648f51d8fe8047f4aa4 d1x-rebirth_hires-fonts.zip 29503 +MD5 d3a1659db68b7a05c08873d694ca79a3 d1x-rebirth_v0.50-src-20061025.tar.gz 1336642 +RMD160 0e85d20e09ee4ff7359b6ae9950026e8aaf5818b d1x-rebirth_v0.50-src-20061025.tar.gz 1336642 +SHA256 742249021633fed2b07ef2d5ab040a66ae72cc5b122330521578bc2952895078 d1x-rebirth_v0.50-src-20061025.tar.gz 1336642 +MD5 3a7aba641ef294b798b4f26e885adfd0 dxx-rebirth_icons.zip 137392 +RMD160 2e82d09ecd6e249aa7964221be3dc2647e31d505 dxx-rebirth_icons.zip 137392 +SHA256 d38ba8730335b13d63ddf9119ad180e3f6c29e3f238baad87080cf60c4730efc dxx-rebirth_icons.zip 137392 diff --git a/games-action/d1x-rebirth/metadata.xml b/games-action/d1x-rebirth/metadata.xml new file mode 100644 index 000000000000..f5cd1c8895c7 --- /dev/null +++ b/games-action/d1x-rebirth/metadata.xml @@ -0,0 +1,11 @@ + + + +games + +Descent 1 is a classic first-person shooter released in 1995 by Interplay +and Parallax. It was one of the first games with true 3-dimensional +graphics, movement, and light sourcing. D1X-Rebirth is a modification of the +Descent 1 source that was released by Parallax and is based on the D1X source. + +