summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorSujeet Nayak <sujeetnayak1976@gmail.com>2026-03-16 15:42:24 +0900
committerKhem Raj <raj.khem@gmail.com>2026-03-18 14:33:26 -0700
commit5610dcfffcbcd70ff506b20cbd4d9acafa074bc5 (patch)
tree4d2a0dfa4f6f70a7e2daaf4ed8aaad773b3d1ec2 /meta-oe/recipes-support
parent0f18a8f9e030f05e97797e5651f2d25004b3c923 (diff)
downloadmeta-openembedded-5610dcfffcbcd70ff506b20cbd4d9acafa074bc5.tar.gz
libnice: make crypto library configurable via PACKAGECONFIG
Move gnutls from a hard dependency to a PACKAGECONFIG option defaulting to gnutls. This allows users to select openssl as an alternative crypto library by setting PACKAGECONFIG. Signed-off-by: Nguyen Dat Tho <tho3.nguyen@lge.com> Signed-off-by: Sujeet Nayak <sujeetnayak1976@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/libnice/libnice_0.1.23.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libnice/libnice_0.1.23.bb b/meta-oe/recipes-support/libnice/libnice_0.1.23.bb
index bcdcf0ad7f..4411de955c 100644
--- a/meta-oe/recipes-support/libnice/libnice_0.1.23.bb
+++ b/meta-oe/recipes-support/libnice/libnice_0.1.23.bb
@@ -14,8 +14,11 @@ SRC_URI[sha256sum] = "618fc4e8de393b719b1641c1d8eec01826d4d39d15ade92679d221c7f5
14UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/libnice/libnice/-/tags" 14UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/libnice/libnice/-/tags"
15UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" 15UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
16 16
17DEPENDS = "glib-2.0 gnutls ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'graphviz-native', '', d)}" 17DEPENDS = "glib-2.0 ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'graphviz-native', '', d)}"
18 18
19PACKAGECONFIG ??= "gnutls"
20PACKAGECONFIG[gnutls] = "-Dcrypto-library=gnutls,,gnutls"
21PACKAGECONFIG[openssl] = "-Dcrypto-library=openssl,,openssl"
19PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp" 22PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp"
20PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0" 23PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0"
21PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," 24PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled,"