sys-boot/plymouth: made udev dependency optional

Fixes: https://bugs.gentoo.org/704562
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
This commit is contained in:
Matthew Thode
2020-01-03 13:55:45 -06:00
parent dcb3fdbce4
commit 6ff8cce4cf
2 changed files with 8 additions and 6 deletions
+4 -3
View 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[@]}"
}
+4 -3
View 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[@]}"
}