From 5801bdb53ba8ebc5a81e22feedf1cb222eca2828 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 9 Jan 2007 21:52:51 +0000 Subject: [PATCH] Initial import. Ebuild by Paul Bredbury . Closing bug #137309. Package-Manager: portage-2.1.2_rc4-r1 --- games-action/d2x-rebirth/ChangeLog | 11 ++ games-action/d2x-rebirth/Manifest | 27 ++++ .../d2x-rebirth/d2x-rebirth-0.50.ebuild | 115 ++++++++++++++++++ .../d2x-rebirth/files/digest-d2x-rebirth-0.50 | 6 + games-action/d2x-rebirth/metadata.xml | 5 + games-action/d2x/Manifest | 31 +++-- 6 files changed, 183 insertions(+), 12 deletions(-) create mode 100644 games-action/d2x-rebirth/ChangeLog create mode 100644 games-action/d2x-rebirth/Manifest create mode 100644 games-action/d2x-rebirth/d2x-rebirth-0.50.ebuild create mode 100644 games-action/d2x-rebirth/files/digest-d2x-rebirth-0.50 create mode 100644 games-action/d2x-rebirth/metadata.xml 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 +metadata.xml, + +d2x-rebirth-0.50.ebuild: + Initial import. Ebuild by Paul Bredbury . 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 @@ + + + +games + diff --git a/games-action/d2x/Manifest b/games-action/d2x/Manifest index 0154772526ab..1d10952cbfde 100644 --- a/games-action/d2x/Manifest +++ b/games-action/d2x/Manifest @@ -10,26 +10,33 @@ MD5 db543dff86446ad7eec4b3d2f633106b files/d2x-0.2.5-dofpcalcs-macro.patch 584 RMD160 30b0226da26b07aac6bca853431dd83c7f1d3468 files/d2x-0.2.5-dofpcalcs-macro.patch 584 SHA256 4e6354b18218eb19699d2ba4698f50715056338ebad37b8ad16f17e27e543672 files/d2x-0.2.5-dofpcalcs-macro.patch 584 DIST d2shar10.tar.gz 4311406 -DIST d2x-0.2.5.tar.gz 2015249 +DIST d2x-0.2.5.tar.gz 2015249 RMD160 c27f16f52eaa7a3742cd7b50307bd747ab79c96f SHA1 b68c74fdc1f31a5ae32f6b27d7d3658e7e0dbdca SHA256 906d2f1703f68d27db6c20f98d9a85eea4b2e207faa536cf3362af9e5da0375b EBUILD d2x-0.2.5-r2.ebuild 2656 RMD160 737794240fc7552ec1c85cebebf97cc4cacaa613 SHA1 72d0c58ee90b904dbc9c15f5a8d0ea59854d7269 SHA256 f3bb7c4218b6b65877ff88fcfb1969823aa272ade3cc40ac42584686623d7eb6 MD5 9005642b5f693481289a4299bc88d7b3 d2x-0.2.5-r2.ebuild 2656 RMD160 737794240fc7552ec1c85cebebf97cc4cacaa613 d2x-0.2.5-r2.ebuild 2656 SHA256 f3bb7c4218b6b65877ff88fcfb1969823aa272ade3cc40ac42584686623d7eb6 d2x-0.2.5-r2.ebuild 2656 -MISC ChangeLog 2191 RMD160 df691072fa48eeaa2f3736fc8687ef9b3a5ee613 SHA1 6f54035fdd82aedec1c981adc904f5104a100a33 SHA256 f99da7c1f9622096426ea5c6c8592b4c4ab0b7d984d3aa68e7ad3fe50dc8eebd -MD5 e46967f3bc7755e5eec874855cc20030 ChangeLog 2191 -RMD160 df691072fa48eeaa2f3736fc8687ef9b3a5ee613 ChangeLog 2191 -SHA256 f99da7c1f9622096426ea5c6c8592b4c4ab0b7d984d3aa68e7ad3fe50dc8eebd ChangeLog 2191 +EBUILD d2x-0.2.5-r3.ebuild 2217 RMD160 ae07f7900b7c1e3131a8ff09e1e5c9aeb85f732c SHA1 6468eb4a930b48205ed1251361e38e98e42fe853 SHA256 2be550ae1b5df27e47516ff4b906cbb1c06153701c36ea3f1a64caf264e0ffdd +MD5 753cc39e6f288c27a1fca087821c140c d2x-0.2.5-r3.ebuild 2217 +RMD160 ae07f7900b7c1e3131a8ff09e1e5c9aeb85f732c d2x-0.2.5-r3.ebuild 2217 +SHA256 2be550ae1b5df27e47516ff4b906cbb1c06153701c36ea3f1a64caf264e0ffdd d2x-0.2.5-r3.ebuild 2217 +MISC ChangeLog 2349 RMD160 95476aba0e031457c617abceb78716df3dfbd87b SHA1 e4fd5268dfa5cc272303c2653e838008f3fa0b75 SHA256 57fe906779840273fd75440b337c0b40f3e5884501a61f3f26114e118e6fe5a0 +MD5 6edb590ef3497bb0d219772186d5eb63 ChangeLog 2349 +RMD160 95476aba0e031457c617abceb78716df3dfbd87b ChangeLog 2349 +SHA256 57fe906779840273fd75440b337c0b40f3e5884501a61f3f26114e118e6fe5a0 ChangeLog 2349 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 b298d324cbce31e8cc4779c765fabc4d files/digest-d2x-0.2.5-r2 123 -RMD160 016e20058e959d5ac76dd0fc008f8da86704a8d0 files/digest-d2x-0.2.5-r2 123 -SHA256 83642c33b5d2eec3a741547c01feef7e7028aa861c846c956a62f3b4cf5c581b files/digest-d2x-0.2.5-r2 123 +MD5 21c295974cdfe91a73660a974a9ef6fb files/digest-d2x-0.2.5-r2 293 +RMD160 2b0815ecdce288c5cb9549a5eb7a32137f733411 files/digest-d2x-0.2.5-r2 293 +SHA256 2ef75fad5d091b873c07d613e68334bc5a28d3ce6dc57784e8598b80615750bb files/digest-d2x-0.2.5-r2 293 +MD5 5e3a31b515a55a9148f3075e5e9bb73b files/digest-d2x-0.2.5-r3 232 +RMD160 08bb86262005661d3172f2d85411658fc3364445 files/digest-d2x-0.2.5-r3 232 +SHA256 ba25866081e1df7541aa5bca58943ab8c0b8c4f4469a3b0c222bcb58fa9599ac files/digest-d2x-0.2.5-r3 232 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFPpRnkT4lNIS36YERAvr6AJ9E9y37INfM2QbnfbeFsWPv5veYPgCfbMQA -c1D4mNmISr/OnJ3/l6eeqH8= -=eoJE +iD8DBQFFpA8KkT4lNIS36YERAgVpAJwJQGSnCn7vuk/BPOpvX6Ozhr7slQCgvjAx +9pLFUB2d9XwNxyIzMp2dsYs= +=qOdc -----END PGP SIGNATURE----- -- 2.26.2