Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 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 | |
| 6 | LICENSE = "LGPLv2.1 & MPLv1.1" |
| 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \ |
| 8 | file://COPYING.LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \ |
| 9 | file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \ |
| 10 | " |
| 11 | |
| 12 | PR = "r4" |
| 13 | |
| 14 | DEPENDS = "glib-2.0 gstreamer" |
| 15 | |
| 16 | PACKAGECONFIG ??= "" |
| 17 | PACKAGECONFIG[gupnp] = "--enable-gupnp,--disable-gupnp,gupnp-igd" |
| 18 | |
| 19 | inherit autotools pkgconfig gtk-doc |
| 20 | |
| 21 | FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" |
| 22 | FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la" |
| 23 | FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a" |
| 24 | FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" |
| 25 | |
| 26 | do_configure_prepend() { |
| 27 | mkdir ${S}/m4 || true |
| 28 | } |
| 29 | |
| 30 | do_compile_append() { |
| 31 | for i in $(find ${B} -name "*.pc") ; do |
| 32 | sed -i -e s:${STAGING_DIR_TARGET}::g \ |
| 33 | -e s:/${TARGET_SYS}::g \ |
| 34 | $i |
| 35 | done |
| 36 | } |
| 37 | |
| 38 | |
| 39 | SRC_URI[md5sum] = "e5b9f799a57cb939ea2658ec35253ab9" |
| 40 | SRC_URI[sha256sum] = "d8dd260c486a470a6052a5323920878a084e44a19df09b15728b85c9e3d6edf0" |