Return-Path: Received: from mail-oa0-f48.google.com (mail-oa0-f48.google.com [209.85.219.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 22C4BE00655 for ; Fri, 30 Nov 2012 09:15:50 -0800 (PST) Received: by mail-oa0-f48.google.com with SMTP id h2so728243oag.35 for ; Fri, 30 Nov 2012 09:15:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=adX8OH9AD7IogMKIx5NOVyGpQcJax5XklnMoDbiPFgQ=; b=kq37QKoejOKa2g2tEa7KEdbhqQBYA/ad6oHdVuvFLy6zOprVGmi8bckKFuxpJ/JHQA 3or4LEU3G8Fq2MO51so9H8gKg/cgpLe+EqIhm13Lv/h1WvpJfnZ+ColJIOOfvms9FVta /dst/K1n78+WAoJGx7Q93Z8MlK8tHUHBTzN5d/R4vybOvofpTgg3XTuJSPqG44h7SgSY 5k1ruA1yRNvqA184DmU1fKUA6mPjzodPLi1fMlumn1KdFkqMerKJ634GvCyMdj7V5wUh VEVYsgEwo99NgUeshdOq4Q1Z92RzZuyn1dIuQEnPB5vM29T0LDZv0uyFgX1zRz9AkQYg TeXA== Received: by 10.60.32.44 with SMTP id f12mr1598312oei.61.1354295749942; Fri, 30 Nov 2012 09:15:49 -0800 (PST) Received: from nano.lab.ossystems.com.br.lab.ossystems.com.br ([187.23.153.69]) by mx.google.com with ESMTPS id c4sm4387254oee.0.2012.11.30.09.15.47 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 30 Nov 2012 09:15:49 -0800 (PST) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale@yoctoproject.org Date: Fri, 30 Nov 2012 15:18:16 -0200 Message-Id: <1354295896-32528-2-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1354295896-32528-1-git-send-email-otavio@ossystems.com.br> References: <1354295896-32528-1-git-send-email-otavio@ossystems.com.br> Cc: Otavio Salvador Subject: [meta-fsl-arm][PATCH 2/2] libfslparser: Drop the package split as gst-fsl-plugin dlopen them X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 17:15:50 -0000 As gst-fsl-plugin dlopen the parser libraries and shlibs won't work in this case for automatically discover the dependencies so we package all parsers together for now. Change-Id: I8e86c65dcac631d74d5a795f5268f8e807fd2543 Signed-off-by: Otavio Salvador --- .../libfslparser/libfslparser_3.0.1.bb | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb index 4276784..993569e 100644 --- a/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb +++ b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb @@ -5,37 +5,29 @@ LICENSE = "Proprietary" SECTION = "multimedia" LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" +PR = "r1" + inherit fsl-eula-unpack autotools pkgconfig SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae" SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194" SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" -PACKAGES_DYNAMIC = "${PN}-*" - 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() { - parserdir = bb.data.expand('${libdir}/imx-mm/parser', d) - do_split_packages(d, parserdir, '^lib_(.*)_elinux\.so\.', - aux_files_pattern_verbatim='${libdir}/imx-mm/parser/lib_%s_elinux.so.*', - output_pattern='libfslparser-%s', recursive=True, - description='Freescale IMX Parser (%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. + # 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") + d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so") } -# Ensure we get warnings if we miss something -FILES_${PN} = "" - -FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV}" +# 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)" -- 1.7.10.4