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 F3B86138336 for ; Mon, 4 Feb 2019 00:48:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02C49E095E; Mon, 4 Feb 2019 00:48:51 +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 BB9EFE095E for ; Mon, 4 Feb 2019 00:48:50 +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 0953333BE65 for ; Mon, 4 Feb 2019 00:48:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73880536 for ; Mon, 4 Feb 2019 00:48:47 +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: <1549241299.e2f534410f3c73c4de3efbad930441f3080d4928.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/Manifest media-gfx/sane-frontends/sane-frontends-1.0.14-r4.ebuild X-VCS-Directories: media-gfx/sane-frontends/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e2f534410f3c73c4de3efbad930441f3080d4928 X-VCS-Branch: master Date: Mon, 4 Feb 2019 00:48:47 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87447fe0-8e35-4807-92c0-6a81759b6259 X-Archives-Hash: 326f7d99c7a9a51303d385aafce9c56a commit: e2f534410f3c73c4de3efbad930441f3080d4928 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Feb 4 00:36:29 2019 +0000 Commit: Andreas Sturmlechner gentoo 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 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 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 +}