diff options
Diffstat (limited to 'meta-oe/recipes-support/farsight/libnice_0.1.14.bb')
| -rw-r--r-- | meta-oe/recipes-support/farsight/libnice_0.1.14.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/farsight/libnice_0.1.14.bb b/meta-oe/recipes-support/farsight/libnice_0.1.14.bb new file mode 100644 index 0000000000..775257f93c --- /dev/null +++ b/meta-oe/recipes-support/farsight/libnice_0.1.14.bb | |||
| @@ -0,0 +1,38 @@ | |||
| 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 | SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz" | ||
| 5 | SRC_URI[md5sum] = "c9b9b74b8ae1b3890e4bd93f1b70e8ff" | ||
| 6 | SRC_URI[sha256sum] = "be120ba95d4490436f0da077ffa8f767bf727b82decf2bf499e39becc027809c" | ||
| 7 | |||
| 8 | LICENSE = "LGPLv2.1 & MPLv1.1" | ||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \ | ||
| 10 | file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
| 11 | file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \ | ||
| 12 | " | ||
| 13 | |||
| 14 | DEPENDS = "glib-2.0 gnutls" | ||
| 15 | |||
| 16 | PACKAGECONFIG ??= "gstreamer1.0" | ||
| 17 | PACKAGECONFIG[gupnp] = "--enable-gupnp,--disable-gupnp,gupnp-igd" | ||
| 18 | PACKAGECONFIG[gstreamer0.10] = "--with-gstreamer-0.10,--without-gstreamer-0.10,gstreamer gst-plugins-base" | ||
| 19 | PACKAGECONFIG[gstreamer1.0] = "--with-gstreamer,--without-gstreamer,gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 20 | |||
| 21 | inherit autotools pkgconfig gtk-doc gobject-introspection | ||
| 22 | |||
| 23 | FILES_${PN} += "${libdir}/gstreamer-0.10/*.so ${libdir}/gstreamer-1.0/*.so" | ||
| 24 | FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-1.0/*.la" | ||
| 25 | FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a ${libdir}/gstreamer-1.0/*.a" | ||
| 26 | FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug ${libdir}/gstreamer-1.0/.debug" | ||
| 27 | |||
| 28 | do_configure_prepend() { | ||
| 29 | mkdir ${S}/m4 || true | ||
| 30 | } | ||
| 31 | |||
| 32 | do_compile_append() { | ||
| 33 | for i in $(find ${B} -name "*.pc") ; do | ||
| 34 | sed -i -e s:${STAGING_DIR_TARGET}::g \ | ||
| 35 | -e s:/${TARGET_SYS}::g \ | ||
| 36 | $i | ||
| 37 | done | ||
| 38 | } | ||
