pkgsrc/graphics/libwebp/Makefile
kim 512a07a749 Make tiff option when building libwebp, as tiff has many long-standing
vulnerabilities. Still enabled by default, as before. Ok by wiz@.

Fixes PR pkg/52149 and adds tiff to PKG_SUGGESTED_OPTIONS.
2017-04-15 15:48:12 +00:00

36 lines
1,019 B
Makefile

# $NetBSD: Makefile,v 1.22 2017/04/15 15:48:12 kim Exp $
DISTNAME= libwebp-0.6.0
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://downloads.webmproject.org/releases/webp/
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://developers.google.com/speed/webp/
COMMENT= WebP image format library and tools
LICENSE= modified-bsd
.include "options.mk"
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-libwebpdemux
CONFIGURE_ARGS+= --enable-libwebpmux
CONFIGURE_ARGS+= --enable-libwebpdemux
CONFIGURE_ARGS+= --enable-libwebpdecoder
CONFIGURE_ARGS+= --enable-libwebpextras
CONFIGURE_ARGS+= --disable-gl
.include "../../mk/compiler.mk"
# fix PR pkg/45934
.if (!empty(MACHINE_PLATFORM:MSunOS-*-i386) || !empty(MACHINE_PLATFORM:MMirBSD-*-i386)) && !empty(CC_VERSION:Mgcc-[23]*)
CPPFLAGS += -D__pic__
.endif
PKGCONFIG_OVERRIDE+= src/libwebp.pc.in
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"