All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <bernd.kuhls@t-online.de>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/4] package/mpv: Add optional support for OpenGL DRM EGL Backend
Date: Fri, 18 Jun 2021 21:22:36 +0200	[thread overview]
Message-ID: <20210618192237.808519-3-bernd.kuhls@t-online.de> (raw)
In-Reply-To: <20210618192237.808519-1-bernd.kuhls@t-online.de>

Reference: https://github.com/mpv-player/mpv/blob/master/wscript#L571

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mpv/mpv.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index 877b84f63a..4292abb876 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -50,8 +50,13 @@ endif
 ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
 MPV_CONF_OPTS += --enable-gbm
 MPV_DEPENDENCIES += mesa3d
+ifeq ($(BR2_PACKAGE_LIBDRM),y)
+MPV_CONF_OPTS += --enable-egl-drm
+else
+MPV_CONF_OPTS += --disable-egl-drm
+endif
 else
-MPV_CONF_OPTS += --disable-gbm
+MPV_CONF_OPTS += --disable-gbm --disable-egl-drm
 endif
 
 # jack support
-- 
2.30.2

  parent reply	other threads:[~2021-06-18 19:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18 19:22 [Buildroot] [PATCH 1/4] package/mpv: fix reproducible build issues Bernd Kuhls
2021-06-18 19:22 ` [Buildroot] [PATCH 2/4] package/mpv: Add optional support for OpenGLES Bernd Kuhls
2021-06-18 19:22 ` Bernd Kuhls [this message]
2021-06-18 19:22 ` [Buildroot] [PATCH 4/4] package/mpv: Add optional support for DRM/EGL-based vaapi acceleration Bernd Kuhls
2021-07-18 21:33 ` [Buildroot] [PATCH 1/4] package/mpv: fix reproducible build issues Thomas Petazzoni
2021-08-04 13:43 ` Peter Korsgaard

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=20210618192237.808519-3-bernd.kuhls@t-online.de \
    --to=bernd.kuhls@t-online.de \
    --cc=buildroot@busybox.net \
    /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.