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: Mon, 4 Feb 2019 00:48:47 +0000 (UTC) [thread overview]
Message-ID: <1549241299.e2f534410f3c73c4de3efbad930441f3080d4928.asturm@gentoo> (raw)
commit: e2f534410f3c73c4de3efbad930441f3080d4928
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 4 00:36:29 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb 4 00:48:19 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2f53441
media-gfx/sane-frontends: EAPI-7 bump, fix gimp symlink, SRC_URI
Debian alioth server has been taken down, code moved to salsa.debian.org,
see also: https://lists.debian.org/debian-devel-announce/2018/04/msg00008.html
Bug: https://bugs.gentoo.org/664570
Thanks-to: Herb Miller Jr <herb <AT> hlmjr.com>
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Closes: https://github.com/gentoo/gentoo/pull/9800
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-gfx/sane-frontends/Manifest | 1 +
.../sane-frontends/sane-frontends-1.0.14-r4.ebuild | 61 ++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/media-gfx/sane-frontends/Manifest b/media-gfx/sane-frontends/Manifest
index 14eae5f193d..49b144a9fad 100644
--- a/media-gfx/sane-frontends/Manifest
+++ b/media-gfx/sane-frontends/Manifest
@@ -1 +1,2 @@
DIST sane-frontends-1.0.14.tar.gz 231892 BLAKE2B 3d3af2ded774fa90ba4b9545a00df1f036fc72edb71a69f803dde84ca1e9d37b4d20ac91d046ce702c31eb7353d2d85b91cbf8bd53b84adea7f2e58f8be1a062 SHA512 51b24a9bd6889e99419c1d6abb30cb14d8f89b6196c5147044697bdb1b39ee029bdc0d7c6e1f1e800491988aa26f658bc974b25040c49d008ca8977673c78710
+DIST sane-frontends-upstream-1.0.14.tar.gz 233587 BLAKE2B 69e34ed783cff68879b92d478195fe8c67f29d8904e22bdc62deb7310e8ac73d1ce6fc89ee0eafe3e2460f54cec257dbfe28843aec679cfe8669be6c5fc0e2bd SHA512 ffb854f4f4fd08a98395f325c22aa81924ac1e0827e795107bf01f3c42c2cd64bc204c79bc5ec8fd570746d039eae87a2da9cdf30b7f4640442a33c6495d35f8
diff --git a/media-gfx/sane-frontends/sane-frontends-1.0.14-r4.ebuild b/media-gfx/sane-frontends/sane-frontends-1.0.14-r4.ebuild
new file mode 100644
index 00000000000..7eb6ed27c10
--- /dev/null
+++ b/media-gfx/sane-frontends/sane-frontends-1.0.14-r4.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Scanner Access Now Easy"
+HOMEPAGE="http://www.sane-project.org"
+SRC_URI="https://salsa.debian.org/debian/sane-frontends/-/archive/upstream/${PV}/${PN}-upstream-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gimp gtk"
+
+REQUIRED_USE="gimp? ( gtk )"
+
+DEPEND="
+ media-gfx/sane-backends
+ gimp? ( media-gfx/gimp:2 )
+ gtk? (
+ dev-libs/glib:2
+ x11-libs/gtk+:2
+ )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS Changelog NEWS PROBLEMS README )
+
+PATCHES=( "${FILESDIR}/MissingCapsFlag.patch" )
+
+S="${WORKDIR}"/"${PN}"-upstream-"${PV}"
+
+src_configure() {
+ local myeconfargs=(
+ --datadir=/usr/share/misc
+ $(use_enable gimp)
+ $(use_enable gtk gtk2)
+ $(use_enable gtk guis)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # link xscanimage so it is seen as a plugin in gimp
+ if use gimp; then
+ local plugindir
+ if type gimptool &>/dev/null; then
+ plugindir="$(gimptool --gimpplugindir)/plug-ins"
+ elif type gimptool-2.0 &>/dev/null; then
+ plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins"
+ else
+ die "Can't find GIMP plugin directory."
+ fi
+ dodir "${plugindir#${EPREFIX}}"
+ dosym "${EPREFIX}"/usr/bin/xscanimage "${plugindir#${EPREFIX}}"/xscanimage
+ fi
+
+ einstalldocs
+}
next reply other threads:[~2019-02-04 0:48 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-04 0:48 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-12 6:31 [gentoo-commits] repo/gentoo:master commit in: media-gfx/sane-frontends/ Sam James
2021-01-08 10:38 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
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
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=1549241299.e2f534410f3c73c4de3efbad930441f3080d4928.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