media-gfx/sane-backends: Use zeroconf instead of avahi USE flag (#477620)
authorPacho Ramos <pacho@gentoo.org>
Sun, 2 Oct 2016 11:15:43 +0000 (13:15 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 2 Oct 2016 12:36:20 +0000 (14:36 +0200)
Package-Manager: portage-2.3.1

media-gfx/sane-backends/sane-backends-1.0.25-r1.ebuild

index 0fa014d995e6198c84352f29f9362dffacf2baec..67a29a0e3fdf9268ab81b24a0e05c54afdf678f4 100644 (file)
@@ -94,7 +94,7 @@ IUSE_SANE_BACKENDS="
        umax_pp
        xerox_mfp"
 
-IUSE="avahi doc gphoto2 ipv6 nls snmp systemd threads usb v4l xinetd"
+IUSE="doc gphoto2 ipv6 nls snmp systemd threads usb v4l xinetd zeroconf"
 
 for backend in ${IUSE_SANE_BACKENDS}; do
        case ${backend} in
@@ -149,7 +149,6 @@ RDEPEND="
                >=virtual/jpeg-0-r2:0=[${MULTILIB_USEDEP}]
                >=media-libs/tiff-3.9.7-r1:0=[${MULTILIB_USEDEP}]
        )
-       avahi? ( >=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}] )
        sane_backends_canon_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
        sane_backends_hpsj5s? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
        sane_backends_mustek_pp? ( >=sys-libs/libieee1284-0.2.11-r3[${MULTILIB_USEDEP}] )
@@ -162,6 +161,7 @@ RDEPEND="
        xinetd? ( sys-apps/xinetd )
        snmp? ( net-analyzer/net-snmp )
        systemd? ( sys-apps/systemd:0= )
+       zeroconf? ( >=net-dns/avahi-0.6.31-r2[${MULTILIB_USEDEP}] )
 "
 
 DEPEND="${RDEPEND}
@@ -258,10 +258,10 @@ multilib_src_configure() {
                $(use_with gphoto2) \
                $(multilib_native_use_with systemd) \
                $(use_with v4l) \
-               $(use_enable avahi) \
                $(use_enable ipv6) \
                $(use_enable nls translations) \
                $(use_enable threads pthread) \
+               $(use_enable zeroconf avahi) \
                "${myconf[@]}"
 }