diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-12 16:58:08 +0000 |
commit | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (patch) | |
tree | 9ea78393bc3ecd6ab4de449383d4e97e5f3648ae /media-gfx/iscan-data/iscan-data-1.39.0.1.ebuild | |
parent | 2891d29af8907ce881662f4a02844926d7a293c7 (diff) |
gentoo resync : 12.01.2019
Diffstat (limited to 'media-gfx/iscan-data/iscan-data-1.39.0.1.ebuild')
-rw-r--r-- | media-gfx/iscan-data/iscan-data-1.39.0.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/iscan-data/iscan-data-1.39.0.1.ebuild b/media-gfx/iscan-data/iscan-data-1.39.0.1.ebuild new file mode 100644 index 000000000000..e9b6501a2b6c --- /dev/null +++ b/media-gfx/iscan-data/iscan-data-1.39.0.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit udev + +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}_$(ver_rs 3 -).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}-$(ver_cut 1-3)" + +DOCS=( NEWS SUPPORTED-DEVICES KNOWN-PROBLEMS ) + +src_install() { + ewarn "Some profiles automatically enable udev which will cause install" + ewarn "to fail if media-gfx/sane-backends is not already installed." + 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 +} |