diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-01-26 23:05:17 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-01-26 23:05:17 +0000 |
commit | aa7ce57e65ed48b51c030fa53212404feabd3e70 (patch) | |
tree | 1142447761c175672a35e022a74d16e2c712b324 /games-arcade | |
parent | Superseded by 4.4.15. (diff) | |
download | gentoo-2-aa7ce57e65ed48b51c030fa53212404feabd3e70.tar.gz gentoo-2-aa7ce57e65ed48b51c030fa53212404feabd3e70.tar.bz2 gentoo-2-aa7ce57e65ed48b51c030fa53212404feabd3e70.zip |
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/commandergenius/ChangeLog | 10 | ||||
-rw-r--r-- | games-arcade/commandergenius/commandergenius-1.6.5.5.ebuild | 67 |
2 files changed, 75 insertions, 2 deletions
diff --git a/games-arcade/commandergenius/ChangeLog b/games-arcade/commandergenius/ChangeLog index b84c1b3ccf64..cca784dede01 100644 --- a/games-arcade/commandergenius/ChangeLog +++ b/games-arcade/commandergenius/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-arcade/commandergenius -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.4 2013/12/30 00:34:25 hasufell Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.5 2014/01/26 23:05:17 hasufell Exp $ + +*commandergenius-1.6.5.5 (26 Jan 2014) + + 26 Jan 2014; Julian Ospald <hasufell@gentoo.org> + +commandergenius-1.6.5.5.ebuild: + version bump *commandergenius-1.6.5.3 (30 Dec 2013) diff --git a/games-arcade/commandergenius/commandergenius-1.6.5.5.ebuild b/games-arcade/commandergenius/commandergenius-1.6.5.5.ebuild new file mode 100644 index 000000000000..d41586efcc77 --- /dev/null +++ b/games-arcade/commandergenius/commandergenius-1.6.5.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/commandergenius-1.6.5.5.ebuild,v 1.1 2014/01/26 23:05:17 hasufell Exp $ + +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 LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="opengl tremor" + +RDEPEND="media-libs/libsdl[X,audio,opengl?,video] + media-libs/sdl-image + opengl? ( virtual/opengl ) + tremor? ( media-libs/tremor ) + !tremor? ( media-libs/libvorbis )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +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=0 + ) + + 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 + 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" +} |