aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia
diff options
context:
space:
mode:
authorChenxi Mao <maochenxi@eswin.com>2020-04-29 08:09:42 +0800
committerKhem Raj <raj.khem@gmail.com>2020-04-28 17:29:51 -0700
commit17fd382f3467e20308924499b7531ae8b789f056 (patch)
treefb1e54175a766fbb6f0d04a3caab5fe400c9bd29 /meta-oe/recipes-multimedia
parent79dd17c7b05c0951ee791c2f790bf9b83194ef6e (diff)
downloadmeta-openembedded-17fd382f3467e20308924499b7531ae8b789f056.tar.gz
mpv: Remove X11 dependency
During enable mpv which is based on wayland. The mpv reqired x11 by default even if mpv support wayland. Change the depend rules and chang the x11 dectection policy. After this change, mpv could be build and run successfully based on wayland Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia')
-rw-r--r--meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb b/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb
index 3d325e24e6..f7b0f30fb9 100644
--- a/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb
+++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb
@@ -2,11 +2,12 @@ SUMMARY = "Open Source multimedia player"
DESCRIPTION = "mpv is a fork of mplayer2 and MPlayer. It shares some features with the former projects while introducing many more."
SECTION = "multimedia"
HOMEPAGE = "http://www.mpv.io/"
-DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
- libxscrnsaver libv4l libxinerama \
-"
-REQUIRED_DISTRO_FEATURES = "x11"
+DEPENDS = "zlib ffmpeg jpeg libv4l"
+
+DEPENDS += " \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' virtual/libx11 xsp libxv libxscrnsaver libxinerama', '', d)} \
+"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=91f1cb870c1cc2d31351a4d2595441cb"