[oe] [meta-oe][PATCH v2] meta-oe: recipes-graphics: add libvncserver recipe

Martin Jansa martin.jansa at gmail.com
Tue Oct 13 10:53:39 UTC 2015


On Fri, Oct 09, 2015 at 09:58:07AM +0300, Ioan-Adrian Ratiu wrote:
> Signed-off-by: Ioan-Adrian Ratiu <adrian.ratiu at ni.com>
> ---
>  .../libvncserver/libvncserver_0.9.10.bb               | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb
> 
> diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb
> new file mode 100644
> index 0000000..afa303c
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.10.bb
> @@ -0,0 +1,19 @@
> +DESCRIPTION = "library for easy implementation of a RDP/VNC server"
> +HOMEPAGE = "https://libvnc.github.io"
> +SECTION = "libs"
> +PRIORITY = "optional"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"
> +
> +DEPENDS += "zlib jpeg libpng gtk+ libgcrypt nettle gnutls gmp"
> +RDEPENDS_${PN} += "libpng gtk+ libgcrypt"
> +
> +RCONFLICTS_${PN} = "x11vnc"

This isn't enough to resolve conflicts with x11vnc in sysroot, this only
prevent installing both packages in the same image.

> +
> +inherit autotools pkgconfig
> +
> +SRC_URI  = "git://github.com/LibVNC/libvncserver.git;tag=LibVNCServer-0.9.10"

Set SRCREV matching with this tag, otherwise bitbake will always use git
ls-remote to convert tag name to git SHA, which won't work for builds
from premirror (possibly without access to network)

> +
> +S = "${WORKDIR}/git"
> +
> +EXTRA_OEMAKE_append=" SUBDIRS='libvncserver' "
> -- 
> 2.1.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20151013/5b707086/attachment-0002.sig>


More information about the Openembedded-devel mailing list