commit:     da8de29ef14ab32f06ec865b05e4863a55b16cbb
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Sat Dec  1 15:03:47 2018 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Sat Dec  1 15:40:47 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=da8de29e

games-sports/stuntrally-tracks: add version 2.6

Fixes for live ebuild, remove deprecated eclasses

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 .../stuntrally-tracks/stuntrally-tracks-2.6.ebuild | 29 ++++++++++++++++++++++
 .../stuntrally-tracks-9999.ebuild                  | 12 +++------
 games-sports/stuntrally/stuntrally-2.6.ebuild      |  1 +
 games-sports/stuntrally/stuntrally-9999.ebuild     |  1 +
 4 files changed, 35 insertions(+), 8 deletions(-)

diff --git a/games-sports/stuntrally-tracks/stuntrally-tracks-2.6.ebuild 
b/games-sports/stuntrally-tracks/stuntrally-tracks-2.6.ebuild
new file mode 100644
index 0000000..fe2ff9d
--- /dev/null
+++ b/games-sports/stuntrally-tracks/stuntrally-tracks-2.6.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="A set of tracks for ${CATEGORY}/${P//-tracks}"
+HOMEPAGE="http://stuntrally.tuxfamily.org/";
+
+SLOT="0"
+LICENSE="GPL-3"
+IUSE=""
+
+SRC_URI="https://github.com/stuntrally/tracks/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/tracks-${PV}"
+
+src_configure() {
+       local mycmakeargs+=(
+               -DSHARE_INSTALL="/usr/share/stuntrally"
+       )
+       cmake-utils_src_configure
+}
+
+src_install() {
+       cmake-utils_src_install
+}

diff --git a/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild 
b/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild
index 58446e2..60248df 100644
--- a/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild
+++ b/games-sports/stuntrally-tracks/stuntrally-tracks-9999.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-inherit games cmake-utils git-2
+inherit cmake-utils git-r3
 
 DESCRIPTION="A set of tracks for ${CATEGORY}/${P//-tracks}"
-HOMEPAGE="http://code.google.com/p/vdrift-ogre/";
+HOMEPAGE="https://stuntrally.tuxfamily.org/";
 
 SLOT="0"
 LICENSE="GPL-3"
@@ -19,17 +19,13 @@ EGIT_PROJECT="${PN}"
 # Shallowing, since we don't want to fetch few GB of history
 #EGIT_OPTIONS="--depth 1"
 
-RDEPEND="~${CATEGORY}/${P//-tracks}"
-DEPEND="${RDEPEND}"
-
 src_configure() {
        local mycmakeargs+=(
-               -DSHARE_INSTALL="/usr/share/games/stuntrally"
+               -DSHARE_INSTALL="/usr/share/stuntrally"
        )
        cmake-utils_src_configure
 }
 
 src_install() {
        cmake-utils_src_install
-       prepgamesdirs
 }

diff --git a/games-sports/stuntrally/stuntrally-2.6.ebuild 
b/games-sports/stuntrally/stuntrally-2.6.ebuild
index 06b7065..5d2f22d 100644
--- a/games-sports/stuntrally/stuntrally-2.6.ebuild
+++ b/games-sports/stuntrally/stuntrally-2.6.ebuild
@@ -57,6 +57,7 @@ src_configure() {
                -DBUILD_GAME=$(usex game)
                -DBUILD_EDITOR=$(usex editor)
                -DBUILD_SHARED_LIBS=OFF
+               -DSHARE_INSTALL="share/stuntrally"
        )
        cmake-utils_src_configure
 }

diff --git a/games-sports/stuntrally/stuntrally-9999.ebuild 
b/games-sports/stuntrally/stuntrally-9999.ebuild
index 6e9d7bf..0bd380b 100644
--- a/games-sports/stuntrally/stuntrally-9999.ebuild
+++ b/games-sports/stuntrally/stuntrally-9999.ebuild
@@ -53,6 +53,7 @@ src_configure() {
                -DBUILD_GAME=$(usex game)
                -DBUILD_EDITOR=$(usex editor)
                -DBUILD_SHARED_LIBS=OFF
+               -DSHARE_INSTALL="share/stuntrally"
        )
        cmake-utils_src_configure
 }

Reply via email to