summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2019-04-14 22:46:55 +0100
committerJames Le Cuirot <chewi@gentoo.org>2019-04-14 22:47:49 +0100
commit97316142838bd57f2e823cdadff21baffac941d1 (patch)
treea22283716a5cdb4ac7941f3287dadf6e7f07afdb /dev-libs/weston
parentdev-libs/weston: Fix selection of example clients (diff)
downloadgentoo-97316142838bd57f2e823cdadff21baffac941d1.tar.gz
gentoo-97316142838bd57f2e823cdadff21baffac941d1.tar.bz2
gentoo-97316142838bd57f2e823cdadff21baffac941d1.zip
dev-libs/weston: Ensure at least one backend is selected
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs/weston')
-rw-r--r--dev-libs/weston/weston-6.0.0.ebuild2
-rw-r--r--dev-libs/weston/weston-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/dev-libs/weston/weston-6.0.0.ebuild b/dev-libs/weston/weston-6.0.0.ebuild
index 99a21bac4ef1..e919840d917e 100644
--- a/dev-libs/weston/weston-6.0.0.ebuild
+++ b/dev-libs/weston/weston-6.0.0.ebuild
@@ -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)
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index b30adfd37d1d..519399706138 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -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)