Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/mars-game/
Date: Wed, 01 Aug 2012 17:49:39
Message-Id: 1343843504.6cf77260fadb59805d7ff69f2edbb411b03288ff.winterheart@gentoo
1 commit: 6cf77260fadb59805d7ff69f2edbb411b03288ff
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Wed Aug 1 17:51:44 2012 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Wed Aug 1 17:51:44 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=6cf77260
7
8 [games-arcade/mars-game] New version 0.7.5
9 Moved repository from svn to git, QA cleanup.
10
11 (Portage version: 2.1.10.62/git/Linux i686, unsigned Manifest commit)
12
13 ---
14 games-arcade/mars-game/mars-game-0.7.5.ebuild | 29 +++++++++++++++++++++++++
15 games-arcade/mars-game/mars-game-9999.ebuild | 21 ++++++++---------
16 2 files changed, 39 insertions(+), 11 deletions(-)
17
18 diff --git a/games-arcade/mars-game/mars-game-0.7.5.ebuild b/games-arcade/mars-game/mars-game-0.7.5.ebuild
19 new file mode 100644
20 index 0000000..fe2bb24
21 --- /dev/null
22 +++ b/games-arcade/mars-game/mars-game-0.7.5.ebuild
23 @@ -0,0 +1,29 @@
24 +# Copyright 1999-2012 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Header: /var/cvsroot/gentoo-x86/games-arcade/mars-game/mars-game-9999.ebuild,v 1.2 2011/09/09 07:52:53 frostwork Exp $
27 +
28 +EAPI=4
29 +
30 +inherit cmake-utils eutils
31 +
32 +DESCRIPTION="M.A.R.S. a ridiculous shooter"
33 +HOMEPAGE="http://mars-games.sourceforge.net"
34 +SRC_URI="https://github.com/downloads/thelaui/M.A.R.S./mars_source_${PV}.tar.gz"
35 +
36 +LICENSE="GPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="debug"
40 +
41 +DEPEND="dev-libs/fribidi
42 + >=media-libs/libsfml-2.0_rc20120731
43 + media-libs/taglib
44 + virtual/opengl"
45 +RDEPEND="${DEPEND}"
46 +
47 +S="${WORKDIR}/${PN}"
48 +
49 +src_prepare() {
50 + epatch "${FILESDIR}"/${PN}-9999-glib.patch
51 + sed -i -e "s:{CMAKE_INSTALL_PREFIX}/games:{CMAKE_INSTALL_PREFIX}/games/bin:g" -i src/CMakeLists.txt
52 +}
53
54 diff --git a/games-arcade/mars-game/mars-game-9999.ebuild b/games-arcade/mars-game/mars-game-9999.ebuild
55 index 2de30e9..902d9f0 100644
56 --- a/games-arcade/mars-game/mars-game-9999.ebuild
57 +++ b/games-arcade/mars-game/mars-game-9999.ebuild
58 @@ -1,28 +1,27 @@
59 -# Copyright 1999-2011 Gentoo Foundation
60 +# Copyright 1999-2012 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/games-arcade/mars-game/mars-game-9999.ebuild,v 1.2 2011/09/09 07:52:53 frostwork Exp $
63
64 EAPI=4
65
66 -inherit cmake-utils eutils subversion
67 +inherit cmake-utils eutils git-2
68
69 -DESCRIPTION="a ridiculous shooter"
70 -HOMEPAGE="http://${PN}.sourceforge.net"
71 -ESVN_REPO_URI="https://${PN}.svn.sourceforge.net/svnroot/${PN}"
72 +DESCRIPTION="M.A.R.S. a ridiculous shooter"
73 +HOMEPAGE="http://mars-game.sourceforge.net"
74 +EGIT_REPO_URI="https://github.com/thelaui/M.A.R.S..git"
75
76 -
77 -LICENSE="as-is"
78 +LICENSE="GPL-3"
79 SLOT="0"
80 KEYWORDS=""
81 IUSE="debug"
82
83 -DEPEND=">=media-libs/libsfml-2.0
84 - media-libs/taglib
85 - virtual/opengl"
86 +DEPEND="dev-libs/fribidi
87 + >=media-libs/libsfml-2.0_rc20120731
88 + media-libs/taglib
89 + virtual/opengl"
90 RDEPEND="${DEPEND}"
91
92 src_prepare(){
93 epatch "${FILESDIR}"/${P}-glib.patch
94 sed -i -e "s:{CMAKE_INSTALL_PREFIX}/games:{CMAKE_INSTALL_PREFIX}/games/bin:g" -i src/CMakeLists.txt
95 }
96 -