commit:     8e3f3b28101468af3e316aea02dafd5d54b2aadc
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 13 08:26:27 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Jan 13 08:28:16 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e3f3b28

media-gfx/sane-backends: escl backend required app-text-poppler

Added canon_lide70 backend

Closes: https://bugs.gentoo.org/765187
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-gfx/sane-backends/sane-backends-1.0.31.ebuild | 3 +++
 profiles/desc/sane_backends.desc                    | 1 +
 2 files changed, 4 insertions(+)

diff --git a/media-gfx/sane-backends/sane-backends-1.0.31.ebuild 
b/media-gfx/sane-backends/sane-backends-1.0.31.ebuild
index 1e3fa2cc147..7624d2646d0 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.31.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.31.ebuild
@@ -23,6 +23,7 @@ IUSE_SANE_BACKENDS=(
        canon
        canon630u
        canon_dr
+       canon_lide70
        canon_pp
        cardscan
        coolscan
@@ -146,6 +147,7 @@ RDEPEND="
                >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}]
        )
        sane_backends_escl? (
+               app-text/poppler
                || (
                        net-dns/avahi[dbus]
                        net-dns/avahi[gtk]
@@ -240,6 +242,7 @@ multilib_src_configure() {
                $(use_with usb)
                $(multilib_native_use_with snmp)
 
+               $(usex sane_backends_escl --with-poppler-glib '')
                # you can only enable this backend, not disable it...
                $(usex sane_backends_pnm --enable-pnm-backend '')
                $(usex sane_backends_mustek_pp --enable-parport-directio '')

diff --git a/profiles/desc/sane_backends.desc b/profiles/desc/sane_backends.desc
index b602cf9dd10..3596b4cf2e4 100644
--- a/profiles/desc/sane_backends.desc
+++ b/profiles/desc/sane_backends.desc
@@ -16,6 +16,7 @@ bh - SANE_BACKENDS setting for building the bh backend
 canon - SANE_BACKENDS setting for building the canon backend
 canon630u - SANE_BACKENDS setting for building the canon630u backend
 canon_dr - SANE_BACKENDS setting for building the canon_dr backend
+canon_lide70 - SANE_BACKENDS setting for building the canon_lide70 backend
 canon_pp - SANE_BACKENDS setting for building the canon_pp backend
 cardscan - SANE_BACKENDS setting for building the cardscan backend
 coolscan - SANE_BACKENDS setting for building the coolscan backend

Reply via email to