Skip to contentSkip to conversation

libnice: Upgrade to 0.1.14

PATCH In review Carlos Rafael Giani 1 participant 2 messages Jul 19, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnice: Upgrade to 0.1.14

This is the minimum version needed by the new GStreamer 1.14 WebRTC support (not to be confused with the WebRTC DSP support).

New packageconfigs were added to make the GStreamer 0.10 and 1.0 support configurable.

---
 .../{libnice_0.1.13.bb => libnice_0.1.14.bb}   | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
 rename meta-oe/recipes-support/farsight/{libnice_0.1.13.bb => libnice_0.1.14.bb} (55%)
meta-oe/recipes-support/farsight/libnice_0.1.14.bb renamed from meta-oe/recipes-support/farsight/libnice_0.1.13.bb +10 -8
similarity index 55%
rename from meta-oe/recipes-support/farsight/libnice_0.1.13.bb
rename to meta-oe/recipes-support/farsight/libnice_0.1.14.bb
index 48c8221a3..775257f93 100644
@@ -2,8 +2,8 @@ SUMMARY = "Interactive Connectivity Establishment library"
 DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactive Connectivity Establishment standard (ICE)."
 HOMEPAGE = "http://nice.freedesktop.org/wiki/"
 SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz"
-SRC_URI[md5sum] = "3226faeaf48a9150ada00da2e2865959"
-SRC_URI[sha256sum] = "61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1"
+SRC_URI[md5sum] = "c9b9b74b8ae1b3890e4bd93f1b70e8ff"
+SRC_URI[sha256sum] = "be120ba95d4490436f0da077ffa8f767bf727b82decf2bf499e39becc027809c"
 
 LICENSE = "LGPLv2.1 & MPLv1.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \
@@ -11,17 +11,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \
                     file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \
 "
 
-DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
+DEPENDS = "glib-2.0 gnutls"
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "gstreamer1.0"
 PACKAGECONFIG[gupnp] = "--enable-gupnp,--disable-gupnp,gupnp-igd"
+PACKAGECONFIG[gstreamer0.10] = "--with-gstreamer-0.10,--without-gstreamer-0.10,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer1.0] = "--with-gstreamer,--without-gstreamer,gstreamer1.0 gstreamer1.0-plugins-base"
 
 inherit autotools pkgconfig gtk-doc gobject-introspection
 
-FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
-FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
-FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
-FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
+FILES_${PN} += "${libdir}/gstreamer-0.10/*.so ${libdir}/gstreamer-1.0/*.so"
+FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-1.0/*.la"
+FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a ${libdir}/gstreamer-1.0/*.a"
+FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug ${libdir}/gstreamer-1.0/.debug"
 
 do_configure_prepend() {
     mkdir ${S}/m4 || true
Signature · 1 line
2.17.1
#1 lore raw

Sorry, forgot to label this v2. Slight change to the commit message - GStreamer 1.14 instead of 1.14.0, since WebRTC is an introduction to 1.14.x overall.

Quoted 56 lines · Carlos Rafael Giani

This is the minimum version needed by the new GStreamer 1.14 WebRTC support (not to be confused with the WebRTC DSP support).

New packageconfigs were added to make the GStreamer 0.10 and 1.0 support configurable.

---
  .../{libnice_0.1.13.bb => libnice_0.1.14.bb}   | 18 ++++++++++--------
  1 file changed, 10 insertions(+), 8 deletions(-)

rename meta-oe/recipes-support/farsight/{libnice_0.1.13.bb => libnice_0.1.14.bb} (55%)

meta-oe/recipes-support/farsight/libnice_0.1.14.bb renamed from meta-oe/recipes-support/farsight/libnice_0.1.13.bb +10 -8
similarity index 55%
rename from meta-oe/recipes-support/farsight/libnice_0.1.13.bb
rename to meta-oe/recipes-support/farsight/libnice_0.1.14.bb
index 48c8221a3..775257f93 100644
@@ -2,8 +2,8 @@ SUMMARY = "Interactive Connectivity Establishment library"
  DESCRIPTION = "Libnice is an implementation of the IETF's draft Interactive Connectivity Establishment standard (ICE)."
  HOMEPAGE = "http://nice.freedesktop.org/wiki/"
  SRC_URI = "http://nice.freedesktop.org/releases/libnice-${PV}.tar.gz"
-SRC_URI[md5sum] = "3226faeaf48a9150ada00da2e2865959"
-SRC_URI[sha256sum] = "61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1"
+SRC_URI[md5sum] = "c9b9b74b8ae1b3890e4bd93f1b70e8ff"
+SRC_URI[sha256sum] = "be120ba95d4490436f0da077ffa8f767bf727b82decf2bf499e39becc027809c"
 
  LICENSE = "LGPLv2.1 & MPLv1.1"
  LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \
@@ -11,17 +11,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=9c42325015702feda4f4d2f19a55b767 \
                      file://COPYING.MPL;md5=3c617710e51cdbe0fc00716f056dfb1a \
  "
 
-DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
+DEPENDS = "glib-2.0 gnutls"
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "gstreamer1.0"
  PACKAGECONFIG[gupnp] = "--enable-gupnp,--disable-gupnp,gupnp-igd"
+PACKAGECONFIG[gstreamer0.10] = "--with-gstreamer-0.10,--without-gstreamer-0.10,gstreamer gst-plugins-base"
+PACKAGECONFIG[gstreamer1.0] = "--with-gstreamer,--without-gstreamer,gstreamer1.0 gstreamer1.0-plugins-base"
 
  inherit autotools pkgconfig gtk-doc gobject-introspection
 
-FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"
-FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
-FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
-FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
+FILES_${PN} += "${libdir}/gstreamer-0.10/*.so ${libdir}/gstreamer-1.0/*.so"
+FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la ${libdir}/gstreamer-1.0/*.la"
+FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a ${libdir}/gstreamer-1.0/*.a"
+FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug ${libdir}/gstreamer-1.0/.debug"
 
  do_configure_prepend() {
      mkdir ${S}/m4 || true