2017-12-26 12:55:01 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2017/12/26 11:55:01 he Exp $
|
Import freeimage-3.16.0 as graphics/freeimage.
FreeImage is an Open Source library project for developers who would like to
support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as
needed by today's multimedia applications. FreeImage is easy to use, fast,
multithreading safe, compatible with all 32-bit or 64-bit versions of Windows,
and cross-platform (works both with Linux and Mac OS X).
Thanks to its ANSI C interface, FreeImage is usable in many languages including
C, C++, VB, C#, Delphi, Java and also in common scripting languages such as
Perl, Python, PHP, TCL or Ruby.
2015-02-12 23:40:05 +01:00
|
|
|
|
Update to 3.17.0
Release 3.17.0 adds many improvements for ICO, TIFF, PNG, HDR, TGA, GIF,
RAW, JXR, JP2, Exif plugins. It comes with new conversion functions for
RGBA16/RGBAF formats, as well as new functions used to deal with external
pixel buffers (ConvertFromRawBitsEx, CreateView). Other useful added
functions are ReslaleRect, GetMemorySize, SetMetadataKeyValue and the
FIQ_LFPQUANT quantizer algorithm.
The library has been updated with the new LibPNG (1.6.16), LibTIFF (4.0.4),
LibRaw (0.17.a1), LibWebP (0.4.2), OpenEXR (2.2.0).
FreeImage is also distributed with updated VB6, Delphi and C++ wrappers.
2015-05-27 23:59:26 +02:00
|
|
|
DISTNAME= FreeImage3170
|
|
|
|
PKGNAME= freeimage-3.17.0
|
2017-12-26 12:55:01 +01:00
|
|
|
PKGREVISION= 3
|
Import freeimage-3.16.0 as graphics/freeimage.
FreeImage is an Open Source library project for developers who would like to
support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as
needed by today's multimedia applications. FreeImage is easy to use, fast,
multithreading safe, compatible with all 32-bit or 64-bit versions of Windows,
and cross-platform (works both with Linux and Mac OS X).
Thanks to its ANSI C interface, FreeImage is usable in many languages including
C, C++, VB, C#, Delphi, Java and also in common scripting languages such as
Perl, Python, PHP, TCL or Ruby.
2015-02-12 23:40:05 +01:00
|
|
|
CATEGORIES= devel graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freeimage/}
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://freeimage.sf.net/
|
|
|
|
COMMENT= Library for supporting PNG, BMP, JPEG, and TIFF
|
2017-07-04 22:50:53 +02:00
|
|
|
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 OR mpl-1.0
|
Import freeimage-3.16.0 as graphics/freeimage.
FreeImage is an Open Source library project for developers who would like to
support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as
needed by today's multimedia applications. FreeImage is easy to use, fast,
multithreading safe, compatible with all 32-bit or 64-bit versions of Windows,
and cross-platform (works both with Linux and Mac OS X).
Thanks to its ANSI C interface, FreeImage is usable in many languages including
C, C++, VB, C#, Delphi, Java and also in common scripting languages such as
Perl, Python, PHP, TCL or Ruby.
2015-02-12 23:40:05 +01:00
|
|
|
|
|
|
|
USE_LANGUAGES+= c c++
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/FreeImage
|
|
|
|
|
2017-08-11 17:26:20 +02:00
|
|
|
INSTALLATION_DIRS+= include lib share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Source/LibJXR/LICENCE \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibJXR
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Source/LibOpenJPEG/LICENSE \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenJPEG
|
|
|
|
${HEAD} -n 31 ${WRKSRC}/Source/LibRawLite/internal/libraw_x3f.cpp \
|
|
|
|
> ${WRKDIR}/LICENSE.x3f
|
|
|
|
${HEAD} -n 33 ${WRKSRC}/Source/LibRawLite/internal/dcb_demosaicing.c \
|
|
|
|
> ${WRKDIR}/LICENSE.dcb
|
|
|
|
${HEAD} -n 25 ${WRKSRC}/Source/LibTIFF4/tif_open.c \
|
|
|
|
> ${WRKDIR}/LICENSE.LibTIFF4
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/LICENSE.* \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Source/LibWebP/COPYING \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.LibWebP
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Source/OpenEXR/Copyrights/openexr/LICENSE \
|
|
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/LICENSE.OpenEXR
|
Import freeimage-3.16.0 as graphics/freeimage.
FreeImage is an Open Source library project for developers who would like to
support popular graphics image formats like PNG, BMP, JPEG, TIFF and others as
needed by today's multimedia applications. FreeImage is easy to use, fast,
multithreading safe, compatible with all 32-bit or 64-bit versions of Windows,
and cross-platform (works both with Linux and Mac OS X).
Thanks to its ANSI C interface, FreeImage is usable in many languages including
C, C++, VB, C#, Delphi, Java and also in common scripting languages such as
Perl, Python, PHP, TCL or Ruby.
2015-02-12 23:40:05 +01:00
|
|
|
|
|
|
|
PLIST_SUBST+= PKGVERSION_NOREV=${PKGVERSION_NOREV}
|
|
|
|
|
|
|
|
NOT_FOR_PLATFORM=Darwin-*-*
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|