[Buildroot] [PATCH 1/1] package/intel-mediasdk: enable compilation with x11 dri3

Louis-Paul Cordier lpdev at cordier.org
Fri Feb 14 15:43:50 UTC 2020


Signed-off-by: Louis-Paul Cordier <lpdev at cordier.org>
---
 package/intel-mediasdk/Config.in         | 1 +
 package/intel-mediasdk/intel-mediasdk.mk | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/intel-mediasdk/Config.in b/package/intel-mediasdk/Config.in
index 05293d7604..0bfaf1272b 100644
--- a/package/intel-mediasdk/Config.in
+++ b/package/intel-mediasdk/Config.in
@@ -9,6 +9,7 @@ config BR2_PACKAGE_INTEL_MEDIASDK
 	depends on BR2_PACKAGE_XORG7  # intel-mediadriver
 	select BR2_PACKAGE_INTEL_MEDIADRIVER
 	select BR2_PACKAGE_LIBDRM_INTEL
+	select BR2_PACKAGE_XORGPROTO
 	help
 	  Intel(R) Media SDK provides an API to access
 	  hardware-accelerated video decode, encode and filtering on
diff --git a/package/intel-mediasdk/intel-mediasdk.mk b/package/intel-mediasdk/intel-mediasdk.mk
index 368e108308..b040729506 100644
--- a/package/intel-mediasdk/intel-mediasdk.mk
+++ b/package/intel-mediasdk/intel-mediasdk.mk
@@ -10,8 +10,8 @@ INTEL_MEDIASDK_LICENSE = MIT
 INTEL_MEDIASDK_LICENSE_FILES = LICENSE
 
 INTEL_MEDIASDK_INSTALL_STAGING = YES
-INTEL_MEDIASDK_DEPENDENCIES = intel-mediadriver
+INTEL_MEDIASDK_DEPENDENCIES = intel-mediadriver xorgproto
 
-INTEL_MEDIASDK_CONF_OPTS = -DMFX_INCLUDE="$(@D)/api/include"
+INTEL_MEDIASDK_CONF_OPTS = -DMFX_INCLUDE="$(@D)/api/include" -DENABLE_X11_DRI3=ON
 
 $(eval $(cmake-package))
-- 
2.20.1




More information about the buildroot mailing list