Subversion Repositories KardasA Overlay

Compare Revisions

Ignore whitespace Rev 183 → Rev 184

/media-gfx/iscan-plugin-gt-x750/Manifest
1,3 → 1,6
DIST iscan-plugin-gt-x750-2.1.0-5.c2.i386.rpm 357465 RMD160 972ab825a186985c1d1a3f61ad5db6c00b1054c9 SHA1 7673bf596fe54ec473034a00b0fec44843a12b74 SHA256 4af302f7e06ece19aad687f3cf6f72e848eb75666fa1dc6ea3f231565788c66a
DIST iscan-plugin-gt-x750-2.1.0-5.c2.x86_64.rpm 175598 RMD160 fd0b26091e528ac21e09e7736add5f4e76b05f3d SHA1 4d039686451a1fad7f50b0678413a9605cdb4ab0 SHA256 c24658556c1ffc54c87c1d1dd58c07165eb7f3b712813c988184a1d1005ce87c
EBUILD iscan-plugin-gt-x750-2.1.0.ebuild 1710 RMD160 a8fdf86bdede22a7aa750202e3926643d353d074 SHA1 59cded8091259c929af173934fb67c6b8f044ea2 SHA256 8e924c15a4946bb3681fb59e000dd00c61ad518aff68247e66bffc33bf1a8318
DIST iscan-plugin-gt-x750-2.1.0-5.c2.i386.rpm 357465 SHA256 4af302f7e06ece19aad687f3cf6f72e848eb75666fa1dc6ea3f231565788c66a
DIST iscan-plugin-gt-x750-2.1.0-5.c2.x86_64.rpm 175598 SHA256 c24658556c1ffc54c87c1d1dd58c07165eb7f3b712813c988184a1d1005ce87c
DIST iscan-plugin-gt-x750-2.1.2-1.i386.rpm 357018 SHA256 a4a6a10bc69d109f9aad5b2f0e8fb2615da0035614e9b80d7c1030775c397b15 SHA512 7b4e0c908749cb7c54722e6fc2f8bde5a55a1c96e87c1cc4bd2498f8dc1848aea12c3e25cdd9ec4279cfb1b5ee2f33e02e40a1b0892f9bf56e163efb38787b8a WHIRLPOOL 514bb01b8c0d23d9915836e12f0f3068c5a0986d79f2868b2a4f8c63238ba02d7251fac5e068029548c57fb0295297cd0718c224519642d9a8eb8e45d434d4fd
DIST iscan-plugin-gt-x750-2.1.2-1.x86_64.rpm 175355 SHA256 0ef53e3468939d6c1b929c9591bd00d57f378c4cba48a86dcfdb87f2c2979f6e SHA512 9acb052776388424444138e4e4b97d236aec1cf41d0f8e6826925dfa1837e36f66daf25949c0f902d04070f3d9661ae7ae7ff163914bdb6bf5d026a75ae3c137 WHIRLPOOL 20aeeaff74beb6e81a08e8df7a0c6b98f3b6461557eb7b479b9cd1ae3240a7d3a6ee1c68e96b0fa2f665f067f955582538c1538902bbbf3c26e4722837924747
EBUILD iscan-plugin-gt-x750-2.1.0.ebuild 1710 SHA256 8e924c15a4946bb3681fb59e000dd00c61ad518aff68247e66bffc33bf1a8318 SHA512 96beb5e2b78b150679b35a822e1cf8d90f8ae2c41f311164cdb2ac2734936525dda8fa1cad50e367c656c6f86a28c2d8bf7d4e82c49ed35c238e9d9363a694bf WHIRLPOOL 51f0c4ad3a78757d7fe5c0562748dab1f5b989912bbba2790857866f414c04ce709cf09619d5a5c2794616fddf034b7933093547dd27e960ffcf4732691575bd
EBUILD iscan-plugin-gt-x750-2.1.2.1.ebuild 2143 SHA256 547e1970522fc5009691ec8526ef0370dd6bc1c684b27c14b1b9ecad61f231ce SHA512 68645e8f6b8802fb6052c25e5f64f8db668d8307ea56b9955758dfcb37fd7ec8f42a90302a20db5917c6d0d3998b4b3ce7d5cc16341636a3f99ef5e186d10ab1 WHIRLPOOL f5a6f44f69d484678a67f60fe013b30ce76dd50bb61e569b57ed8e67dd7b2939ce0e763d80daa9ebf1bfa88fd2e75c4e39a9ea3c75ccedd95ee3d8f214243649
/media-gfx/iscan-plugin-gt-x750/iscan-plugin-gt-x750-2.1.2.1.ebuild
0,0 → 1,89
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
 
EAPI="4"
 
inherit rpm versionator multilib
 
MY_PV="$(get_version_component_range 1-3)"
MY_PVR="$(replace_version_separator 3 -)"
 
DESCRIPTION="Epson Perfection 4490 PHOTO scanner plugin for SANE 'epkowa' backend."
HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
SRC_URI="
x86? ( http://www.kardasa.pl/downloads/avasys/${PN}/${PN}-${MY_PVR}.i386.rpm )
amd64? ( http://www.kardasa.pl/downloads/avasys/${PN}/${PN}-${MY_PVR}.x86_64.rpm )
"
 
LICENSE="AVASYS"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
 
IUSE=""
 
DEPEND=">=media-gfx/iscan-2.21.0"
RDEPEND="${DEPEND}"
 
S="${WORKDIR}"
 
QA_PREBUILT="/opt/iscan/esci/libesint54.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 0x0119 /opt/iscan/esci/libesint54 /usr/share/iscan/esfw54.bin"
)
}
 
pkg_postinst() {
elog
elog "Firmware file esfw54.bin for Epson Perfection 4490 Photo"
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
}