aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Dagenais <dagenaisj@sonatest.com>2019-02-07 12:05:24 -0500
committerJean-Francois Dagenais <dagenaisj@sonatest.com>2019-02-11 14:37:17 -0500
commit876b48b5712c71dfa7b217e9cdb71989b3e0c147 (patch)
tree907dba55a0737e6182e4373ca8c7ad2816c0c9bb
parentd30d26c2796dc45ba274803815421e6f4aca9eb5 (diff)
downloadmeta-openembedded-contrib-876b48b5712c71dfa7b217e9cdb71989b3e0c147.tar.gz
meta-openembedded-contrib-876b48b5712c71dfa7b217e9cdb71989b3e0c147.tar.bz2
meta-openembedded-contrib-876b48b5712c71dfa7b217e9cdb71989b3e0c147.zip
x11vnc: allow fbdev only (x11-less) builds
-rw-r--r--meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb15
1 files changed, 11 insertions, 4 deletions
diff --git a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
index 774d2c9cb6..57bc4a56b9 100644
--- a/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
+++ b/meta-oe/recipes-graphics/x11vnc/x11vnc_0.9.13.bb
@@ -1,4 +1,4 @@
-SUMMARY = "Exports your X session on-the-fly via VNC"
+SUMMARY = "Exports your X session or FrameBuffer(fbdev) on-the-fly via VNC"
HOMEPAGE = "http://www.karlrunge.com/x11vnc/"
SECTION = "x11/utils"
@@ -16,15 +16,22 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/libvncserver/x11vnc/${PV}/x11vnc-${PV}.tar.gz\
SRC_URI[md5sum] = "a372ec4fe8211221547b1c108cf56e4c"
SRC_URI[sha256sum] = "f6829f2e629667a5284de62b080b13126a0736499fe47cdb447aedb07a59f13b"
-DEPENDS = "openssl virtual/libx11 libxext jpeg zlib libxfixes libxrandr libxdamage libxtst libtasn1 p11-kit"
+DEPENDS = "\
+ jpeg \
+ libtasn1 \
+ openssl \
+ p11-kit \
+ zlib \
+"
inherit autotools-brokensep distro_features_check
-# depends on virtual/libx11
-REQUIRED_DISTRO_FEATURES = "x11"
+
+ANY_OF_DISTRO_FEATURES = "x11 fbdev"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} libvncserver"
PACKAGECONFIG[avahi] = "--with-avahi,--without-avahi,avahi"
PACKAGECONFIG[xinerama] = "--with-xinerama,--without-xinerama,libxinerama"
+PACKAGECONFIG[x] = "--with-x,--without-x, libxdamage libxext libxfixes libxrandr libxtst virtual/libx11"
PACKAGECONFIG[libvncserver] = "--with-system-libvncserver,--without-system-libvncserver,libvncserver"
do_prepare_sources () {