From: | "Jean-Noel Rivasseau (elvanor)" <elvanor@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/iscan-plugin-gt-f720: metadata.xml ChangeLog iscan-plugin-gt-f720-0.0.1.ebuild |
Date: | Thu, 01 Oct 2009 07:53:24 |
Message-Id: | E1MtGTa-0002sM-8M@stork.gentoo.org |
1 | elvanor 09/10/01 07:53:22 |
2 | |
3 | Added: metadata.xml ChangeLog |
4 | iscan-plugin-gt-f720-0.0.1.ebuild |
5 | Log: |
6 | Initial import from bug #274625. |
7 | (Portage version: 2.1.6.13/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/iscan-plugin-gt-f720/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan-plugin-gt-f720/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan-plugin-gt-f720/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>no-herd</herd> |
21 | <maintainer> |
22 | <email>elvanor@g.o</email> |
23 | <name>Jean-Noël Rivasseau</name> |
24 | </maintainer> |
25 | <longdescription lang="en"> |
26 | Proprietary plugin for several EPSON scanner models with the epkowa SANE backend (provided by media-gfx/iscan). |
27 | This particular plugin (f720) seems to be required for: |
28 | Epson GT-F720 |
29 | Epson GT-S620 |
30 | Epson Perfection V30 |
31 | Epson Perfection V300 Photo |
32 | </longdescription> |
33 | </pkgmetadata> |
34 | |
35 | |
36 | |
37 | 1.1 media-gfx/iscan-plugin-gt-f720/ChangeLog |
38 | |
39 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan-plugin-gt-f720/ChangeLog?rev=1.1&view=markup |
40 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan-plugin-gt-f720/ChangeLog?rev=1.1&content-type=text/plain |
41 | |
42 | Index: ChangeLog |
43 | =================================================================== |
44 | # ChangeLog for media-gfx/iscan-plugin-gt-f720 |
45 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
46 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-f720/ChangeLog,v 1.1 2009/10/01 07:53:21 elvanor Exp $ |
47 | |
48 | *iscan-plugin-gt-f720-0.0.1 (01 Oct 2009) |
49 | |
50 | 01 Oct 2009; Jean-Noël Rivasseau <elvanor@g.o> |
51 | +iscan-plugin-gt-f720-0.0.1.ebuild: |
52 | Initial import from bug #274625. Ebuild contributed by W. Trevor King and |
53 | Will Lepofsky, thanks guys. |
54 | |
55 | |
56 | |
57 | |
58 | 1.1 media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild |
59 | |
60 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild?rev=1.1&view=markup |
61 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/iscan-plugin-gt-f720/iscan-plugin-gt-f720-0.0.1.ebuild?rev=1.1&content-type=text/plain |
62 | |
63 | Index: iscan-plugin-gt-f720-0.0.1.ebuild |
64 | =================================================================== |
65 | # Copyright 1999-2009 Gentoo Foundation |
66 | # Distributed under the terms of the GNU General Public License v2 |
67 | # $Header $ |
68 | |
69 | EAPI="2" |
70 | |
71 | inherit rpm |
72 | |
73 | # Revision used by upstream |
74 | SRC_REV="2" |
75 | |
76 | MY_P="esci-interpreter-gt-f720-${PV}" |
77 | |
78 | DESCRIPTION="Epson Perfection V300 PHOTO scanner plugin for SANE 'epkowa' backend." |
79 | HOMEPAGE="http://www.avasys.jp/english/linux_e/dl_scan.html" |
80 | SRC_URI=" |
81 | x86? ( http://linux.avasys.jp/drivers/scanner-plugins/GT-F720/${MY_P}-${SRC_REV}.i386.rpm ) |
82 | amd64? ( http://linux.avasys.jp/drivers/scanner-plugins/GT-F720/${MY_P}-${SRC_REV}.x86_64.rpm )" |
83 | |
84 | LICENSE="AVASYS" |
85 | SLOT="0" |
86 | KEYWORDS="~x86 ~amd64" |
87 | |
88 | IUSE="" |
89 | IUSE_LINGUAS="ja" |
90 | |
91 | for X in ${IUSE_LINGUAS}; do IUSE="${IUSE} linguas_${X}"; done |
92 | |
93 | DEPEND=">=media-gfx/iscan-2.21.0" |
94 | RDEPEND="${DEPEND}" |
95 | |
96 | src_install() { |
97 | local MY_LIB="/usr/$(get_libdir)" |
98 | |
99 | # install scanner firmware |
100 | insinto /usr/share/esci |
101 | doins "${WORKDIR}/usr/share/esci/"* |
102 | |
103 | # install docs |
104 | if use linguas_ja; then |
105 | dodoc "usr/share/doc/${MY_P}/AVASYSPL.ja.txt" |
106 | else |
107 | dodoc "usr/share/doc/${MY_P}/AVASYSPL.en.txt" |
108 | fi |
109 | |
110 | # install scanner plugins |
111 | insinto "${MY_LIB}/esci" |
112 | INSOPTIONS="-m0755" |
113 | doins "${WORKDIR}/usr/$(get_libdir)/esci/"* |
114 | } |
115 | |
116 | pkg_postinst() { |
117 | local MY_LIB="/usr/$(get_libdir)" |
118 | |
119 | # Needed for scaner to work properly. |
120 | iscan-registry --add interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin" |
121 | elog |
122 | elog "Firmware file esfw8b.bin for Epson Perfection V300 PHOTO" |
123 | elog "has been installed in /usr/share/esci and registered for use." |
124 | elog |
125 | } |
126 | |
127 | pkg_prerm() { |
128 | local MY_LIB="/usr/$(get_libdir)" |
129 | |
130 | iscan-registry --remove interpreter usb 0x04b8 0x0131 "${MY_LIB}/esci/libesci-interpreter-gt-f720 /usr/share/esci/esfw8b.bin" |
131 | } |