blob: f3e7b8bac8165de8c6571afd6286a05231f851cd [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Interactive Connectivity Establishment library"
2DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactive Connectivity Establishment standard (ICE)."
3HOMEPAGE = "http://nice.freedesktop.org/wiki/"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004
5LICENSE = "LGPLv2.1 & MPLv1.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \
7 file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8 file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \
9"
10
Brad Bishop7e36d532019-09-16 07:44:26 -040011SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz"
Andrew Geissler32b11992021-03-31 13:37:05 -050012SRC_URI[sha256sum] = "5eabd25ba2b54e817699832826269241abaa1cf78f9b240d1435f936569273f4"
Brad Bishop7e36d532019-09-16 07:44:26 -040013
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014DEPENDS = "glib-2.0 gnutls"
15
Andrew Geissler32b11992021-03-31 13:37:05 -050016PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp"
17PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0"
18PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled,"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
Andrew Geissler32b11992021-03-31 13:37:05 -050020EXTRA_OEMESON = "-Dgstreamer=disabled"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021
Andrew Geissler32b11992021-03-31 13:37:05 -050022GTKDOC_MESON_OPTION = "gtk_doc"
23GTKDOC_MESON_ENABLE_FLAG = "enabled"
24GTKDOC_MESON_DISABLE_FLAG = "disabled"
25
26inherit meson gtk-doc gobject-introspection
Brad Bishop19323692019-04-05 15:28:33 -040027
28FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
29FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
30FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
31FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080032
33do_configure_prepend() {
34 mkdir ${S}/m4 || true
35}
36
37do_compile_append() {
38 for i in $(find ${B} -name "*.pc") ; do
39 sed -i -e s:${STAGING_DIR_TARGET}::g \
40 -e s:/${TARGET_SYS}::g \
41 $i
42 done
43}