summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2013-02-19 10:35:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2013-02-19 10:35:21 +0000
commitdfcb26c5935861958eb26b755899fe41539ea410 (patch)
treeaa23ed48189aa18682c482e0a955d16542188fff /media-gfx/esci-interpreter-gt-s80
parentStable for hppa, wrt bug #458138 (diff)
downloadgentoo-2-dfcb26c5935861958eb26b755899fe41539ea410.tar.gz
gentoo-2-dfcb26c5935861958eb26b755899fe41539ea410.tar.bz2
gentoo-2-dfcb26c5935861958eb26b755899fe41539ea410.zip
Version bump with new SRC_URI. Thanks to Jared in bug #455776.
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
Diffstat (limited to 'media-gfx/esci-interpreter-gt-s80')
-rw-r--r--media-gfx/esci-interpreter-gt-s80/ChangeLog10
-rw-r--r--media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild81
2 files changed, 89 insertions, 2 deletions
diff --git a/media-gfx/esci-interpreter-gt-s80/ChangeLog b/media-gfx/esci-interpreter-gt-s80/ChangeLog
index 8b84bd246f32..74605d3818cb 100644
--- a/media-gfx/esci-interpreter-gt-s80/ChangeLog
+++ b/media-gfx/esci-interpreter-gt-s80/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/esci-interpreter-gt-s80
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/esci-interpreter-gt-s80/ChangeLog,v 1.3 2012/07/05 16:30:43 flameeyes Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/esci-interpreter-gt-s80/ChangeLog,v 1.4 2013/02/19 10:35:21 flameeyes Exp $
+
+*esci-interpreter-gt-s80-0.2.1.1 (19 Feb 2013)
+
+ 19 Feb 2013; Diego E. Pettenò <flameeyes@gentoo.org>
+ +esci-interpreter-gt-s80-0.2.1.1.ebuild:
+ Version bump with new SRC_URI. Thanks to Jared in bug #455776.
05 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org>
esci-interpreter-gt-s80-0.2.0.2.ebuild:
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..40cbeb115a5e
--- /dev/null
+++ b/media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/esci-interpreter-gt-s80/esci-interpreter-gt-s80-0.2.1.1.ebuild,v 1.1 2013/02/19 10:35:21 flameeyes Exp $
+
+EAPI=4
+
+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/esci/libesci-interpreter-gt-s80.so*
+ /opt/iscan/esci/libesci-interpreter-gt-s50.so*"
+
+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
+}