summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-19 21:33:16 +0100
committerSam James <sam@gentoo.org>2021-04-19 21:54:03 +0100
commit80033e154663a4770f73a577a6348099a9fe9fa1 (patch)
tree133363aa2a6339767a930f1cd4593b8704ea24bf /app-cdr
parentdev-games/ode: port to EAPI 7 (diff)
downloadgentoo-80033e154663a4770f73a577a6348099a9fe9fa1.tar.gz
gentoo-80033e154663a4770f73a577a6348099a9fe9fa1.tar.bz2
gentoo-80033e154663a4770f73a577a6348099a9fe9fa1.zip
app-cdr/extract-xiso: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild13
1 files changed, 8 insertions, 5 deletions
diff --git a/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild b/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild
index c89c16d1ea41..f4e6324db818 100644
--- a/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild
+++ b/app-cdr/extract-xiso/extract-xiso-2.7.1.ebuild
@@ -1,25 +1,28 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
+EAPI=7
-inherit epatch toolchain-funcs
+inherit toolchain-funcs
MY_PV=${PV/_beta/b}
DESCRIPTION="Tool for extracting and creating optimised Xbox ISO images"
HOMEPAGE="https://sourceforge.net/projects/extract-xiso"
SRC_URI="mirror://sourceforge/extract-xiso/${P}.tar.gz"
+S="${WORKDIR}"/${PN}
LICENSE="BSD-4"
SLOT="0"
KEYWORDS="amd64 ppc x86"
-IUSE=""
-S=${WORKDIR}/${PN}
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.7.1-headers.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.7.1-headers.patch
+ default
+
sed -i \
-e 's:__LINUX__:__linux__:' \
*.[ch] */*.[ch] || die