diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-04-14 14:25:37 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-04-14 14:26:08 +0100 |
commit | 25e8146fbb9bd3e6a4f2f058d17b7be5614405fc (patch) | |
tree | 942ee5cbff247e4210aa8d6f63cb99d549cb5e0f /games-arcade | |
parent | games-arcade/commandergenius: Version bump to 2.3.3 (diff) | |
download | gentoo-25e8146fbb9bd3e6a4f2f058d17b7be5614405fc.tar.gz gentoo-25e8146fbb9bd3e6a4f2f058d17b7be5614405fc.tar.bz2 gentoo-25e8146fbb9bd3e6a4f2f058d17b7be5614405fc.zip |
games-arcade/commandergenius: Drop old 1.8.3
Closes: https://bugs.gentoo.org/640540
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/commandergenius/Manifest | 1 | ||||
-rw-r--r-- | games-arcade/commandergenius/commandergenius-1.8.3.ebuild | 80 | ||||
-rw-r--r-- | games-arcade/commandergenius/files/commandergenius-wrapper | 18 | ||||
-rw-r--r-- | games-arcade/commandergenius/metadata.xml | 4 |
4 files changed, 0 insertions, 103 deletions
diff --git a/games-arcade/commandergenius/Manifest b/games-arcade/commandergenius/Manifest index dcd67035647e..ca4a0d63c69b 100644 --- a/games-arcade/commandergenius/Manifest +++ b/games-arcade/commandergenius/Manifest @@ -1,2 +1 @@ DIST Commander-Genius-v2.3.3.tar.bz2 63885924 BLAKE2B a072f922bac6f76e615bbb602c1b5ac4fca634a90bdead461d666da0d70ad5ddd6865504c84a09905bb313728b840df973ae006d120ae01d8c8f8a7bd4a10abe SHA512 f64f24b01cd0921570f633913c8a3b1b50537596b2c46377862a913e36c74934521c1c55fca676b78674c669d475d9c2c2c09ac4a22ebdad1826508e6b9598b6 -DIST commandergenius-1.8.3.tar.gz 71446309 BLAKE2B 01f54e3deb4189e103d9ae23efadfe82363893b48e31d4b5b505f961191b5afe36440b67f0da55d59b6fceeadb15659503d3326975cb131f131b9a630ac35ae8 SHA512 821a356751629b7f3b122f52a31588f2174580fa6450699f8a03bcd78e305c649c7b36bb21dd2d222411c648b78c3bb02c11e9691e8cb2459380e6a70c2dbe2a diff --git a/games-arcade/commandergenius/commandergenius-1.8.3.ebuild b/games-arcade/commandergenius/commandergenius-1.8.3.ebuild deleted file mode 100644 index 435c937ccf64..000000000000 --- a/games-arcade/commandergenius/commandergenius-1.8.3.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CMAKE_IN_SOURCE_BUILD=1 -inherit cmake-utils eutils games - -MY_P=CGenius-${PV}-Release-Source -DESCRIPTION="Open Source Commander Keen clone (needs original game files)" -HOMEPAGE="http://clonekeenplus.sourceforge.net" -SRC_URI="https://github.com/gerstrong/Commander-Genius/archive/v${PV//./}release.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="opengl tremor" -RESTRICT="mirror" # contains keen files, but we do not install them - -RDEPEND="media-libs/libsdl2[X,opengl?,sound,video] - media-libs/sdl2-image - opengl? ( virtual/opengl ) - tremor? ( media-libs/tremor ) - !tremor? ( media-libs/libvorbis )" -DEPEND="${RDEPEND} - dev-libs/boost - virtual/pkgconfig" - -S=${WORKDIR}/Commander-Genius-${PV//./}release - -src_prepare() { - cmake-utils_src_prepare - - rm -rf vfsroot || die - sed -i -e '/INCLUDE(package.cmake)/d' CMakeLists.txt || die - cp version.h src/ || die # Workaround buggy neard package - bug #558160 -} - -src_configure() { - local mycmakeargs=( - -DAPPDIR="${GAMES_BINDIR}" - -DSHAREDIR="/usr/share" - -DGAMES_SHAREDIR="${GAMES_DATADIR}" - -DDOCDIR="/usr/share/doc/${PF}" - -DBUILD_TARGET="LINUX" - $(cmake-utils_use opengl OPENGL) - $(cmake-utils_use tremor TREMOR) - $(cmake-utils_use !tremor OGG) - -DUSE_SDL2=1 - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - newicon src/CGLogo.png ${PN}.png - newgamesbin "${FILESDIR}"/commandergenius-wrapper commandergenius - if [[ -e "${ED}${GAMES_BINDIR}"/CGeniusExe ]] ; then - mv "${ED}${GAMES_BINDIR}"/CGeniusExe \ - "${ED}${GAMES_BINDIR}"/CommanderGenius || die - fi - - make_desktop_entry commandergenius - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - elog "Check your settings in ~/.CommanderGenius/cgenius.cfg" - elog "after you have started the game for the first time." - use opengl && elog "You may also want to set \"OpenGL = true\"" - elog - elog "Run the game via:" - elog " 'commandergenius [path-to-keen-data]'" - elog "or add your keen data dir to the search paths in cgenius.cfg" -} diff --git a/games-arcade/commandergenius/files/commandergenius-wrapper b/games-arcade/commandergenius/files/commandergenius-wrapper deleted file mode 100644 index 0fa5243a5df0..000000000000 --- a/games-arcade/commandergenius/files/commandergenius-wrapper +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh - -# CommanderGenius by default searches pwd for keen data which can cause -# massive load/lag depending on which dir you are currently in. -# This wrapper cd's into ~/.CommanderGenius unless you pass a directory -# on the command line which is used as additional search path then. -# -# use: commandergenius [path-to-keen-dir] - -if [ -z $1 ] ; then - SEARCHDIR=~/.CommanderGenius -else - SEARCHDIR="$1" -fi - -cd ${SEARCHDIR} - -exec CommanderGenius "$@" diff --git a/games-arcade/commandergenius/metadata.xml b/games-arcade/commandergenius/metadata.xml index 86222e373a5e..8de6e6384295 100644 --- a/games-arcade/commandergenius/metadata.xml +++ b/games-arcade/commandergenius/metadata.xml @@ -6,10 +6,6 @@ <name>Gentoo Games Project</name> </maintainer> <use> - <flag name="tremor"> - Use <pkg>media-libs/tremor</pkg> as ogg decoder - instead of <pkg>media-libs/libvorbis</pkg> - </flag> <flag name="downloader">Allows some Keen games to be downloaded from the menu</flag> </use> <upstream> |