mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 15:49:36 +02:00
libjpeg: Replace libjpeg with libjpeg-turbo
Moving libjpeg-turbo from meta-oe as a replacement for libjpeg package. libjpeg-turbo has same API/ABI as libjpeg. It is relatively faster in JPEG compression/decompression than libjpeg. libjpeg-turbo doesn't support x32 ABI. Work around missing x32 ABI support by building with "--without-simd" option. Move to recipes-graphics [RB] [YOCTO #8628] (From OE-Core rev: 7c0b96813279e7aac36864a5629851439f3f6e49) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
29d273fdba
commit
ffa746946f
@@ -1,29 +0,0 @@
|
||||
SUMMARY = "libjpeg is a library for handling the JPEG (JFIF) image format"
|
||||
DESCRIPTION = "libjpeg contains a library for handling the JPEG (JFIF) image format, as well as related programs for accessing the libjpeg functions."
|
||||
HOMEPAGE = "http://www.ijg.org/"
|
||||
|
||||
LICENSE ="BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://README;md5=ea93a8a2fed10106b63bc21679edacb9"
|
||||
|
||||
SECTION = "libs"
|
||||
|
||||
SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "3353992aecaee1805ef4109aadd433e7"
|
||||
SRC_URI[sha256sum] = "3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7"
|
||||
|
||||
inherit autotools
|
||||
|
||||
PACKAGES =+ "jpeg-tools "
|
||||
DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs for access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files."
|
||||
FILES_jpeg-tools = "${bindir}/*"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
pkg_postinst_${PN}_linuxstdbase () {
|
||||
if [ ! -e $D${libdir}/libjpeg.so.62 ]; then
|
||||
JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*`
|
||||
ln -sf `basename $JPEG` $D${libdir}/libjpeg.so.62
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user