Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/iscan-plugin-network-nt/
Date: Sun, 26 Apr 2020 15:58:30
Message-Id: 1587916684.7cd466d8c6c63fd669bc5247c3cd3e0e30659a6a.asturm@gentoo
1 commit: 7cd466d8c6c63fd669bc5247c3cd3e0e30659a6a
2 Author: Marcin Deranek <marcin.deranek <AT> booking <DOT> com>
3 AuthorDate: Mon Apr 13 11:51:40 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 26 15:58:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd466d8
7
8 media-gfx/iscan-plugin-network-nt: Version bump to 1.1.3
9
10 Closes: https://bugs.gentoo.org/711864
11 Signed-off-by: Marcin Deranek <marcin.deranek <AT> slonko.net>
12 Closes: https://github.com/gentoo/gentoo/pull/15331
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 media-gfx/iscan-plugin-network-nt/Manifest | 1 +
16 .../iscan-plugin-network-nt-1.1.3.ebuild | 38 ++++++++++++++++++++++
17 2 files changed, 39 insertions(+)
18
19 diff --git a/media-gfx/iscan-plugin-network-nt/Manifest b/media-gfx/iscan-plugin-network-nt/Manifest
20 index 71a8787eb2c..ddbfa87bce5 100644
21 --- a/media-gfx/iscan-plugin-network-nt/Manifest
22 +++ b/media-gfx/iscan-plugin-network-nt/Manifest
23 @@ -1 +1,2 @@
24 +DIST imagescan-bundle-centos-8-3.62.0.x64.rpm.tar.gz 11111201 BLAKE2B 51b868569fa049f8bc35a911245895c0fe0c5e0060b129c1c84a39cddd0aa4344ea024b6896dadc535438bcfc0be74337348533adf1b2be8866aad4e30bcb41a SHA512 11af49d20fc8e828c25dc6e912d1dbefebcba9835b1ebe922bc57c30dd0d13b79508a1bb01ad260c721d865fd393a41bc2bf41dc84b42efb22512a28cc9542f3
25 DIST iscan-bundle-2.30.4.x64.deb.tar.gz 517592 BLAKE2B f7c0638575d406ed8612f478c06fdb1331e890f932b8dc96a4dcf9fbe499683f53159103c8dfd6c1036f2bc7930bbbc4c8b18d88c460d4b48798e07f31630e0b SHA512 6d967f5d2d554478df49c784d0ee785a9e1fc4f4b6ea4dc320270a50eca35cc3d533b918a1bda33cf3b0e9b783380e7828b77543730079b2e2f40ad9578db79d
26
27 diff --git a/media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.3.ebuild b/media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.3.ebuild
28 new file mode 100644
29 index 00000000000..b1b7f05ba96
30 --- /dev/null
31 +++ b/media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.3.ebuild
32 @@ -0,0 +1,38 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit linux-info rpm
39 +
40 +DESCRIPTION="Network scanning plugin for EPSON scanners (nonfree)"
41 +
42 +HOMEPAGE="https://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
43 +# This is distributed as part of the "bundle driver"; since we already have the
44 +# opensource part separately we just install the nonfree part here.
45 +
46 +ISCAN_VERSION="3.62.0"
47 +
48 +SRC_URI="https://download2.ebz.epson.net/imagescanv3/centos/latest1/rpm/x64/imagescan-bundle-centos-8-${ISCAN_VERSION}.x64.rpm.tar.gz"
49 +LICENSE="GPL-3+"
50 +SLOT="0"
51 +KEYWORDS="~amd64"
52 +
53 +RDEPEND="media-gfx/iscan"
54 +RESTRICT="bindist mirror strip"
55 +# https://bugs.gentoo.org/364129#c15
56 +CONFIG_CHECK="~SYN_COOKIES"
57 +S=${WORKDIR}
58 +
59 +src_unpack() {
60 + default
61 + rpm_unpack ./imagescan-bundle-centos-8-${ISCAN_VERSION}.x64.rpm/plugins/imagescan-plugin-networkscan-${PV}-1epson4centos8.x86_64.rpm
62 +}
63 +
64 +src_install() {
65 + exeinto /usr/libexec/utsushi
66 + doexe usr/libexec/utsushi/networkscan
67 +
68 + gunzip usr/share/doc/imagescan-plugin-networkscan/*.gz
69 + dodoc usr/share/doc/imagescan-plugin-networkscan/*
70 +}