mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
x11-libs/libdrm: add "udev" USE flag
udev support switches internal logic and does not require any external libs. Closes: https://github.com/gentoo/gentoo/pull/22163 Signed-off-by: Karlson2k (Evgeny Grin) <k2k@narod.ru> Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
committed by
Matt Turner
parent
d5e1f736c9
commit
b0a3fe401f
@@ -26,15 +26,17 @@ for card in ${VIDEO_CARDS}; do
|
||||
IUSE_VIDEO_CARDS+=" video_cards_${card}"
|
||||
done
|
||||
|
||||
IUSE="${IUSE_VIDEO_CARDS} valgrind"
|
||||
IUSE="${IUSE_VIDEO_CARDS} udev valgrind"
|
||||
RESTRICT="test" # see bug #236845
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
COMMON_DEPEND="
|
||||
video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )"
|
||||
DEPEND="${RDEPEND}
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
valgrind? ( dev-util/valgrind )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
udev? ( virtual/udev )"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')"
|
||||
|
||||
@@ -44,8 +46,7 @@ python_check_deps() {
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
# Udev is only used by tests now.
|
||||
-Dudev=false
|
||||
$(meson_use udev)
|
||||
-Dcairo-tests=disabled
|
||||
$(meson_feature video_cards_amdgpu amdgpu)
|
||||
$(meson_feature video_cards_exynos exynos)
|
||||
|
||||
Reference in New Issue
Block a user