diff options
author | Kang Kai <kai.kang@windriver.com> | 2011-04-15 18:26:00 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-18 05:51:26 +0100 |
commit | 9fb4c745c3710e5c04249bb316a0b0bf96e2e1c0 (patch) | |
tree | b324e632374fa90ab8b74734d5eef14cce55ad86 /meta/recipes-core/jpeg | |
parent | c51061112deef9b910e60632f37ce404f1c10bd5 (diff) | |
download | poky-9fb4c745c3710e5c04249bb316a0b0bf96e2e1c0.tar.gz |
jpeg: add link libjpeg.so.62 for LSB library test
LSB test just test whether libjpeg.so.62 exists, and no more use of it.
So just make link to pass library check.
(From OE-Core rev: 1229f5dbd48362c7717ac31b631aefce2dccbdc1)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/jpeg')
-rw-r--r-- | meta/recipes-core/jpeg/jpeg_8b.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-core/jpeg/jpeg_8b.bb b/meta/recipes-core/jpeg/jpeg_8b.bb index 8e2c24dd21..78fabf1efd 100644 --- a/meta/recipes-core/jpeg/jpeg_8b.bb +++ b/meta/recipes-core/jpeg/jpeg_8b.bb | |||
@@ -14,7 +14,7 @@ PRIORITY = "required" | |||
14 | DEPENDS = "libtool-cross" | 14 | DEPENDS = "libtool-cross" |
15 | DEPENDS_virtclass-native = "libtool-native" | 15 | DEPENDS_virtclass-native = "libtool-native" |
16 | 16 | ||
17 | PR = "r0" | 17 | PR = "r1" |
18 | 18 | ||
19 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ | 19 | SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \ |
20 | file://debian-libjpeg7_7-1.diff;patch=1" | 20 | file://debian-libjpeg7_7-1.diff;patch=1" |
@@ -45,3 +45,14 @@ DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs fo | |||
45 | FILES_jpeg-tools = "${bindir}/*" | 45 | FILES_jpeg-tools = "${bindir}/*" |
46 | 46 | ||
47 | BBCLASSEXTEND = "native" | 47 | BBCLASSEXTEND = "native" |
48 | |||
49 | pkg_postinst_${PN}_poky-lsb () { | ||
50 | if [ "$D" = "" ]; then | ||
51 | if [ ! -e ${libdir}/libjpeg.so.62 ]; then | ||
52 | JPEG=`find ${libdir} -type f -name libjpeg.so.\*.\*.\*` | ||
53 | ln -sf `basename $JPEG` ${libdir}/libjpeg.so.62 | ||
54 | fi | ||
55 | else | ||
56 | exit 1 | ||
57 | fi | ||
58 | } | ||