diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-08-28 20:56:39 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-08-28 20:56:39 +0000 |
commit | aa6824c71553055450fc3fd2c45a13ef0a866e5f (patch) | |
tree | 2f12b0ca2e9b2e4c7521cafafb9d191809b466cf /games-action | |
parent | version bump, introduce luajit USE flag (diff) | |
download | gentoo-2-aa6824c71553055450fc3fd2c45a13ef0a866e5f.tar.gz gentoo-2-aa6824c71553055450fc3fd2c45a13ef0a866e5f.tar.bz2 gentoo-2-aa6824c71553055450fc3fd2c45a13ef0a866e5f.zip |
old
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/d1x-rebirth/ChangeLog | 6 | ||||
-rw-r--r-- | games-action/d1x-rebirth/d1x-rebirth-0.56.ebuild | 105 | ||||
-rw-r--r-- | games-action/d1x-rebirth/files/d1x-rebirth-0.56-underlink.patch | 10 |
3 files changed, 5 insertions, 116 deletions
diff --git a/games-action/d1x-rebirth/ChangeLog b/games-action/d1x-rebirth/ChangeLog index eb730b92c725..8c7a9eea2c6e 100644 --- a/games-action/d1x-rebirth/ChangeLog +++ b/games-action/d1x-rebirth/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-action/d1x-rebirth # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/ChangeLog,v 1.12 2014/05/15 16:21:15 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/ChangeLog,v 1.13 2014/08/28 20:56:39 mr_bones_ Exp $ + + 28 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> -d1x-rebirth-0.56.ebuild, + -files/d1x-rebirth-0.56-underlink.patch: + old 15 May 2014; Ulrich Müller <ulm@gentoo.org> d1x-rebirth-0.56.ebuild, d1x-rebirth-0.57.3.ebuild: diff --git a/games-action/d1x-rebirth/d1x-rebirth-0.56.ebuild b/games-action/d1x-rebirth/d1x-rebirth-0.56.ebuild deleted file mode 100644 index ed5abd8e2c44..000000000000 --- a/games-action/d1x-rebirth/d1x-rebirth-0.56.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2014 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.56.ebuild,v 1.6 2014/05/15 16:21:15 ulm Exp $ - -EAPI=2 - -CDROM_OPTIONAL="yes" -inherit eutils cdrom scons-utils games - -DV=1 -DESCRIPTION="Descent Rebirth - enhanced Descent ${DV} engine" -HOMEPAGE="http://www.dxx-rebirth.de/" -SRC_URI="mirror://sourceforge/dxx-rebirth/${PN}_v${PV}-src.tar.gz - http://www.dxx-rebirth.com/download/dxx/res/d1xrdata.zip - http://www.dxx-rebirth.com/download/dxx/res/dxx-rebirth_icons.zip - timidity? ( http://www.dxx-rebirth.com/download/dxx/res/descent${DV/1}_midi.zip ) - cdinstall? ( http://www.dxx-rebirth.com/download/dxx/res/d1datapt.zip ) - linguas_de? ( http://www.dxx-rebirth.com/download/dxx/res/D${DV}XBDE01.zip )" - -LICENSE="D1X GPL-2 public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ipv6 linguas_de opengl timidity" - -RDEPEND="opengl? ( virtual/opengl virtual/glu ) - dev-games/physfs[hog,zip] - media-libs/libsdl[sound,opengl?,video] - media-libs/sdl-mixer[timidity?] - cdinstall? ( !games-action/descent1-demodata )" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR}/${PN}_v${PV}-src - -src_unpack() { - unpack ${PN}_v${PV}-src.tar.gz dxx-rebirth_icons.zip - use linguas_de && unpack D${DV}XBDE01.zip - if use cdinstall ; then - unpack d1datapt.zip - cdrom_get_cds descent/descent.hog - mkdir "${S}"/Data - cp \ - ${CDROM_ROOT}/descent/descent.{hog,pig} \ - ${CDROM_ROOT}/descent/chaos.{hog,msn} \ - "${S}"/Data \ - || die "cp failed" - fi -} - -src_prepare() { - sed -i -e "/lflags = /s/$/ + env['LINKFLAGS']/" SConstruct || die - if use cdinstall ; then - cd Data - patch -p0 < "${WORKDIR}"/d1datapt/descent.hog.diff descent.hog - patch -p0 < "${WORKDIR}"/d1datapt/descent.pig.diff descent.pig - fi - epatch "${FILESDIR}"/${P}-underlink.patch -} - -src_compile() { - escons \ - verbosebuild=1 \ - sharepath="${GAMES_DATADIR}/d${DV}x" \ - sdlmixer=1 \ - $(use_scons !opengl sdl_only) \ - $(use_scons ipv6) \ - || die -} - -src_install() { - dodoc INSTALL.txt README.txt - insinto "${GAMES_DATADIR}/d${DV}x" - doins "${DISTDIR}"/d1xrdata.zip || die - if use linguas_de ; then - doins "${WORKDIR}"/D${DV}XBDE01/D${DV}XbDE01/*.txb - fi - if use timidity ; then - doins "${DISTDIR}"/descent_midi.zip || die - fi - if use cdinstall ; then - doins Data/descent.{hog,pig} || die - insinto "${GAMES_DATADIR}"/d${DV}x/missions - doins Data/chaos.{hog,msn} || die - fi - doicon "${WORKDIR}/${PN}.xpm" - - if use opengl ; then - newgamesbin d${DV}x-rebirth-gl d${DV}x-rebirth - else - newgamesbin d${DV}x-rebirth-sdl d${DV}x-rebirth - fi - make_desktop_entry d${DV}x-rebirth "Descent ${DV} Rebirth" - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - if ! use cdinstall ; then - echo - elog "You need to copy data-files from original Descent ${DV}" - elog "installation to ${GAMES_DATADIR}/d${DV}x. Please read " - elog "/usr/share/doc/${PF}/INSTALL.txt for more info." - echo - fi -} diff --git a/games-action/d1x-rebirth/files/d1x-rebirth-0.56-underlink.patch b/games-action/d1x-rebirth/files/d1x-rebirth-0.56-underlink.patch deleted file mode 100644 index d62a7401c62c..000000000000 --- a/games-action/d1x-rebirth/files/d1x-rebirth-0.56-underlink.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- SConstruct.old 2011-06-20 11:02:18.823946260 +0200 -+++ SConstruct 2011-06-20 11:02:36.356032373 +0200 -@@ -348,6 +348,7 @@ - libs += env['LIBS'] - ogllibs = ['GL', 'GLU'] - lflags = '-L/usr/X11R6/lib' + env['LINKFLAGS'] -+ libs += 'm' - - # arm architecture? - if (arm == 1): |