diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-04-29 19:07:15 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-04-29 19:13:15 +0200 |
commit | 31bd7ef5e3bc88b5a5bef5db2df4999fd35389b7 (patch) | |
tree | 071805a9d1b6f0a0ce44777eb48ee28c0eeb4ca9 | |
parent | games-fps/doomsday: Make repoman more happy (diff) | |
download | gentoo-31bd7ef5e3bc88b5a5bef5db2df4999fd35389b7.tar.gz gentoo-31bd7ef5e3bc88b5a5bef5db2df4999fd35389b7.tar.bz2 gentoo-31bd7ef5e3bc88b5a5bef5db2df4999fd35389b7.zip |
games-fps/doomsday: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
-rw-r--r-- | games-fps/doomsday/Manifest | 1 | ||||
-rw-r--r-- | games-fps/doomsday/doomsday-1.15.8.ebuild | 182 | ||||
-rw-r--r-- | games-fps/doomsday/metadata.xml | 2 |
3 files changed, 0 insertions, 185 deletions
diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest index 7d8cb7b307b6..b063d3ba494c 100644 --- a/games-fps/doomsday/Manifest +++ b/games-fps/doomsday/Manifest @@ -1,2 +1 @@ DIST doomsday-2.0.3.tar.gz 18060670 BLAKE2B e01545f5d719310a78f01de77249a72f9c3c61a1d295ee0827475439b63653f613660bdc033c1651180cc390469c89120d262c15c6e22cece52600e2889e1437 SHA512 4f8e737df9e004cf3ac3cf16b84ffce0c85e2180af552bac41a224595c7f6932397c39f7d3e9fa522e1ae62828cb87f564a5fa411e742eb07bbee96f14c3ee7c -DIST doomsday-stable-1.15.8.tar.gz 52054238 BLAKE2B ab33c197a89c5b3a9aa00628cd88edb5b5d2c1116ed72c55f34bd21e8128b6ff056bbc81900a9ea133b2230319e3c0f7ef79df98609980a59dc1f3da41e2195d SHA512 6d1b86c6e364cbd043b0714eb351113c8bbaf98daddde1bf615fe663c15a763e26d3e478d1adeb6d8a75ed4c89a5a19f3a891e12ea5937ff2fc54b84118f642c diff --git a/games-fps/doomsday/doomsday-1.15.8.ebuild b/games-fps/doomsday/doomsday-1.15.8.ebuild deleted file mode 100644 index c2cadea8b251..000000000000 --- a/games-fps/doomsday/doomsday-1.15.8.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# TODO: fmod support broken (deng_fmod) - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit python-r1 eutils qmake-utils games - -DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen" -HOMEPAGE="http://www.dengine.net/" -SRC_URI="mirror://sourceforge/deng/Doomsday%20Engine/${PV}/${PN}-stable-${PV}.tar.gz" - -LICENSE="GPL-3+ LGPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="dedicated fluidsynth openal snowberry +doom demo freedoom heretic hexen resources tools" -# we need python at build time, so -# snowberry? ( ${PYTHON_REQUIRED_USE} ) -# could break the build -REQUIRED_USE="${PYTHON_REQUIRED_USE} - demo? ( doom ) freedoom? ( doom ) resources? ( doom )" - -DEPEND=" - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - dev-qt/qtgui:5[-gles2] - dev-qt/qtcore:5 - net-misc/curl - sys-libs/zlib - media-libs/assimp - !dedicated? ( - media-libs/libsdl2[joystick,sound] - media-libs/sdl2-mixer - media-libs/libpng:0 - virtual/opengl - virtual/glu - x11-libs/libX11 - x11-libs/libXrandr - x11-libs/libXxf86vm - ) - fluidsynth? ( media-sound/fluidsynth ) - openal? ( media-libs/openal ) - tools? ( sys-libs/ncurses:0 )" -RDEPEND="${DEPEND} - !dedicated? ( - snowberry? ( - ${PYTHON_DEPS} - dev-lang/python-exec:2[${PYTHON_USEDEP}] - dev-python/wxpython[${PYTHON_USEDEP}] - ) - )" -DEPEND="${DEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig" -PDEPEND=" - !dedicated? ( - demo? ( games-fps/doom-data ) - freedoom? ( games-fps/freedoom ) - resources? ( games-fps/doomsday-resources ) - )" - -S=${WORKDIR}/${PN}-stable-${PV}/${PN} - -pkg_setup() { - games_pkg_setup - python_setup -} - -src_prepare() { - sed -i \ - -e '/readme.path/s#$$PREFIX#/usr#' \ - client/client.pro server/server.pro || die - - sed -i \ - -e "/DENG_BASE_DIR =/s:\$\$PREFIX/share:${GAMES_DATADIR}:" \ - config_unix.pri || die - - { - echo "CONFIG += nostrip" - echo "PREFIX=${GAMES_PREFIX}" - - if use dedicated ; then - echo "CONFIG += deng_noclient" - echo "CONFIG += deng_nosnowberry" - else - echo "CONFIG += deng_$(usex snowberry '' no)snowberry" - fi - - use fluidsynth && echo "CONFIG += deng_fluidsynth" - - use tools || echo "CONFIG += deng_notools" - - use openal && echo "CONFIG += deng_openal" - true - - } > config_user.pri || die -} - -#Usage: doom_make_wrapper <name> <game> <icon> <desktop entry title> [args] -doom_make_wrapper() { - local name=$1 game=$2 icon=$3 de_title=$4 - shift 4 - games_make_wrapper $name "doomsday -game ${game} $@" - make_desktop_entry $name "${de_title}" ${icon} -} - -src_configure() { - eqmake5 doomsday.pro -} - -src_install() { - emake INSTALL_ROOT="${D}" install - dodoc "${S}"/../README.md - - mv "${D}/${GAMES_DATADIR}"/{${PN}/data/jdoom,doom-data} || die - dosym "${GAMES_DATADIR}"/doom-data "${GAMES_DATADIR}"/${PN}/data/jdoom - - if use !dedicated ; then - if use snowberry ; then - python_replicate_script "${D}"/"${GAMES_BINDIR}"/launch-doomsday - - installmodules() { - # relocate snowberry module directory recursively into site-packages - python_domodule "${D}/${GAMES_DATADIR}"/${PN}/snowberry - # hack around improper path handling - sed -i \ - -e "s:os.chdir.*$:os.chdir('$(python_get_sitedir)/snowberry'):" \ - "${D%/}$(python_get_scriptdir)"/launch-doomsday || die - } - python_foreach_impl installmodules - # remove old module dir - rm -r "${D}/${GAMES_DATADIR}"/${PN}/snowberry || die - - make_desktop_entry launch-doomsday "Snowberry DoomsDay" snowberry - doicon ../snowberry/graphics/snowberry.png - fi - - if use doom; then - local res_arg - - if use resources; then - res_arg="-def \"${GAMES_DATADIR}\"/${PN}/defs/jdoom/jDRP.ded" - fi - - doicon ../snowberry/graphics/orb-doom.png - doom_make_wrapper jdoom doom1 orb-doom "DoomsDay Engine: Doom 1" "${res_arg}" - elog "Created jdoom launcher. To play Doom place your doom.wad to" - elog "\"${GAMES_DATADIR}\"/doom-data" - elog - - if use demo; then - doom_make_wrapper jdoom-demo doom1-share orb-doom "DoomsDay Engine: Doom 1 Demo" \ - "-iwad \"${GAMES_DATADIR}\"/doom-data/doom1.wad ${res_arg}" - fi - if use freedoom; then - doom_make_wrapper jdoom-freedoom doom1-share orb-doom "DoomsDay Engine: FreeDoom" \ - "-iwad \"${GAMES_DATADIR}\"/doom-data/freedoom/doom1.wad" - fi - fi - if use hexen; then - doicon ../snowberry/graphics/orb-hexen.png - doom_make_wrapper jhexen hexen orb-hexen "DoomsDay Engine: Hexen" - - elog "Created jhexen launcher. To play Hexen place your hexen.wad to" - elog "\"${GAMES_DATADIR}\"/${PN}/data/jhexen" - elog - fi - if use heretic; then - doicon ../snowberry/graphics/orb-heretic.png - doom_make_wrapper jheretic heretic orb-heretic "DoomsDay Engine: Heretic" - - elog "Created jheretic launcher. To play Heretic place your heretic.wad to" - elog "\"${GAMES_DATADIR}\"/${PN}/data/jheretic" - elog - fi - fi - - prepgamesdirs -} diff --git a/games-fps/doomsday/metadata.xml b/games-fps/doomsday/metadata.xml index 8c49e302718e..851017e48a82 100644 --- a/games-fps/doomsday/metadata.xml +++ b/games-fps/doomsday/metadata.xml @@ -13,8 +13,6 @@ <flag name="freedoom">Install launcher for doom1.wad from <pkg>games-fps/freedoom</pkg></flag> <flag name="heretic">Install launcher for jheretic game</flag> <flag name="hexen">Install launcher for jhexen game</flag> - <flag name="resources">Enable support for <pkg>games-fps/doomsday-resources</pkg> in jdoom launcher</flag> - <flag name="snowberry">Install Snowberry doomsday front-end</flag> <flag name="tools">Build additional tools such as doomsday-shell, md2tool and texc</flag> </use> <upstream> |