From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 000B81382C5 for ; Sun, 17 Jan 2021 04:34:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0607BE0855; Sun, 17 Jan 2021 04:34:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62E81E0855 for ; Sun, 17 Jan 2021 04:34:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25C91340B98 for ; Sun, 17 Jan 2021 04:34:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 739664A0 for ; Sun, 17 Jan 2021 04:34:35 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1610858070.17764a210caee03be1f3f4f96abde1b949d3b33d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/megaglest/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/megaglest/megaglest-3.11.1-r1.ebuild X-VCS-Directories: games-strategy/megaglest/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 17764a210caee03be1f3f4f96abde1b949d3b33d X-VCS-Branch: master Date: Sun, 17 Jan 2021 04:34:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7e536cf4-f84a-4346-a807-dbf911df821d X-Archives-Hash: a42ee7dbd2c4fc333d6001dcf20516ea commit: 17764a210caee03be1f3f4f96abde1b949d3b33d Author: Nils Freydank posteo de> AuthorDate: Thu Jan 14 16:40:00 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 17 04:34:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17764a21 games-strategy/megaglest: Drop old EAPI="5" version Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Nils Freydank posteo.de> Signed-off-by: Sam James gentoo.org> .../megaglest/megaglest-3.11.1-r1.ebuild | 167 --------------------- 1 file changed, 167 deletions(-) diff --git a/games-strategy/megaglest/megaglest-3.11.1-r1.ebuild b/games-strategy/megaglest/megaglest-3.11.1-r1.ebuild deleted file mode 100644 index 86e78fb0535..00000000000 --- a/games-strategy/megaglest/megaglest-3.11.1-r1.ebuild +++ /dev/null @@ -1,167 +0,0 @@ -# Copyright 2010-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# google-breakpad -# TODO: fribidi, libvorbis static - -EAPI=5 -VIRTUALX_REQUIRED="manual" -inherit eutils flag-o-matic cmake-utils virtualx wxwidgets gnome2-utils games - -DESCRIPTION="Cross-platform 3D realtime strategy game" -HOMEPAGE="https://megaglest.org/ https://github.com/MegaGlest/megaglest-source" -SRC_URI="https://github.com/MegaGlest/megaglest-source/releases/download/${PV}/megaglest-source-${PV}.tar.xz" - -LICENSE="GPL-3 BitstreamVera" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug +editor fribidi cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 static +streflop +tools +unicode wxuniversal +model-viewer videos" - -# Newer versions of megaglest-data install directly into /usr -RDEPEND=" - ~games-strategy/${PN}-data-${PV} - =dev-lang/lua-5.1:0 - dev-libs/libxml2 - media-libs/fontconfig - media-libs/freetype - media-libs/libsdl[X,sound,joystick,opengl,video] - media-libs/libvorbis - media-libs/openal - net-libs/gnutls - sys-libs/zlib - virtual/opengl - virtual/glu - x11-libs/libX11 - x11-libs/libXext - editor? ( x11-libs/wxGTK:3.0[X,opengl] ) - fribidi? ( dev-libs/fribidi ) - model-viewer? ( x11-libs/wxGTK:3.0[X] ) - !static? ( - dev-libs/xerces-c[icu] - media-libs/ftgl - media-libs/glew - media-libs/libpng:0 - net-libs/libircclient - >=net-libs/miniupnpc-1.8 - net-misc/curl - virtual/jpeg:0 - ) - videos? ( media-video/vlc )" -DEPEND="${RDEPEND} - sys-apps/help2man - virtual/pkgconfig - editor? ( ${VIRTUALX_DEPEND} ) - model-viewer? ( ${VIRTUALX_DEPEND} ) - static? ( - dev-libs/icu[static-libs] - dev-libs/xerces-c[icu,static-libs] - media-libs/ftgl[static-libs] - media-libs/glew[static-libs] - media-libs/libpng:0[static-libs] - net-libs/libircclient[static-libs] - net-libs/miniupnpc[static-libs] - net-misc/curl[static-libs] - virtual/jpeg:0[static-libs] - )" - -src_prepare() { - if use editor || use model-viewer ; then - WX_GTK_VER="3.0" - need-wxwidgets unicode - fi - - epatch "${FILESDIR}"/${P}-static-build.patch \ - "${FILESDIR}"/${P}-cmake.patch \ - "${FILESDIR}"/${P}-miniupnpc.patch \ - "${FILESDIR}"/${P}-miniupnpc-api-version-16.patch -} - -src_configure() { - if use cpu_flags_x86_sse3; then - SSE=3 - elif use cpu_flags_x86_sse2; then - SSE=2 - elif use cpu_flags_x86_sse; then - SSE=1 - else - SSE=0 - fi - - local mycmakeargs=( - $(cmake-utils_use_enable fribidi FRIBIDI) - $(cmake-utils_use_build editor MEGAGLEST_MAP_EDITOR) - $(cmake-utils_use_build tools MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS) - $(cmake-utils_use_build model-viewer MEGAGLEST_MODEL_VIEWER) - $(cmake-utils_use_with videos VLC) - -DMAX_SSE_LEVEL_DESIRED="${SSE}" - -DMEGAGLEST_BIN_INSTALL_PATH="${GAMES_BINDIR}" - -DMEGAGLEST_DATA_INSTALL_PATH="${GAMES_DATADIR}/${PN}" - # icons are used at runtime, wrong default location share/pixmaps - -DMEGAGLEST_ICON_INSTALL_PATH="${GAMES_DATADIR}/${PN}" - -DUSE_FTGL=ON - $(cmake-utils_use_want static STATIC_LIBS) - $(cmake-utils_use_want streflop STREFLOP) - -DWANT_SVN_STAMP=off - $(cmake-utils_use static wxWidgets_USE_STATIC) - $(cmake-utils_use unicode wxWidgets_USE_UNICODE) - $(cmake-utils_use wxuniversal wxWidgets_USE_UNIVERSAL) - - $(usex debug "-DBUILD_MEGAGLEST_UPNP_DEBUG=ON -DwxWidgets_USE_DEBUG=ON" "") - ) - - # support CMAKE_BUILD_TYPE=Gentoo - append-cppflags '-DCUSTOM_DATA_INSTALL_PATH=\\\"'${GAMES_DATADIR}/${PN}/'\\\"' - - cmake-utils_src_configure -} - -src_compile() { - if use editor || use model-viewer; then - # work around parallel make issues - bug #561380 - MAKEOPTS="-j1 ${MAKEOPTS}" \ - VIRTUALX_COMMAND="cmake-utils_src_compile" virtualmake - else - cmake-utils_src_compile - fi -} - -src_install() { - # rebuilds some targets randomly without fast option - emake -C "${CMAKE_BUILD_DIR}" DESTDIR="${D}" "$@" install/fast - - dodoc docs/{AUTHORS.source_code,CHANGELOG,README}.txt - doicon -s 48 ${PN}.png - - use editor && - make_desktop_entry ${PN}_editor "MegaGlest Map Editor" - use model-viewer && - make_desktop_entry ${PN}_g3dviewer "MegaGlest Model Viewer" - - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - einfo - elog 'Note about Configuration:' - elog 'DO NOT directly edit glest.ini and glestkeys.ini but rather glestuser.ini' - elog 'and glestuserkeys.ini in ~/.megaglest/ and create your user over-ride' - elog 'values in these files.' - elog - elog 'If you have an older graphics card which only supports OpenGL 1.2, and the' - elog 'game crashes when you try to play, try starting with "megaglest --disable-vbo"' - elog 'Some graphics cards may require setting Max Lights to 1.' - einfo - - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}