libva-intel-driver: Disable X11 and Wayland.

This CL explicitly disables X11 and Wayland for libva-intel-driver
because we never use VA-API over X11 or Wayland on Chrome OS. This
involves removing the corresponding IUSE flags.

This is a cleanup to make it possible for the libva uprev to also not
involve IUSE flags that we don't care about.

Note that it is not necessary to pass --enable-drm: this is not a
supported flag [1].

[1] https://github.com/intel/intel-vaapi-driver/blob/2.3.0/configure.ac#L50-L68

BUG=b:159825228
TEST=./build_packages --board=eve

Cq-Depend: chromium:2285394
Change-Id: Ie8a29dac90aae20bf24053151771ab3d3686f5ca
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/2278031
Tested-by: Andres Calderon Jaramillo <andrescj@chromium.org>
Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org>
Reviewed-by: Miguel Casas <mcasas@chromium.org>
diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.3.0-r7.ebuild b/x11-libs/libva-intel-driver/libva-intel-driver-2.3.0-r8.ebuild
similarity index 100%
rename from x11-libs/libva-intel-driver/libva-intel-driver-2.3.0-r7.ebuild
rename to x11-libs/libva-intel-driver/libva-intel-driver-2.3.0-r8.ebuild
diff --git a/x11-libs/libva-intel-driver/libva-intel-driver-2.3.0.ebuild b/x11-libs/libva-intel-driver/libva-intel-driver-2.3.0.ebuild
index a6f1cd0..69013ec 100644
--- a/x11-libs/libva-intel-driver/libva-intel-driver-2.3.0.ebuild
+++ b/x11-libs/libva-intel-driver/libva-intel-driver-2.3.0.ebuild
@@ -30,12 +30,11 @@
 else
 	KEYWORDS=""
 fi
-IUSE="+drm wayland X hybrid_codec"
+IUSE="hybrid_codec"
 
-RDEPEND=">=x11-libs/libva-2.1.0[X?,wayland?,drm?]
+RDEPEND=">=x11-libs/libva-2.1.0
 	>=x11-libs/libdrm-2.4.46[video_cards_intel]
-	hybrid_codec? ( media-libs/intel-hybrid-driver )
-	wayland? ( >=media-libs/mesa-9.1.6[egl] >=dev-libs/wayland-1.0.6 )"
+	hybrid_codec? ( media-libs/intel-hybrid-driver )"
 
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
@@ -65,10 +64,9 @@
 
 multilib_src_configure() {
 	local myeconfargs=(
-		$(use_enable drm)
-		$(use_enable wayland)
-		$(use_enable X x11)
-		$(use_enable hybrid_codec)
+		--disable-wayland
+		--disable-x11
+		"$(use_enable hybrid_codec)"
 	)
 	autotools-utils_src_configure
 }