diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-action/d2x-rebirth | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-action/d2x-rebirth')
-rw-r--r-- | games-action/d2x-rebirth/Manifest | 4 | ||||
-rw-r--r-- | games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild | 94 | ||||
-rw-r--r-- | games-action/d2x-rebirth/files/d2x-rebirth-0.58.1-flags.patch | 10 | ||||
-rw-r--r-- | games-action/d2x-rebirth/metadata.xml | 18 |
4 files changed, 126 insertions, 0 deletions
diff --git a/games-action/d2x-rebirth/Manifest b/games-action/d2x-rebirth/Manifest new file mode 100644 index 000000000000..9d8946f0ac0e --- /dev/null +++ b/games-action/d2x-rebirth/Manifest @@ -0,0 +1,4 @@ +DIST d2x-rebirth-0.58.1.tar.gz 1361470 SHA256 511a42d1043bb9e54e30628cdc340a2f0649b59f47c71f5dcadf27379195aa3c SHA512 82188421d5ed83006f1a81151aa80ff0efb1685a356b885985ef1ae69107082dad1f1a0a0e6e07e16234d91abc8013272f05e1273f647f4481add01f3e756df4 WHIRLPOOL 02bb414fed790b01cfea71e9321dc79bbfa7d4b9cd0a68ac7ca1f1303236dbf75e44f3ed9253a9d3513823dda2dbf51e403545dfab72c3c90442d5362b40743f +DIST d2xr-briefings-ger.zip 11717 SHA256 e190321e657c1ad55998b91d610534fd0275f29ab12fe56018e47d3e603704f9 SHA512 479aa577dc65271c705e80404ec46e6c59ee3a5122d6e9705dbdd16b71b16c0d3447426e3e74937aa20eb7026f67a3896c5e814fbfcede9164bd557b6eb8423c WHIRLPOOL 65093403524bd82fb4396a5cabf9317effdaf447f18e421b6a59642103bc690ddaa240e0d2db3fbfe1a4bbd83d9f62bfe5b70fdfe8dc76f0cfe00433d25a9e1f +DIST d2xr-opl3-music.zip 22710919 SHA256 6890c6cf8a40c30a2b88339fe1affd25d210e45b504b0f0f76dba7ba97f813d7 SHA512 876321a9a16403f6e9d12e10bb73c9cdc57e1a106fa64833a1be8cc17b74f6f13e57e40f051a1b40e7bc88b95bfe86cff181c93c8619383dfdeb74f36f5cce86 WHIRLPOOL 86cccdbe071654b7f3ba2f774c762b3ab81797916e8a2053466320a54693a1913de9a6759eb29a4acde5a5611c58d1371338bed140a4084f7d005d48151a639b +DIST d2xr-sc55-music.zip 19579531 SHA256 ace152182c70b9a7ae6f911bddbc239566220a287ab5419cab260d5af739bf16 SHA512 290713b05627bf65bdc55fc6631a0c86e50f484a167f3fd20b3fe2bc5b772437939b5bf32eea852874dd983fbd47f160cae2412a2d6c5319f0d1583a33d28da6 WHIRLPOOL 1cc02d95dfffc36676a8cd3129580ba11c4a5cb13ee54bcdbe9e30e9fd9d8365bf0a8fc0d3e4b962607887b41bd056678d578cf9a5896ba1c9f4d1bef13c3edd diff --git a/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild b/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild new file mode 100644 index 000000000000..ab5974cb93b7 --- /dev/null +++ b/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils scons-utils games + +DV=2 +MY_P=dxx-rebirth-${PV}-d2x +DESCRIPTION="Descent Rebirth - enhanced Descent ${DV} engine" +HOMEPAGE="http://www.dxx-rebirth.com/" +SRC_URI="https://github.com/dxx-rebirth/dxx-rebirth/archive/0.58.1-d2x.tar.gz -> ${P}.tar.gz + opl3-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-opl3-music.zip ) + sc55-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-sc55-music.zip ) + linguas_de? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-briefings-ger.zip )" + +LICENSE="D1X GPL-2 public-domain" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="cdinstall debug demo ipv6 linguas_de +music opengl opl3-musicpack sc55-musicpack" +REQUIRED_USE="?? ( opl3-musicpack sc55-musicpack ) + opl3-musicpack? ( music ) + sc55-musicpack? ( music )" + +RDEPEND="dev-games/physfs[hog,mvl,zip] + media-libs/libsdl[X,sound,joystick,opengl?,video] + music? ( + media-libs/sdl-mixer[timidity,vorbis] + ) + opengl? ( + virtual/opengl + virtual/glu + )" +DEPEND="${RDEPEND} + app-arch/unzip" +PDEPEND="cdinstall? ( games-action/descent2-data ) + demo? ( games-action/descent2-demodata )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-flags.patch + + DOCS=( {CHANGELOG,INSTALL,README,RELEASE-NOTES}.txt ) + edos2unix ${DOCS[@]} +} + +src_compile() { + escons \ + verbosebuild=1 \ + sharepath="${GAMES_DATADIR}/d${DV}x" \ + $(use_scons ipv6) \ + $(use_scons music sdlmixer) \ + $(use_scons debug) \ + $(use_scons opengl) \ + || die +} + +src_install() { + dodoc ${DOCS[@]} + + insinto "${GAMES_DATADIR}/d${DV}x" + + # None of the following zip files need to be extracted. + use linguas_de && newins "${DISTDIR}"/d${DV}xr-briefings-ger.zip d${DV}xr-briefings-ger.dxa + use opl3-musicpack && newins "${DISTDIR}"/d${DV}xr-opl3-music.zip d${DV}xr-opl3-music.dxa + use sc55-musicpack && newins "${DISTDIR}"/d${DV}xr-sc55-music.zip d${DV}xr-sc55-music.dxa + + doicon ${PN}.xpm + + dogamesbin ${PN} + make_desktop_entry ${PN} "Descent ${DV} Rebirth" + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + if ! use cdinstall ; then + echo + elog "To play the full game enable USE=\"cdinstall\" or manually " + elog "copy the files to ${GAMES_DATADIR}/d${DV}x." + elog "See /usr/share/doc/${PF}/INSTALL.txt for details." + echo + fi + elog 'AddOns now use filename extension ".dxa".' + elog 'Your old AddOns will not work anymore.' + elog 'You can either re-download them or simply' + elog 'rename them from *.zip to *.dxa.' +} diff --git a/games-action/d2x-rebirth/files/d2x-rebirth-0.58.1-flags.patch b/games-action/d2x-rebirth/files/d2x-rebirth-0.58.1-flags.patch new file mode 100644 index 000000000000..6da154555b35 --- /dev/null +++ b/games-action/d2x-rebirth/files/d2x-rebirth-0.58.1-flags.patch @@ -0,0 +1,10 @@ +--- SConstruct.orig 2014-07-02 01:37:25.546536553 -0400 ++++ SConstruct 2014-07-02 01:39:26.564324558 -0400 +@@ -220,7 +220,6 @@ + env.Append(CPPFLAGS = ['-g']) + else: + env.Append(CPPDEFINES = ['NDEBUG', 'RELEASE']) +- env.Append(CPPFLAGS = ['-O2']) + + # profiler? + if (self.user_settings.profiler == 1): diff --git a/games-action/d2x-rebirth/metadata.xml b/games-action/d2x-rebirth/metadata.xml new file mode 100644 index 000000000000..5a4f52b78c1d --- /dev/null +++ b/games-action/d2x-rebirth/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>games</herd> + <use> + <flag name="demo">Install <pkg>games-action/descent2-demodata</pkg> as well</flag> + <flag name="music">Support for ingame music</flag> + <flag name="linguas_de">Provides German translations for the game's + briefings, robot descriptions, and outro of the original campaign</flag> + <flag name="opl3-musicpack">Include alternate version of the game's music, recorded + with the Yamaha YMF262 OPL3 soundchip</flag> + <flag name="sc55-musicpack">Include alternate version of the game's music, recorded + with the Roland Sound Canvas SC-55 MIDI module</flag> + </use> + <upstream> + <remote-id type="github">dxx-rebirth/dxx-rebirth</remote-id> + </upstream> +</pkgmetadata> |