summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2019-12-25 21:47:06 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2019-12-25 21:48:02 +0100
commit472c2bd8f9956ec11654ae9180f97b3bffb85a4f (patch)
treedebbde62436795ef39927e757634025b03415ecf /media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild
parentlicense_groups: add EPSON-2018 to @EULA (diff)
downloadgentoo-472c2bd8f9956ec11654ae9180f97b3bffb85a4f.tar.gz
gentoo-472c2bd8f9956ec11654ae9180f97b3bffb85a4f.tar.bz2
gentoo-472c2bd8f9956ec11654ae9180f97b3bffb85a4f.zip
media-gfx/iscan-plugin-network-nt: New package... Nonfree/EULA
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild')
-rw-r--r--media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild44
1 files changed, 44 insertions, 0 deletions
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
index 00000000000..59027f25061
--- /dev/null
+++ b/media-gfx/iscan-plugin-network-nt/iscan-plugin-network-nt-1.1.2.1.ebuild
@@ -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/*
+}