Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/freesynd/
Date: Sun, 01 Jul 2018 00:04:13
Message-Id: 1530403419.4eba80f4806fe2f0ab57029f98262d7c33963789.asturm@gentoo
1 commit: 4eba80f4806fe2f0ab57029f98262d7c33963789
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 30 22:52:54 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 1 00:03:39 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eba80f4
7
8 games-strategy/freesynd: EAPI-6 bump
9
10 Package-Manager: Portage-2.3.41, Repoman-2.3.9
11
12 games-strategy/freesynd/freesynd-0.7.1-r1.ebuild | 22 ++++++++++------------
13 1 file changed, 10 insertions(+), 12 deletions(-)
14
15 diff --git a/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
16 index c787783deb4..08cdeb54329 100644
17 --- a/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
18 +++ b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild
19 @@ -1,10 +1,12 @@
20 # Copyright 1999-2018 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=5
24 -inherit eutils cmake-utils gnome2-utils readme.gentoo-r1
25 +EAPI=6
26
27 -DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate"
28 +CMAKE_IN_SOURCE_BUILD=1
29 +inherit cmake-utils desktop gnome2-utils readme.gentoo-r1
30 +
31 +DESCRIPTION="Portable reimplementation of engine for the classic Bullfrog game, Syndicate"
32 HOMEPAGE="http://freesynd.sourceforge.net/"
33 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
34
35 @@ -23,9 +25,9 @@ RDEPEND="
36 "
37 DEPEND="${RDEPEND}"
38
39 -PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
40 +DOCS=( NEWS README INSTALL AUTHORS )
41
42 -CMAKE_IN_SOURCE_BUILD=1
43 +PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
44
45 DOC_CONTENTS="
46 You have to set \"data_dir = /my/path/to/synd-data\"
47 @@ -42,8 +44,8 @@ src_prepare() {
48
49 src_configure() {
50 local mycmakeargs=(
51 - $(cmake-utils_use_with debug DEBUG)
52 - $(cmake-utils_use_build devtools DEV_TOOLS)
53 + -DWITH_DEBUG=$(usex debug)
54 + -DBUILD_DEV_TOOLS=$(usex devtools)
55 )
56
57 cmake-utils_src_configure
58 @@ -56,14 +58,10 @@ src_install() {
59 doins -r data
60 newicon -s 128 icon/sword.png ${PN}.png
61 make_desktop_entry ${PN}
62 - dodoc NEWS README INSTALL AUTHORS
63 + einstalldocs
64 readme.gentoo_create_doc
65 }
66
67 -pkg_preinst() {
68 - gnome2_icon_savelist
69 -}
70 -
71 pkg_postinst() {
72 gnome2_icon_cache_update
73 if use debug ; then