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-strategy/freesynd/
Date: Mon, 16 Oct 2017 00:08:54
Message-Id: 1508112486.c9ade02efa78e864b77ef329594716be6c8ca137.soap@gentoo
1 commit: c9ade02efa78e864b77ef329594716be6c8ca137
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 23:54:50 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 16 00:08:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ade02e
7
8 games-strategy/freesynd: [QA] Add cmake-utils_src_prepare
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 games-strategy/freesynd/freesynd-0.7.1.ebuild | 8 +++++---
13 1 file changed, 5 insertions(+), 3 deletions(-)
14
15 diff --git a/games-strategy/freesynd/freesynd-0.7.1.ebuild b/games-strategy/freesynd/freesynd-0.7.1.ebuild
16 index ca97959a721..ec26a73395b 100644
17 --- a/games-strategy/freesynd/freesynd-0.7.1.ebuild
18 +++ b/games-strategy/freesynd/freesynd-0.7.1.ebuild
19 @@ -1,10 +1,10 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2017 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI=5
25 inherit eutils cmake-utils gnome2-utils games
26
27 -DESCRIPTION="A cross-platform reimplementation of engine for the classic Bullfrog game, Syndicate"
28 +DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate"
29 HOMEPAGE="http://freesynd.sourceforge.net/"
30 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
31
32 @@ -21,10 +21,12 @@ RDEPEND="media-libs/libogg
33 media-libs/sdl-image[png]"
34 DEPEND=${RDEPEND}
35
36 +PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
37 +
38 CMAKE_IN_SOURCE_BUILD=1
39
40 src_prepare() {
41 - epatch "${FILESDIR}"/${P}-cmake.patch
42 + cmake-utils_src_prepare
43
44 sed \
45 -e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = ${GAMES_DATADIR}/${PN}/data:" \