diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-01-11 00:05:14 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-01-11 00:20:37 +0100 |
commit | 42d1c91fb0197f6dbcf31b8338c5dba9522123b7 (patch) | |
tree | 1f82acbf33c06fe42c9ec9a5060484033e0a9596 /games-fps | |
parent | games-fps/eduke32: update package for games-fps/duke3d-data (diff) | |
download | gentoo-42d1c91fb0197f6dbcf31b8338c5dba9522123b7.tar.gz gentoo-42d1c91fb0197f6dbcf31b8338c5dba9522123b7.tar.bz2 gentoo-42d1c91fb0197f6dbcf31b8338c5dba9522123b7.zip |
games-fps/eduke32: drop old version
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/eduke32/eduke32-20210109.9300.ebuild | 230 | ||||
-rw-r--r-- | games-fps/eduke32/metadata.xml | 1 |
2 files changed, 0 insertions, 231 deletions
diff --git a/games-fps/eduke32/eduke32-20210109.9300.ebuild b/games-fps/eduke32/eduke32-20210109.9300.ebuild deleted file mode 100644 index 67bf3a3d3fb2..000000000000 --- a/games-fps/eduke32/eduke32-20210109.9300.ebuild +++ /dev/null @@ -1,230 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs xdg-utils - -EGIT_COMMIT="a32832192" -MY_BUILD="$(ver_cut 2)" -MY_DATE="$(ver_cut 1)" -MY_PV_HRP="5.4" -MY_PV_OFFENSIVE_XXX="1.33" -MY_PV_OPL="2.01" -MY_PV_PSX="1.11" -MY_PV_SC55="4.02" -MY_PV_VOXELS="1.21" - -DESCRIPTION="An open source engine port of the classic PC first person shooter Duke Nukem 3D" -HOMEPAGE="http://www.eduke32.com/" -SRC_URI=" - http://dukeworld.com/eduke32/synthesis/latest/${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz - https://www.eduke32.com/images/eduke32_classic.png - hrp? ( http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip -> duke3d_hrp-${MY_PV_HRP}.zip ) - offensive? ( http://www.duke4.org/files/nightfright/related/duke3d_xxx.zip -> duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip ) - opl? ( https://www.moddb.com/downloads/mirror/95750/102/ce9e8f422c6cccdb297852426e96740a -> duke3d_musopl-${MY_PV_OPL}.zip ) - psx? ( http://www.duke4.org/files/nightfright/related/duke3d_psx.zip -> duke3d_psx-${MY_PV_PSX}.zip ) - sc-55? ( http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip -> duke3d_music-sc55-${MY_PV_SC55}.zip ) - voxels? ( https://www.dropbox.com/s/yaxfahyvskyvt4r/duke3d_voxels.zip -> duke3d_voxels-${MY_PV_VOXELS}.zip ) -" - -LICENSE="BUILDLIC GPL-2 HRP" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" -IUSE="cdinstall demo fluidsynth gtk hrp offensive opengl opl png psx sc-55 server sdk timidity tools voidsw vorbis voxels vpx xmp" -REQUIRED_USE=" - cdinstall? ( !demo ) - demo? ( !cdinstall ) - hrp? ( ^^ ( demo cdinstall ) - !voxels ) - offensive? ( ^^ ( demo cdinstall ) ) - opl? ( ^^ ( demo cdinstall ) - !sc-55 ) - psx? ( ^^ ( demo cdinstall ) ) - sc-55? ( ^^ ( demo cdinstall ) - !opl ) - voxels? ( !hrp ) - vpx? ( opengl ) -" - -# There are no tests, -# instead it tries to build a test game, which does not compile -RESTRICT="bindist test" - -S="${WORKDIR}/${PN}_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}" - -RDEPEND=" - media-libs/flac - media-libs/libsdl2[alsa,joystick,opengl?,sound,video] - media-libs/sdl2-mixer[flac,fluidsynth?,midi,timidity?,vorbis?] - sys-libs/zlib - gtk? ( x11-libs/gtk+:2 ) - opengl? ( - virtual/glu - virtual/opengl - ) - png? ( media-libs/libpng:0= ) - vpx? ( media-libs/libvpx:= ) - vorbis? ( - media-libs/libogg - media-libs/libvorbis - ) - xmp? ( media-libs/exempi:2= ) -" - -DEPEND=" - ${RDEPEND} - timidity? ( media-sound/timidity++ ) -" - -BDEPEND=" - app-arch/unzip - x86? ( dev-lang/nasm ) -" - -PDEPEND=" - cdinstall? ( games-fps/duke3d-data ) - demo? ( games-fps/duke3d-demodata ) -" - -PATCHES=( - "${FILESDIR}/${PN}-20190820.8043-log-to-tmpdir.patch" - "${FILESDIR}/${PN}-20190820.8043-search-duke3d-path.patch" - "${FILESDIR}/${PN}-20200505.8904-gcc10.patch" -) - -src_unpack() { - # Extract only the eduke32 archive - unpack ${PN}_src_${MY_DATE}-${MY_BUILD}-${EGIT_COMMIT}.tar.xz - - # Unpack only the documentation - if use hrp; then - unzip -q "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip hrp_readme.txt hrp_todo.txt || die - fi - if use offensive; then - unzip -q "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip xxx_readme.txt || die - fi - if use opl; then - unzip -q "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip readme.txt || die - mv readme.txt opl_readme.txt || die - fi - if use sc-55; then - unzip -q "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip readme/music_readme.txt || die - fi - if use voxels; then - unzip -q "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip voxelpack_readme.txt || die - fi -} - -src_compile() { - local myemakeopts=( - ALLOCACHE_AS_MALLOC=0 - AS=$(tc-getAS) - CC=$(tc-getCC) - CXX=$(tc-getCXX) - CLANG=0 - CPLUSPLUS=1 - CUSTOMOPT="" - DEBUGANYWAY=0 - F_JUMP_TABLES="" - FORCEDEBUG=0 - HAVE_FLAC=1 - HAVE_GTK2=$(usex gtk 1 0) - HAVE_VORBIS=$(usex vorbis 1 0) - HAVE_XMP=$(usex xmp 1 0) - LINKED_GTK=$(usex gtk 1 0) - LTO=1 - LUNATIC=0 - KRANDDEBUG=0 - MEMMAP=0 - MIXERTYPE=SDL - NETCODE=$(usex server 1 0) - NOASM=0 - OPTLEVEL=0 - OPTOPT="" - PACKAGE_REPOSITORY=1 - POLYMER=$(usex opengl 1 0) - PRETTY_OUTPUT=0 - PROFILER=0 - RELEASE=1 - RENDERTYPE=SDL - SDL_TARGET=2 - SIMPLE_MENU=0 - STRIP="" - TANDALONE=0 - STARTUP_WINDOW=$(usex gtk 1 0) - USE_OPENGL=$(usex opengl 1 0) - USE_LIBVPX=$(usex vpx 1 0) - USE_LIBPNG=$(usex png 1 0) - USE_LUAJIT_2_1=0 - WITHOUT_GTK=$(usex gtk 0 1) - ) - - emake "${myemakeopts[@]}" - - use tools && emake utils "${myemakeopts[@]}" - use voidsw && emake sw "${myemakeopts[@]}" -} - -src_install() { - dobin eduke32 mapster32 "${FILESDIR}"/eduke32-bin - use voidsw && dobin voidsw "${FILESDIR}"/voidsw-bin - - if use tools; then - local tools=( - arttool - bsuite - cacheinfo - generateicon - givedepth - ivfrate - kextract - kgroup - kmd2tool - makesdlkeytrans - map2stl - md2tool - mkpalette - transpal - unpackssi - wad2art - wad2map - ) - - dobin "${tools[@]}" - fi - - keepdir /usr/share/games/eduke32 - insinto /usr/share/games/eduke32 - - use hrp && doins "${DISTDIR}"/duke3d_hrp-${MY_PV_HRP}.zip - use offensive && doins "${DISTDIR}"/duke3d_xxx-${MY_PV_OFFENSIVE_XXX}.zip - use opl && doins "${DISTDIR}"/duke3d_musopl-${MY_PV_OPL}.zip - use psx && doins "${DISTDIR}"/duke3d_psx-${MY_PV_PSX}.zip - use sc-55 && doins "${DISTDIR}"/duke3d_music-sc55-${MY_PV_SC55}.zip - use sdk && doins -r package/sdk - use voxels && doins "${DISTDIR}"/duke3d_voxels-${MY_PV_VOXELS}.zip - - newicon "${DISTDIR}"/eduke32_classic.png eduke32.png - - make_desktop_entry eduke32-bin EDuke32 eduke32 Game - make_desktop_entry mapster32 Mapster32 eduke32 Game - use voidsw && make_desktop_entry voidsw-bin VoidSW voidsw Game - - local DOCS=( package/sdk/samples/*.txt source/build/doc/*.txt ) - use hrp && DOCS+=( "${WORKDIR}"/hrp_readme.txt "${WORKDIR}"/hrp_todo.txt ) - use offensive && DOCS+=( "${WORKDIR}"/xxx_readme.txt ) - use opl && DOCS+=( "${WORKDIR}"/opl_readme.txt ) - use sc-55 && DOCS+=( "${WORKDIR}"/readme/music_readme.txt ) - use voxels && DOCS+=( "${WORKDIR}"/voxelpack_readme.txt ) - - einstalldocs -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-fps/eduke32/metadata.xml b/games-fps/eduke32/metadata.xml index b5e798d45f00..0e39e17f6496 100644 --- a/games-fps/eduke32/metadata.xml +++ b/games-fps/eduke32/metadata.xml @@ -15,7 +15,6 @@ for short to Windows, Linux, Mac OS X, FreeBSD and several handhelds. </longdescription> <use> - <flag name="demo">Install the Duke Nukem 3D demo files, provided by <pkg>games-fps/duke3d-demodata</pkg>.</flag> <flag name="duke3d">Install the Duke Nukem 3D data files, provided by <pkg>games-fps/duke3d-data</pkg>.</flag> <flag name="fluidsynth">Install <pkg>media-libs/sdl2-mixer</pkg> with fluidsynth support.</flag> <flag name="hrp">Install the Duke Nukem 3D High Resolution Pack.</flag> |