diff options
author | Virgil Dupras <vdupras@gentoo.org> | 2018-09-30 13:37:55 -0400 |
---|---|---|
committer | Virgil Dupras <vdupras@gentoo.org> | 2018-09-30 13:38:03 -0400 |
commit | 47fb0243ba5c3b7e2e17f33f884c6f99bc80aefd (patch) | |
tree | 0296df1d9080bdb06d5f767f6e226c7792e03a6e /media-gfx/iscan-data | |
parent | media-gfx/raw-thumbnailer: Drop old (diff) | |
download | gentoo-47fb0243ba5c3b7e2e17f33f884c6f99bc80aefd.tar.gz gentoo-47fb0243ba5c3b7e2e17f33f884c6f99bc80aefd.tar.bz2 gentoo-47fb0243ba5c3b7e2e17f33f884c6f99bc80aefd.zip |
media-gfx/iscan-data: bump to 1.37.0.3
Authored by Matthew Schultz, tweaked by me.
Closes: https://bugs.gentoo.org/596946
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
Diffstat (limited to 'media-gfx/iscan-data')
-rw-r--r-- | media-gfx/iscan-data/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/iscan-data/iscan-data-1.37.0.3.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/iscan-data/Manifest b/media-gfx/iscan-data/Manifest index 79ca476d4f6d..e458a560404a 100644 --- a/media-gfx/iscan-data/Manifest +++ b/media-gfx/iscan-data/Manifest @@ -1,2 +1,3 @@ DIST iscan-data_1.22.0-1.tar.gz 96626 BLAKE2B e8db0a38b108dafe8a853a34f166c70ee43cddeda7cbd6b034f941cf8051bcf64c9a381e8f9d4efeda2e262c8d70d9a891e32c59ed296256a93907fdd00ffbe3 SHA512 2adc6c125045803ffd269abab4f58d6d1c87ebd4c959985e6689d0b2e7f5a84fb1956d0e559c35b1704a1e330bc639e668c37f718c871e076a7ccf6c35562e6f DIST iscan-data_1.36.0-1.tar.gz 100218 BLAKE2B 7731266ae58b44541ca9e39621026aa667707cb46774e8199711e627d773fc1029fecb401de2df7746a476a162774ec1eeec75b9d0bfda82567ccef706547baa SHA512 a9711264c852dd4bdcdb10c1153f725a111bd74b03705c99265b6692bf47236c6e4f5e7e4813991eb5991deb198adeee272c8c3eb53da641ba189d923916d3cb +DIST iscan-data_1.37.0-3.tar.gz 100499 BLAKE2B 8710a69702306b50bb4d9a21a924dd9bf14748b5310ecbe53d7b4ba24bf47122da9c4bfb57a0769f166aa1ce9c732a943703fe1bfafb9500636654f480026f28 SHA512 051b5a3de2af3d621a3ebc181314809edd25598d3d2dc3868abd3423562aa5c2c00808c5e22ada6253588036b4072644dcf979012645c1ae580e9f701544bd40 diff --git a/media-gfx/iscan-data/iscan-data-1.37.0.3.ebuild b/media-gfx/iscan-data/iscan-data-1.37.0.3.ebuild new file mode 100644 index 000000000000..5a58c3f55b91 --- /dev/null +++ b/media-gfx/iscan-data/iscan-data-1.37.0.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev multilib + +MY_PV="$(ver_cut 1-3)" +MY_PVR="$(ver_rs 3 -)" + +DESCRIPTION="Image Scan! for Linux data files" +HOMEPAGE="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" +SRC_URI="http://support.epson.net/linux/src/scanner/iscan/${PN}_${MY_PVR}.tar.gz" +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~x86" +IUSE="udev" + +DEPEND="udev? ( + dev-libs/libxslt + media-gfx/sane-backends + )" +RDEPEND="" + +S="${WORKDIR}/${PN}-${MY_PV}" + +DOCS=( NEWS SUPPORTED-DEVICES KNOWN-PROBLEMS ) + +src_install() { + ewarn ""; ewarn "Some profiles automatically enable udev which will cause install to fail" + ewarn "if media-gfx/sane-backends is not already installed."; ewarn "" + default + + if use udev; then + # create udev rules + local rulesdir=$(get_udevdir)/rules.d + dodir ${rulesdir} + "${D}usr/$(get_libdir)/iscan-data/make-policy-file" \ + --force --mode udev \ + -d "${D}usr/share/iscan-data/epkowa.desc" \ + -o "${D}${rulesdir}/99-iscan.rules" || die + fi +} |