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-sports/stuntrally-tracks/, games-sports/stuntrally/
Date: Sat, 01 Dec 2018 15:41:26
Message-Id: 1543678847.da8de29ef14ab32f06ec865b05e4863a55b16cbb.winterheart@gentoo
1 commit: da8de29ef14ab32f06ec865b05e4863a55b16cbb
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Dec 1 15:03:47 2018 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Dec 1 15:40:47 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=da8de29e
7
8 games-sports/stuntrally-tracks: add version 2.6
9
10 Fixes for live ebuild, remove deprecated eclasses
11
12 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
13 Package-Manager: Portage-2.3.51, Repoman-2.3.11
14
15 .../stuntrally-tracks/stuntrally-tracks-2.6.ebuild | 29 ++++++++++++++++++++++
16 .../stuntrally-tracks-9999.ebuild | 12 +++------
17 games-sports/stuntrally/stuntrally-2.6.ebuild | 1 +
18 games-sports/stuntrally/stuntrally-9999.ebuild | 1 +
19 4 files changed, 35 insertions(+), 8 deletions(-)
20
21 diff --git a/games-sports/stuntrally-tracks/stuntrally-tracks-2.6.ebuild b/games-sports/stuntrally-tracks/stuntrally-tracks-2.6.ebuild
22 new file mode 100644
23 index 0000000..fe2ff9d
24 --- /dev/null
25 +++ b/games-sports/stuntrally-tracks/stuntrally-tracks-2.6.ebuild
26 @@ -0,0 +1,29 @@
27 +# Copyright 1999-2018 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=6
31 +
32 +inherit cmake-utils
33 +
34 +DESCRIPTION="A set of tracks for ${CATEGORY}/${P//-tracks}"
35 +HOMEPAGE="http://stuntrally.tuxfamily.org/"
36 +
37 +SLOT="0"
38 +LICENSE="GPL-3"
39 +IUSE=""
40 +
41 +SRC_URI="https://github.com/stuntrally/tracks/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +KEYWORDS="~amd64 ~x86"
43 +
44 +S="${WORKDIR}/tracks-${PV}"
45 +
46 +src_configure() {
47 + local mycmakeargs+=(
48 + -DSHARE_INSTALL="/usr/share/stuntrally"
49 + )
50 + cmake-utils_src_configure
51 +}
52 +
53 +src_install() {
54 + cmake-utils_src_install
55 +}
56
57 diff --git a/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild b/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild
58 index 58446e2..60248df 100644
59 --- a/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild
60 +++ b/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild
61 @@ -1,12 +1,12 @@
62 # Copyright 1999-2018 Gentoo Authors
63 # Distributed under the terms of the GNU General Public License v2
64
65 -EAPI=5
66 +EAPI=6
67
68 -inherit games cmake-utils git-2
69 +inherit cmake-utils git-r3
70
71 DESCRIPTION="A set of tracks for ${CATEGORY}/${P//-tracks}"
72 -HOMEPAGE="http://code.google.com/p/vdrift-ogre/"
73 +HOMEPAGE="https://stuntrally.tuxfamily.org/"
74
75 SLOT="0"
76 LICENSE="GPL-3"
77 @@ -19,17 +19,13 @@ EGIT_PROJECT="${PN}"
78 # Shallowing, since we don't want to fetch few GB of history
79 #EGIT_OPTIONS="--depth 1"
80
81 -RDEPEND="~${CATEGORY}/${P//-tracks}"
82 -DEPEND="${RDEPEND}"
83 -
84 src_configure() {
85 local mycmakeargs+=(
86 - -DSHARE_INSTALL="/usr/share/games/stuntrally"
87 + -DSHARE_INSTALL="/usr/share/stuntrally"
88 )
89 cmake-utils_src_configure
90 }
91
92 src_install() {
93 cmake-utils_src_install
94 - prepgamesdirs
95 }
96
97 diff --git a/games-sports/stuntrally/stuntrally-2.6.ebuild b/games-sports/stuntrally/stuntrally-2.6.ebuild
98 index 06b7065..5d2f22d 100644
99 --- a/games-sports/stuntrally/stuntrally-2.6.ebuild
100 +++ b/games-sports/stuntrally/stuntrally-2.6.ebuild
101 @@ -57,6 +57,7 @@ src_configure() {
102 -DBUILD_GAME=$(usex game)
103 -DBUILD_EDITOR=$(usex editor)
104 -DBUILD_SHARED_LIBS=OFF
105 + -DSHARE_INSTALL="share/stuntrally"
106 )
107 cmake-utils_src_configure
108 }
109
110 diff --git a/games-sports/stuntrally/stuntrally-9999.ebuild b/games-sports/stuntrally/stuntrally-9999.ebuild
111 index 6e9d7bf..0bd380b 100644
112 --- a/games-sports/stuntrally/stuntrally-9999.ebuild
113 +++ b/games-sports/stuntrally/stuntrally-9999.ebuild
114 @@ -53,6 +53,7 @@ src_configure() {
115 -DBUILD_GAME=$(usex game)
116 -DBUILD_EDITOR=$(usex editor)
117 -DBUILD_SHARED_LIBS=OFF
118 + -DSHARE_INSTALL="share/stuntrally"
119 )
120 cmake-utils_src_configure
121 }