diff options
Diffstat (limited to 'meta-oe/recipes-support/farsight/libnice_0.1.21.bb')
| -rw-r--r-- | meta-oe/recipes-support/farsight/libnice_0.1.21.bb | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.21.bb b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb new file mode 100644 index 0000000000..210d4d8228 --- /dev/null +++ b/meta-oe/recipes-support/farsight/libnice_0.1.21.bb | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | SUMMARY = "Interactive Connectivity Establishment library" | ||
| 2 | DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactive Connectivity Establishment standard (ICE)." | ||
| 3 | HOMEPAGE = "http://nice.freedesktop.org/wiki/" | ||
| 4 | |||
| 5 | LICENSE = "LGPL-2.1-only & MPL-1.1" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \ | ||
| 7 | file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
| 8 | file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \ | ||
| 9 | " | ||
| 10 | |||
| 11 | SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz" | ||
| 12 | SRC_URI[sha256sum] = "72e73a2acf20f59093e21d5601606e405873503eb35f346fa621de23e99b3b39" | ||
| 13 | |||
| 14 | DEPENDS = "glib-2.0 gnutls" | ||
| 15 | |||
| 16 | PACKAGECONFIG[gupnp] = "-Dgupnp=enabled,-Dgupnp=disabled,gupnp" | ||
| 17 | PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0" | ||
| 18 | PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," | ||
| 19 | |||
| 20 | EXTRA_OEMESON = "-Dgstreamer=disabled" | ||
| 21 | |||
| 22 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
| 23 | GTKDOC_MESON_ENABLE_FLAG = "enabled" | ||
| 24 | GTKDOC_MESON_DISABLE_FLAG = "disabled" | ||
| 25 | |||
| 26 | inherit meson gtk-doc gobject-introspection | ||
| 27 | |||
| 28 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
| 29 | FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | ||
| 30 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
| 31 | FILES:${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
| 32 | |||
| 33 | do_configure:prepend() { | ||
| 34 | mkdir ${S}/m4 || true | ||
| 35 | } | ||
| 36 | |||
| 37 | do_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 | } | ||
