From 2f8db31405fac68eea6f7257d58529243815033b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 30 Apr 2018 21:33:31 +0100 Subject: gentoo resync : 30.04.2018 --- games-fps/doomsday/Manifest | 6 +- games-fps/doomsday/doomsday-1.15.8.ebuild | 182 ------------------------------ games-fps/doomsday/doomsday-2.0.3.ebuild | 77 +++++++++++++ games-fps/doomsday/metadata.xml | 3 +- 4 files changed, 81 insertions(+), 187 deletions(-) delete mode 100644 games-fps/doomsday/doomsday-1.15.8.ebuild create mode 100644 games-fps/doomsday/doomsday-2.0.3.ebuild (limited to 'games-fps/doomsday') diff --git a/games-fps/doomsday/Manifest b/games-fps/doomsday/Manifest index 06c1a031f2a5..5678892783a9 100644 --- a/games-fps/doomsday/Manifest +++ b/games-fps/doomsday/Manifest @@ -1,3 +1,3 @@ -DIST doomsday-stable-1.15.8.tar.gz 52054238 BLAKE2B ab33c197a89c5b3a9aa00628cd88edb5b5d2c1116ed72c55f34bd21e8128b6ff056bbc81900a9ea133b2230319e3c0f7ef79df98609980a59dc1f3da41e2195d SHA512 6d1b86c6e364cbd043b0714eb351113c8bbaf98daddde1bf615fe663c15a763e26d3e478d1adeb6d8a75ed4c89a5a19f3a891e12ea5937ff2fc54b84118f642c -EBUILD doomsday-1.15.8.ebuild 4864 BLAKE2B 2e9086df482a52cfeb2fdfd552894728df65581992a71f1ae049574fe91a23738c64cd5492932e1a4251c4348bc2eb9f45a27e8b366e86cbfaad6bbc98c10c22 SHA512 56378761047cf905131482931c37b6aa91b3dfe445d7ee5e379f3776003fe297c607cbbd4d2f3085bddcc592871d33c92c04500b4c9c4120d7acdf22dff0ef25 -MISC metadata.xml 1055 BLAKE2B 8a93cd99255f093fee3abd1ab39a1da578caec1a7b70a7d3d23e387e99d7387d5314d4ef4b784d603d989c06a0f407622b3b531b2e96054da850c5145df59972 SHA512 d7dac2852e2f256b2509a73c87f1f3320e8b19f80e859b2d20cb9a9fc24ac16f96ba792ca09773a7dad0aea9b4245bddce27579dfe3c0076371bf4c7d0392f2d +DIST doomsday-2.0.3.tar.gz 18060670 BLAKE2B e01545f5d719310a78f01de77249a72f9c3c61a1d295ee0827475439b63653f613660bdc033c1651180cc390469c89120d262c15c6e22cece52600e2889e1437 SHA512 4f8e737df9e004cf3ac3cf16b84ffce0c85e2180af552bac41a224595c7f6932397c39f7d3e9fa522e1ae62828cb87f564a5fa411e742eb07bbee96f14c3ee7c +EBUILD doomsday-2.0.3.ebuild 1752 BLAKE2B b65b8da028703868366192847f12b26e22a3f5b4a4a88a7d17f2b0d9378ecbdb21a3e5f1561c90e8465b4ce7403190d89afdc1da3a5e500b2f681be8dbf9a3b1 SHA512 d954a9b61ee050ec9f30e376aee0e79be62ab6ff254db77dbd1f855c6d79e5ca104e1d47aef3418911f2ba963296d8da5f6ee486e43df1bc50dbbbaf48753b58 +MISC metadata.xml 956 BLAKE2B 762c3c0aa85b8d59cdc333f381e4028c7708d113017c84d7dad4ae2659f7c9c875ec410c04b29baccfb9df267f6a081a2cd5321068a328cfe95d2861d0108c7d SHA512 2efbdb770fec0865b8f6a2b6a1ceab526842f2ff70eb9317048d3595b19ed43ba7a67857d7e698081e28463c9a925630030674992d267e6ec5a37efe67c39cfa 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 [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/doomsday-2.0.3.ebuild b/games-fps/doomsday/doomsday-2.0.3.ebuild new file mode 100644 index 000000000000..c50b22ad60ee --- /dev/null +++ b/games-fps/doomsday/doomsday-2.0.3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 readme.gentoo-r1 cmake-utils + +DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen" +HOMEPAGE="http://www.dengine.net" +SRC_URI="https://downloads.sourceforge.net/project/deng/Doomsday%20Engine/${PV}/${P}.tar.gz" + +LICENSE="GPL-3+ LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="fluidsynth openal +doom demo freedoom heretic hexen tools fmod" +REQUIRED_USE="${PYTHON_REQUIRED_USE} + demo? ( doom ) freedoom? ( doom ) +" + +RDEPEND=" + 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 + fmod? ( media-libs/fmod ) + fluidsynth? ( media-sound/fluidsynth ) + openal? ( media-libs/openal ) + tools? ( sys-libs/ncurses:0 ) +" +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + virtual/pkgconfig +" +PDEPEND=" + demo? ( games-fps/doom-data ) + freedoom? ( games-fps/freedoom ) +" + +S="${WORKDIR}/${P}/${PN}" + +DISABLE_AUTOFORMATTING="yes" +DOC_CONTENTS=" +You need to copy Doom, Doom 2, Chex Quest, Heretic, Hexen, HexenDD, +and Doom64 wads to a folder of your choice. Then configure in game +engine where that folder is. This is different than old versions, +which had centralized launchers for each game, and required the +files to be in a specific place +" + +internal_src_configure() { + export QT_SELECT=qt5 + local mycmakeargs=( + -DPYTHON_EXECUTABLE="${PYTHON}" + -DDENG_ASSIMP_EMBEDDED=off + ) + cmake-utils_src_configure +} + +src_configure() { + python_foreach_impl internal_src_configure +} + +src_install() { + cmake-utils_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog +} diff --git a/games-fps/doomsday/metadata.xml b/games-fps/doomsday/metadata.xml index daf0c62634d3..851017e48a82 100644 --- a/games-fps/doomsday/metadata.xml +++ b/games-fps/doomsday/metadata.xml @@ -9,11 +9,10 @@ Install launcher dor doom1.wad from games-fps/doom-data Install launcher for jdoom game Build the FluidSynth sound driver + Enable support for fmod music and sound effects lib Install launcher for doom1.wad from games-fps/freedoom Install launcher for jheretic game Install launcher for jhexen game - Enable support for games-fps/doomsday-resources in jdoom launcher - Install Snowberry doomsday front-end Build additional tools such as doomsday-shell, md2tool and texc -- cgit v1.2.3