diff --git a/packages/graphics/tiff/package.mk b/packages/graphics/tiff/package.mk index 914b1f45cd..b29f5d2696 100644 --- a/packages/graphics/tiff/package.mk +++ b/packages/graphics/tiff/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="tiff" -PKG_VERSION="4.4.0" -PKG_SHA256="917223b37538959aca3b790d2d73aa6e626b688e02dcda272aec24c2f498abed" +PKG_VERSION="4.5.0" +PKG_SHA256="c7a1d9296649233979fa3eacffef3fa024d73d05d589cb622727b5b08c423464" PKG_LICENSE="OSS" PKG_SITE="http://www.remotesensing.org/libtiff/" PKG_URL="http://download.osgeo.org/libtiff/${PKG_NAME}-${PKG_VERSION}.tar.gz" diff --git a/packages/graphics/tiff/patches/tiff-0001-only-build-library.patch b/packages/graphics/tiff/patches/tiff-0001-only-build-library.patch deleted file mode 100644 index 688a913aee..0000000000 --- a/packages/graphics/tiff/patches/tiff-0001-only-build-library.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 1ab0e2696a368a556b793a0941b5365e4d9f56ef Mon Sep 17 00:00:00 2001 -From: Roger Leigh -Date: Sun, 29 May 2022 11:18:42 +0100 -Subject: [PATCH] Add options for disabling tools, tests, contrib and docs - ---- - CMakeLists.txt | 33 +++++++++++++++++++++------ - 1 files changed - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 770b0fac..d1dd275e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -42,10 +42,16 @@ message(STATUS "libtiff build date: ${BUILD_DATE}") - - set(BUILD_SHARED_LIBS ON CACHE BOOL "Build shared libraries") - -+option(tiff-tools "build TIFF tools" ON) -+option(tiff-tests "build TIFF tests" ON) -+option(tiff-contrib "build TIFF contrib" ON) -+option(tiff-docs "build TIFF documentation" ON) -+option(tiff-deprecated "build TIFF deprecated features" OFF) - - # Disable deprecated features to ensure clean build --add_definitions(-DTIFF_DISABLE_DEPRECATED) -- -+if (tiff-deprecated) -+ add_definitions(-DTIFF_DISABLE_DEPRECATED) -+endif() - - # Project definition - set(CMAKE_C_STANDARD 99) -@@ -135,12 +141,20 @@ include(Release) - # Process subdirectories - add_subdirectory(port) - add_subdirectory(libtiff) --add_subdirectory(tools) --add_subdirectory(test) --add_subdirectory(contrib) -+if(tiff-tools) -+ add_subdirectory(tools) -+endif() -+if(tiff-tests) -+ add_subdirectory(test) -+endif() -+if(tiff-contrib) -+ add_subdirectory(contrib) -+endif() - add_subdirectory(build) --add_subdirectory(man) --add_subdirectory(html) -+if(tiff-docs) -+ add_subdirectory(man) -+ add_subdirectory(html) -+endif() - - # pkg-config support - include(PkgConfig) -@@ -153,6 +167,11 @@ message(STATUS " Documentation directory: ${LIBTIFF_DOCDIR}") - message(STATUS " C compiler: ${CMAKE_C_COMPILER}") - message(STATUS " C++ compiler: ${CMAKE_CXX_COMPILER}") - message(STATUS " Build shared libraries: ${BUILD_SHARED_LIBS}") -+message(STATUS " Build tools: ${tiff-tools}") -+message(STATUS " Build tests: ${tiff-tests}") -+message(STATUS " Build contrib: ${tiff-contrib}") -+message(STATUS " Build docs: ${tiff-docs}") -+message(STATUS " Build deprecated features: ${tiff-deprecated}") - message(STATUS " Enable linker symbol versioning: ${HAVE_LD_VERSION_SCRIPT}") - message(STATUS " Support Microsoft Document Imaging: ${mdi}") - message(STATUS " Use win32 IO: ${USE_WIN32_FILEIO}")