From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/gst1-vaapi: fix x11 dependencies
Date: Sun, 5 Feb 2023 13:36:44 +0100 [thread overview]
Message-ID: <20230205123644.GF2960@scaer> (raw)
In-Reply-To: <20230205023709.799349-1-james.hilliard1@gmail.com>
James, All,
On 2023-02-04 19:37 -0700, James Hilliard spake thusly:
> 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>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/gstreamer1/gst1-vaapi/Config.in | 2 ++
> package/gstreamer1/gst1-vaapi/gst1-vaapi.mk | 3 ++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/package/gstreamer1/gst1-vaapi/Config.in b/package/gstreamer1/gst1-vaapi/Config.in
> index ade8b83a5f..a1062097ed 100644
> --- a/package/gstreamer1/gst1-vaapi/Config.in
> +++ b/package/gstreamer1/gst1-vaapi/Config.in
> @@ -8,6 +8,8 @@ config BR2_PACKAGE_GST1_VAAPI
> select BR2_PACKAGE_LIBDRM
> select BR2_PACKAGE_GST1_PLUGINS_BASE
> 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
> gstreamer-vaapi consists in a collection of VA-API based
> plugins for GStreamer and helper libraries.
> diff --git a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
> index 3d9eb91ffb..9533cdf2b6 100644
> --- a/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
> +++ b/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk
> @@ -43,8 +43,9 @@ else
> GST1_VAAPI_CONF_OPTS += -Dwayland=disabled
> endif
>
> -ifeq ($(BR2_PACKAGE_XORG7),y)
> +ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXRANDR),yy)
> GST1_VAAPI_CONF_OPTS += -Dx11=enabled
> +GST1_VAAPI_DEPENDENCIES += xlib_libX11 xlib_libXrandr
> ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
> GST1_VAAPI_CONF_OPTS += -Dglx=enabled
> else
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2023-02-05 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-05 2:37 [Buildroot] [PATCH 1/1] package/gst1-vaapi: fix x11 dependencies James Hilliard
2023-02-05 12:36 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230205123644.GF2960@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=james.hilliard1@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.