tiff: disable ZSTD and WebP codecs explicitly 7553/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 2 Dec 2018 10:03:50 +0000 (11:03 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 2 Dec 2018 10:16:26 +0000 (11:16 +0100)
tiff 4.0.10 added two new compression codecs, ZSTD and WebP. If the
respective libraries are found, these codecs will be built. Currently
they're not built, because these libraries do not exist in OpenWrt.

This commit adds the configure switches to disable these codecs. It's
likely that any of these libs will make their way into OpenWrt sooner or
later, so this commit prevents the related build failures (missing
depends).

If there is a need to enable these codecs in tiff in the future, then
this can be done, obviously, but at least there will be no build failure
suprises in the meantime.

Also, this commit corrects the homepage of libtiff.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/tiff/Makefile

index 0c2a3d8f7b73cb5038f71de97d4bc595a6812f43..0c272382b31af8a42cfebda2f6f7da09df7029ec 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tiff
 PKG_VERSION:=4.0.10
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://download.osgeo.org/libtiff
@@ -32,7 +32,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define Package/tiff/Default
   TITLE:=TIFF
-  URL:=http://www.remotesensing.org/libtiff/
+  URL:=http://simplesystems.org/libtiff/
   MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
 endef
 
@@ -75,6 +75,8 @@ CONFIGURE_ARGS += \
        --enable-jpeg \
        --disable-old-jpeg \
        --disable-jbig \
+       --disable-webp \
+       --disable-zstd \
        --without-x
 
 define Build/InstallDev/hxx