diff options
-rw-r--r-- | games-emulation/hatari/hatari-1.8.0.ebuild | 11 |
1 files 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 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 |