public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: games-strategy/freesynd/
@ 2017-10-16  0:08 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-10-16  0:08 UTC (permalink / raw
  To: gentoo-commits

commit:     c9ade02efa78e864b77ef329594716be6c8ca137
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 15 23:54:50 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 00:08:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9ade02e

games-strategy/freesynd: [QA] Add cmake-utils_src_prepare

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 games-strategy/freesynd/freesynd-0.7.1.ebuild | 8 +++++---
 1 file 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:" \


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: games-strategy/freesynd/
@ 2018-07-01  0:03 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2018-07-01  0:03 UTC (permalink / raw
  To: gentoo-commits

commit:     4eba80f4806fe2f0ab57029f98262d7c33963789
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 30 22:52:54 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul  1 00:03:39 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eba80f4

games-strategy/freesynd: EAPI-6 bump

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 games-strategy/freesynd/freesynd-0.7.1-r1.ebuild | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
index c787783deb4..08cdeb54329 100644
--- a/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
+++ b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
@@ -1,10 +1,12 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils cmake-utils gnome2-utils readme.gentoo-r1
+EAPI=6
 
-DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate"
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake-utils desktop gnome2-utils readme.gentoo-r1
+
+DESCRIPTION="Portable reimplementation of engine for the classic Bullfrog game, Syndicate"
 HOMEPAGE="http://freesynd.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
@@ -23,9 +25,9 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+DOCS=( NEWS README INSTALL AUTHORS )
 
-CMAKE_IN_SOURCE_BUILD=1
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
 
 DOC_CONTENTS="
 	You have to set \"data_dir = /my/path/to/synd-data\"
@@ -42,8 +44,8 @@ src_prepare() {
 
 src_configure() {
 	local mycmakeargs=(
-		$(cmake-utils_use_with debug DEBUG)
-		$(cmake-utils_use_build devtools DEV_TOOLS)
+		-DWITH_DEBUG=$(usex debug)
+		-DBUILD_DEV_TOOLS=$(usex devtools)
 	)
 
 	cmake-utils_src_configure
@@ -56,14 +58,10 @@ src_install() {
 	doins -r data
 	newicon -s 128 icon/sword.png ${PN}.png
 	make_desktop_entry ${PN}
-	dodoc NEWS README INSTALL AUTHORS
+	einstalldocs
 	readme.gentoo_create_doc
 }
 
-pkg_preinst() {
-	gnome2_icon_savelist
-}
-
 pkg_postinst() {
 	gnome2_icon_cache_update
 	if use debug ; then


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-01  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-01  0:03 [gentoo-commits] repo/gentoo:master commit in: games-strategy/freesynd/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2017-10-16  0:08 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox