diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/esci-interpreter-gt-s80 | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/esci-interpreter-gt-s80')
-rw-r--r-- | media-gfx/esci-interpreter-gt-s80/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild | 80 | ||||
-rw-r--r-- | media-gfx/esci-interpreter-gt-s80/metadata.xml | 19 |
3 files changed, 101 insertions, 0 deletions
diff --git a/media-gfx/esci-interpreter-gt-s80/Manifest b/media-gfx/esci-interpreter-gt-s80/Manifest new file mode 100644 index 000000000000..d4fb0ba26ab5 --- /dev/null +++ b/media-gfx/esci-interpreter-gt-s80/Manifest @@ -0,0 +1,2 @@ +DIST esci-interpreter-gt-s80-0.2.1-1.i386.rpm 191157 SHA256 7f2b85fd0d7adaa1a9c604a5447b36ed895f1d1bfd765651556e5f69a8846ea6 SHA512 abcf9228e1265d309f07b3b77081e9c8b21a4f186ef49b857df2e53b1d9e11f11e0975673c02760bd00f96d916fe5108f9218b0bea67bc59ff78ff4c9a09eb69 WHIRLPOOL 0d642bd6747d76b19259a9579c4b4e5dff3c8fb45c68576e3f08119163d84bef2f4db6ef7b555091e1b396987e8d73a07d79ae38018772a465f67355ebb1e636 +DIST esci-interpreter-gt-s80-0.2.1-1.x86_64.rpm 71423 SHA256 6380c4ec2edd70bea1b3387b40ed669dd376823db33727e25a8b84205609693c SHA512 3977255a939630391e35775651094f6c873288c5e2c70ee70c4e19064b78e721372cdd40c7f70ae937e74b572b9a15d9b558fdd6a1dc9905bbd78abce8bd57e5 WHIRLPOOL c46dd664e947a479a47c7b9d5a2e7fb40c474146940b96afa1befeeaa50eaea929f55b909d9f3dcc412dab3ea5e14d42409cfc3558e20269f6dc78238a8c26c5 diff --git a/media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild b/media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild new file mode 100644 index 000000000000..c087cc5f0181 --- /dev/null +++ b/media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit rpm versionator multilib + +MY_PV="$(get_version_component_range 1-3)" +MY_PVR="$(replace_version_separator 3 -)" + +DESCRIPTION="Epson GT-S50 and GT-S80 scanner plugins for SANE 'epkowa' backend" +HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" +SRC_URI="amd64? ( http://dev.gentoo.org/~flameeyes/avasys/${PN}-${MY_PVR}.x86_64.rpm ) + x86? ( http://dev.gentoo.org/~flameeyes/avasys/${PN}-${MY_PVR}.i386.rpm )" + +LICENSE="AVASYS" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +IUSE="" + +DEPEND=">=media-gfx/iscan-2.28.0" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +QA_PREBUILT="/opt/iscan/*" + +src_configure() { :; } +src_compile() { :; } + +src_install() { + dodoc usr/share/doc/*/* + + # install scanner plugins + exeinto /opt/iscan/esci + doexe "${WORKDIR}/usr/$(get_libdir)/esci/"* +} + +pkg_setup() { + basecmds=( + "iscan-registry --COMMAND interpreter usb 0x04b8 0x0136 /opt/iscan/esci/libesci-interpreter-gt-s80" + "iscan-registry --COMMAND interpreter usb 0x04b8 0x0137 /opt/iscan/esci/libesci-interpreter-gt-s50" + "iscan-registry --COMMAND interpreter usb 0x04b8 0x0144 /opt/iscan/esci/libesci-interpreter-gt-s80" + "iscan-registry --COMMAND interpreter usb 0x04b8 0x0143 /opt/iscan/esci/libesci-interpreter-gt-s50" + ) +} + +pkg_postinst() { + [[ -n ${REPLACING_VERSIONS} ]] && return + + 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 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/esci-interpreter-gt-s80/metadata.xml b/media-gfx/esci-interpreter-gt-s80/metadata.xml new file mode 100644 index 000000000000..d65e47d14674 --- /dev/null +++ b/media-gfx/esci-interpreter-gt-s80/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>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 GT-S80 / ES-D400 + EPSON GT-S85 + EPSON GT-S50 / ES-D200 + EPSON GT-S55 + </longdescription> +</pkgmetadata> |