summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-11-26 06:16:44 +1100
committerMichael Palimaka <kensington@gentoo.org>2016-11-26 06:21:10 +1100
commit4c95fbad76c6c27c9759b69e8963eb1906f99b05 (patch)
tree218cb024399576f61e66c40a10c8e1e5743bf093 /games-arcade
parentgames-action/extreme-tuxracer: remove old (diff)
downloadgentoo-4c95fbad76c6c27c9759b69e8963eb1906f99b05.tar.gz
gentoo-4c95fbad76c6c27c9759b69e8963eb1906f99b05.tar.bz2
gentoo-4c95fbad76c6c27c9759b69e8963eb1906f99b05.zip
games-arcade/commandergenius: remove old
Package-Manager: portage-2.3.2
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/commandergenius/Manifest1
-rw-r--r--games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild92
-rw-r--r--games-arcade/commandergenius/files/commandergenius-1.8.0.0-install.patch20
3 files changed, 0 insertions, 113 deletions
diff --git a/games-arcade/commandergenius/Manifest b/games-arcade/commandergenius/Manifest
index 40d9b0bbce4f..7be212918271 100644
--- a/games-arcade/commandergenius/Manifest
+++ b/games-arcade/commandergenius/Manifest
@@ -1,2 +1 @@
-DIST CGenius-1.8.0.0-Release-Source.tar.gz 22863637 SHA256 131cbc12d711d1c168baf89f1f9e0e4e9560049c21f42399d913c09c619e6153 SHA512 4e4dc91a5cfabfcace9db2fa85fe2d3dbe91396760cdf37372a12270782ac29906cbeb05b7e48bdf3a64eb042d3b7e209d3370f20ad8b8dfbc1d8c59a95abba9 WHIRLPOOL e8c3068a956fc62ecbd6d134cc4d16e96249555463b41e4193cf6796229a5ecc3e02398914d34ac8cc481978d6df0107c70d6ace635f05e3ae742efd3150ee17
DIST commandergenius-1.8.3.tar.gz 71446309 SHA256 f3c79cc2e322dab408018ac3469cc3747acea14498bef64c13edcb522e73b966 SHA512 821a356751629b7f3b122f52a31588f2174580fa6450699f8a03bcd78e305c649c7b36bb21dd2d222411c648b78c3bb02c11e9691e8cb2459380e6a70c2dbe2a WHIRLPOOL dae311c4b193ea50efe22557e3dd0bf4f1d179f1dc40f3e68a8d09758736212c68ad33a406ca0d7df60b48ccf67f3e9673967e21f4ceeb997d614667ba2124bc
diff --git a/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild b/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild
deleted file mode 100644
index 2e3466b7c7b1..000000000000
--- a/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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="mirror://sourceforge/clonekeenplus/CGenius/V${PV:0:3}/${MY_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}/CGenius-${PV}-Release-Source
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-install.patch
-
- rm -rf vfsroot || die
-
- cat <<-EOF > version.h
- #ifndef __CG__VERSION_H__
- #define __CG__VERSION_H__
-
- #define CGVERSION "${PV}-Release"
-
- #endif
- EOF
-
- sed -i \
- -e '/INCLUDE(package.cmake)/d' \
- CMakeLists.txt || die
-}
-
-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 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-1.8.0.0-install.patch b/games-arcade/commandergenius/files/commandergenius-1.8.0.0-install.patch
deleted file mode 100644
index ea502bdde9bb..000000000000
--- a/games-arcade/commandergenius/files/commandergenius-1.8.0.0-install.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- CGenius-1.8.0.0-Release-Source.orig/src/install.cmake
-+++ CGenius-1.8.0.0-Release-Source/src/install.cmake
-@@ -22,7 +22,7 @@
-
- # This will copy the resources files to the proper directory
- IF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
-- INSTALL(DIRECTORY vfsroot/
-+ INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}vfsroot/
- DESTINATION ${DATADIR})
- ENDIF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
-
-@@ -31,7 +31,7 @@
- DESTINATION ${DOCDIR})
-
- # This will copy the readme file.
--INSTALL(FILES changelog.txt
-+INSTALL(FILES ${CMAKE_SOURCE_DIR}/changelog.txt
- DESTINATION ${DOCDIR})
-
- # Windows might not have those dlls so we ship them with the packages