fsl-mm-codeclib.inc: Drop duplicated files definition
PATCH 1/8 fsl-mm-codeclib.inc: Drop duplicated files definition
From: Otavio Salvador <[email protected]>
--- recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc +1 -4
@@ -8,7 +8,7 @@ DEPENDS = "pkgconfig" LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" -INC_PR = "r2" +INC_PR = "r3" INSANE_SKIP_${PN} = "ldflags" INSANE_SKIP_${PN}-dev = "ldflags"
@@ -30,7 +30,4 @@ do_install () { find ${D} -type f -exec chmod a-x '{}' ';' } -FILES_${PN} += "${libdir}/${SOLIBS}" -FILES_${PN}-dev += "${libdir}/${SOLIBSDEV}" - PACKAGE_ARCH = "${MACHINE_ARCH}"
Signature · 1 line
1.7.5.4
PATCH 2/8 libfslcodec: Add support for libfslcodec 3.0.1
This package is only compatible for imx6
--- .../libfslcodec/libfslcodec_3.0.1.bb | 58 ++++++++++++++++++++ 1 files changed, 58 insertions(+), 0 deletions(-) create mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb new file +58 -0
@@ -0,0 +1,58 @@ +# Copyright (C) 2012 Freescale Semicondutors +# Released under the MIT license (see COPYING.MIT for the terms) +DESCRIPTION = "Freescale Multimedia codec libs" +LICENSE = "Proprietary" +SECTION = "multimedia" +LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" + +inherit fsl-eula-unpack autotools pkgconfig + +SRC_URI[md5sum] = "9e0a765de73b32efa5d276fa90372ce1" +SRC_URI[sha256sum] = "882f223375652b639b7167adca6858dd7c7f1f1cf4d3c6b5b62eec2466bd53be" +SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" + +PACKAGES_DYNAMIC = "${PN}-*" + +do_install_append() { + # FIXME: This link points to nowhere + rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so + + # LTIB move the files around or gst-fsl-plugin won't find them + for p in $(find ${D}${libdir}/imx-mm -mindepth 1 -maxdepth 1 -type d); do + mv $p/* ${D}${libdir} + rmdir $p + done + rmdir ${D}${libdir}/imx-mm + + # FIXME: Drop examples + rm -r ${D}${datadir}/imx-mm +} + +python populate_packages_prepend() { + do_split_packages(d, d.getVar('libdir', True), '^lib_(.*)_elinux\.so\..*', + aux_files_pattern_verbatim='${libdir}/lib_%s_elinux.so.*', + output_pattern='libfslcodec-audio-%s', + description='Freescale IMX Codec (%s)', + extra_depends='', prepend=True) + + wrapdir = bb.data.expand('${libdir}/wrap', d) + do_split_packages(d, wrapdir, '^lib_(.*)_elinux\.so\..*', + aux_files_pattern_verbatim='${libdir}/wrap/lib_%s_elinux.so.*', + output_pattern='libfslcodec-audio-wrap-%s', + description='Freescale IMX Codec Wrap (%s)', + extra_depends='', prepend=True) + + # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have + # the source we cannot fix it. Disable the insane check for now. + for p in d.getVar('PACKAGES', True).split(): + d.setVar("INSANE_SKIP_%s" % p, "ldflags") +} + +# Ensure we get warnings if we miss something +FILES_${PN} = "" + +FILES_${PN}-dev += "${libdir}/*/*${SOLIBSDEV} \ + ${libdir}/*/*/*${SOLIBSDEV}" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.5.4
PATCH 3/8 libfslparser: Add libfslparser 3.0.1 support
In reply to Daiane AngoliniThis package if for imx6 only.
--- .../libfslparser/libfslparser_3.0.1.bb | 31 ++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) create mode 100644 recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
recipes-multimedia/libfslparser/libfslparser_3.0.1.bb new file +31 -0
@@ -0,0 +1,31 @@ +# Copyright (C) 2012 Freescale Semicondutors +# Released under the MIT license (see COPYING.MIT for the terms) +DESCRIPTION = "Freescale Multimedia parser libs" +LICENSE = "Proprietary" +SECTION = "multimedia" +LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" + +inherit fsl-eula-unpack autotools pkgconfig + +SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae" +SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194" +SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" + +do_install_append() { + # FIXME: The only parser outside imx-mm/parse is the mp3 so move it + mv ${D}${libdir}/*mp3* ${D}${libdir}/imx-mm/parser/ +} + +python populate_packages_prepend() { + # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have + # the source we cannot fix it. Disable the insane check for now. + # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those + for p in d.getVar('PACKAGES', True).split(): + d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so") +} + +# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those +FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.5.4
PATCH 4/8 libfslvpuwrap: Add libfslvpuwrap 1.0.17 support
In reply to Daiane AngoliniThis package is for imx6 only.
--- .../libfslvpuwrap/libfslvpuwrap_1.0.17.bb | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) create mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb
recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.17.bb new file +16 -0
@@ -0,0 +1,16 @@ +# Copyright (C) 2012 Freescale Semicondutors +# Released under the MIT license (see COPYING.MIT for the terms) +DESCRIPTION = "Freescale Multimedia VPU wrapper" +DEPENDS = "imx-lib" +LICENSE = "GPLv2" +SECTION = "multimedia" +LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" + +inherit autotools pkgconfig + +SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz" +SRC_URI[md5sum] = "d1499b9da40db798a9b1ba932c6f9525" +SRC_URI[sha256sum] = "4e0e79053b745d69aec9007216ae0017e719fb6459b4e54d30d6666625a03b0b" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.5.4
PATCH 5/8 gst-fsl-plugin.inc: Allow use of different source package
In reply to Daiane AngoliniThe source package gst-fsl-plugin for imx6 was wrapped with a different name (gst-fsl-plugins) so to avoid duplicating we now support to specify the source package to use.
--- recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +5 -1
@@ -12,7 +12,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" -SRC_URI = "${FSL_MIRROR}/gst-fsl-plugin-${PV}.tar.gz" +PACKAGE_NAME ?= "${PN}" + +S = "${WORKDIR}/${PACKAGE_NAME}-${PV}" + +SRC_URI = "${FSL_MIRROR}/${PACKAGE_NAME}-${PV}.tar.gz" inherit autotools pkgconfig
Signature · 1 line
1.7.5.4
PATCH 6/8 gst-fsl-plugin: Drop fsl-mm-codeclib from dependency
In reply to Daiane Angolini.inc file include fsl-mm-codeclib as a dependency for gst-fsl-plugin, although, for next version dependency will be on other package.
In fact, fsl-mm-codeclib become libfslcodelib in next version.
DEPENDS and RDEPENDS is changed.
--- recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 5 ++--- .../gst-plugins/gst-fsl-plugin_2.0.3.bb | 4 +++- 2 files changed, 5 insertions(+), 4 deletions(-)
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +2 -3
@@ -4,9 +4,8 @@ DESCRIPTION = "Gstreamer freescale plugins" LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1" SECTION = "multimedia" -DEPENDS = "gstreamer gst-plugins-base fsl-mm-codeclib imx-lib" -RDEPENDS_${PN} = "fsl-mm-codeclib" -INC_PR = "r8" +DEPENDS = "gstreamer gst-plugins-base imx-lib" +INC_PR = "r9" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb +3 -1
@@ -2,8 +2,10 @@ # Released under the MIT license (see COPYING.MIT for the terms) require gst-fsl-plugin.inc +DEPENDS += "fsl-mm-codeclib" +RDEPENDS_${PN} = "fsl-mm-codeclib" -PR = "${INC_PR}.1" +PR = "${INC_PR}.2" SRC_URI += "file://fix_segment_fault_in_v4lsink_for_yocto.patch" SRC_URI[md5sum] = "036a8e86031b0670f41b10796e268f9e"
Signature · 1 line
1.7.5.4
Re: [meta-fsl-arm][PATCH 6/8] gst-fsl-plugin: Drop fsl-mm-codeclib from dependency
Quoted 11 lines · Daiane Angolini
.inc file include fsl-mm-codeclib as a dependency for gst-fsl-plugin, although, for next version dependency will be on other package.
In fact, fsl-mm-codeclib become libfslcodelib in next version.
DEPENDS and RDEPENDS is changed.
Change-Id I9c6da35d7fb026cb1dd7ec77f67dcefc85adb53cSigned-off-by Daiane Angolini <[email protected]>
The only missing change I forgot to ask you is to change the commit log. In fact you're not dropping it but moving to 2.0.3 recipe.
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Re: [meta-fsl-arm][PATCH 6/8] gst-fsl-plugin: Drop fsl-mm-codeclib from dependency
Quoted 2 lines
The only missing change I forgot to ask you is to change the commit log. In fact you're not dropping it but moving to 2.0.3 recipe.
You're right.
I will wait for other comments before sending v2.
Daiane
PATCH 7/8 gst-fsl-plugin: Add gst-fsl-plugin 3.0.1 support
In reply to Daiane AngoliniAdd PLATFORM for imx6 family.
--- recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 4 +++- .../gst-plugins/gst-fsl-plugin_3.0.1.bb | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 1 deletions(-) create mode 100644 recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.1.bb
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +3 -1
@@ -20,13 +20,14 @@ SRC_URI = "${FSL_MIRROR}/${PACKAGE_NAME}-${PV}.tar.gz" inherit autotools pkgconfig PLATFORM_mx5 = "MX51" +PLATFORM_mx6 = "MX6" # Todo add a mechanism to map posible build targets INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include" EXTRA_OEMAKE = "INCLUDES=${INCLUDE_DIR}" EXTRA_OECONF = "PLATFORM=${PLATFORM} --disable-valgrind --disable-examples --disable-debug" -PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore \ +PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore ${PN}-libgstfsl \ ${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \ ${PN}-libfwvss ${PN}-gplay"
@@ -38,6 +39,7 @@ 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}" FILES_${PN}-libme = "${libdir}/libme${SOLIBS}" FILES_${PN}-libgstbufmeta = "${libdir}/libgstbufmeta${SOLIBS}" FILES_${PN}-libmfwba = "${libdir}/libmfwba${SOLIBS}"
recipes-multimedia/gst-plugins/gst-fsl-plugin_3.0.1.bb new file +15 -0
@@ -0,0 +1,15 @@ +# Copyright (C) 2012 Freescale Semicondutor +# Released under the MIT license (see COPYING.MIT for the terms) + +require gst-fsl-plugin.inc + +DEPENDS += "libfslcodec libfslvpuwrap libfslparser" + +PR = "${INC_PR}.1" + +PACKAGE_NAME = "gst-fsl-plugins" + +SRC_URI[md5sum] = "9adf5e5c208989289075e6a5458a301a" +SRC_URI[sha256sum] = "41b75d937ef0e511b21e22d7ddbb419c99dcf358bc6f581edc2c9056729bfa9b" + +COMPATIBLE_MACHINE = "(mx6)"
Signature · 1 line
1.7.5.4
PATCH 8/8 imx-base.inc: Allow mx6 to use accelerated codecs
In reply to Daiane AngoliniDrop the limitation for mx6 family for gstreamer. Allow mx6 family to use accelerated codecs for gstreamer.
--- conf/machine/include/imx-base.inc | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
conf/machine/include/imx-base.inc +0 -1
@@ -53,7 +53,6 @@ MACHINE_EXTRA_RRECOMMENDS += "udev-extraconf" # Gstreamer plugin MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin" -MACHINE_GSTREAMER_PLUGIN_mx6 = "" PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-x11-bin-mx51" PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-x11-bin-mx51"
Signature · 1 line
1.7.5.4