Browse Source

libvncserver: fix build depends issue

only include ffmpeg if correct license is defined

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Armin Kuster 4 years ago
parent
commit
1e951df523
1 changed files with 1 additions and 1 deletions
  1. 1 1
      meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb

+ 1 - 1
meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.12.bb

@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
 PACKAGECONFIG ??= " \
     24bpp \
     filetransfer \
-    ffmpeg \
+    ${@bb.utils.contains('LICENSE_FLAGS_WHITELIST','commercial','ffmpeg','',d)} \
     gcrypt \
     gnutls \
     jpeg \