mpeg2dec: depend on libx11 conditionally
* mpeg2dec currently doesn't build if x11 is unavailable, due to an unconditional dependency on libx11. However, libx11 is not required to build mpeg2dec. (From OE-Core rev: 6ebbeeb0bcd29aec25e2c437d0bc95dd78d62f82) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c6580ce1e4
commit
83d1d135d6
|
@ -6,7 +6,7 @@ LICENSE_FLAGS = "commercial"
|
|||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://include/mpeg2.h;beginline=1;endline=22;md5=ead62602d4638329d3b5b86a55803154"
|
||||
|
||||
DEPENDS = "virtual/libx11"
|
||||
DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
|
||||
|
||||
PR = "r2"
|
||||
|
||||
|
|
Loading…
Reference in New Issue