diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-01-08 10:59:56 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2013-01-09 12:56:18 -0200 |
commit | 1131d99d9c3d048acd4cd87642941d38a30e1a64 (patch) | |
tree | 6ab946d73d80a94c65a52bba3d482b1ce8305224 /recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb | |
parent | 486fde904ce0a96586e9340ccd4468859168ce1e (diff) | |
download | meta-fsl-arm-1131d99d9c3d048acd4cd87642941d38a30e1a64.tar.gz |
fsl-mm-*-codeclib: Fix packaging of libraries
This patch address many packaging issues which are required to allow
development using those libraries. The changes were:
* The pkgconfig file provided is the same provided by
fsl-mm-codeclib-dev so we cannot duplicate this file, instead we add a
depends on fsl-mm-codeclib-dev to provide a single pkgconfig file;
* The fsl-mm-flv-codeclib provided the same headers provided in
fsl-mm-codeclib so we remove them to avoid duplication;
* Disable debug split as the binaries are stripped;
* Set PACKAGE_ARCH to MACHINE_ARCH as this binaries are machine
specific;
* Fix libraries installation as the binary filenames doesn't follow
the standard naming;
* Use a single .inc file to avoid code duplication;
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reported-by: Javier Viguera <javier.viguera@digi.com>
Diffstat (limited to 'recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb')
-rw-r--r-- | recipes-multimedia/fsl-mm-core/fsl-mm-mp3enc-codeclib_2.0.3.bb | 14 |
1 files changed, 12 insertions, 2 deletions
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)" | ||