diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-05 18:56:54 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-07-05 18:56:54 +0000 |
commit | ec044a49d14686fc7afaa0852421078ae4d80e40 (patch) | |
tree | 4a995cbb779978be2d9e0dabecfcb6029f974bd2 /media-gfx | |
parent | Sign manifest. (diff) | |
download | historical-ec044a49d14686fc7afaa0852421078ae4d80e40.tar.gz historical-ec044a49d14686fc7afaa0852421078ae4d80e40.tar.bz2 historical-ec044a49d14686fc7afaa0852421078ae4d80e40.zip |
Initial import of iscan-plugin-gt-x770 by Matthew Schultz (see bug #367585). This will require an unmerge of the sunrise version before merge to ensure proper path is registered with iscan.
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/iscan-plugin-gt-x770/ChangeLog | 11 | ||||
-rw-r--r-- | media-gfx/iscan-plugin-gt-x770/Manifest | 19 | ||||
-rw-r--r-- | media-gfx/iscan-plugin-gt-x770/iscan-plugin-gt-x770-2.1.2.1-r2.ebuild | 93 | ||||
-rw-r--r-- | media-gfx/iscan-plugin-gt-x770/metadata.xml | 19 |
4 files changed, 142 insertions, 0 deletions
diff --git a/media-gfx/iscan-plugin-gt-x770/ChangeLog b/media-gfx/iscan-plugin-gt-x770/ChangeLog new file mode 100644 index 000000000000..a6c59b0767e2 --- /dev/null +++ b/media-gfx/iscan-plugin-gt-x770/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-gfx/iscan-plugin-gt-x770 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-x770/ChangeLog,v 1.1 2012/07/05 18:56:54 flameeyes Exp $ + +*iscan-plugin-gt-x770-2.1.2.1-r2 (05 Jul 2012) + + 05 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> + +iscan-plugin-gt-x770-2.1.2.1-r2.ebuild, +metadata.xml: + Initial import of iscan-plugin-gt-x770 by Matthew Schultz (see bug #367585). + This will require an unmerge of the sunrise version before merge to ensure + proper path is registered with iscan. diff --git a/media-gfx/iscan-plugin-gt-x770/Manifest b/media-gfx/iscan-plugin-gt-x770/Manifest new file mode 100644 index 000000000000..0661599dd661 --- /dev/null +++ b/media-gfx/iscan-plugin-gt-x770/Manifest @@ -0,0 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST iscan-plugin-gt-x770-2.1.2-1.i386.rpm 462166 SHA256 8ce99f42e302d6686f71c3e697f75ca1eb608af72d5986d785c9cf8bc4bd93fc SHA512 b8c16dd1c3d2d8f01956a72a170fa9b51520c78ab9d2d0cd581ee1b18760a28693d364e3bc3ac50a4f1c794fb4da777d452fe12ae3cf513a06eb5bedd2543b30 WHIRLPOOL 696dfe85f2d0cb49525e310f76adb73a68406b6a66e531b49ddadef9d0d696b7d9623aae481834279a4840bd0c63c72183acaccba4dda397d04ec9528255f8f7 +DIST iscan-plugin-gt-x770-2.1.2-1.x86_64.rpm 196426 SHA256 87db6217232e0ce6ee2f50183f831fd923aaa76b34e0da7445f4cd7bcad5b902 SHA512 a69830fb35b2732351b35ef39a6863886bf6bc992242188e57d273444ea17e55294b5b9331c5e770b8af179e4f346e5be74c5fd79e1e6cefd2a1e975c3e68a43 WHIRLPOOL 1c79c49c9d31f37f061a8e314e53f1d8846a64d448b73c1c503ea8dc1c90d11b1142c26ee4618117041de9e78c395643506d9d7e8821cef3cd84b0ba0b3457b6 +EBUILD iscan-plugin-gt-x770-2.1.2.1-r2.ebuild 2404 SHA256 7be81946d56776a3443ed83f4e33ce394ce7a5f9c0215168ff2fae7983fdfcd1 SHA512 2acef5a42b7764afb96c5b8c01df3a74adcd0771fc7767df3715c291dcfc989e61a81dc9a58e16d347c7c18eb6255249e16655aca37e9a30e35b4eca037b7fd9 WHIRLPOOL 609abe7588cffb64e9e9da859f24fc0f919e3a018421b3c634c9cd33c0cae9ea39385b5a07bd845158a998dde4bcf943af3961cd3fb20c5dfa2931d0f835f3e7 +MISC ChangeLog 594 SHA256 88580d1402440c55ae719349a70ff9662ddca2e609daec43dd6290ca8ba0b435 SHA512 61606d32f6a1d0e43f355ab1723377e49aae25dbe3518debf9a4b2da6c3fbb100839223e6f030108cf119c13af2f07286d9e666d49f343a3f6dab99401c8439b WHIRLPOOL a0e8cb46cce7c5723e98413124beddae1d9cff7f7283bca1a92d3d8a6ae722cb58dc8a5f751c590303f19d3b0f262fbaafd90184acfb5e55e5b5c1d7ed6e4e14 +MISC metadata.xml 568 SHA256 dfa997670f13642a031a49de2b2ae7b776ba3db8663f85f0840fc9fe9711abde SHA512 2a88085ea2cd656643c3f5c2cc567a136a228d13a2c9674e85eede8c0b8483f13fad2047b0a6ec83e20c392c9f9703f5d8519c4cc5a149d9be074df6e60d60b4 WHIRLPOOL 21ec11009c216123d1489b21fbc4d9d94b96c9ac9bacf9406d1e671bbb34d9f7037a5976284f04b7ba1948e3455c90ec9c1ec0a14ec107977045bb0bd3df5522 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBAgAGBQJP9eOAAAoJEBzRPIrUMBNCt0IIAI5Q+32Vo78rdxz4VnzjB1h3 +lyiDr2DKLIG+LzwENSz/si4J4GfitBVObKoKzn+Vjz5Eb9c3k9akJ1I7sDXWipKl +apYxVAhx7yhZZ2WllMVewQVYDfz6G3uMr395eCaNxdtLkG0N6UA5PkHvw7j05e8d +jqkwnwlU2W3QzMUzEpG2MyOlnuApC4mCk79etwK9sTZvpTyR2mBhjG+vHF4v9HQN +tZmM447jHyMUFlUnSc+ub9knQQERIFOrD9VnYNl2TQctZcDMvnWwhIHKklETzDy5 +MUdZtpykSg5Q3pARfVxEDHuxlbb++AQ0u3HcghpkHte9k9Tt4IFu4qNran8NIKk= +=4Zde +-----END PGP SIGNATURE----- diff --git a/media-gfx/iscan-plugin-gt-x770/iscan-plugin-gt-x770-2.1.2.1-r2.ebuild b/media-gfx/iscan-plugin-gt-x770/iscan-plugin-gt-x770-2.1.2.1-r2.ebuild new file mode 100644 index 000000000000..ea564dded4e7 --- /dev/null +++ b/media-gfx/iscan-plugin-gt-x770/iscan-plugin-gt-x770-2.1.2.1-r2.ebuild @@ -0,0 +1,93 @@ +# 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-x770/iscan-plugin-gt-x770-2.1.2.1-r2.ebuild,v 1.1 2012/07/05 18:56:54 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-x770-2.1.2.1-r2" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +QA_PREBUILT=" + /opt/iscan/esci/libesint7C.so.2.0.1 + /opt/iscan/esci/libesint7C.so.2 + /opt/iscan/esci/libesint7C.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/esci + doexe "${WORKDIR}/usr/$(get_libdir)/iscan/"* +} + +pkg_setup() { + basecmds=( + "iscan-registry --COMMAND interpreter usb 0x04b8 0x0130 /opt/iscan/esci/libesint7C /usr/share/iscan/esfw7C.bin" + ) +} + +pkg_postinst() { + elog + elog "Firmware file esfw41.bin for Epson Perfection V500" + elog "has been installed in /usr/share/iscan." + elog + + [[ -n ${REPLACING_VERSIONS} ]] && return + + # Needed for scanner to work properly. + if [[ ${ROOT} == "/" ]]; then + for basecmd in "${basecmds[@]}"; do + eval ${basecmd/COMMAND/add} + 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/add}" + done + fi +} + +pkg_prerm() { + [[ -n ${REPLACED_BY_VERSION} ]] && return + + if [[ ${ROOT} == "/" ]]; then + for basecmd in "${basecmds[@]}"; do + eval ${basecmd/COMMAND/remove} + done + else + ewarn "Unable to de-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-x770/metadata.xml b/media-gfx/iscan-plugin-gt-x770/metadata.xml new file mode 100644 index 000000000000..94e69f1d8ff6 --- /dev/null +++ b/media-gfx/iscan-plugin-gt-x770/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>mattsch@gmail.com</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 V500 (GT-X770) + </longdescription> +</pkgmetadata> |