summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 16:48:41 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:07:37 -0700
commitd373cd4ad2f15475c2fe77ceb93e32dbc16c6a49 (patch)
tree72f731075f8ae50f763aa38f646b95a4da3c737c /games-emulation/hatari
parentgames-board/holdingnuts: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49.tar.gz
gentoo-d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49.tar.bz2
gentoo-d373cd4ad2f15475c2fe77ceb93e32dbc16c6a49.zip
games-emulation/hatari: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'games-emulation/hatari')
-rw-r--r--games-emulation/hatari/hatari-1.8.0.ebuild11
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