summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-30 22:14:39 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-09-30 22:14:39 +0000
commit013258f9f5af55d63025544d980e7f5960760a95 (patch)
tree1878ba20406f1b4aaf35733c918f8bc0adbe924d /media-gfx/iscan-plugin-gt-x820
parentVersion bump to 1.4.22, bug 436686. (diff)
downloadhistorical-013258f9f5af55d63025544d980e7f5960760a95.tar.gz
historical-013258f9f5af55d63025544d980e7f5960760a95.tar.bz2
historical-013258f9f5af55d63025544d980e7f5960760a95.zip
Initial import. Thanks to Jared for the ebuild. Closes bug #394403.
Package-Manager: portage-2.2.0_alpha134/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/iscan-plugin-gt-x820')
-rw-r--r--media-gfx/iscan-plugin-gt-x820/ChangeLog9
-rw-r--r--media-gfx/iscan-plugin-gt-x820/Manifest19
-rw-r--r--media-gfx/iscan-plugin-gt-x820/iscan-plugin-gt-x820-2.1.2.1.ebuild96
-rw-r--r--media-gfx/iscan-plugin-gt-x820/metadata.xml19
4 files changed, 143 insertions, 0 deletions
diff --git a/media-gfx/iscan-plugin-gt-x820/ChangeLog b/media-gfx/iscan-plugin-gt-x820/ChangeLog
new file mode 100644
index 000000000000..db801b95475b
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-x820/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-gfx/iscan-plugin-gt-x820
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-x820/ChangeLog,v 1.1 2012/09/30 22:14:39 flameeyes Exp $
+
+*iscan-plugin-gt-x820-2.1.2.1 (30 Sep 2012)
+
+ 30 Sep 2012; Diego E. Pettenò <flameeyes@gentoo.org>
+ +iscan-plugin-gt-x820-2.1.2.1.ebuild, +metadata.xml:
+ Initial import. Thanks to Jared for the ebuild. Closes bug #394403.
diff --git a/media-gfx/iscan-plugin-gt-x820/Manifest b/media-gfx/iscan-plugin-gt-x820/Manifest
new file mode 100644
index 000000000000..5a54650c3cdd
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-x820/Manifest
@@ -0,0 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST iscan-plugin-gt-x820-2.1.2-1.i386.rpm 489296 SHA256 eb1d021fa3db3140dd70f96d65745f5b7b568b10cf0f1040ac81e45c7196cccd SHA512 8ac2120c6636ce6f99d62ed70fd9409a38268b76c0398158ee966d040fbcd0fb5d6ffafd6eaec1eea6e8bc723941800bc97381ba03f132d97ee4fd0eaa742a85 WHIRLPOOL a9853cf2cbb432bd3a563c82b0769129aba50b96c9a4e01f19ef9b1518d01a78a5478bc437194b78ca8e4f225520cc759f618e4c70015c041d65f2dba6e94505
+DIST iscan-plugin-gt-x820-2.1.2-1.x86_64.rpm 206140 SHA256 da552bd21c85ff642de7b00b46324c29780cf47ec4c849fa70c20b72fa716e36 SHA512 a4858a4da9c1a99f95b323a406eeff2bde793cc1c93d27c0fcba7a4902c1ff668e2eab35e44b0bc082e260f4ea323368c4948c02d470b7d0dec0d3cee68c0f0e WHIRLPOOL d7c1968b9288145a0ba9751232bf542a4235fbb1cdf84e83c56fca24c61e4872714aa1ec17d3f0042f96efd3794af8520c256168f993b8ad86aacf7b57837ac2
+EBUILD iscan-plugin-gt-x820-2.1.2.1.ebuild 2532 SHA256 3f0b3ff9f6ca3adac82dfdb555ab88d20e0af72a5299b65cff5a303c9bacb4c0 SHA512 724000f1d5d33c44b6c52cde4aa68f5bcfbbc796defc5fdf8b5b43d88894275cc88ee0e6f338b6a66f8e3350735facd018a2056a3103c366eac9776633bc9c92 WHIRLPOOL 5edb468555b67e09aec42cd4bacc5c78eee89f03b3ddb220116c760a33ee709ecbb900ccf44c200009503d8173eac187ace1bc0674bb0cea91f9599ec1b9939f
+MISC ChangeLog 462 SHA256 7bfeb34b0c147ee17b19ce06b09fd4b9bfd3c4105be08a81e479661232f0f103 SHA512 49af68493db7441f30ca9375496c8e0b5f4a963fe93a9b602f1f0eb12f4bdfa8f3f97dd8c7434ec90e8adaaea29beab9062c7f2df23e289e02ac9eb537b10930 WHIRLPOOL 91aaf58a8070c349d186e492f2906e0ed0034654d724adb1e82234a885836a06e95c5b81a9c0bac7a9eb4a1cac042dbace30760d4fe46973221d90a7cf07a5aa
+MISC metadata.xml 574 SHA256 f4638a0740165975f42c9b82fb9b29c0a6ef86f8b1dc22e7c24aafa9648f2866 SHA512 cf385cc4ce3ad42cc4da16546a4ad93a5ff6d5c81e54d46e182b59f4f44015683bbaa64bac0a9cb69f5c9950d6b05ff7356f3052d4c01a90963eec3a96a554e0 WHIRLPOOL 72c2fc852f55ea1602a002956927a8b5f46878a281fe12b9db2f5248827c133fe2b2ed851d445be9aba427d23323df5d679b5f668bb616a2ef9e5f482b8d3860
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQaMRdAAoJEBzRPIrUMBNCAMEH/iaK8QynQknkoT/C7r7ChBI8
+o7Fi/G8eRNVjz5+d0Ww35WN2elspiy0QWZlchAia1K30PVDP+2Y/AEcDEox5D1pD
+/O5yoO3e9m9sHDO3cJubr8AEGNMIOYgBhdSFAdAOQITHBvSrDvye2AHTds+qLGCP
+Cc7Dr2rC41Jji0IY2D6w94BSN2yAqyB6id4FA7vdAdlHntjCk+tQUNt0CX5Asd9s
+a1xbqHJyZHgsDYftfibxrS/ylIQABuuoim7aBMJcj+ytVuTHsjgJj5eIFz0tA/4b
+VLJUeYuxUBHRBgs0dBY3g/uFc0HW/QihMx28aZY51j2LLQbllHUZfaYGxB3i0vY=
+=mLdN
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/iscan-plugin-gt-x820/iscan-plugin-gt-x820-2.1.2.1.ebuild b/media-gfx/iscan-plugin-gt-x820/iscan-plugin-gt-x820-2.1.2.1.ebuild
new file mode 100644
index 000000000000..17e118135e1e
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-x820/iscan-plugin-gt-x820-2.1.2.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-x820/iscan-plugin-gt-x820-2.1.2.1.ebuild,v 1.1 2012/09/30 22:14:39 flameeyes Exp $
+
+EAPI="4"
+
+inherit rpm versionator multilib
+
+MY_PV="$(get_version_component_range 1-3)"
+MY_PVR="$(replace_version_separator 3 -)"
+
+DESCRIPTION="Epson Perfection V500 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/iscan-plugins/${PN}/${MY_PV}/${PN}-${MY_PVR}.i386.rpm )
+ amd64? ( http://linux.avasys.jp/drivers/iscan-plugins/${PN}/${MY_PV}/${PN}-${MY_PVR}.x86_64.rpm )"
+
+LICENSE="AVASYS"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+IUSE=""
+
+DEPEND=">=media-gfx/iscan-2.21.0
+ !!<media-gfx/iscan-plugin-gt-x820-2.1.2.1"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+QA_PRESTRIPPED="
+ /opt/iscan/lib/libesintA1.so.2.0.1
+ /opt/iscan/lib/libesintA1.so.2
+ /opt/iscan/lib/libesintA1.so"
+
+src_configure() { :; }
+src_compile() { :; }
+
+src_install() {
+ # install scanner firmware
+ insinto /usr/share/iscan
+ doins "${WORKDIR}"/usr/share/iscan/*
+
+ dodoc usr/share/doc/*/*
+
+ # install scanner plugins
+ exeinto /opt/iscan/lib
+ doexe "${WORKDIR}/usr/$(get_libdir)/iscan/"*
+}
+
+pkg_setup() {
+ basecmds=(
+ "iscan-registry --COMMAND interpreter usb 0x04b8 0x013a /opt/iscan/lib/libesintA1 /usr/share/iscan/esfwA1.bin"
+ )
+}
+
+pkg_postinst() {
+ elog
+ elog "Firmware file esfwA1.bin for Epson Perfection V600"
+ elog "has been installed in /usr/share/iscan."
+ elog
+
+ # Only register scanner on new installs
+ [[ -n ${REPLACING_VERSIONS} ]] && return
+
+ # Needed for scanner to work properly.
+ if [[ ${ROOT} == "/" ]]; then
+ for basecmd in "${basecmds[@]}"; do
+ eval ${basecmd/COMMAND/add}
+ done
+ elog "New firmware has been registered automatically."
+ elog
+ else
+ ewarn "Unable to register the plugin and firmware when installing outside of /."
+ ewarn "execute the following command yourself:"
+ for basecmd in "${basecmds[@]}"; do
+ ewarn "${basecmd/COMMAND/add}"
+ done
+ fi
+}
+
+pkg_prerm() {
+ # Only unregister on on uninstall
+ [[ -n ${REPLACED_BY_VERSION} ]] && return
+
+ if [[ ${ROOT} == "/" ]]; then
+ for basecmd in "${basecmds[@]}"; do
+ eval ${basecmd/COMMAND/remove}
+ done
+ else
+ ewarn "Unable to register the plugin and firmware when installing outside of /."
+ ewarn "execute the following command yourself:"
+ for basecmd in "${basecmds[@]}"; do
+ ewarn "${basecmd/COMMAND/remove}"
+ done
+ fi
+}
diff --git a/media-gfx/iscan-plugin-gt-x820/metadata.xml b/media-gfx/iscan-plugin-gt-x820/metadata.xml
new file mode 100644
index 000000000000..86207c07f94b
--- /dev/null
+++ b/media-gfx/iscan-plugin-gt-x820/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>nitro@legroom.net</email>
+ </maintainer>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ Proprietary plugin for several EPSON scanner models, to be used
+ with the epkowa SANE backend (provided by
+ <pkg>media-gfx/iscan</pkg>). 32-bit and 64-bit.
+
+ Supports the following models:
+
+ EPSON Perfection V600 Photo (GT-X820)
+ </longdescription>
+</pkgmetadata>