diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-13 21:59:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-13 21:59:42 +0100 |
commit | a0e652963f4d02b0e7c1148509f4ce3327c83808 (patch) | |
tree | 621db73bed25195d82efb6891ac2634295949450 /gui-libs/wlroots/wlroots-9999.ebuild | |
parent | 724570cf64d3eddb687d69ef236582cdd6363fb4 (diff) |
gentoo auto-resync : 13:05:2023 - 21:59:42
Diffstat (limited to 'gui-libs/wlroots/wlroots-9999.ebuild')
-rw-r--r-- | gui-libs/wlroots/wlroots-9999.ebuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gui-libs/wlroots/wlroots-9999.ebuild b/gui-libs/wlroots/wlroots-9999.ebuild index 465c324cb3b1..ec3331b0dc80 100644 --- a/gui-libs/wlroots/wlroots-9999.ebuild +++ b/gui-libs/wlroots/wlroots-9999.ebuild @@ -19,15 +19,16 @@ else fi LICENSE="MIT" -IUSE="+hwdata +seatd tinywl +udev vulkan x11-backend X" +IUSE="+hwdata liftoff +seatd tinywl +udev vulkan x11-backend xcb-errors X" DEPEND=" >=dev-libs/libinput-1.14.0:0= >=dev-libs/wayland-1.22.0 >=dev-libs/wayland-protocols-1.28 media-libs/mesa[egl(+),gles2] - media-libs/libdisplay-info:= + media-libs/libdisplay-info hwdata? ( sys-apps/hwdata:= ) + liftoff? ( dev-libs/libliftoff ) seatd? ( sys-auth/seatd:= ) udev? ( virtual/libudev ) vulkan? ( @@ -45,6 +46,7 @@ DEPEND=" x11-libs/xcb-util-image x11-libs/xcb-util-renderutil x11-libs/xcb-util-wm + xcb-errors? ( x11-libs/xcb-util-errors ) ) " RDEPEND=" @@ -61,11 +63,17 @@ src_configure() { # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) local emesonargs=( "-Dxcb-errors=disabled" + -Dxcb-errors=$(usex xcb-errors enabled disabled) $(meson_use tinywl examples) -Drenderers=$(usex vulkan 'gles2,vulkan' gles2) -Dxwayland=$(usex X enabled disabled) -Dbackends=drm,libinput$(usex x11-backend ',x11' '') ) + if use udev; then + emesonargs+=(-Dsession=$(usex seatd enabled disabled)) + else + emesonargs+=(-Dsession=disabled) + fi meson_src_configure } |