diff options
5 files changed, 69 insertions, 73 deletions
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc index 2ec60be..fedc022 100644 --- a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc +++ b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc | |||
@@ -1,33 +1,31 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale Semiconductor | 1 | # Copyright (C) 2011-2013 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 = "Freescale mm codec libs" | 4 | DESCRIPTION = "Freescale Multimedia codec libs" |
5 | SECTION = "multimedia" | ||
6 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
7 | DEPENDS = "pkgconfig" | 6 | SECTION = "multimedia" |
8 | |||
9 | LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" | ||
10 | 7 | ||
11 | INC_PR = "r3" | 8 | INC_PR = "r4" |
12 | 9 | ||
13 | INSANE_SKIP_${PN} = "ldflags" | 10 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" |
14 | INSANE_SKIP_${PN}-dev = "ldflags" | ||
15 | 11 | ||
16 | SRC_URI = "${FSL_MIRROR}/fsl-mm-codeclib-${PV}.bin;fsl-eula=true" | 12 | inherit fsl-eula-unpack pkgconfig |
17 | 13 | ||
18 | inherit fsl-eula-unpack | 14 | # FIXME: Quiet down the warnings during package |
15 | INSANE_SKIP_${PN} = "ldflags textrel" | ||
16 | INSANE_SKIP_${PN}-dev = "ldflags textrel" | ||
19 | 17 | ||
20 | do_install () { | 18 | do_install () { |
21 | install -d ${D}${libdir} | 19 | install -d ${D}${includedir} ${D}${libdir} |
22 | install -d ${D}${libdir}/pkgconfig | 20 | cp -ar ${S}/release/lib/* ${D}${libdir} |
23 | install -d ${D}${includedir}/mm_ghdr | 21 | rm -rf ${D}${includedir}/mm_ghdr |
24 | 22 | cp -r ${S}/ghdr* ${D}${includedir} | |
25 | cp -r ${S}/release/lib/* ${D}${libdir} | 23 | mv ${D}${includedir}/ghdr ${D}${includedir}/mm_ghdr |
26 | cp -r ${S}/ghdr/* ${D}${includedir}/mm_ghdr | 24 | |
27 | install -m 0644 ${S}/pkgconfig/fsl-mm-core.pc ${D}${libdir}/pkgconfig | 25 | # FIXME: Fix permissions |
28 | 26 | find ${D} -type f -exec chmod 0644 '{}' ';' | |
29 | # Fix file permissions | ||
30 | find ${D} -type f -exec chmod a-x '{}' ';' | ||
31 | } | 27 | } |
32 | 28 | ||
29 | FILES_${PN} += "${libdir}/lib*_elinux.3.0.1.07.00" | ||
30 | |||
33 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 31 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb index 448ee7a..42cf136 100644 --- a/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb +++ b/recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb | |||
@@ -2,7 +2,34 @@ include fsl-mm-codeclib.inc | |||
2 | 2 | ||
3 | PR = "${INC_PR}.0" | 3 | PR = "${INC_PR}.0" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" | ||
6 | |||
5 | SRC_URI[md5sum] = "9ee06c147f635d1f904d53fc193150cc" | 7 | SRC_URI[md5sum] = "9ee06c147f635d1f904d53fc193150cc" |
6 | SRC_URI[sha256sum] = "427436c0ab7795204a23150bac19cf261a88693e9acd9d3eab5c06c60ffe55bd" | 8 | SRC_URI[sha256sum] = "427436c0ab7795204a23150bac19cf261a88693e9acd9d3eab5c06c60ffe55bd" |
7 | 9 | ||
10 | do_install_append() { | ||
11 | # FIXME: Same pkgconfig file is provided in every source package | ||
12 | # so we install it just here and all other packages need to | ||
13 | # depends on fsl-mm-codeclib-dev explicitly. | ||
14 | install -d ${D}${libdir}/pkgconfig | ||
15 | install -m 0644 ${S}/pkgconfig/fsl-mm-core.pc ${D}${libdir}/pkgconfig | ||
16 | } | ||
17 | |||
18 | # FIXME: Install files which has no sonames | ||
19 | PACKAGES = "${PN} ${PN}-dev" | ||
20 | FILES_${PN} += " \ | ||
21 | ${libdir}/lib_aac_parser_arm11_elinux.so \ | ||
22 | ${libdir}/lib_bmp_dec_arm11_elinux.so \ | ||
23 | ${libdir}/lib_deinterlace_arm11_elinux.so \ | ||
24 | ${libdir}/lib_flac_parser_arm11_elinux.so \ | ||
25 | ${libdir}/lib_gif_dec_arm11_elinux.so \ | ||
26 | ${libdir}/lib_id3_parser_arm11_elinux.so \ | ||
27 | ${libdir}/lib_jpeg_enc_arm11_elinux.so \ | ||
28 | ${libdir}/lib_mp3_parser_v2_arm11_elinux.so \ | ||
29 | ${libdir}/lib_png_dec_arm11_elinux.so \ | ||
30 | ${libdir}/lib_src_ppp_arm11_elinux.so \ | ||
31 | ${libdir}/lib_wav_parser_arm11_elinux.so \ | ||
32 | ${libdir}/libmpeg4_encoder_arm11_ELINUX.so \ | ||
33 | " | ||
34 | |||
8 | COMPATIBLE_MACHINE = "(mx5)" | 35 | COMPATIBLE_MACHINE = "(mx5)" |
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-flv-codeclib_2.0.3.bb b/recipes-multimedia/fsl-mm-core/fsl-mm-flv-codeclib_2.0.3.bb index 7509589..75e07f5 100644 --- a/recipes-multimedia/fsl-mm-core/fsl-mm-flv-codeclib_2.0.3.bb +++ b/recipes-multimedia/fsl-mm-core/fsl-mm-flv-codeclib_2.0.3.bb | |||
@@ -1,31 +1,22 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale Semicondutors <aalonso@freescale.com> | 1 | # Copyright (C) 2011-2013 Freescale Semicondutors <aalonso@freescale.com> |
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 = "Freescale Multimedia codec libs" | 4 | include fsl-mm-codeclib.inc |
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | |||
8 | PR = "r1" | ||
9 | 5 | ||
6 | PR = "${INC_PR}.0" | ||
10 | LIC_FILES_CHKSUM = "file://ghdr/common/fsl_types.h;endline=13;md5=b805ce4a390c94d002ef86bd15ceafd4" | 7 | LIC_FILES_CHKSUM = "file://ghdr/common/fsl_types.h;endline=13;md5=b805ce4a390c94d002ef86bd15ceafd4" |
11 | 8 | ||
12 | SRC_URI = "${FSL_MIRROR}/fsl-mm-flv-codeclib-${PV}.bin;fsl-eula=true" | ||
13 | SRC_URI[md5sum] = "b0244d881f73557be9221e6534c239be" | 9 | SRC_URI[md5sum] = "b0244d881f73557be9221e6534c239be" |
14 | SRC_URI[sha256sum] = "737399c76e8b991ebb76c07599b83da6a185211d88b95d9a9b4245f6d7fccec2" | 10 | SRC_URI[sha256sum] = "737399c76e8b991ebb76c07599b83da6a185211d88b95d9a9b4245f6d7fccec2" |
15 | 11 | ||
16 | inherit fsl-eula-unpack | 12 | do_install_append() { |
17 | 13 | # FIXME: Those files are deployed in fsl-mm-codeclib | |
18 | do_install () { | 14 | rm -r ${D}${includedir}/mm_ghdr/common |
19 | install -d ${D}${libdir} | ||
20 | install -d ${D}${libdir}/pkgconfig | ||
21 | install -d ${D}${includedir}/mm_ghdr | ||
22 | install -m 0755 ${S}/release/lib/*.so* ${D}${libdir} | ||
23 | install -m 0644 ${S}/ghdr/common/*.h ${D}${includedir}/mm_ghdr | ||
24 | install -m 0644 ${S}/pkgconfig/*.pc ${D}${libdir}/pkgconfig | ||
25 | } | 15 | } |
26 | 16 | ||
27 | FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc" | 17 | # FIXME: Same pkgconfig file is provided in every source so we need to |
28 | INSANE_SKIP_${PN} = "ldflags" | 18 | # depends on 'fsl-mm-codeclib-dev' explicitly as it is |
19 | # installed just on it. | ||
20 | RDEPENDS_${PN}-dev = "fsl-mm-codeclib-dev" | ||
29 | 21 | ||
30 | FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h" | 22 | COMPATIBLE_MACHINE = "(mx5)" |
31 | INSANE_SKIP_${PN}-dev = "ldflags" | ||
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc deleted file mode 100644 index 2468d17..0000000 --- a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale Semicondutors <aalonso@freescale.com> | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "Freescale Multimedia codec libs" | ||
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95" | ||
8 | |||
9 | INC_PR = "r1" | ||
10 | |||
11 | SRC_URI = "${FSL_MIRROR}/fsl-mm-mp3enc-codeclib-${PV}.bin;fsl-eula=true" | ||
12 | |||
13 | inherit fsl-eula-unpack | ||
14 | |||
15 | do_install () { | ||
16 | install -d ${D}${libdir} | ||
17 | install -d ${D}${libdir}/pkgconfig | ||
18 | install -d ${D}${includedir}/mm_ghdr | ||
19 | install -m 0755 ${S}/release/lib/*.so* ${D}${libdir} | ||
20 | install -m 0644 ${S}/ghdr/*.h ${D}${includedir}/mm_ghdr | ||
21 | install -m 0644 ${S}/pkgconfig/*.pc ${D}${libdir}/pkgconfig | ||
22 | } | ||
23 | |||
24 | FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc" | ||
25 | INSANE_SKIP_${PN} = "ldflags" | ||
26 | |||
27 | FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h" | ||
28 | INSANE_SKIP_${PN}-dev = "ldflags" | ||
29 | |||
30 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb index 8142502..eb781cf 100644 --- a/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb +++ b/recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb | |||
@@ -1,8 +1,18 @@ | |||
1 | include fsl-mm-mp3enc-codeclib.inc | 1 | # Copyright (C) 2011-2013 Freescale Semicondutors <aalonso@freescale.com> |
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | include fsl-mm-codeclib.inc | ||
2 | 5 | ||
3 | PR = "${INC_PR}.0" | 6 | PR = "${INC_PR}.0" |
4 | 7 | ||
5 | COMPATIBLE_MACHINE = "(mx5)" | 8 | LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95" |
6 | 9 | ||
7 | SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235" | 10 | SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235" |
8 | SRC_URI[sha256sum] = "e3712fa45a8f42617773678d45ab7ae0f20150a4d904f1e73afa8baa1941cf99" | 11 | SRC_URI[sha256sum] = "e3712fa45a8f42617773678d45ab7ae0f20150a4d904f1e73afa8baa1941cf99" |
12 | |||
13 | # FIXME: Same pkgconfig file is provided in every source so we need to | ||
14 | # depends on 'fsl-mm-codeclib-dev' explicitly as it is | ||
15 | # installed just on it. | ||
16 | RDEPENDS_${PN}-dev += "fsl-mm-codeclib-dev" | ||
17 | |||
18 | COMPATIBLE_MACHINE = "(mx5)" | ||