summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-codeclib.inc40
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-codeclib_2.0.3.bb27
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-flv-codeclib_2.0.3.bb31
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib.inc30
-rw-r--r--recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb14
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
4DESCRIPTION = "Freescale mm codec libs" 4DESCRIPTION = "Freescale Multimedia codec libs"
5SECTION = "multimedia"
6LICENSE = "Proprietary" 5LICENSE = "Proprietary"
7DEPENDS = "pkgconfig" 6SECTION = "multimedia"
8
9LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
10 7
11INC_PR = "r3" 8INC_PR = "r4"
12 9
13INSANE_SKIP_${PN} = "ldflags" 10SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
14INSANE_SKIP_${PN}-dev = "ldflags"
15 11
16SRC_URI = "${FSL_MIRROR}/fsl-mm-codeclib-${PV}.bin;fsl-eula=true" 12inherit fsl-eula-unpack pkgconfig
17 13
18inherit fsl-eula-unpack 14# FIXME: Quiet down the warnings during package
15INSANE_SKIP_${PN} = "ldflags textrel"
16INSANE_SKIP_${PN}-dev = "ldflags textrel"
19 17
20do_install () { 18do_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
29FILES_${PN} += "${libdir}/lib*_elinux.3.0.1.07.00"
30
33PACKAGE_ARCH = "${MACHINE_ARCH}" 31PACKAGE_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
3PR = "${INC_PR}.0" 3PR = "${INC_PR}.0"
4 4
5LIC_FILES_CHKSUM = "file://docs/EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
6
5SRC_URI[md5sum] = "9ee06c147f635d1f904d53fc193150cc" 7SRC_URI[md5sum] = "9ee06c147f635d1f904d53fc193150cc"
6SRC_URI[sha256sum] = "427436c0ab7795204a23150bac19cf261a88693e9acd9d3eab5c06c60ffe55bd" 8SRC_URI[sha256sum] = "427436c0ab7795204a23150bac19cf261a88693e9acd9d3eab5c06c60ffe55bd"
7 9
10do_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
19PACKAGES = "${PN} ${PN}-dev"
20FILES_${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
8COMPATIBLE_MACHINE = "(mx5)" 35COMPATIBLE_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
4DESCRIPTION = "Freescale Multimedia codec libs" 4include fsl-mm-codeclib.inc
5LICENSE = "Proprietary"
6SECTION = "multimedia"
7
8PR = "r1"
9 5
6PR = "${INC_PR}.0"
10LIC_FILES_CHKSUM = "file://ghdr/common/fsl_types.h;endline=13;md5=b805ce4a390c94d002ef86bd15ceafd4" 7LIC_FILES_CHKSUM = "file://ghdr/common/fsl_types.h;endline=13;md5=b805ce4a390c94d002ef86bd15ceafd4"
11 8
12SRC_URI = "${FSL_MIRROR}/fsl-mm-flv-codeclib-${PV}.bin;fsl-eula=true"
13SRC_URI[md5sum] = "b0244d881f73557be9221e6534c239be" 9SRC_URI[md5sum] = "b0244d881f73557be9221e6534c239be"
14SRC_URI[sha256sum] = "737399c76e8b991ebb76c07599b83da6a185211d88b95d9a9b4245f6d7fccec2" 10SRC_URI[sha256sum] = "737399c76e8b991ebb76c07599b83da6a185211d88b95d9a9b4245f6d7fccec2"
15 11
16inherit fsl-eula-unpack 12do_install_append() {
17 13 # FIXME: Those files are deployed in fsl-mm-codeclib
18do_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
27FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc" 17# FIXME: Same pkgconfig file is provided in every source so we need to
28INSANE_SKIP_${PN} = "ldflags" 18# depends on 'fsl-mm-codeclib-dev' explicitly as it is
19# installed just on it.
20RDEPENDS_${PN}-dev = "fsl-mm-codeclib-dev"
29 21
30FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h" 22COMPATIBLE_MACHINE = "(mx5)"
31INSANE_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
4DESCRIPTION = "Freescale Multimedia codec libs"
5LICENSE = "Proprietary"
6SECTION = "multimedia"
7LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95"
8
9INC_PR = "r1"
10
11SRC_URI = "${FSL_MIRROR}/fsl-mm-mp3enc-codeclib-${PV}.bin;fsl-eula=true"
12
13inherit fsl-eula-unpack
14
15do_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
24FILES_${PN} += "${libdir}/*.so* ${libdir}/pkgconfig/*.pc"
25INSANE_SKIP_${PN} = "ldflags"
26
27FILES_${PN}-dev += "${includedir}/mm_ghdr/*.h"
28INSANE_SKIP_${PN}-dev = "ldflags"
29
30PACKAGE_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 @@
1include 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
4include fsl-mm-codeclib.inc
2 5
3PR = "${INC_PR}.0" 6PR = "${INC_PR}.0"
4 7
5COMPATIBLE_MACHINE = "(mx5)" 8LIC_FILES_CHKSUM = "file://ghdr/mp3_enc_interface.h;endline=11;md5=545a1927139b4739d8980c49954b6b95"
6 9
7SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235" 10SRC_URI[md5sum] = "049611d9f76b524b9fa9521527ba3235"
8SRC_URI[sha256sum] = "e3712fa45a8f42617773678d45ab7ae0f20150a4d904f1e73afa8baa1941cf99" 11SRC_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.
16RDEPENDS_${PN}-dev += "fsl-mm-codeclib-dev"
17
18COMPATIBLE_MACHINE = "(mx5)"