Patchwork [meta-fsl-arm,2/3] gst-fsl-plugin.inc: Add libgstfsl-0.10.so in ${PN}-libgstfsl

login
register
mail settings
Submitter Otavio Salvador
Date Nov. 14, 2013, 5:24 p.m.
Message ID <1384449862-15666-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/61731/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Nov. 14, 2013, 5:24 p.m.
The mfw_isink plugin looks for the libgstfsl-0.10.so library, instead
of the proper soname. This forces the inclusion of the .so file in the
runtime package.

Fixes [YOCTO: #3781]

Change-Id: I370f5ca6bfbcd5e65fd68214d8ca61434dd8757b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-multimedia/gstreamer/gst-fsl-plugin.inc | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-multimedia/gstreamer/gst-fsl-plugin.inc b/recipes-multimedia/gstreamer/gst-fsl-plugin.inc
index 5331887..8a748a3 100644
--- a/recipes-multimedia/gstreamer/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gstreamer/gst-fsl-plugin.inc
@@ -29,7 +29,7 @@  PLATFORM_mx28 = "MX28"
 EXTRA_OECONF = "PLATFORM=${PLATFORM} --disable-valgrind --disable-examples --disable-debug \
                 CPPFLAGS="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include""
 
-PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \
+PACKAGES =+ "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \
              ${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \
              ${PN}-libfwvss ${PN}-gplay"
 
@@ -54,7 +54,11 @@  FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a"
 FILES_${PN}-gplay = "${bindir}/gplay"
 FILES_${PN}-libmfwsconf = "${libdir}/libmfwsconf${SOLIBS}"
 FILES_${PN}-libgplaycore = "${libdir}/libgplaycore${SOLIBS}"
-FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-0.10${SOLIBS}"
+
+# FIXME: The plugins look for the .so file, so add it here
+FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-0.10${SOLIBS} ${libdir}/libgstfsl-0.10${SOLIBSDEV}"
+INSANE_SKIP_${PN}-libgstfsl = "dev-so"
+
 FILES_${PN}-libme = "${libdir}/libme${SOLIBS}"
 FILES_${PN}-libgstbufmeta = "${libdir}/libgstbufmeta${SOLIBS}"
 FILES_${PN}-libmfwba =  "${libdir}/libmfwba${SOLIBS}"