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 | " |
| 9 | SRC_URI[md5sum] = "2165e7aba557463acc0664e71a3ed424" |
| 10 | SRC_URI[sha256sum] = "5d29f32517dadb6dbcd1255ea5bbc93a2b54b94fbf83653b4d65c7d6775b8634" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | |
| 12 | # exclude betas |
| 13 | UPSTREAM_CHECK_REGEX = "tiff-(?P<pver>\d+(\.\d+)+).tar" |
| 14 | |
| 15 | inherit autotools multilib_header |
| 16 | |
| 17 | CACHED_CONFIGUREVARS = "ax_cv_check_gl_libgl=no" |
| 18 | |
| 19 | PACKAGECONFIG ?= "cxx jpeg zlib lzma \ |
| 20 | strip-chopping extrasample-as-alpha check-ycbcr-subsampling" |
| 21 | |
| 22 | PACKAGECONFIG[cxx] = "--enable-cxx,--disable-cxx,," |
| 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 | |
| 27 | # Convert single-strip uncompressed images to multiple strips of specified |
| 28 | # size (default: 8192) to reduce memory usage |
| 29 | PACKAGECONFIG[strip-chopping] = "--enable-strip-chopping,--disable-strip-chopping,," |
| 30 | |
| 31 | # Treat a fourth sample with no EXTRASAMPLE_ value as being ASSOCALPHA |
| 32 | PACKAGECONFIG[extrasample-as-alpha] = "--enable-extrasample-as-alpha,--disable-extrasample-as-alpha,," |
| 33 | |
| 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 | |
| 38 | # Support a mechanism allowing reading large strips (usually one strip files) |
| 39 | # in chunks when using TIFFReadScanline. Experimental 4.0+ feature |
| 40 | PACKAGECONFIG[chunky-strip-read] = "--enable-chunky-strip-read,--disable-chunky-strip-read,," |
| 41 | |
| 42 | PACKAGES =+ "tiffxx tiff-utils" |
| 43 | FILES_tiffxx = "${libdir}/libtiffxx.so.*" |
| 44 | FILES_tiff-utils = "${bindir}/*" |
| 45 | |
| 46 | do_install_append() { |
| 47 | oe_multilib_header tiffconf.h |
| 48 | } |
| 49 | |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 50 | BBCLASSEXTEND = "native nativesdk" |