commit: d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 15 23:48:41 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Oct 16 00:07:37 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d373cd4a
games-emulation/hatari: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
games-emulation/hatari/hatari-1.8.0.ebuild | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/games-emulation/hatari/hatari-1.8.0.ebuild
b/games-emulation/hatari/hatari-1.8.0.ebuild
index defb5f6da8c..50898e87d78 100644
--- a/games-emulation/hatari/hatari-1.8.0.ebuild
+++ b/games-emulation/hatari/hatari-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -26,14 +26,19 @@ RDEPEND="${RDEPEND}
dev-python/pygtk[${PYTHON_USEDEP}]
games-emulation/emutos"
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-gentoo-docdir.patch
+)
+
pkg_setup() {
games_pkg_setup
python-single-r1_pkg_setup
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch \
- "${FILESDIR}"/${P}-gentoo-docdir.patch
+ cmake-utils_src_prepare
+
# build with newer zlib (bug #387829)
sed -i -e '1i#define OF(x) x' src/includes/unzip.h || die
sed -i -e '/Encoding/d' ./python-ui/hatariui.desktop || die