mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
40 lines
725 B
Bash
40 lines
725 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DIST_VERSION=5
|
|
DIST_AUTHOR=RATCLIFFE
|
|
DIST_EXAMPLES=( "examples/*" )
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Access SANE-compatible scanners from Perl"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 ~riscv x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
dev-perl/Exception-Class
|
|
dev-perl/Readonly
|
|
>=media-gfx/sane-backends-1.0.19
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
"
|
|
BDEPEND="${RDEPEND}
|
|
dev-perl/ExtUtils-Depends
|
|
dev-perl/ExtUtils-PkgConfig
|
|
test? (
|
|
dev-perl/Test-Requires
|
|
dev-perl/Try-Tiny
|
|
virtual/imagemagick-tools
|
|
)
|
|
"
|
|
|
|
PERL_RM_FILES=( t/{90_MANIFEST,91_critic,pod}.t )
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-5.0.0-perl-5.38.patch
|
|
)
|