media-gfx/iscan-data: new ebuild...https://bugs.gentoo.org/833597

This commit is contained in:
2024-01-29 09:52:43 -08:00
parent 6fd8d894e5
commit 7b60fea17c
4 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST iscan-data_1.39.0-1.tar.gz 100793 BLAKE2B 690ce06ed82e817658bd05611a66f9bf6d895bdc17185c585c83c0a8b9c020f0354f782bf991dd4913336799a75d3d424085624e488ca4a77f797088a327fda6 SHA512 15e456d5e64bfe9bea77c3f2a349a2e50c4d8a8cbd1347dfac4ef1f692793561d0d3d32fb3cec10176f013d3b0e46f62d6d24f0870c199088e2e65ec82b4326a

View File

@@ -0,0 +1,43 @@
# 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" \
--template "${D}/usr/share/iscan-data/fdi.xsl" \
-o "${D}${rulesdir}/99-iscan.rules" || die
fi
}

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
<longdescription lang="en">
Provides the necessary support files for Image Scan! for Linux,
including device information and policy file generation logic.
Image Scan! for Linux will not function without this package.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,14 @@
BDEPEND=virtual/pkgconfig
DEFINED_PHASES=install
DEPEND=udev? ( dev-libs/libxslt media-gfx/sane-backends )
DESCRIPTION=Image Scan! for Linux data files
EAPI=7
HOMEPAGE=http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
INHERIT=udev
IUSE=udev
KEYWORDS=amd64 x86
LICENSE=GPL-2
SLOT=0
SRC_URI=http://support.epson.net/linux/src/scanner/iscan/iscan-data_1.39.0-1.tar.gz
_eclasses_=multilib c19072c3cd7ac5cb21de013f7e9832e0 toolchain-funcs e56c7649b804f051623c8bc1a1c44084 udev eec0bbab06977f1cfc5597269c1fa152
_md5_=89b947c9f516003c1444761038748a9b