From d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 15 Oct 2017 16:48:41 -0700 Subject: 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(-) (limited to 'games-emulation') diff --git a/games-emulation/hatari/hatari-1.8.0.ebuild b/games-emulation/hatari/hatari-1.8.0.ebuild index defb5f6da8ce..50898e87d78d 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 -- cgit v1.2.3-65-gdbad