This reverts commit de9456df7d1591eac56b522cae853b77e7cf4e15.

It gives a smooth upgrade path from gstreamer 1.6.x to gstreamer >= 1.7.1
---
 .../gstreamer/gstreamer1.0-plugins-bad_git.bb                | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
index cb562ef..ef6581b 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
@@ -51,3 +51,15 @@ do_configure_prepend() {
        ${S}/autogen.sh --noconfigure
 }
 
+# In 1.6.2, the "--enable-hls" configure option generated an installable 
package
+# called "gstreamer1.0-plugins-bad-fragmented". In 1.7.1 that HLS plugin 
package
+# has become "gstreamer1.0-plugins-bad-hls". See:
+# 
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=efe62292a3d045126654d93239fdf4cc8e48ae08
+
+PACKAGESPLITFUNCS_append = " handle_hls_rename "
+
+python handle_hls_rename () {
+    d.setVar('RPROVIDES_gstreamer1.0-plugins-bad-hls', 
'gstreamer1.0-plugins-bad-fragmented')
+    d.setVar('RREPLACES_gstreamer1.0-plugins-bad-hls', 
'gstreamer1.0-plugins-bad-fragmented')
+    d.setVar('RCONFLICTS_gstreamer1.0-plugins-bad-hls', 
'gstreamer1.0-plugins-bad-fragmented')
+}
-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to