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 | c87c8816e9332010539e4ee9d618b7ec423c3490 (patch) | |
tree | 801af1c132cb4aeb866b7eaca647817fa8c3b332 | |
parent | 30ba6857c392b06ecc36ee7f39f5a58a733fb9d7 (diff) | |
download | meta-fsl-arm-c87c8816e9332010539e4ee9d618b7ec423c3490.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>
-rw-r--r-- | recipes-multimedia/gst-plugins/gst-fsl-plugin.inc | 43 | ||||
-rw-r--r-- | recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb | 19 |
2 files changed, 32 insertions, 30 deletions
diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc b/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc index 1940f88..258e656 100644 --- a/recipes-multimedia/gst-plugins/gst-fsl-plugin.inc +++ b/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}" |
diff --git a/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb b/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb index 92af131..540b259 100644 --- a/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb +++ b/recipes-multimedia/gst-plugins/gst-fsl-plugin_2.0.3.bb | |||
@@ -2,25 +2,8 @@ | |||
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 | require gst-fsl-plugin.inc | 4 | require gst-fsl-plugin.inc |
5 | inherit autotools pkgconfig | ||
6 | 5 | ||
7 | DESCRIPTION = "Gstreamer freescale plugins" | 6 | PR = "${INC_PR}.0" |
8 | LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1" | ||
9 | SECTION = "multimedia" | ||
10 | DEPENDS = "gstreamer gst-plugins-base fsl-mm-codeclib imx-lib" | ||
11 | RDEPENDS_${PN} = "fsl-mm-codeclib" | ||
12 | PR = "r5" | ||
13 | 7 | ||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
15 | file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
16 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
17 | |||
18 | SRC_URI = "file://${PN}-${PV}.tar.gz \ | ||
19 | file://fix_segment_fault_in_v4lsink_for_yocto.patch" | ||
20 | SRC_URI[md5sum] = "036a8e86031b0670f41b10796e268f9e" | 8 | SRC_URI[md5sum] = "036a8e86031b0670f41b10796e268f9e" |
21 | SRC_URI[sha256sum] = "ee024e6fe94ce309b10dc89ab247d1bbcf8ae9cc8006178c96101ce2d4d164a0" | 9 | SRC_URI[sha256sum] = "ee024e6fe94ce309b10dc89ab247d1bbcf8ae9cc8006178c96101ce2d4d164a0" |
22 | |||
23 | # Todo add a mechanism to map posible build targets | ||
24 | INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include" | ||
25 | EXTRA_OEMAKE = "INCLUDES=${INCLUDE_DIR}" | ||
26 | EXTRA_OECONF = "PLATFORM=MX51 --disable-valgrind --disable-examples --disable-debug" | ||