summaryrefslogtreecommitdiff
path: root/media-gfx/iscan-plugin-gt-f720
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/iscan-plugin-gt-f720
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/iscan-plugin-gt-f720')
-rw-r--r--media-gfx/iscan-plugin-gt-f720/Manifest7
-rw-r--r--media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.2.ebuild68
-rw-r--r--media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild66
-rw-r--r--media-gfx/iscan-plugin-gt-f720/metadata.xml12
4 files changed, 153 insertions, 0 deletions
diff --git a/media-gfx/iscan-plugin-gt-f720/Manifest b/media-gfx/iscan-plugin-gt-f720/Manifest
new file mode 100644
index 000000000000..f5fc35f0dd1f
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-f720/Manifest
@@ -0,0 +1,7 @@
+DIST esci-interpreter-gt-f720-0.0.1-2.i386.rpm 381387 SHA256 c47d2acfb6de4d9c300e2f26df5b8a7c250e07195245d638457b8a4ea61f0903 SHA512 6ccc6f48d8c00614346a0faee798b876497ba5ac1b35e3fd558a6e01711b944dc713e654d53fff09daff00b91251150665932564fea4fc60ec1a0a7ec95fa1f5 WHIRLPOOL 2edd2338e00d05a017e68bdae4ca791dd409e8138adfff7cc45557ec612a209b1cb01f2ce823fbc2de4afead23019c1962a013885886bafe838ed51b018635e7
+DIST esci-interpreter-gt-f720-0.0.1-2.x86_64.rpm 170040 SHA256 9e82fc5110b4f2b08402ac4e0a4391665b7edccaba43df4299f5c48b60faaabb SHA512 457fcfa3ae8291336a127e95dc81e24a2125ae8f861bf74d2006e4d019c54bd351c2480254b9173e52dfe489962dffea2819963596f280e1dc05c527fbf6b625 WHIRLPOOL 362e8030b9c55f12ff56c9883689b8d0d9e5387c55fdcd9b0fbb5ca418b479a081b3bdd845f59ad3381ff52c96fd25d879746786d1b129cc5d1d27f6c358cd65
+EBUILD iscan-plugin-gt-f720-0.0.1.2.ebuild 1796 SHA256 725122ced43e8ffcad70af0c8faad1ab215c15bcb8841caefe56775161e5b62d SHA512 f7e55bc3e4860c160b910e2c43c5b0fa42a8135da87ac733af10926edf6a43450e0b0f49470f57aaf1cd7817d9088d252bdfe272a9dc5cf93e434b70d49ac361 WHIRLPOOL cbe1f3e6ba77a46c04d1bd7c0e0c40ae1fcdcc0c717ce9616ab8beaa8df88cc5e562247af0ab4b767c5aab2a035be5359012ec1ae65ae25b1a41fb2e056273c9
+EBUILD iscan-plugin-gt-f720-0.0.1.ebuild 1714 SHA256 6c57dd796782c96ec36c5e93deb097604ec651c5ffcf44b26ad2e508edb14f63 SHA512 a97b614e4315947f23fbac62c508c34784c1f39016e040a0280264497dcc5e9609bb58aa18bb2fb290aee0d59656ae3e45fbda11477a33ba9d770434835ef93f WHIRLPOOL 18c92700eec221731024d6ba0413a64ab230f0759ce219b2a9c7156c813bed927444bf294ef0b65eac50692eb2f529db52ccf7f9edc6c8ebe7be3322d71d735a
+MISC ChangeLog 2617 SHA256 423de0775e71965a3bbc054e019497ee5436566302d195b71f49031e04de3c40 SHA512 3ab2504b42c24c672efa63eff3fb9aff25a12ed904c21d13b069a6f2edc05ad2cf804196dc133af7ca82f1cd8f1ef16aae41487ac77fc999610cc9cb3e81192b WHIRLPOOL 04665ead365af4cc5e735c0dca51243619756bd787676416aadd2aa1bd74cd9f42fa63b9272a9a3b06ae1f2c74af66bba7d113ef9dac3ab447d3ff461737089c
+MISC ChangeLog-2015 1728 SHA256 6dfd0e3278ec6b9b7fd5cd88b6e74c864afff92d8dfcd2071977d61ee540dd59 SHA512 09506739a7358e19f88e553ac2250f7307ace09908aa61f1f52ddb32d7845061bcdbad3c88025f5633b03a61d6f303fd746a35977ebfd1a21786d3f5d0611666 WHIRLPOOL aa61ae9331d0e183e33c0128c1327764b21918ac0ea0cd0830b359fa2874eaa2ee0126898ee89e2e6d7a9fd5f520165f3cf765ebafb0ba4bbfcb0209ebc4ba06
+MISC metadata.xml 445 SHA256 535fdb6bff553d471e4a1c734337bbb2b2f7f9d2b3a08ecb904a16f8a52270d6 SHA512 ed7c058931f20c758d70f6751841acfafdf388d98d17e80e700d69613e841cf883f02a3a134fb37e24c834012dfa0d8ec67b976ff866a90880b9b561f9c15164 WHIRLPOOL 3a260544d4b7afa1d699a35281beba078fa1675f67ac5e3d9ddbca1b66a4159dee83ad31d4f81c0106e0c8d0e728cfdb6bb4f41203c313dc6879e12dc0557451
diff --git a/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.2.ebuild b/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.2.ebuild
new file mode 100644
index 000000000000..369ca44f7cfa
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit multilib versionator rpm
+
+MY_PV="$(get_version_component_range 1-3)"
+MY_PVR="$(replace_version_separator 3 -)"
+MY_P="esci-interpreter-gt-f720-${MY_PVR}"
+
+DESCRIPTION="Epson Perfection V300 PHOTO scanner plugin for SANE 'epkowa' backend"
+HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
+SRC_URI="amd64? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_P}.x86_64.rpm )
+ x86? ( https://dev.gentoo.org/~flameeyes/avasys/${MY_P}.i386.rpm )"
+
+LICENSE="AVASYS"
+SLOT="0"
+KEYWORDS="-* amd64 x86"
+
+IUSE=""
+IUSE_LINGUAS="ja"
+
+for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
+
+DEPEND=">=media-gfx/iscan-2.21.0"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="usr/lib64/esci/libesci-interpreter-gt-f720.so*"
+
+src_install() {
+ local MY_LIB="/usr/$(get_libdir)"
+
+ # install scanner firmware
+ insinto /usr/share/esci
+ doins "${WORKDIR}/usr/share/esci/"*
+
+ # install docs
+ if use linguas_ja; then
+ dodoc usr/share/doc/*/AVASYSPL.ja.txt
+ else
+ dodoc usr/share/doc/*/AVASYSPL.en.txt
+ fi
+
+ # install scanner plugins
+ insinto "${MY_LIB}/esci"
+ insopts -m0755
+ doins "${WORKDIR}/usr/$(get_libdir)/esci/"*
+}
+
+pkg_postinst() {
+ local MY_LIB="/usr/$(get_libdir)"
+
+ # Needed for scaner to work properly.
+ iscan-registry --add interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin"
+ elog
+ elog "Firmware file esfw8b.bin for Epson Perfection V300 PHOTO"
+ elog "has been installed in /usr/share/esci and registered for use."
+ elog
+}
+
+pkg_prerm() {
+ local MY_LIB="/usr/$(get_libdir)"
+
+ iscan-registry --remove interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin"
+}
diff --git a/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild b/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild
new file mode 100644
index 000000000000..949f41b34450
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+
+inherit multilib rpm
+
+# Revision used by upstream
+SRC_REV="2"
+
+MY_P="esci-interpreter-gt-f720-${PV}"
+
+DESCRIPTION="Epson Perfection V300 PHOTO scanner plugin for SANE 'epkowa' backend"
+HOMEPAGE="http://www.avasys.jp/english/linux_e/dl_scan.html"
+SRC_URI="
+ x86? ( http://linux.avasys.jp/drivers/scanner-plugins/GT-F720/${MY_P}-${SRC_REV}.i386.rpm )
+ amd64? ( http://linux.avasys.jp/drivers/scanner-plugins/GT-F720/${MY_P}-${SRC_REV}.x86_64.rpm )"
+
+LICENSE="AVASYS"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+IUSE_LINGUAS="ja"
+
+for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done
+
+DEPEND=">=media-gfx/iscan-2.21.0"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ local MY_LIB="/usr/$(get_libdir)"
+
+ # install scanner firmware
+ insinto /usr/share/esci
+ doins "${WORKDIR}/usr/share/esci/"*
+
+ # install docs
+ if use linguas_ja; then
+ dodoc "usr/share/doc/${MY_P}/AVASYSPL.ja.txt"
+ else
+ dodoc "usr/share/doc/${MY_P}/AVASYSPL.en.txt"
+ fi
+
+ # install scanner plugins
+ insinto "${MY_LIB}/esci"
+ insopts -m0755
+ doins "${WORKDIR}/usr/$(get_libdir)/esci/"*
+}
+
+pkg_postinst() {
+ local MY_LIB="/usr/$(get_libdir)"
+
+ # Needed for scaner to work properly.
+ iscan-registry --add interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin"
+ elog
+ elog "Firmware file esfw8b.bin for Epson Perfection V300 PHOTO"
+ elog "has been installed in /usr/share/esci and registered for use."
+ elog
+}
+
+pkg_prerm() {
+ local MY_LIB="/usr/$(get_libdir)"
+
+ iscan-registry --remove interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin"
+}
diff --git a/media-gfx/iscan-plugin-gt-f720/metadata.xml b/media-gfx/iscan-plugin-gt-f720/metadata.xml
new file mode 100644
index 000000000000..8cb2931d6deb
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-f720/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ Proprietary plugin for several EPSON scanner models with the epkowa SANE backend (provided by media-gfx/iscan).
+ This particular plugin (f720) seems to be required for:
+ Epson GT-F720
+ Epson GT-S620
+ Epson Perfection V30
+ Epson Perfection V300 Photo
+ </longdescription>
+</pkgmetadata>