summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-08-16 00:11:29 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-08-16 00:11:29 +0000
commitaf2f895eb477b01c005ff8b3a38f71e30e9598be (patch)
tree9711bee8da8717bfe7bf0fa249f3fdde46dace0b /games-arcade
parentVersion bump, security bug #481228. (diff)
downloadhistorical-af2f895eb477b01c005ff8b3a38f71e30e9598be.tar.gz
historical-af2f895eb477b01c005ff8b3a38f71e30e9598be.tar.bz2
historical-af2f895eb477b01c005ff8b3a38f71e30e9598be.zip
version bump
Package-Manager: portage-2.2.0/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/commandergenius/ChangeLog8
-rw-r--r--games-arcade/commandergenius/Manifest21
-rw-r--r--games-arcade/commandergenius/commandergenius-1.6.0.ebuild71
-rw-r--r--games-arcade/commandergenius/files/commandergenius-1.6.0-build.patch23
4 files changed, 113 insertions, 10 deletions
diff --git a/games-arcade/commandergenius/ChangeLog b/games-arcade/commandergenius/ChangeLog
index fd732aa6f9b9..fc1a0fa34fe1 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.1 2013/05/09 12:29:33 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.2 2013/08/16 00:11:22 hasufell Exp $
+
+*commandergenius-1.6.0 (16 Aug 2013)
+
+ 16 Aug 2013; Julian Ospald <hasufell@gentoo.org>
+ +commandergenius-1.6.0.ebuild, +files/commandergenius-1.6.0-build.patch:
+ version bump
*commandergenius-1.4.2 (09 May 2013)
diff --git a/games-arcade/commandergenius/Manifest b/games-arcade/commandergenius/Manifest
index 868c22cab801..5e57a38aff78 100644
--- a/games-arcade/commandergenius/Manifest
+++ b/games-arcade/commandergenius/Manifest
@@ -2,19 +2,22 @@
Hash: SHA256
AUX commandergenius-1.4.2-build.patch 679 SHA256 85c801bc20b8e07c0b34e74e51826a0e17785aaf557ed6f0a8c0552126fccd94 SHA512 870d278b86a6870d55a8cd07e43cff2bb5e277442a698a47ab3c3eae9c8ec394de57e78ed8e22aeac7a0c7df05280b92604ded147372d41116289c52d50b80b2 WHIRLPOOL 0c996a34824b5d5c7a03880a6df6a3902a8b6b187d8f813b0d2fcd11882067120e1672ee5933fbf03332c7b2ce6c13e9bc5e8d59ff94cd53ca02898c904102ca
+AUX commandergenius-1.6.0-build.patch 679 SHA256 85c801bc20b8e07c0b34e74e51826a0e17785aaf557ed6f0a8c0552126fccd94 SHA512 870d278b86a6870d55a8cd07e43cff2bb5e277442a698a47ab3c3eae9c8ec394de57e78ed8e22aeac7a0c7df05280b92604ded147372d41116289c52d50b80b2 WHIRLPOOL 0c996a34824b5d5c7a03880a6df6a3902a8b6b187d8f813b0d2fcd11882067120e1672ee5933fbf03332c7b2ce6c13e9bc5e8d59ff94cd53ca02898c904102ca
AUX commandergenius-wrapper 450 SHA256 994d6e3291ef7e28cdac2eb2312f82c84849a33a6d11ba50694ceabaaa5d2d35 SHA512 7c3eb80389dfcae1345cbf7dae614c392dfa4ad3c6cbe02b850055df6d43f4e5531bc8fab8703804ce78ae882ed6322c9e4adf0c0f516235e1af17a8c29d7f1f WHIRLPOOL 454313b3a950f4663cf126a366092c0b7769f9cf91dd3939b63029465c29237019ad0371fba27092deccfc6312c366a7d7cc6be8fc45216539082279cb8080bb
DIST CGenius-1.4.2-Release-Source.tar.gz 872776 SHA256 720d874c38bd27fdc0aa29e753d6382b2d05d5461bcfa56b9ed5efd400f3eb00 SHA512 24d0bc2110e0d2946193df3a048919dfbcfb41410a01adfc57503a2572ee3e42d4a1f513e13aefbf858135b3226e669e1a50343ee50107c280c69703a45f6556 WHIRLPOOL 5c9e6df7364105ce982d5a1aebe92942cd180f51bb687dee2200779fd1e3c2e7dd781e6ad8850315611ab6b4368357abc5a32353076bf055294c17ee77991ff0
+DIST CGenius-1.6.0-Release-Source.tar.gz 22017212 SHA256 4ca1437321f8eecaaf3198e2e7d204a033549780d795212a3184c7f761f0d3e3 SHA512 84545d4b8db0fe504032d1f3ed988234f68abfbdbb3e8444aafc2c9bad818b7e480b1b2af497429319a838ebe57e1d7cb1d6bf3ed102e04779dc2f591fcd7904 WHIRLPOOL e05dd2a27c53baec9378a34aff5f450d91f39f4fb3b26031f2450ce6b6eb445902e18345c5e3cd4710a2484af301b67fab56bb101b336872c7aed228f8a69c34
EBUILD commandergenius-1.4.2.ebuild 1922 SHA256 e96cd9143dbd391bb892c50670571f61204790448f657aa5bca6e4a088834d1e SHA512 22756400c33651a4848a351ed2eb86d6b4787ea1c3b66ff97eda14f1b55896d19160b617ca4a6fc63d0e3d2c5d3c31f22e289cf38faadf9ed14e176b1cb66f94 WHIRLPOOL dcc82071e8d0296c871e68559e23cbae65bfea1f5d9921b6fcceb1c3d9ba2754f86e45dfa8e343a5e1341144c66991a6e9684d0ac5251cff99b3ffae79cd2f68
-MISC ChangeLog 474 SHA256 3a8a5b8d4602adf44f2c8adbc4fa92f8aa1c9777797a5605ea9235ee34fb52a3 SHA512 71f45704fa029b29b9232eba415cfa19e984bc00111eee2e1814017c88fdee5118a301b74caa385764d411ba2e71c0618675ef8791c0c09e432e523cc927fe0f WHIRLPOOL 734530dd70ec441944fc0bf705d555481ea9909057eb12600048d64ff17602d83aee46a7bbf0302d6b9f4011cffe27ec3587f8b38cf55553d56fe95562a9bffb
+EBUILD commandergenius-1.6.0.ebuild 1960 SHA256 a6465eeb06c1d5ceec681c9bbf216c5593fbfa1c27a2467a54e5844ccfc2328d SHA512 6641d90515da924c378253504bfc91af24bd2f7005b6d93672d17faf9dcf3d4307eb296d62f591bc62e66b0943e244eb760dc0c2bf3b552b55d5c62ef646b99f WHIRLPOOL 330b0cbc67128bdd6045bf775635ddc513844313ba78e4383370172cdc8916d47ab73b62f0ae505a79e7d46ad22192313647f77193effa7f77346d88426125f8
+MISC ChangeLog 654 SHA256 c4b33565556383f6b89e3fca81530fc380c9e038ce8058fb0885395c1c25044b SHA512 90627d48d12c081b9bf658c18391395c0634119181c2fff8b7dfa090d4b5cfd1ed6014066b241c3fb213354eed080b0c80c8d8871137a28d35783dedd96b19e0 WHIRLPOOL e21acf9286b832b431517a602cbe062760f15493b0cb4575565228a1bab4f1bbaf8e0edb44ca7e4ea799b4e1f9856025f45124b371ffa606b49824776749cb1a
MISC metadata.xml 400 SHA256 104d832607ae51bf3e86ec1db279731d368620a9b57612b474e3c41480e9f720 SHA512 6680071f62989ed056c4f3571127326874ed19ef3aa4ba15858aa1f84c3e4c72446f82f52e5c00faa73f534653ed8a8cd7cfd740b00932dd638ae522f6a7eb06 WHIRLPOOL f2b3fef766e828ba1f7101224a320d6e9d65001b77d7c2c418a69ca7c3bc8fd483320421a7bea8521980f566428cb85f9d2872000cf1d6e83d8394532177c01a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.20 (GNU/Linux)
-iQEcBAEBCAAGBQJRi5awAAoJEFpvPKfnPDWzVV4IAJBfcl5CbHWWhAdtdFJq/kWZ
-Z10O4G18UiICxqzFOoct1ky4zdt0oxQPMMAUGCsg1eYUhzFk0m4vMTXcMiojmOKR
-XI4ZynT+jhphGaNmenEuPos63jNfSTaeyIq+XB6lV32dMLZPJwSdWBBEfoJhM2wz
-R2h4TVNtsd1QP44K4OaYmibRfs5XwbYD2UmUQKZebNqWHIV2niYJCRdUjJNpwEuJ
-2Jk4vjxoTIIicESIOsGl7IUN/zToFusX5xYJ4/KxNFRyZ+v7LChOp92R5JD9UuF6
-ZB4FWrRfZhf8kViQXw1JHOp4UFindJS1eHbHUD9uU1i3uQGZW03lCmkW7/UsYCw=
-=H6HT
+iQEcBAEBCAAGBQJSDW4xAAoJEFpvPKfnPDWzZkcH/3MEBUbgeZF1ntqhKcylBKbg
+kSwGTXb/rBV65Q/j8i1FJ6FAKuLFtHvWhiehfQyMf/eKY1+PAl7v7I6aKXTZ5K0d
+WtcbIc4FRt2kxN/NgPD0Rw2rnDagNNR3u/5gwA25mM/X55ZAUwG2GfOa+yd9Fgba
+4SSbS2DFQ5k9lqjnW78JVFvReSPcNa2I2dT93tXbnhaewy8Aclj/W78yUOTrd3DB
+hm2J7M/hiX/8FsWaJ2uuIz+9OPQ2e7e7uB6D9LqdovxnSTnxxzgBM9/pODViCb79
+uVKeEgs7EVC/1I/3iuPAjjLJ8x8BGDj2TCq+IQNIm9r03UIw5sJeoCGZkYsIR98=
+=KVkW
-----END PGP SIGNATURE-----
diff --git a/games-arcade/commandergenius/commandergenius-1.6.0.ebuild b/games-arcade/commandergenius/commandergenius-1.6.0.ebuild
new file mode 100644
index 000000000000..ddee855a9937
--- /dev/null
+++ b/games-arcade/commandergenius/commandergenius-1.6.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/commandergenius-1.6.0.ebuild,v 1.1 2013/08/16 00:11:22 hasufell Exp $
+
+EAPI=5
+
+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"
+RESTRICT="mirror" # tarball contains non-free data which we do not install
+
+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_prepare() {
+ rm -r vfsroot || die "failed removing non-free game data"
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+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)
+ )
+
+ 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"
+}
diff --git a/games-arcade/commandergenius/files/commandergenius-1.6.0-build.patch b/games-arcade/commandergenius/files/commandergenius-1.6.0-build.patch
new file mode 100644
index 000000000000..46d2c1b1ad37
--- /dev/null
+++ b/games-arcade/commandergenius/files/commandergenius-1.6.0-build.patch
@@ -0,0 +1,23 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Thu May 9 11:51:38 UTC 2013
+Subject: fix build
+
+--- CGenius-1.4.2-Release-Source/install.cmake
++++ CGenius-1.4.2-Release-Source/install.cmake
+@@ -20,11 +20,13 @@
+ DESTINATION ${APPDIR})
+
+ # This will copy the resources files to the proper directory
+-INSTALL(DIRECTORY vfsroot/
+- DESTINATION ${DATADIR})
++IF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
++ INSTALL(DIRECTORY vfsroot/
++ DESTINATION ${DATADIR})
++ENDIF(IS_DIRECTORY "${CMAKE_SOURCE_DIR}/vfsroot")
+
+ # This will copy the readme file.
+-INSTALL(FILES README
++INSTALL(FILES "${CMAKE_BINARY_DIR}/README"
+ DESTINATION ${DOCDIR})
+
+ # This will copy the readme file.