commit: 60f203a9f82ab415dd39820217c7884faa222f3e Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Wed Mar 21 12:47:32 2018 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Wed Mar 21 12:47:32 2018 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=60f203a9
Remove old games-action/d[12]x-rebirth Failed to compile with physfs-3.0.0, masked in portage (#634116), superseeded by games-action/dxx-rebirth games-action/d1x-rebirth/d1x-rebirth-0.58.1.ebuild | 95 ---------------------- .../files/d1x-rebirth-0.58.1-flags.patch | 27 ------ games-action/d1x-rebirth/metadata.xml | 23 ------ games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild | 93 --------------------- .../files/d2x-rebirth-0.58.1-flags.patch | 27 ------ games-action/d2x-rebirth/metadata.xml | 25 ------ 6 files changed, 290 deletions(-) diff --git a/games-action/d1x-rebirth/d1x-rebirth-0.58.1.ebuild b/games-action/d1x-rebirth/d1x-rebirth-0.58.1.ebuild deleted file mode 100644 index 4801e11..0000000 --- a/games-action/d1x-rebirth/d1x-rebirth-0.58.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils games scons-utils - -DV=1 -MY_P=${PN}_v${PV}-src -DESCRIPTION="Descent Rebirth - enhanced Descent ${DV} engine" -HOMEPAGE="http://www.dxx-rebirth.com/" -SRC_URI="http://www.dxx-rebirth.com/download/dxx/${MY_P}.tar.gz - opl3-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-opl3-music.dxa ) - sc55-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-sc55-music.dxa ) - linguas_de? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-briefings-ger.dxa ) - textures? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-hires.dxa )" - -LICENSE="D1X GPL-2 public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+data debug ipv6 linguas_de +music +opengl opl3-musicpack sc55-musicpack +textures" - -REQUIRED_USE="?? ( opl3-musicpack sc55-musicpack ) - opl3-musicpack? ( music ) - sc55-musicpack? ( music )" - -RDEPEND="dev-games/physfs[hog,zip] - media-libs/libsdl:0[X,sound,joystick,opengl?,video] - music? ( - media-libs/sdl-mixer:0[timidity] - ) - opengl? ( - virtual/opengl - virtual/glu - )" -DEPEND="${RDEPEND}" -PDEPEND="data? ( || ( - games-action/descent1-data - games-action/descent1-demodata -) )" - -S=${WORKDIR}/${MY_P} - -RESTRICT=mirror - -src_unpack() { - unpack ${MY_P}.tar.gz -} - -src_prepare() { - DOCS=({CHANGELOG,COPYING,INSTALL,README,RELEASE-NOTES}.txt) - edos2unix ${DOCS[@]} - epatch "${FILESDIR}"/${P}-flags.patch -} - -src_compile() { - escons \ - verbosebuild=1 \ - sharepath="${GAMES_DATADIR}/d${DV}x" \ - $(use_scons debug) \ - $(use_scons ipv6) \ - $(use_scons music sdlmixer) \ - $(use_scons opengl) \ - || die -} - -src_install() { - dodoc ${DOCS[@]} - - insinto "${GAMES_DATADIR}/d${DV}x" - - use opl3-musicpack && doins "${DISTDIR}"/d${DV}xr-opl3-music.dxa - use sc55-musicpack && doins "${DISTDIR}"/d${DV}xr-sc55-music.dxa - use linguas_de && doins "${DISTDIR}"/d${DV}xr-briefings-ger.dxa - use textures && doins "${DISTDIR}"/d${DV}xr-hires.dxa - - doicon "${S}/${PN}.xpm" - - dogamesbin d${DV}x-rebirth - make_desktop_entry d${DV}x-rebirth "Descent ${DV} Rebirth" - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - - if ! use data ; then - echo - elog "To play the game enable USE=\"data\" or manually " - elog "copy the files to ${GAMES_DATADIR}/d${DV}x." - elog "See /usr/share/doc/${PF}/INSTALL.txt.bz2 for details." - echo - fi -} diff --git a/games-action/d1x-rebirth/files/d1x-rebirth-0.58.1-flags.patch b/games-action/d1x-rebirth/files/d1x-rebirth-0.58.1-flags.patch deleted file mode 100644 index e852d1e..0000000 --- a/games-action/d1x-rebirth/files/d1x-rebirth-0.58.1-flags.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- d1x-rebirth_v0.58.1-src/SConstruct -+++ d1x-rebirth_v0.58.1-src/SConstruct -@@ -218,7 +218,6 @@ - env.Append(CPPFLAGS = ['-g']) - else: - env.Append(CPPDEFINES = ['NDEBUG', 'RELEASE']) -- env.Append(CPPFLAGS = ['-O2']) - - # profiler? - if (self.user_settings.profiler == 1): -@@ -352,6 +351,7 @@ - self.common_sources += self.sources_use_udp - - env.Append(CPPDEFINES = [('SHAREPATH', '\\"' + str(self.user_settings.sharepath) + '\\"')]) -+ env.Append(LINKFLAGS = [str(self.platform_settings.lflags)]) - - def _register_program(self,dxxstr,program_specific_objects=[]): - env = self.env -@@ -364,7 +364,7 @@ - versid_cppdefines.append(('DESCENT_VERSION_EXTRA', '\\"%s\\"' % self.user_settings.extra_version)) - objects.append(self.env.StaticObject(target='%s%s%s' % (self.user_settings.builddir, 'main/vers_id', self.env["OBJSUFFIX"]), source='main/vers_id.c', CPPDEFINES=versid_cppdefines)) - # finally building program... -- env.Program(target='%s%s' % (self.user_settings.builddir, str(exe_target)), source = objects, LIBS = self.platform_settings.libs, LINKFLAGS = str(self.platform_settings.lflags)) -+ env.Program(target='%s%s' % (self.user_settings.builddir, str(exe_target)), source = objects, LIBS = self.platform_settings.libs) - if (sys.platform != 'darwin'): - env.Install(self.user_settings.BIN_DIR, str(exe_target)) - env.Alias('install', self.user_settings.BIN_DIR) diff --git a/games-action/d1x-rebirth/metadata.xml b/games-action/d1x-rebirth/metadata.xml deleted file mode 100644 index 7a44d1e..0000000 --- a/games-action/d1x-rebirth/metadata.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>games</herd> - <longdescription> - 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. - </longdescription> - <use> - <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> - <flag name="textures">Include high resolution (640x480) backgrounds, - briefing images and fonts</flag> - <flag name="music">Adds music support</flag> - <flag name="data">Install data files</flag> - </use> -</pkgmetadata> diff --git a/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild b/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild deleted file mode 100644 index b0413ac..0000000 --- a/games-action/d2x-rebirth/d2x-rebirth-0.58.1.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils games scons-utils - -DV=2 -MY_P=${PN}_v${PV}-src -DESCRIPTION="Descent Rebirth - enhanced Descent ${DV} engine" -HOMEPAGE="http://www.dxx-rebirth.com/" -SRC_URI="http://www.dxx-rebirth.com/download/dxx/${MY_P}.tar.gz - opl3-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-opl3-music.dxa ) - sc55-musicpack? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-sc55-music.dxa ) - linguas_de? ( http://www.dxx-rebirth.com/download/dxx/res/d${DV}xr-briefings-ger.dxa )" - -LICENSE="D1X GPL-2 public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+data debug 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:0[X,sound,joystick,opengl?,video] - music? ( - media-libs/sdl-mixer:0[timidity,vorbis] - ) - opengl? ( - virtual/opengl - virtual/glu - )" -DEPEND="${RDEPEND}" -PDEPEND="data? ( || ( - games-action/descent2-data - games-action/descent2-demodata -) )" - -S=${WORKDIR}/${MY_P} - -RESTRICT=mirror - -src_unpack() { - unpack ${MY_P}.tar.gz -} - -src_prepare() { - DOCS=({CHANGELOG,COPYING,INSTALL,README,RELEASE-NOTES}.txt) - edos2unix ${DOCS[@]} - epatch "${FILESDIR}"/${P}-flags.patch -} - -src_compile() { - escons \ - verbosebuild=1 \ - sharepath="${GAMES_DATADIR}/d${DV}x" \ - $(use_scons debug) \ - $(use_scons ipv6) \ - $(use_scons music sdlmixer) \ - $(use_scons opengl) \ - || die -} - -src_install() { - dodoc ${DOCS[@]} - - insinto "${GAMES_DATADIR}/d${DV}x" - - use opl3-musicpack && doins "${DISTDIR}"/d${DV}xr-opl3-music.dxa - use sc55-musicpack && doins "${DISTDIR}"/d${DV}xr-sc55-music.dxa - use linguas_de && doins "${DISTDIR}"/d${DV}xr-briefings-ger.dxa - - doicon "${S}/${PN}.xpm" - - dogamesbin d${DV}x-rebirth - make_desktop_entry d${DV}x-rebirth "Descent ${DV} Rebirth" - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - - if ! use data ; then - echo - elog "To play the game enable USE=\"data\" or manually " - elog "copy the files to ${GAMES_DATADIR}/d${DV}x." - elog "See /usr/share/doc/${PF}/INSTALL.txt.bz2 for details." - echo - fi -} 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 deleted file mode 100644 index 3d54761..0000000 --- a/games-action/d2x-rebirth/files/d2x-rebirth-0.58.1-flags.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- d2x-rebirth_v0.58.1-src/SConstruct -+++ d2x-rebirth_v0.58.1-src/SConstruct -@@ -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): -@@ -354,6 +353,7 @@ - self.common_sources += self.sources_use_udp - - env.Append(CPPDEFINES = [('SHAREPATH', '\\"' + str(self.user_settings.sharepath) + '\\"')]) -+ env.Append(LINKFLAGS = [str(self.platform_settings.lflags)]) - - def _register_program(self,dxxstr,program_specific_objects=[]): - env = self.env -@@ -368,7 +368,7 @@ - versid_cppdefines.append(('DESCENT_VERSION_EXTRA', '\\"%s\\"' % self.user_settings.extra_version)) - objects.append(self.env.StaticObject(target='%s%s%s' % (self.user_settings.builddir, 'main/vers_id', self.env["OBJSUFFIX"]), source='main/vers_id.c', CPPDEFINES=versid_cppdefines)) - # finally building program... -- env.Program(target='%s%s' % (self.user_settings.builddir, str(exe_target)), source = objects, LIBS = self.platform_settings.libs, LINKFLAGS = str(self.platform_settings.lflags)) -+ env.Program(target='%s%s' % (self.user_settings.builddir, str(exe_target)), source = objects, LIBS = self.platform_settings.libs) - if (sys.platform != 'darwin'): - if self.user_settings.register_install_target: - install_dir = os.path.join(self.user_settings.DESTDIR or '', self.user_settings.BIN_DIR) diff --git a/games-action/d2x-rebirth/metadata.xml b/games-action/d2x-rebirth/metadata.xml deleted file mode 100644 index d1e4c62..0000000 --- a/games-action/d2x-rebirth/metadata.xml +++ /dev/null @@ -1,25 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>games</herd> - <longdescription> - Descent 2 is a classic 'tunnel shooter' released for the PC in 1996. It - was developed by Parallax Software and published by Interplay. It, along - with its predecessor Descent, was one of the first games to offer true - 3-dimensional graphics, 6 degrees of freedom in movement, and the - capability to join multiplayer games on-the-fly. DXX-Rebirth is a - modification of the Descent 2 source that was released by Parallax, - offering OpenGL graphics, advanced multiplayer, new features, and - cross-platform compatibility. - </longdescription> - <use> - <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> - <flag name="music">Adds music support</flag> - <flag name="data">Install data files</flag> - </use> -</pkgmetadata>