summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2015-02-06 17:58:20 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2015-02-06 17:58:20 +0000
commit914d4943920c213184a4e6cd40d8bff9415d9a45 (patch)
treee1bc5878e6527980de7206e652da09b66efc9d2c /games-arcade
parentversion bump; clean old (diff)
downloadhistorical-914d4943920c213184a4e6cd40d8bff9415d9a45.tar.gz
historical-914d4943920c213184a4e6cd40d8bff9415d9a45.tar.bz2
historical-914d4943920c213184a4e6cd40d8bff9415d9a45.zip
version bump
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/commandergenius/ChangeLog8
-rw-r--r--games-arcade/commandergenius/Manifest5
-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
4 files changed, 123 insertions, 2 deletions
diff --git a/games-arcade/commandergenius/ChangeLog b/games-arcade/commandergenius/ChangeLog
index 49d7a045cbab..fa8517c61711 100644
--- a/games-arcade/commandergenius/ChangeLog
+++ b/games-arcade/commandergenius/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-arcade/commandergenius
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.14 2015/01/27 07:29:09 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.15 2015/02/06 17:58:15 mr_bones_ Exp $
+
+*commandergenius-1.8.0.0 (06 Feb 2015)
+
+ 06 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ +commandergenius-1.8.0.0.ebuild, +files/commandergenius-1.8.0.0-install.patch:
+ version bump
27 Jan 2015; Michael Sterrett <mr_bones_@gentoo.org>
-commandergenius-1.7.2.0.ebuild, -commandergenius-1.7.3.0.ebuild:
diff --git a/games-arcade/commandergenius/Manifest b/games-arcade/commandergenius/Manifest
index 4994a5e936b9..5e6ce4baca1e 100644
--- a/games-arcade/commandergenius/Manifest
+++ b/games-arcade/commandergenius/Manifest
@@ -1,7 +1,10 @@
AUX commandergenius-1.7.4.0-build.patch 960 SHA256 7aaed3e1dd47797652d9a95284b6a5057f9ad7fbe923c96ba3404b22eb32a17d SHA512 b2d394ea71cf088191dcc0b3d556a7adb71ba2d87d3a577b3eb89e53108ffaf79df810c48508113d5b70fd6b305eaaa22d501f2b05cc3f7578d1471e940548c0 WHIRLPOOL baf3bc20fd531a802cc113ee2d5299f34dd79ea0a164c02f634726adee0abe92c46e21ae94e3949cec7cab1a233207f031c3b85b8e574e515b3c330a0be09bc1
AUX commandergenius-1.7.4.0-install.patch 699 SHA256 19abab8aab303616d7975b42fd5a1c7f4728a0a9a23ff61388d5a3e4aa016646 SHA512 4e1963fc08c46943da97e799c47ac5e1e6c07f26e74e17237b4d84b3d9295b10be87b6c5e599a1718246f89cbad02b92cd9dfdcbff125bae4210d61888839276 WHIRLPOOL da2ca0c571e623fb202df46acf6482eba96096abd24e99894b0cabb8d633bb8dba5bd2fefb39f28805d68cd714bc935c94d471e24acc79b7ca1254fa68a16222
+AUX commandergenius-1.8.0.0-install.patch 659 SHA256 9151caf06ac1483b802c2ea4dd1bcd1785f2f32052631e1f4c5f515e24b7eb88 SHA512 dc61e67546e5755b901e6b2b8f44bda3aa9b1053637648a624c8e0a3dc2110f3f94f5555e5bbc5415c4019415bb68ae211a635b0cf9c69776aaf457b9096f65f WHIRLPOOL 8cf651bece127deca00bec0f509570ecd880bb2436aca03a17a424609ce618e806acfa4bff64200c2e289817f592ab857dac039d764fcfe8ad64605c523e5ca5
AUX commandergenius-wrapper 450 SHA256 994d6e3291ef7e28cdac2eb2312f82c84849a33a6d11ba50694ceabaaa5d2d35 SHA512 7c3eb80389dfcae1345cbf7dae614c392dfa4ad3c6cbe02b850055df6d43f4e5531bc8fab8703804ce78ae882ed6322c9e4adf0c0f516235e1af17a8c29d7f1f WHIRLPOOL 454313b3a950f4663cf126a366092c0b7769f9cf91dd3939b63029465c29237019ad0371fba27092deccfc6312c366a7d7cc6be8fc45216539082279cb8080bb
DIST CGenius-1.7.4.0-Release-src.tar.gz 17876189 SHA256 2d35a19028a9a06fcf860a22332732a00183b5cc53f4f41ecc8bc836b8f100e8 SHA512 1c7c1305c6d4ef6dd8ce575f8decfcddd155853b988dc2bdbb167caa46b6ffca09f045dc9985478bdf464ea8fa9d73772b7cb5798bd738cd3409812d51748261 WHIRLPOOL dac9c12b66c720addc460f8d3e463c853df2d6f439e7a59b5b397e23fb47f805cdb8f7c6c068078547566193598c48bb8c52c74bcd19ed9ae5bf3b865170f195
+DIST CGenius-1.8.0.0-Release-Source.tar.gz 22863637 SHA256 131cbc12d711d1c168baf89f1f9e0e4e9560049c21f42399d913c09c619e6153 SHA512 4e4dc91a5cfabfcace9db2fa85fe2d3dbe91396760cdf37372a12270782ac29906cbeb05b7e48bdf3a64eb042d3b7e209d3370f20ad8b8dfbc1d8c59a95abba9 WHIRLPOOL e8c3068a956fc62ecbd6d134cc4d16e96249555463b41e4193cf6796229a5ecc3e02398914d34ac8cc481978d6df0107c70d6ace635f05e3ae742efd3150ee17
EBUILD commandergenius-1.7.4.0.ebuild 2308 SHA256 e535acb0bc978ea4b12064c091f36d5600f59e759ac24507edf6a74ff9e302e3 SHA512 0ddd9710ebece41eba9119e55789b444d955ed95a21bc42b5f04de1c9ae8b4396ca1f42807fffccfbf8988a12f3f00ac97827838a39fda0de086fe1495d54abe WHIRLPOOL 4bca653ac73fcbecd32c99d49faf222999b007e68713dd8fcb998c3dce41ba69103bf7f3712cbb220b76103b59c74636d51a67b5e617645afdb401ba769d0675
-MISC ChangeLog 2682 SHA256 59ca68545d0133a7fcf849c52c20da353d8062639d8d24c502feccbdf58a5573 SHA512 eaf4cd49f0363a24a5c97ecfaa9102901e02ee46246906bd78a092fc64035595699557d9c469a495b9a279437833d166e06c4c51059fccb7d67a6d170865760d WHIRLPOOL 470a6baeb83575e14d703baf3c8afd32b49312bb9cdf4fa020dcbedc13568e37c01bb40df341334d263f61f4d21846470b4d52decfb51053482bd93fd6120775
+EBUILD commandergenius-1.8.0.0.ebuild 2341 SHA256 21a84cd2a53fc5c908bdb0807bbd78a859cc51a58d637bc3ef64bf6fb3c6b12f SHA512 33a1525ed7288955aae1f43600dc04acf1b55eb5985cc77fa4721947984ee081571b0dec06ad70d7be4d798f71fe641d75542ec1e594123dc3058070f14e2e28 WHIRLPOOL de0b6a9ef32c680c0950744c23ec09fbcaa47aac6cb925bb64db3727928fc65f66eef5ec0c40cc036c4b4b819d1ffb09a094118915fda9f491b241eca75dbf6c
+MISC ChangeLog 2874 SHA256 5a7575fe93b593b01151be3c9df27c77b908778d0b0291668cd66a6394b6396b SHA512 489bd743a95305303d5a504a62b09876c37d52078b6681a548baca6096ea7e65f24e4228a4ca7418e481c96f7475f1edefe718fa2a556852c4ffa2029e020765 WHIRLPOOL 266474795e33558ddc2c55928769f56f2b8f5b00ae4c1e9703d904c448810fb31135a4585bc34a4d3d52aa29fba8c57b2b56c8ac688a426340c1ccbd8c7f33be
MISC metadata.xml 305 SHA256 00b5df186e970ce543dade92362af5804673b6bc4fb39807ebe36f9d30330be5 SHA512 aa7e79bfe6940f1dfa57c0d94719c045721ebb776e97ba6e5e609675fdb99f29935f7890fb37552f4ef6143d594a9662fb956626ef0a88a4a0da59d76e9c44f2 WHIRLPOOL b5d23cfd49c8534d948ba8a9921e9fb44ace5c48ad715e0b4d8a2932135cf9d774d6291950cde782f2bf1e5eb8a46cda82069e657408f708ffed28b85219164d
diff --git a/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild b/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild
new file mode 100644
index 000000000000..8170cb326dd2
--- /dev/null
+++ b/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/commandergenius-1.8.0.0.ebuild,v 1.1 2015/02/06 17:58:15 mr_bones_ 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"
+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
new file mode 100644
index 000000000000..ea502bdde9bb
--- /dev/null
+++ b/games-arcade/commandergenius/files/commandergenius-1.8.0.0-install.patch
@@ -0,0 +1,20 @@
+--- 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