Both this, and aml recipe should go to meta-oe, unless there is a use case for having them in oe-core.
Alex On Wed, 23 Aug 2023 at 18:24, Leon Anavi <leon.an...@konsulko.com> wrote: > > Add a new recipe for neatvnc v0.6.0, a liberally licensed VNC > server library with a clean interface. It is required for building > Weston with VNC backend. > > Signed-off-by: Leon Anavi <leon.an...@konsulko.com> > --- > meta/conf/distro/include/maintainers.inc | 1 + > meta/recipes-graphics/neatvnc/neatvnc_git.bb | 40 ++++++++++++++++++++ > 2 files changed, 41 insertions(+) > create mode 100644 meta/recipes-graphics/neatvnc/neatvnc_git.bb > > diff --git a/meta/conf/distro/include/maintainers.inc > b/meta/conf/distro/include/maintainers.inc > index 11b47ffe84..f659e24a66 100644 > --- a/meta/conf/distro/include/maintainers.inc > +++ b/meta/conf/distro/include/maintainers.inc > @@ -895,3 +895,4 @@ RECIPE_MAINTAINER:pn-zip = "Denys Dmytriyenko > <de...@denix.org>" > RECIPE_MAINTAINER:pn-zlib = "Denys Dmytriyenko <de...@denix.org>" > RECIPE_MAINTAINER:pn-zstd = "Alexander Kanavin <alex.kana...@gmail.com>" > RECIPE_MAINTAINER:pn-aml = "Leon Anavi <leon.an...@konsulko.com>" > +RECIPE_MAINTAINER:pn-neatvnc = "Leon Anavi <leon.an...@konsulko.com>" > diff --git a/meta/recipes-graphics/neatvnc/neatvnc_git.bb > b/meta/recipes-graphics/neatvnc/neatvnc_git.bb > new file mode 100644 > index 0000000000..dc4678f082 > --- /dev/null > +++ b/meta/recipes-graphics/neatvnc/neatvnc_git.bb > @@ -0,0 +1,40 @@ > +SUMMARY = "A liberally licensed VNC server library" > +DESCRIPTION = "This is a liberally licensed VNC server library that's > intended to be fast and neat." > +HOMEPAGE = "https://github.com/any1/neatvnc" > +LICENSE = "ISC" > +LIC_FILES_CHKSUM = "file://COPYING;md5=94fc374e7174f41e3afe0f027ee59ff7" > + > +SRC_URI = "git://github.com/any1/neatvnc;branch=master;protocol=https" > + > +SRCREV = "8b3dc1ae6099dcfa73aec3ae11df2fdc58540d14" > + > +PV = "0.6.0+git${SRCPV}" > + > +S = "${WORKDIR}/git" > + > +DEPENDS = "libdrm pixman aml zlib" > + > +PACKAGECONFIG ??= "tls" > +PACKAGECONFIG[tls] = "-Dtls=enabled,-Dtls=disabled,gnutls" > +PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,libjpeg-turbo" > +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false,libpng" > +PACKAGECONFIG[benchmarks] = "-Dbenchmarks=true,-Dbenchmarks=false,libpng" > + > +PACKAGE_BEFORE_PN += "${PN}-examples" > +ALLOW_EMPTY:${PN}-examples = "1" > +FILES:${PN}-examples = "${bindir}" > + > +NEATVNC_EXAMPLES = "draw png-server" > + > +inherit meson pkgconfig > + > +do_install:append () { > + if ${@bb.utils.contains('PACKAGECONFIG', 'examples', 'true', 'false', > d)}; then > + install -d ${D}${bindir} > + for bin in ${NEATVNC_EXAMPLES}; do > + install -m 0755 ${B}/examples/$bin ${D}${bindir} > + done > + fi > +} > + > +BBCLASSEXTEND = "native" > -- > 2.39.2 > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#186622): https://lists.openembedded.org/g/openembedded-core/message/186622 Mute This Topic: https://lists.openembedded.org/mt/100918320/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-