Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-arcade/commandergenius: commandergenius-1.6.5.3.ebuild ChangeLog
Date: Mon, 30 Dec 2013 00:34:29
Message-Id: 20131230003426.170B42004C@flycatcher.gentoo.org
1 hasufell 13/12/30 00:34:26
2
3 Modified: ChangeLog
4 Added: commandergenius-1.6.5.3.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
9
10 Revision Changes Path
11 1.4 games-arcade/commandergenius/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 20 Aug 2013 00:31:08 -0000 1.3
24 +++ ChangeLog 30 Dec 2013 00:34:25 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-arcade/commandergenius
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.3 2013/08/20 00:31:08 hasufell Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/ChangeLog,v 1.4 2013/12/30 00:34:25 hasufell Exp $
30 +
31 +*commandergenius-1.6.5.3 (30 Dec 2013)
32 +
33 + 30 Dec 2013; Julian Ospald <hasufell@g.o>
34 + +commandergenius-1.6.5.3.ebuild:
35 + version bump
36
37 *commandergenius-1.6.1 (20 Aug 2013)
38
39 @@ -21,4 +27,3 @@
40 +commandergenius-1.4.2.ebuild, +files/commandergenius-1.4.2-build.patch,
41 +files/commandergenius-wrapper, +metadata.xml:
42 initial import wrt #411385
43 -
44
45
46
47 1.1 games-arcade/commandergenius/commandergenius-1.6.5.3.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/commandergenius-1.6.5.3.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-arcade/commandergenius/commandergenius-1.6.5.3.ebuild?rev=1.1&content-type=text/plain
51
52 Index: commandergenius-1.6.5.3.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/games-arcade/commandergenius/commandergenius-1.6.5.3.ebuild,v 1.1 2013/12/30 00:34:25 hasufell Exp $
57
58 EAPI=5
59
60 CMAKE_IN_SOURCE_BUILD=1
61 inherit cmake-utils eutils games
62
63 MY_P=CGenius-${PV}-Release-Source
64 DESCRIPTION="Open Source Commander Keen clone (needs original game files)"
65 HOMEPAGE="http://clonekeenplus.sourceforge.net"
66 SRC_URI="mirror://sourceforge/clonekeenplus/CGenius/V${PV:0:3}/${MY_P}.tar.gz"
67
68 LICENSE="GPL-2 LGPL-2"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="opengl tremor"
72
73 RDEPEND="media-libs/libsdl[X,audio,opengl?,video]
74 media-libs/sdl-image
75 opengl? ( virtual/opengl )
76 tremor? ( media-libs/tremor )
77 !tremor? ( media-libs/libvorbis )"
78 DEPEND="${RDEPEND}
79 virtual/pkgconfig"
80
81 S=${WORKDIR}/${MY_P}
82
83 src_configure() {
84 local mycmakeargs=(
85 -DAPPDIR="${GAMES_BINDIR}"
86 -DSHAREDIR="/usr/share"
87 -DGAMES_SHAREDIR="${GAMES_DATADIR}"
88 -DDOCDIR="/usr/share/doc/${PF}"
89 -DBUILD_TARGET="LINUX"
90 $(cmake-utils_use opengl OPENGL)
91 $(cmake-utils_use tremor TREMOR)
92 $(cmake-utils_use !tremor OGG)
93 -DUSE_SDL2=0
94 )
95
96 cmake-utils_src_configure
97 }
98
99 src_compile() {
100 cmake-utils_src_compile
101 }
102
103 src_install() {
104 cmake-utils_src_install
105 newicon CGLogo.png ${PN}.png
106 newgamesbin "${FILESDIR}"/commandergenius-wrapper commandergenius
107 make_desktop_entry commandergenius
108 prepgamesdirs
109 }
110
111 pkg_postinst() {
112 games_pkg_postinst
113 elog "Check your settings in ~/.CommanderGenius/cgenius.cfg"
114 elog "after you have started the game for the first time."
115 use opengl && elog "You may also want to set \"OpenGL = true\""
116 elog
117 elog "Run the game via:"
118 elog " 'commandergenius [path-to-keen-data]'"
119 elog "or add your keen data dir to the search paths in cgenius.cfg"
120 }