0cd0f77798
when quality or file size is an issue, to the packages collection. BPG (Better Portable Graphics) is a new image format. Its purpose is to replace the JPEG image format when quality or file size is an issue. Its main advantages are: + High compression ratio. Files are much smaller than JPEG for similar quality. + Supported by most Web browsers with a small Javascript decoder (gzipped size: 71 KB). + Based on a subset of the HEVC open video compression standard. + Supports the same chroma formats as JPEG (grayscale, YCbCr 4:2:0, 4:2:2, 4:4:4) to reduce the losses during the conversion. An alpha channel is supported. The RGB, YCgCo and CMYK color spaces are also supported. + Native support of 8 to 14 bits per channel for a higher dynamic range. + Lossless compression is supported. + Various metadata (such as EXIF, ICC profile, XMP) can be included.
28 lines
724 B
Makefile
28 lines
724 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2014/12/12 22:05:04 agc Exp $
|
|
|
|
DISTNAME= libbpg-0.9.2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://bellard.org/bpg/
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
HOMEPAGE= http://bellard.org/bpg/
|
|
COMMENT= Better Portable Graphics image format library
|
|
LICENSE= modified-bsd
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_LANGUAGES+= c c++
|
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
SUBST_CLASSES+= config
|
|
SUBST_MESSAGE.config= config.h file substitutions
|
|
SUBST_STAGE.config= pre-configure
|
|
SUBST_FILES.config= config.h
|
|
SUBST_SED.config= -e "s,@PREFIX@,${PREFIX},g"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|