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 913DC1382C5 for ; Sun, 18 Feb 2018 17:11:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B29C6E0BD3; Sun, 18 Feb 2018 17:11:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 940E0E0BD3 for ; Sun, 18 Feb 2018 17:11:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 459BC335C2C for ; Sun, 18 Feb 2018 17:11:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A561B22D for ; Sun, 18 Feb 2018 17:11:19 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1518973850.137e388d3c3439bb738dbc5473890997573470bc.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/sane-frontends/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/sane-frontends/sane-frontends-1.0.14-r2.ebuild X-VCS-Directories: media-gfx/sane-frontends/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 137e388d3c3439bb738dbc5473890997573470bc X-VCS-Branch: master Date: Sun, 18 Feb 2018 17:11:19 +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: a591fcac-a02a-459d-855e-135a93e12839 X-Archives-Hash: 1afc7f2e99b99f17678ecfc4a7f3030f commit: 137e388d3c3439bb738dbc5473890997573470bc Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 18 17:02:06 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 18 17:10:50 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=137e388d media-gfx/sane-frontends: Drop obsolete gimp-1 compat Cleanup, don't compile in src_configure. Bug: https://bugs.gentoo.org/647524 Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../sane-frontends/sane-frontends-1.0.14-r2.ebuild | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/media-gfx/sane-frontends/sane-frontends-1.0.14-r2.ebuild b/media-gfx/sane-frontends/sane-frontends-1.0.14-r2.ebuild new file mode 100644 index 00000000000..b635cb4ba34 --- /dev/null +++ b/media-gfx/sane-frontends/sane-frontends-1.0.14-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Scanner Access Now Easy" +HOMEPAGE="http://www.sane-project.org" +SRC_URI="ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz + ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="gimp" + +RDEPEND="" +DEPEND="${RDEPEND} + media-gfx/sane-backends + gimp? ( media-gfx/gimp:2 ) +" + +PATCHES=( "${FILESDIR}/MissingCapsFlag.patch" ) + +src_configure() { + econf \ + --datadir=/usr/share/misc \ + $(use_enable gimp) +} + +src_install() { + local gimpplugindir + local gimptool + emake DESTDIR="${D}" install + if use gimp; then + for gimptool in gimptool gimptool-2.0; do + if [ -x /usr/bin/${gimptool} ]; then + einfo "Setting plugin link for GIMP version $(/usr/bin/${gimptool} --version)" + gimpplugindir=$(/usr/bin/${gimptool} --gimpplugindir)/plug-ins + break + fi + done + if [ "/plug-ins" != "${gimpplugindir}" ]; then + dodir ${gimpplugindir} + dosym xscanimage ${gimpplugindir}/xscanimage + else + ewarn "No idea where to find the gimp plugin directory" + fi + fi + dodoc AUTHORS Changelog NEWS PROBLEMS README +}