diff options
author | Anuj Mittal <anuj.mittal@intel.com> | 2018-12-20 16:43:33 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-11 10:39:08 +0000 |
commit | 3bc3af2f51226170843bb7c825948734886d6682 (patch) | |
tree | 5e6419206765bb7c969f1320a64879413d52b9af /meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb | |
parent | fca959f4667c09c93b4e18bd145d5a14520719d2 (diff) | |
download | poky-3bc3af2f51226170843bb7c825948734886d6682.tar.gz |
libjpeg-turbo: upgrade 2.0.0 -> 2.0.1
* For changes, see:
https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/ChangeLog.md
* Removed upstreamed patch
(From OE-Core rev: 737a194042bb83045958b05c77f9ff5934db7982)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb')
-rw-r--r-- | meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb new file mode 100644 index 0000000000..72706be674 --- /dev/null +++ b/meta/recipes-graphics/jpeg/libjpeg-turbo_2.0.1.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | SUMMARY = "Hardware accelerated JPEG compression/decompression library" | ||
2 | DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and decompression" | ||
3 | HOMEPAGE = "http://libjpeg-turbo.org/" | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://cdjpeg.h;endline=13;md5=8184bcc7c4ac7b9edc6a7bc00f231d0b \ | ||
7 | file://jpeglib.h;endline=16;md5=7ea97dc83b0f59052ee837e61ef0e08f \ | ||
8 | file://djpeg.c;endline=11;md5=c59e19811c006cb38f82d6477134d314 \ | ||
9 | " | ||
10 | DEPENDS_append_x86-64_class-target = " nasm-native" | ||
11 | DEPENDS_append_x86_class-target = " nasm-native" | ||
12 | |||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | ||
14 | file://0001-libjpeg-turbo-fix-package_qa-error.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "1b05a66aa9b006fd04ed29f408e68f46" | ||
18 | SRC_URI[sha256sum] = "e5f86cec31df1d39596e0cca619ab1b01f99025a27dafdfc97a30f3a12f866ff" | ||
19 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/libjpeg-turbo/files/" | ||
20 | UPSTREAM_CHECK_REGEX = "/libjpeg-turbo/files/(?P<pver>(\d+[\.\-_]*)+)/" | ||
21 | |||
22 | PE= "1" | ||
23 | |||
24 | # Drop-in replacement for jpeg | ||
25 | PROVIDES = "jpeg" | ||
26 | RPROVIDES_${PN} += "jpeg" | ||
27 | RREPLACES_${PN} += "jpeg" | ||
28 | RCONFLICTS_${PN} += "jpeg" | ||
29 | |||
30 | inherit cmake pkgconfig | ||
31 | |||
32 | # Add nasm-native dependency consistently for all build arches is hard | ||
33 | EXTRA_OECMAKE_append_class-native = " -DWITH_SIMD=False" | ||
34 | |||
35 | # Work around missing x32 ABI support | ||
36 | EXTRA_OECMAKE_append_class-target = " ${@bb.utils.contains("TUNE_FEATURES", "mx32", "-DWITH_SIMD=False", "", d)}" | ||
37 | |||
38 | # Work around missing non-floating point ABI support in MIPS | ||
39 | EXTRA_OECMAKE_append_class-target = " ${@bb.utils.contains("MIPSPKGSFX_FPU", "-nf", "-DWITH_SIMD=False", "", d)}" | ||
40 | |||
41 | # Provide a workaround if Altivec unit is not present in PPC | ||
42 | EXTRA_OECMAKE_append_class-target_powerpc = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "", "-DWITH_SIMD=False", d)}" | ||
43 | EXTRA_OECMAKE_append_class-target_powerpc64 = " ${@bb.utils.contains("TUNE_FEATURES", "altivec", "", "-DWITH_SIMD=False", d)}" | ||
44 | |||
45 | DEBUG_OPTIMIZATION_append_armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" | ||
46 | DEBUG_OPTIMIZATION_append_armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" | ||
47 | |||
48 | PACKAGES =+ "jpeg-tools libturbojpeg" | ||
49 | |||
50 | DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to access libjpeg functionality. These tools allow for the compression, decompression, transformation and display of JPEG files and benchmarking of the libjpeg library." | ||
51 | FILES_jpeg-tools = "${bindir}/*" | ||
52 | |||
53 | DESCRIPTION_libturbojpeg = "A SIMD-accelerated JPEG codec which provides only TurboJPEG APIs" | ||
54 | FILES_libturbojpeg = "${libdir}/libturbojpeg.so.*" | ||
55 | |||
56 | BBCLASSEXTEND = "native" | ||