summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libfslcodec
diff options
context:
space:
mode:
authorDaiane Angolini <daiane.angolini@freescale.com>2012-11-23 06:49:27 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2012-11-27 15:19:43 -0200
commit0a299749703e5d7523fb0598cf5ec28d333243c6 (patch)
tree497a3098d2584d334b910f19ca42677c1bda2dfa /recipes-multimedia/libfslcodec
parent7d6797b2854091016bfc6395f89e05e1f9531d65 (diff)
downloadmeta-fsl-arm-0a299749703e5d7523fb0598cf5ec28d333243c6.tar.gz
libfslcodec: Add support for libfslcodec 3.0.1
This package is only compatible for imx6 fsl-mm-codeclib was divided in 3 pieces, libfslcodec libfslvpuwrap and libfslparser. Change-Id: Id98a267df62aade658c80468acd72d13dae27526 Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Diffstat (limited to 'recipes-multimedia/libfslcodec')
-rw-r--r--recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb59
1 files changed, 59 insertions, 0 deletions
diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
new file mode 100644
index 0000000..68e2266
--- /dev/null
+++ b/recipes-multimedia/libfslcodec/libfslcodec_3.0.1.bb
@@ -0,0 +1,59 @@
1# Copyright (C) 2012 Freescale Semicondutors
2# Released under the MIT license (see COPYING.MIT for the terms)
3DESCRIPTION = "Freescale Multimedia codec libs"
4LICENSE = "Proprietary"
5SECTION = "multimedia"
6LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
7
8inherit fsl-eula-unpack autotools pkgconfig
9
10SRC_URI[md5sum] = "9e0a765de73b32efa5d276fa90372ce1"
11SRC_URI[sha256sum] = "882f223375652b639b7167adca6858dd7c7f1f1cf4d3c6b5b62eec2466bd53be"
12SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
13
14PACKAGES_DYNAMIC = "${PN}-*"
15
16do_install_append() {
17 # FIXME: This link points to nowhere
18 rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so
19
20 # FIXME: Drop examples
21 rm -r ${D}${datadir}/imx-mm
22}
23
24python populate_packages_prepend() {
25 audiodir = bb.data.expand('${libdir}/imx-mm/audio-codec', d)
26 do_split_packages(d, audiodir, '^lib_(.*)_elinux\.so\..*',
27 aux_files_pattern_verbatim='${libdir}/imx-mm/audio-codec/lib_%s_elinux.so.*',
28 output_pattern='libfslcodec-audio-%s',
29 description='Freescale IMX Codec (%s)',
30 extra_depends='', prepend=True)
31
32 audiowrapdir = bb.data.expand('${libdir}/imx-mm/audio-codec/wrap', d)
33 do_split_packages(d, audiowrapdir, '^lib_(.*)_elinux\.so\..*',
34 aux_files_pattern_verbatim='${libdir}/imx-mm/audio-codec/wrap/lib_%s_elinux.so.*',
35 output_pattern='libfslcodec-audio-wrap-%s',
36 description='Freescale IMX Codec Wrap (%s)',
37 extra_depends='', prepend=True)
38
39 videodir = bb.data.expand('${libdir}/imx-mm/video-codec', d)
40 do_split_packages(d, videodir, '^lib_(.*)_elinux\.so\..*',
41 aux_files_pattern_verbatim='${libdir}/imx-mm/video-codec/lib_%s_elinux.so.*',
42 output_pattern='libfslcodec-video-%s',
43 description='Freescale IMX Codec (%s)',
44 extra_depends='', prepend=True)
45
46 # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
47 # the source we cannot fix it. Disable the insane check for now.
48 for p in d.getVar('PACKAGES', True).split():
49 d.setVar("INSANE_SKIP_%s" % p, "ldflags")
50}
51
52# Ensure we get warnings if we miss something
53FILES_${PN} = ""
54
55FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \
56 ${libdir}/imx-mm/*/*/*${SOLIBSDEV}"
57
58PACKAGE_ARCH = "${MACHINE_ARCH}"
59COMPATIBLE_MACHINE = "(mx6)"