Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | SUMMARY = "Provides support for the Tag Image File Format (TIFF)" |
| 2 | LICENSE = "BSD-2-Clause" |
| 3 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=34da3db46fab7501992f9615d7e158cf" |
| 4 | |
| 5 | CVE_PRODUCT = "libtiff" |
| 6 | |
| 7 | SRC_URI = "http://download.osgeo.org/libtiff/tiff-${PV}.tar.gz \ |
Brad Bishop | 6dbb316 | 2019-11-25 09:41:34 -0500 | [diff] [blame] | 8 | " |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 9 | SRC_URI[sha256sum] = "eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 10 | |
| 11 | # exclude betas |
| 12 | UPSTREAM_CHECK_REGEX = "tiff-(?P<pver>\d+(\.\d+)+).tar" |
| 13 | |
| 14 | inherit autotools multilib_header |
| 15 | |
| 16 | CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no" |
| 17 | |
| 18 | PACKAGECONFIG ?= "cxx jpeg zlib lzma \ |
| 19 | strip-chopping extrasample-as-alpha check-ycbcr-subsampling" |
| 20 | |
| 21 | PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,," |
| 22 | PACKAGECONFIG[jpeg] = "--enable-jpeg,--disable-jpeg,jpeg," |
| 23 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib," |
| 24 | PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz," |
| 25 | |
| 26 | # Convert single-strip uncompressed images to multiple strips of specified |
| 27 | # size (default: 8192) to reduce memory usage |
| 28 | PACKAGECONFIG[strip-chopping] = "--enable-strip-chopping,--disable-strip-chopping,," |
| 29 | |
| 30 | # Treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA |
| 31 | PACKAGECONFIG[extrasample-as-alpha] = "--enable-extrasample-as-alpha,--disable-extrasample-as-alpha,," |
| 32 | |
| 33 | # Control picking up YCbCr subsample info. Disable to support files lacking |
| 34 | # the tag |
| 35 | PACKAGECONFIG[check-ycbcr-subsampling] = "--enable-check-ycbcr-subsampling,--disable-check-ycbcr-subsampling,," |
| 36 | |
| 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 | |
| 41 | PACKAGES =+ "tiffxx tiff-utils" |
| 42 | FILES_tiffxx = "${libdir}/libtiffxx.so.*" |
| 43 | FILES_tiff-utils = "${bindir}/*" |
| 44 | |
| 45 | do_install_append() { |
| 46 | oe_multilib_header tiffconf.h |
| 47 | } |
| 48 | |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 49 | BBCLASSEXTEND = "native nativesdk" |