summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 16:54:50 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:08:06 -0700
commitc9ade02efa78e864b77ef329594716be6c8ca137 (patch)
treee97b4a73d6387ca1fd297b38b1b672d1f58fb05b /games-strategy
parentgames-rpg/arx-libertatis: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-c9ade02efa78e864b77ef329594716be6c8ca137.tar.gz
gentoo-c9ade02efa78e864b77ef329594716be6c8ca137.tar.bz2
gentoo-c9ade02efa78e864b77ef329594716be6c8ca137.zip
games-strategy/freesynd: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/freesynd/freesynd-0.7.1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/games-strategy/freesynd/freesynd-0.7.1.ebuild b/games-strategy/freesynd/freesynd-0.7.1.ebuild
index ca97959a721..ec26a73395b 100644
--- a/games-strategy/freesynd/freesynd-0.7.1.ebuild
+++ b/games-strategy/freesynd/freesynd-0.7.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils cmake-utils gnome2-utils games
-DESCRIPTION="A cross-platform reimplementation of engine for the classic Bullfrog game, Syndicate"
+DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate"
HOMEPAGE="http://freesynd.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -21,10 +21,12 @@ RDEPEND="media-libs/libogg
media-libs/sdl-image[png]"
DEPEND=${RDEPEND}
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
CMAKE_IN_SOURCE_BUILD=1
src_prepare() {
- epatch "${FILESDIR}"/${P}-cmake.patch
+ cmake-utils_src_prepare
sed \
-e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = ${GAMES_DATADIR}/${PN}/data:" \