networking: introduce slirp dependency

Importing libslirp to meet the requirements of the updated slirp4netns.

This is very similar to:
https://github.com/schnitzeltony/meta-retro/blob/master/recipes-support/slirp/libslirp.bb

But we create our own recipe for now, as we don't want to introduce
more layer dependencies. If we can get libslirp moved to
meta-openembedded, we'll drop this recipe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Bruce Ashfield 2022-03-08 10:28:35 -05:00
parent 8cd1584a01
commit 04270c3baa

View File

@ -0,0 +1,14 @@
SUMMARY = "A general purpose TCP-IP emulator"
LICENSE = "BSD-3-Clause & MIT"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=bca0186b14e6b05e338e729f106db727"
SRC_URI = "git://gitlab.freedesktop.org/slirp/libslirp.git;protocol=https;branch=master"
SRCREV = "bf917b89d64f57d9302aba4b2f027ea68fb78c13"
PV = "4.6.1"
S = "${WORKDIR}/git"
DEPENDS = " \
glib-2.0 \
"
inherit meson pkgconfig