diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2012-07-19 12:01:02 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-07-19 15:31:36 -0300 |
| commit | c4d32e0005a75680e9f36ddf3557e05ed230ac64 (patch) | |
| tree | 775ca16424bd6f27232d46a2cb3c4c611aa2c441 /meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | |
| parent | 695cfaebb3575d9838f9d94ae1668f492d07056c (diff) | |
| download | meta-freescale-c4d32e0005a75680e9f36ddf3557e05ed230ac64.tar.gz | |
gst-fsl-plugin: refactor packaging to use .inc file properly
The .inc file was not being used by complete and had most code on the
versioned .bb one. This patch refactor it so newer versions are easy
to add.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc')
| -rw-r--r-- | meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc index 1940f881b..258e656da 100644 --- a/meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +++ b/meta-fsl-arm/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | |||
| @@ -1,21 +1,40 @@ | |||
| 1 | # Copyright (C) 2011 Freescale Semiconductor | 1 | # Copyright (C) 2011 Freescale Semiconductor |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | 3 | ||
| 4 | DESCRIPTION = "Gstreamer freescale plugins" | ||
| 5 | LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1" | ||
| 6 | SECTION = "multimedia" | ||
| 7 | DEPENDS = "gstreamer gst-plugins-base fsl-mm-codeclib imx-lib" | ||
| 8 | RDEPENDS_${PN} = "fsl-mm-codeclib" | ||
| 9 | INC_PR = "r5" | ||
| 10 | |||
| 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
| 12 | file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
| 13 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
| 14 | |||
| 15 | SRC_URI = "file://${PN}-${PV}.tar.gz \ | ||
| 16 | file://fix_segment_fault_in_v4lsink_for_yocto.patch" | ||
| 17 | |||
| 18 | inherit autotools pkgconfig | ||
| 19 | |||
| 20 | # Todo add a mechanism to map posible build targets | ||
| 21 | INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include" | ||
| 22 | EXTRA_OEMAKE = "INCLUDES=${INCLUDE_DIR}" | ||
| 23 | EXTRA_OECONF = "PLATFORM=MX51 --disable-valgrind --disable-examples --disable-debug" | ||
| 24 | |||
| 4 | PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore \ | 25 | PACKAGES += "${PN}-libmfwsconf ${PN}-libgplaycore \ |
| 5 | ${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \ | 26 | ${PN}-libme ${PN}-libgstbufmeta ${PN}-libmfwba \ |
| 6 | ${PN}-libfwvss ${PN}-gplay" | 27 | ${PN}-libfwvss ${PN}-gplay" |
| 7 | 28 | ||
| 8 | FILES_${PN} = "${libdir}/gstreamer-0.10/*.so \ | 29 | FILES_${PN} = "${libdir}/gstreamer-0.10/*.so ${datadir}" |
| 9 | ${datadir}" | 30 | FILES_${PN}-dbg += "${libdir}/gstreamer-0.10/.debug" |
| 10 | FILES_${PN}-dbg = "${libdir}/gstreamer-0.10/.debug \ | 31 | FILES_${PN}-dev += "${libdir}/gstreamer-0.10/*.la" |
| 11 | ${libdir}/.debug" | 32 | FILES_${PN}-staticdev += "${libdir}/gstreamer-0.10/*.a" |
| 12 | FILES_${PN}-dev = "${libdir}/gstreamer-0.10/*.la \ | ||
| 13 | {libdir}/*.la" | ||
| 14 | 33 | ||
| 15 | FILES_${PN}-gplay = "${bindir}/gplay" | 34 | FILES_${PN}-gplay = "${bindir}/gplay" |
| 16 | FILES_${PN}-libmfwsconf = "${libdir}/libmfwsconf.so.*" | 35 | FILES_${PN}-libmfwsconf = "${libdir}/libmfwsconf${SOLIBS}" |
| 17 | FILES_${PN}-libgplaycore = "${libdir}/libgplaycore.so.*" | 36 | FILES_${PN}-libgplaycore = "${libdir}/libgplaycore${SOLIBS}" |
| 18 | FILES_${PN}-libme = "${libdir}/libme.so.*" | 37 | FILES_${PN}-libme = "${libdir}/libme${SOLIBS}" |
| 19 | FILES_${PN}-libgstbufmeta = "${libdir}/libgstbufmeta.so.*" | 38 | FILES_${PN}-libgstbufmeta = "${libdir}/libgstbufmeta${SOLIBS}" |
| 20 | FILES_${PN}-libmfwba = "${libdir}/libmfwba.so.*" | 39 | FILES_${PN}-libmfwba = "${libdir}/libmfwba${SOLIBS}" |
| 21 | FILES_${PN}-libfwvss = "${libdir}/libmfwvss.so.*" | 40 | FILES_${PN}-libfwvss = "${libdir}/libmfwvss${SOLIBS}" |
