sys-boot/plymouth: made udev dependency optional
authorMatthew Thode <prometheanfire@gentoo.org>
Fri, 3 Jan 2020 19:55:39 +0000 (13:55 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Fri, 3 Jan 2020 19:55:45 +0000 (13:55 -0600)
Fixes: https://bugs.gentoo.org/704562
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
sys-boot/plymouth/plymouth-0.9.4-r1.ebuild
sys-boot/plymouth/plymouth-9999.ebuild

index ca1a0bce4cbf5f874aedfbb032bc426c78b0b11d..1ade24f98db6a8a94b6aa7d24d739229fee88e47 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug gdm +gtk +libkms +pango +split-usr static-libs"
+IUSE="debug gdm +gtk +libkms +pango +split-usr static-libs +udev"
 
 CDEPEND="
        >=media-libs/libpng-1.2.16:=
@@ -41,7 +41,7 @@ DEPEND="${CDEPEND}
 "
 # Block due bug #383067
 RDEPEND="${CDEPEND}
-       virtual/udev
+       udev? ( virtual/udev )
        !<sys-kernel/dracut-0.37-r3
 "
 
@@ -75,6 +75,7 @@ src_configure() {
                $(use_enable libkms drm)
                $(use_enable pango)
                $(use_enable gdm gdm-transition)
+               $(use_with udev)
        )
        econf "${myconf[@]}"
 }
index f10bd9023672ec918ba1cfb991bf19e9e78385c1..f833e4ef1b5565cea475838a1aa384d31c96d0b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ HOMEPAGE="https://cgit.freedesktop.org/plymouth/"
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="debug gdm +gtk +libkms +pango static-libs"
+IUSE="debug gdm +gtk +libkms +pango static-libs +udev"
 
 CDEPEND="
        >=media-libs/libpng-1.2.16:=
@@ -41,7 +41,7 @@ DEPEND="${CDEPEND}
 "
 # Block due bug #383067
 RDEPEND="${CDEPEND}
-       virtual/udev
+       udev? ( virtual/udev )
        !<sys-kernel/dracut-0.37-r3
 "
 
@@ -75,6 +75,7 @@ src_configure() {
                $(use_enable libkms drm)
                $(use_enable pango)
                $(use_enable gdm gdm-transition)
+               $(use_with udev)
        )
        econf "${myconf[@]}"
 }