diff options
Diffstat (limited to 'meta/recipes-multimedia/libtiff/tiff_4.2.0.bb')
| -rw-r--r-- | meta/recipes-multimedia/libtiff/tiff_4.2.0.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/libtiff/tiff_4.2.0.bb b/meta/recipes-multimedia/libtiff/tiff_4.2.0.bb new file mode 100644 index 0000000000..43eb60b33c --- /dev/null +++ b/meta/recipes-multimedia/libtiff/tiff_4.2.0.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 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 \ | ||
| 8 | " | ||
| 9 | SRC_URI[sha256sum] = "eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb" | ||
| 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 | |||
| 49 | BBCLASSEXTEND = "native nativesdk" | ||
