From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/iscan-plugin-gt-s80: ChangeLog iscan-plugin-gt-s80-0.1.1.2.ebuild |
Date: | Wed, 27 Jul 2011 19:21:35 |
Message-Id: | 20110727192122.240CD2004B@flycatcher.gentoo.org |
1 | flameeyes 11/07/27 19:21:22 |
2 | |
3 | Modified: ChangeLog |
4 | Added: iscan-plugin-gt-s80-0.1.1.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha47/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.2 media-gfx/iscan-plugin-gt-s80/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/iscan-plugin-gt-s80/ChangeLog?rev=1.2&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/iscan-plugin-gt-s80/ChangeLog?rev=1.2&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/iscan-plugin-gt-s80/ChangeLog?r1=1.1&r2=1.2 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-s80/ChangeLog,v |
20 | retrieving revision 1.1 |
21 | retrieving revision 1.2 |
22 | diff -u -r1.1 -r1.2 |
23 | --- ChangeLog 23 Apr 2011 11:20:05 -0000 1.1 |
24 | +++ ChangeLog 27 Jul 2011 19:21:21 -0000 1.2 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-gfx/iscan-plugin-gt-s80 |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-s80/ChangeLog,v 1.1 2011/04/23 11:20:05 flameeyes Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-s80/ChangeLog,v 1.2 2011/07/27 19:21:21 flameeyes Exp $ |
30 | + |
31 | +*iscan-plugin-gt-s80-0.1.1.2 (27 Jul 2011) |
32 | + |
33 | + 27 Jul 2011; Diego E. Pettenò <flameeyes@g.o> |
34 | + +iscan-plugin-gt-s80-0.1.1.2.ebuild: |
35 | + Version bump. |
36 | |
37 | *iscan-plugin-gt-s80-0.1.0.0 (23 Apr 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 media-gfx/iscan-plugin-gt-s80/iscan-plugin-gt-s80-0.1.1.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/iscan-plugin-gt-s80/iscan-plugin-gt-s80-0.1.1.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/iscan-plugin-gt-s80/iscan-plugin-gt-s80-0.1.1.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: iscan-plugin-gt-s80-0.1.1.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan-plugin-gt-s80/iscan-plugin-gt-s80-0.1.1.2.ebuild,v 1.1 2011/07/27 19:21:21 flameeyes Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit rpm versionator |
56 | |
57 | MY_PN="esci-interpreter-${PN#iscan-plugin-}" |
58 | MY_P="${MY_PN}-$(replace_version_separator 3 -)" |
59 | |
60 | DESCRIPTION="Epson GT-S50 and GT-S80 scanner plugins for SANE 'epkowa' backend." |
61 | HOMEPAGE="http://www.avasys.jp/english/linux_e/dl_scan.html" |
62 | SRC_URI=" |
63 | x86? ( http://linux.avasys.jp/drivers/iscan-plugins/${MY_PN}/$(get_version_component_range 1-3)/${MY_P}.i386.rpm ) |
64 | amd64? ( http://linux.avasys.jp/drivers/iscan-plugins/${MY_PN}/$(get_version_component_range 1-3)/${MY_P}.x86_64.rpm )" |
65 | |
66 | LICENSE="AVASYS" |
67 | SLOT="0" |
68 | KEYWORDS="-* ~amd64" |
69 | |
70 | IUSE="" |
71 | |
72 | DEPEND=">=media-gfx/iscan-2.21.0" |
73 | RDEPEND="${DEPEND}" |
74 | |
75 | S="${WORKDIR}" |
76 | |
77 | QA_PRESTRIPPED="/opt/iscan/esci/*" |
78 | |
79 | src_configure() { :; } |
80 | src_compile() { :; } |
81 | |
82 | src_install() { |
83 | dodoc usr/share/doc/*/* |
84 | |
85 | # install scanner plugins |
86 | exeinto /opt/iscan/esci |
87 | doexe "${WORKDIR}/usr/$(get_libdir)/esci/"* |
88 | } |
89 | |
90 | pkg_setup() { |
91 | basecmds=( |
92 | "iscan-registry --COMMAND interpreter usb 0x04b8 0x0136 /opt/iscan/esci/libesci-interpreter-gt-s80" |
93 | "iscan-registry --COMMAND interpreter usb 0x04b8 0x0137 /opt/iscan/esci/libesci-interpreter-gt-s50" |
94 | ) |
95 | } |
96 | |
97 | pkg_postinst() { |
98 | [[ -n ${REPLACING_VERSIONS} ]] && return |
99 | |
100 | if [[ ${ROOT} == "/" ]]; then |
101 | for basecmd in "${basecmds[@]}"; do |
102 | eval ${basecmd/COMMAND/add} |
103 | done |
104 | else |
105 | ewarn "Unable to register the plugin and firmware when installing outside of /." |
106 | ewarn "execute the following command yourself:" |
107 | for basecmd in "${basecmds[@]}"; do |
108 | ewarn "${basecmd/COMMAND/add}" |
109 | done |
110 | fi |
111 | } |
112 | |
113 | pkg_prerm() { |
114 | [[ -n ${REPLACED_BY_VERSION} ]] && return |
115 | |
116 | if [[ ${ROOT} == "/" ]]; then |
117 | for basecmd in "${basecmds[@]}"; do |
118 | eval ${basecmd/COMMAND/remove} |
119 | done |
120 | else |
121 | ewarn "Unable to register the plugin and firmware when installing outside of /." |
122 | ewarn "execute the following command yourself:" |
123 | for basecmd in "${basecmds[@]}"; do |
124 | ewarn "${basecmd/COMMAND/remove}" |
125 | done |
126 | fi |
127 | } |