diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-01-09 21:52:51 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-01-09 21:52:51 +0000 |
commit | 5801bdb53ba8ebc5a81e22feedf1cb222eca2828 (patch) | |
tree | 8066e95461b7b47f2cdcb0774a85d230377c8c89 /games-action/d2x-rebirth | |
parent | Add games-action/d2x-rebirth to the Descent 2 mask. (diff) | |
download | historical-5801bdb53ba8ebc5a81e22feedf1cb222eca2828.tar.gz historical-5801bdb53ba8ebc5a81e22feedf1cb222eca2828.tar.bz2 historical-5801bdb53ba8ebc5a81e22feedf1cb222eca2828.zip |
Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug #137309.
Package-Manager: portage-2.1.2_rc4-r1
Diffstat (limited to 'games-action/d2x-rebirth')
-rw-r--r-- | games-action/d2x-rebirth/ChangeLog | 11 | ||||
-rw-r--r-- | games-action/d2x-rebirth/Manifest | 27 | ||||
-rw-r--r-- | games-action/d2x-rebirth/d2x-rebirth-0.50.ebuild | 115 | ||||
-rw-r--r-- | games-action/d2x-rebirth/files/digest-d2x-rebirth-0.50 | 6 | ||||
-rw-r--r-- | games-action/d2x-rebirth/metadata.xml | 5 |
5 files changed, 164 insertions, 0 deletions
diff --git a/games-action/d2x-rebirth/ChangeLog b/games-action/d2x-rebirth/ChangeLog new file mode 100644 index 000000000000..d007c78e50c6 --- /dev/null +++ b/games-action/d2x-rebirth/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for games-action/d2x-rebirth +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/d2x-rebirth/ChangeLog,v 1.1 2007/01/09 21:52:51 wolf31o2 Exp $ + +*d2x-rebirth-0.50 (09 Jan 2007) + + 09 Jan 2007; Chris Gianelloni <wolf31o2@gentoo.org> +metadata.xml, + +d2x-rebirth-0.50.ebuild: + Initial import. Ebuild by Paul Bredbury <brebs@sent.com>. Closing bug + #137309. + diff --git a/games-action/d2x-rebirth/Manifest b/games-action/d2x-rebirth/Manifest new file mode 100644 index 000000000000..2abda020d80e --- /dev/null +++ b/games-action/d2x-rebirth/Manifest @@ -0,0 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST d2x-rebirth_v0.50-src-20061025.tar.gz 2331334 RMD160 4b3338dd4a9c3531e2c804c540ae07c01e684eff SHA1 6ceeff5090ee9be0a04e03e10673b1b0e44d16be SHA256 988987b0793978c5a37acd0ebcc3e9b54614f1ef377daa92de416c1d1dffb9a7 +DIST dxx-rebirth_icons.zip 137392 RMD160 2e82d09ecd6e249aa7964221be3dc2647e31d505 SHA1 7228b659259aed6960760ee163dfa41ff2cf2740 SHA256 d38ba8730335b13d63ddf9119ad180e3f6c29e3f238baad87080cf60c4730efc +EBUILD d2x-rebirth-0.50.ebuild 2952 RMD160 796d7d87ad387ab9aa8203b5b1f6e6b1678f4021 SHA1 d43b09fcf6b497dab095a6fb10af84a89020d4c7 SHA256 e045427c12c4e0ed217f0ea5a4f5b512540f7d8c7c588d457e530cc65ca6d7c8 +MD5 6e110581cd55faad62e86c06958a49b4 d2x-rebirth-0.50.ebuild 2952 +RMD160 796d7d87ad387ab9aa8203b5b1f6e6b1678f4021 d2x-rebirth-0.50.ebuild 2952 +SHA256 e045427c12c4e0ed217f0ea5a4f5b512540f7d8c7c588d457e530cc65ca6d7c8 d2x-rebirth-0.50.ebuild 2952 +MISC ChangeLog 437 RMD160 c4780a01177161d25d6f5a68e2def7fae5c7f472 SHA1 2e3cc388cee65a790fb96dd3ae384b6a976741aa SHA256 aa57ba208fcdb07b3580cf602652802c03c8d049f1a2fc62a52a03ca93c66fbe +MD5 01a0fc986a48265378fb34f65066cc9d ChangeLog 437 +RMD160 c4780a01177161d25d6f5a68e2def7fae5c7f472 ChangeLog 437 +SHA256 aa57ba208fcdb07b3580cf602652802c03c8d049f1a2fc62a52a03ca93c66fbe ChangeLog 437 +MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 +MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 +SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata.xml 158 +MD5 5e93af210859f23ea52149e58ba3d0fc files/digest-d2x-rebirth-0.50 539 +RMD160 41c7eab1afd89f4a8564ef2c2ab48d4896237a47 files/digest-d2x-rebirth-0.50 539 +SHA256 7f14c38390d4a77c45d2467368b658c949a942ac4d488fd7a58201e5cce9e98a files/digest-d2x-rebirth-0.50 539 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.6 (GNU/Linux) + +iD8DBQFFpA65kT4lNIS36YERAk8oAJ9XfhwCPDqXZ7AyH2fSKD3RCsabOQCgtEus ++LsW2irisfRBtRKVwh3QYD4= +=pW6P +-----END PGP SIGNATURE----- diff --git a/games-action/d2x-rebirth/d2x-rebirth-0.50.ebuild b/games-action/d2x-rebirth/d2x-rebirth-0.50.ebuild new file mode 100644 index 000000000000..7a4b6a693818 --- /dev/null +++ b/games-action/d2x-rebirth/d2x-rebirth-0.50.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/d2x-rebirth/d2x-rebirth-0.50.ebuild,v 1.1 2007/01/09 21:52:51 wolf31o2 Exp $ + +inherit autotools eutils games + +# DV is the Descent version. Used because the d1x-rebirth ebuild is similar. +DV="2" +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 2 client" +HOMEPAGE="http://www.dxx-rebirth.de/" +SRC_URI="${SRC_STEM}/oss/src/${FILE_START}.tar.gz + ${SRC_STEM}/res/dxx-rebirth_icons.zip" +# These only apply to Descent 1 +# ${SRC_STEM}/res/d1x-rebirth_hires-briefings.zip +# ${SRC_STEM}/res/d1x-rebirth_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 mpu401" + +QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" + +UIRDEPEND="media-libs/alsa-lib + media-libs/libpng + >=media-libs/libsdl-1.2.9 + >=media-libs/sdl-image-1.2.3-r1 + >=dev-games/physfs-1.0.1 + virtual/glu + virtual/opengl + x11-libs/libX11 + x11-libs/libXext" +UIDEPEND="x11-proto/xf86dgaproto + x11-proto/xf86vidmodeproto + x11-proto/xproto" +# This game does not work with the demo data +RDEPEND="${UIRDEPEND} + games-action/descent2-data" +DEPEND="${UIRDEPEND} + ${UIDEPEND} + app-arch/unzip" + +S=${WORKDIR}/${PN} +dir=${GAMES_DATADIR}/${DVX} + +src_unpack() { + unpack ${A} + cd "${S}" + + # 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() { + eautoreconf || die "eautoreconf failed" + + # Configure options are specified in dxx-compile.txt + local opts + use x86 || opts="${opts} --disable-fastfileio" + if use debug ; then + opts="${opts} --enable-debug" + else + opts="${opts} --disable-debug --enable-release" + fi + + egamesconf \ + ${opts} \ + --with-sharepath="${dir}" \ + --with-opengl \ + || die "egamesconf failed" + + emake -j1 || die "emake 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" + + newgamesbin ${PN}-gl ${PN} || die "newgamesbin failed" + games_make_wrapper ${PN}-common "${PN} ${params}" + doicon "${WORKDIR}/${icon}" + make_desktop_entry ${PN}-common "Descent ${DV} Rebirth" "${icon}" + + dodoc AUTHORS ChangeLog COPYING dxx-changelog dxx-readme.txt \ + NEWS README "${WORKDIR}"/*.txt + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + + elog "To play the game with common options, run: ${PN}-common" + echo +} diff --git a/games-action/d2x-rebirth/files/digest-d2x-rebirth-0.50 b/games-action/d2x-rebirth/files/digest-d2x-rebirth-0.50 new file mode 100644 index 000000000000..d6a7f35dcd37 --- /dev/null +++ b/games-action/d2x-rebirth/files/digest-d2x-rebirth-0.50 @@ -0,0 +1,6 @@ +MD5 6e1688390d4987cf726540502baaabfc d2x-rebirth_v0.50-src-20061025.tar.gz 2331334 +RMD160 4b3338dd4a9c3531e2c804c540ae07c01e684eff d2x-rebirth_v0.50-src-20061025.tar.gz 2331334 +SHA256 988987b0793978c5a37acd0ebcc3e9b54614f1ef377daa92de416c1d1dffb9a7 d2x-rebirth_v0.50-src-20061025.tar.gz 2331334 +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/d2x-rebirth/metadata.xml b/games-action/d2x-rebirth/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-action/d2x-rebirth/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |