summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-01-03 19:38:27 +0100
committerDavid Seifert <soap@gentoo.org>2018-01-03 19:38:27 +0100
commitf5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7 (patch)
treebd4a018c09eb4d1aca5a78740c0cb16ec98ee8fe /gnustep-apps/preview
parentgnustep-libs/gsldap: Port to EAPI 6 (diff)
downloadgentoo-f5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7.tar.gz
gentoo-f5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7.tar.bz2
gentoo-f5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7.zip
gnustep-apps/preview: Port to EAPI 6
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'gnustep-apps/preview')
-rw-r--r--gnustep-apps/preview/preview-0.9.ebuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/gnustep-apps/preview/preview-0.9.ebuild b/gnustep-apps/preview/preview-0.9.ebuild
index 1f5d11774224..f7bac95e785d 100644
--- a/gnustep-apps/preview/preview-0.9.ebuild
+++ b/gnustep-apps/preview/preview-0.9.ebuild
@@ -1,21 +1,27 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=3
-inherit gnustep-2
+EAPI=6
-S=${WORKDIR}/${PN/p/P}
+inherit gnustep-2
DESCRIPTION="Simple image viewer"
HOMEPAGE="http://www.sonappart.net/softwares/preview/"
SRC_URI="http://www.sonappart.net/softwares/preview/download/${P/p/P}.tar.gz"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
-src_prepare() {
- sed -e 's/sel_eq(/sel_isEqual(/' -i Document.m || die "sed failed"
+S=${WORKDIR}/${PN/p/P}
+
+PATCHES=(
# Fix compilation, patch from debian
- epatch "${FILESDIR}"/${PN}-0.8.5-compilation-errors.patch
+ "${FILESDIR}"/${PN}-0.8.5-compilation-errors.patch
+)
+
+src_prepare() {
+ default
+ sed -e 's/sel_eq(/sel_isEqual(/' -i Document.m || die
}