media-gfx/iscan-plugin-network-nt: New package... Nonfree/EULA
authorAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 25 Dec 2019 20:47:06 +0000 (21:47 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Wed, 25 Dec 2019 20:48:02 +0000 (21:48 +0100)
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
media-gfx/iscan-plugin-network-nt/Manifest [new file with mode: 0644]
media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild [new file with mode: 0644]
media-gfx/iscan-plugin-network-nt/metadata.xml [new file with mode: 0644]

diff --git a/media-gfx/iscan-plugin-network-nt/Manifest b/media-gfx/iscan-plugin-network-nt/Manifest
new file mode 100644 (file)
index 0000000..71a8787
--- /dev/null
@@ -0,0 +1 @@
+DIST iscan-bundle-2.30.4.x64.deb.tar.gz 517592 BLAKE2B f7c0638575d406ed8612f478c06fdb1331e890f932b8dc96a4dcf9fbe499683f53159103c8dfd6c1036f2bc7930bbbc4c8b18d88c460d4b48798e07f31630e0b SHA512 6d967f5d2d554478df49c784d0ee785a9e1fc4f4b6ea4dc320270a50eca35cc3d533b918a1bda33cf3b0e9b783380e7828b77543730079b2e2f40ad9578db79d
diff --git a/media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild b/media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild
new file mode 100644 (file)
index 0000000..59027f2
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Network scanning plugin for EPSON scanners (nonfree)"
+
+HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+# This is distributed as part of the "bundle driver"; since we already have the
+# opensource part separately we just install the nonfree part here.
+
+ISCAN_VERSION="2.30.4"
+
+SRC_URI="https://download2.ebz.epson.net/iscan/general/deb/x64/iscan-bundle-${ISCAN_VERSION}.x64.deb.tar.gz"
+
+LICENSE="EPSON-2018"
+
+SLOT="0"
+
+#KEYWORDS="~amd64"
+# No keywords since I havent really gotten it to work yet. However, installation
+# locations are clearly correct... may be a hardware/network problem on my side.
+
+RESTRICT="bindist mirror strip"
+
+RDEPEND="media-gfx/iscan"
+BDEPEND="app-arch/deb2targz"
+
+src_unpack() {
+       default
+       mv ./iscan-bundle-${ISCAN_VERSION}.x64.deb/plugins/iscan-network-nt_*_amd64.deb ${P}.deb || die
+       mkdir ${P} || die
+       cd ${P} || die
+       unpack ../${P}.deb
+       unpack "${S}/data.tar.gz"
+}
+
+src_install() {
+       exeinto /usr/lib/iscan
+       doexe usr/lib/iscan/network
+
+       gunzip usr/share/doc/iscan-network-nt/*.gz
+       dodoc usr/share/doc/iscan-network-nt/*
+}
diff --git a/media-gfx/iscan-plugin-network-nt/metadata.xml b/media-gfx/iscan-plugin-network-nt/metadata.xml
new file mode 100644 (file)
index 0000000..80a71f5
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>dilfridge@gentoo.org</email>
+    <name>Andreas K. Huettel</name>
+  </maintainer>
+</pkgmetadata>