f75a2a3fdb
- 4/2/2018: version 1.0.0 This is a binary compatible release. * lossy encoder improvements to avoid chroma shifts in various circumstances (issues #308, #340) * big-endian fixes for decode, RGBA import and WebPPictureDistortion Tool updates: gifwebp, anim_diff - default duration behavior (<= 10ms) changed to match web browsers, transcoding tools (issue #379) img2webp, webpmux - allow options to be passed in via a file (issue #355)
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2018/04/27 14:26:41 wiz Exp $
|
|
|
|
DISTNAME= libwebp-1.0.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://downloads.webmproject.org/releases/webp/
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://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
|
|
PKGCONFIG_OVERRIDE+= src/libwebpdecoder.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/demux/libwebpdemux.pc.in
|
|
PKGCONFIG_OVERRIDE+= src/mux/libwebpmux.pc.in
|
|
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
|
|
|
#Needed to comply with the BSD license and redistribution
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/COPYING \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "../../graphics/giflib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|