dev-libs/weston: Ensure at least one backend is selected
authorJames Le Cuirot <chewi@gentoo.org>
Sun, 14 Apr 2019 21:46:55 +0000 (22:46 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 14 Apr 2019 21:47:49 +0000 (22:47 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
dev-libs/weston/weston-6.0.0.ebuild
dev-libs/weston/weston-9999.ebuild

index 99a21bac4ef1b521dd62cfddd41dda90381876ba..e919840d917e5fca10c48fbaa82f9d55eeecbca2 100644 (file)
@@ -32,6 +32,7 @@ REQUIRED_USE="
        screen-sharing? ( rdp )
        test? ( desktop headless xwayland )
        wayland-compositor? ( gles2 )
+       || ( drm fbdev headless rdp wayland-compositor X )
 "
 
 RDEPEND="
@@ -98,6 +99,7 @@ src_configure() {
                $(meson_use wayland-compositor backend-wayland)
                $(meson_use X backend-x11)
                $(meson_use fbdev backend-fbdev)
+               -Dbackend-default=auto
                $(meson_use gles2 renderer-gl)
                $(meson_use launch weston-launch)
                $(meson_use xwayland)
index b30adfd37d1d160a29c8118dbb3b65ace9dff874..519399706138f5de722399142233fc5f622883b0 100644 (file)
@@ -32,6 +32,7 @@ REQUIRED_USE="
        screen-sharing? ( rdp )
        test? ( desktop headless xwayland )
        wayland-compositor? ( gles2 )
+       || ( drm fbdev headless rdp wayland-compositor X )
 "
 
 RDEPEND="
@@ -98,6 +99,7 @@ src_configure() {
                $(meson_use wayland-compositor backend-wayland)
                $(meson_use X backend-x11)
                $(meson_use fbdev backend-fbdev)
+               -Dbackend-default=auto
                $(meson_use gles2 renderer-gl)
                $(meson_use launch weston-launch)
                $(meson_use xwayland)