Skip to content

Commit

Permalink
mpv: Remove X11 dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chenxi Mao authored and kraj committed Apr 29, 2020
1 parent 79dd17c commit 17fd382
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions meta-oe/recipes-multimedia/mplayer/mpv_0.32.0.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 17fd382

Please sign in to comment.