Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/lugaru/
Date: Mon, 16 Oct 2017 00:08:49
Message-Id: 1508112421.b3993d22a39b98ec80e2a809402081a352438d81.soap@gentoo
1 commit: b3993d22a39b98ec80e2a809402081a352438d81
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 23:39:02 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 16 00:07:01 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3993d22
7
8 games-action/lugaru: [QA] Add cmake-utils_src_prepare
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 games-action/lugaru/lugaru-20151204-r1.ebuild | 3 ++-
13 games-action/lugaru/lugaru-20151204.ebuild | 7 +++++--
14 games-action/lugaru/lugaru-9999.ebuild | 3 ++-
15 3 files changed, 9 insertions(+), 4 deletions(-)
16
17 diff --git a/games-action/lugaru/lugaru-20151204-r1.ebuild b/games-action/lugaru/lugaru-20151204-r1.ebuild
18 index ac9ad89e8c7..f53cecb8d74 100644
19 --- a/games-action/lugaru/lugaru-20151204-r1.ebuild
20 +++ b/games-action/lugaru/lugaru-20151204-r1.ebuild
21 @@ -30,7 +30,8 @@ PATCHES=(
22 )
23
24 src_prepare() {
25 - default
26 + cmake-utils_src_prepare
27 +
28 sed -i \
29 -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
30 Source/OpenGL_Windows.cpp || die
31
32 diff --git a/games-action/lugaru/lugaru-20151204.ebuild b/games-action/lugaru/lugaru-20151204.ebuild
33 index 0a4ed3e8879..3944efc4601 100644
34 --- a/games-action/lugaru/lugaru-20151204.ebuild
35 +++ b/games-action/lugaru/lugaru-20151204.ebuild
36 @@ -1,4 +1,4 @@
37 -# Copyright 1999-2015 Gentoo Foundation
38 +# Copyright 1999-2017 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40
41 EAPI=5
42 @@ -25,8 +25,11 @@ RDEPEND="
43 DEPEND="${RDEPEND}
44 virtual/pkgconfig"
45
46 +PATCHES=( "${FILESDIR}/${P}-dir.patch" )
47 +
48 src_prepare() {
49 - epatch "${FILESDIR}/${P}-dir.patch"
50 + cmake-utils_src_prepare
51 +
52 sed -i \
53 -e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
54 Source/OpenGL_Windows.cpp || die
55
56 diff --git a/games-action/lugaru/lugaru-9999.ebuild b/games-action/lugaru/lugaru-9999.ebuild
57 index c447775fa52..2e65288097b 100644
58 --- a/games-action/lugaru/lugaru-9999.ebuild
59 +++ b/games-action/lugaru/lugaru-9999.ebuild
60 @@ -35,7 +35,8 @@ PATCHES=(
61 )
62
63 src_prepare() {
64 - default
65 + cmake-utils_src_prepare
66 +
67 sed -i \
68 -e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
69 Source/OpenGL_Windows.cpp || die