From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B74CD1382C5 for ; Wed, 3 Jan 2018 18:39:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B704E0880; Wed, 3 Jan 2018 18:39:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 294B8E087C for ; Wed, 3 Jan 2018 18:39:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 602F2335C5B for ; Wed, 3 Jan 2018 18:39:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93C0C1BA for ; Wed, 3 Jan 2018 18:39:10 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1515004707.f5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnustep-apps/preview/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnustep-apps/preview/preview-0.9.ebuild X-VCS-Directories: gnustep-apps/preview/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: f5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7 X-VCS-Branch: master Date: Wed, 3 Jan 2018 18:39:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 68a170ad-44c3-4ac4-a911-b7c3b60b9d3f X-Archives-Hash: b12e4ea98aace2eed00d49720f03dfaa commit: f5a2c60ea309c4f6cf10114e7b00ac2dbd11b8a7 Author: David Seifert gentoo org> AuthorDate: Wed Jan 3 18:38:27 2018 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Jan 3 18:38:27 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a2c60e gnustep-apps/preview: Port to EAPI 6 Package-Manager: Portage-2.3.19, Repoman-2.3.6 gnustep-apps/preview/preview-0.9.ebuild | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnustep-apps/preview/preview-0.9.ebuild b/gnustep-apps/preview/preview-0.9.ebuild index 1f5d1177422..f7bac95e785 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 }