public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/sane-frontends/
Date: Sun, 18 Feb 2018 17:11:19 +0000 (UTC)	[thread overview]
Message-ID: <1518973850.137e388d3c3439bb738dbc5473890997573470bc.asturm@gentoo> (raw)

commit:     137e388d3c3439bb738dbc5473890997573470bc
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 18 17:02:06 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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
+}


             reply	other threads:[~2018-02-18 17:11 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-18 17:11 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-08 10:38 [gentoo-commits] repo/gentoo:master commit in: media-gfx/sane-frontends/ Sam James
2021-01-08 10:36 Sam James
2021-01-08  0:53 Sam James
2021-01-06 17:35 Sergei Trofimovich
2020-11-08 12:02 Sam James
2020-10-11 19:21 Sam James
2020-01-28  8:24 Joonas Niilola
2019-02-04  9:06 Miroslav Šulc
2019-02-04  0:48 Andreas Sturmlechner
2018-04-11 23:25 Andreas Sturmlechner
2018-04-03 18:20 Jonas Stein
2018-04-03 18:15 Matt Turner
2018-03-31 18:24 Sergei Trofimovich
2018-03-05 13:57 Tobias Klausmann
2018-03-04 20:05 Andreas Sturmlechner
2018-03-04 20:05 Andreas Sturmlechner
2018-03-04 20:05 Andreas Sturmlechner
2018-03-04 20:05 Andreas Sturmlechner
2018-02-25 18:21 Thomas Deutschmann
2018-02-24  8:55 Sergei Trofimovich
2018-02-22 12:04 Agostino Sarubbo
2018-02-21 23:55 Andreas Sturmlechner
2018-02-18 17:52 Andreas Sturmlechner
2018-02-18 17:11 Andreas Sturmlechner
2018-02-18 17:11 Andreas Sturmlechner
2018-02-18 17:11 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1518973850.137e388d3c3439bb738dbc5473890997573470bc.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox