tiff_4.7.0.bb 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. SUMMARY = "Provides support for the Tag Image File Format (TIFF)"
  2. DESCRIPTION = "Library provides support for the Tag Image File Format \
  3. (TIFF), a widely used format for storing image data. This library \
  4. provide means to easily access and create TIFF image files."
  5. HOMEPAGE = "http://www.libtiff.org/"
  6. LICENSE = "libtiff"
  7. LIC_FILES_CHKSUM = "file://LICENSE.md;md5=a3e32d664d6db1386b4689c8121531c3"
  8. CVE_PRODUCT = "libtiff"
  9. SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz"
  10. SRC_URI[sha256sum] = "67160e3457365ab96c5b3286a0903aa6e78bdc44c4bc737d2e486bcecb6ba976"
  11. # exclude betas
  12. UPSTREAM_CHECK_REGEX = "tiff-(?P<pver>\d+(\.\d+)+).tar"
  13. CVE_STATUS[CVE-2015-7313] = "fixed-version: Tested with check from https://security-tracker.debian.org/tracker/CVE-2015-7313 and already 4.3.0 doesn't have the issue"
  14. CVE_STATUS[CVE-2023-52356] = "fixed-version: Fixed since 4.7.0, NVD tracks this as version-less vulnerability"
  15. CVE_STATUS[CVE-2023-6228] = "fixed-version: Fixed since 4.7.0, NVD tracks this as version-less vulnerability"
  16. CVE_STATUS[CVE-2023-6277] = "fixed-version: Fixed since 4.7.0, NVD tracks this as version-less vulnerability"
  17. inherit autotools multilib_header
  18. CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no"
  19. PACKAGECONFIG ?= "cxx jpeg zlib lzma \
  20. strip-chopping extrasample-as-alpha check-ycbcr-subsampling"
  21. PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,,"
  22. PACKAGECONFIG[jbig] = "--enable-jbig,--disable-jbig,jbig,"
  23. PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg,"
  24. PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib,"
  25. PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz,"
  26. PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp,"
  27. PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd,"
  28. PACKAGECONFIG[libdeflate] = "--enable-libdeflate,--disable-libdeflate,libdeflate,"
  29. # Convert single-strip uncompressed images to multiple strips of specified
  30. # size (default: 8192) to reduce memory usage
  31. PACKAGECONFIG[strip-chopping] = "--enable-strip-chopping,--disable-strip-chopping,,"
  32. # Treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA
  33. PACKAGECONFIG[extrasample-as-alpha] = "--enable-extrasample-as-alpha,--disable-extrasample-as-alpha,,"
  34. # Control picking up YCbCr subsample info. Disable to support files lacking
  35. # the tag
  36. PACKAGECONFIG[check-ycbcr-subsampling] = "--enable-check-ycbcr-subsampling,--disable-check-ycbcr-subsampling,,"
  37. # Support a mechanism allowing reading large strips (usually one strip files)
  38. # in chunks when using TIFFReadScanline. Experimental 4.0+ feature
  39. PACKAGECONFIG[chunky-strip-read] = "--enable-chunky-strip-read,--disable-chunky-strip-read,,"
  40. PACKAGES =+ "tiffxx tiff-utils"
  41. FILES:tiffxx = "${libdir}/libtiffxx.so.*"
  42. FILES:tiff-utils = "${bindir}/*"
  43. do_install:append() {
  44. oe_multilib_header tiffconf.h
  45. }
  46. BBCLASSEXTEND = "native nativesdk"