Created attachment 303825 [details] iscan-plugin-gt-f720-0.1.1.ebuild Epson Perfection V300/V30 PHOTO scanner plugin for SANE 'epkowa' backend.
Comment on attachment 303825 [details] iscan-plugin-gt-f720-0.1.1.ebuild --- iscan-plugin-gt-f720-0.0.1.ebuild 2011-04-22 04:28:40.000000000 +0200 +++ - 2012-03-01 15:51:38.117452354 +0100 @@ -14,8 +14,8 @@ 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 )" + x86? ( http://linux.avasys.jp/drivers/iscan-plugins/esci-interpreter-gt-f720/0.1.1/${MY_P}-${SRC_REV}.i386.rpm ) + amd64? ( http://linux.avasys.jp/drivers/iscan-plugins/esci-interpreter-gt-f720/0.1.1/${MY_P}-${SRC_REV}.x86_64.rpm )" LICENSE="AVASYS" SLOT="0" Several things are wrong: 1) You set MY_P but then use MY_PV in SRC_URI. 2) In the original ebuild, the actual version (PV) is hardcoded in MY_P.
(In reply to comment #1) > 2) In the original ebuild, the actual version (PV) is hardcoded in MY_P. Skip that. 8-)
I just corrected SRC_URI old ebuild to the new version. It works for me.
There is a mistake in this line: elog "Firmware file esfw41.bin for Epson Perfection V500" The firmware which is loaded is: /usr/share/iscan/esfw7C.bin Also: Would you mind to explain me what the line with the two "!!" is for in the following part? I am asking because i wrote a ebuild for gt-f670, based on your ebuild and do not understand what the line is about. DEPEND=">=media-gfx/iscan-2.21.0 !!<media-gfx/iscan-plugin-gt-x770-2.1.2.1-r2"
PR https://github.com/gentoo/gentoo/pull/10292 only handles EAPI bump to 7 PR https://github.com/gentoo/gentoo/pull/10296 handles plugin version bump to 1.1.2. The plugin is extracted from EPSONs driver bundle.