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-emulation/hatari/
Date: Mon, 16 Oct 2017 00:08:52
Message-Id: 1508112457.d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49.soap@gentoo
1 commit: d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 15 23:48:41 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 16 00:07:37 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d373cd4a
7
8 games-emulation/hatari: [QA] Add cmake-utils_src_prepare
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11
12 games-emulation/hatari/hatari-1.8.0.ebuild | 11 ++++++++---
13 1 file changed, 8 insertions(+), 3 deletions(-)
14
15 diff --git a/games-emulation/hatari/hatari-1.8.0.ebuild b/games-emulation/hatari/hatari-1.8.0.ebuild
16 index defb5f6da8c..50898e87d78 100644
17 --- a/games-emulation/hatari/hatari-1.8.0.ebuild
18 +++ b/games-emulation/hatari/hatari-1.8.0.ebuild
19 @@ -1,4 +1,4 @@
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 @@ -26,14 +26,19 @@ RDEPEND="${RDEPEND}
26 dev-python/pygtk[${PYTHON_USEDEP}]
27 games-emulation/emutos"
28
29 +PATCHES=(
30 + "${FILESDIR}"/${P}-gentoo.patch
31 + "${FILESDIR}"/${P}-gentoo-docdir.patch
32 +)
33 +
34 pkg_setup() {
35 games_pkg_setup
36 python-single-r1_pkg_setup
37 }
38
39 src_prepare() {
40 - epatch "${FILESDIR}"/${P}-gentoo.patch \
41 - "${FILESDIR}"/${P}-gentoo-docdir.patch
42 + cmake-utils_src_prepare
43 +
44 # build with newer zlib (bug #387829)
45 sed -i -e '1i#define OF(x) x' src/includes/unzip.h || die
46 sed -i -e '/Encoding/d' ./python-ui/hatariui.desktop || die