[PATCHv2 5/8] gst-fsl-plugin.inc: Allow use of different source package


Daiane Angolini <daiane.angolini@...>
 

The package gst-fsl-plugin for imx6 was wrapped with a
different name (gst-fsl-plugins) so, in order to avoid duplicated
packaging, we now support different package names, and different
package source.

Change-Id: I866c2ffa7cb8a1aa7aaf7123bb8860116a54173d
Signed-off-by: Daiane Angolini <daiane.angolini@...>
---
recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
index aea5d0e..5e71212 100644
--- a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
+++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc
@@ -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

--
1.7.5.4

Join meta-freescale@lists.yoctoproject.org to automatically receive all group messages.