mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/gst1-vaapi: fix x11 dependencies
The x11 feature needs libx11 and libxrandr support. Select and depend on these when x11 is enabled. Fixes: gst1-vaapi-1.22.0/meson.build:96:0: ERROR: Dependency "xrandr" not found, tried pkgconfig and cmake Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
8bb962724e
commit
2e1b425a81
@@ -8,6 +8,8 @@ config BR2_PACKAGE_GST1_VAAPI
|
|||||||
select BR2_PACKAGE_LIBDRM
|
select BR2_PACKAGE_LIBDRM
|
||||||
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
||||||
select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers
|
select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers
|
||||||
|
select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
|
||||||
|
select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7
|
||||||
help
|
help
|
||||||
gstreamer-vaapi consists in a collection of VA-API based
|
gstreamer-vaapi consists in a collection of VA-API based
|
||||||
plugins for GStreamer and helper libraries.
|
plugins for GStreamer and helper libraries.
|
||||||
|
|||||||
@@ -43,8 +43,9 @@ else
|
|||||||
GST1_VAAPI_CONF_OPTS += -Dwayland=disabled
|
GST1_VAAPI_CONF_OPTS += -Dwayland=disabled
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_XORG7),y)
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXRANDR),yy)
|
||||||
GST1_VAAPI_CONF_OPTS += -Dx11=enabled
|
GST1_VAAPI_CONF_OPTS += -Dx11=enabled
|
||||||
|
GST1_VAAPI_DEPENDENCIES += xlib_libX11 xlib_libXrandr
|
||||||
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
||||||
GST1_VAAPI_CONF_OPTS += -Dglx=enabled
|
GST1_VAAPI_CONF_OPTS += -Dglx=enabled
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user