pkgsrc/graphics/libbpg/patches/patch-config.h
agc 0cd0f77798 add libbpg-0.9.2, an image formatting library designed to replace JPEG
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.
2014-12-12 22:05:04 +00:00

17 lines
819 B
C

$NetBSD: patch-config.h,v 1.1.1.1 2014/12/12 22:05:04 agc Exp $
point to the right directory
--- config.h 2014/12/12 21:39:48 1.1
+++ config.h 2014/12/12 21:42:20
@@ -4,8 +4,8 @@
#define FFMPEG_CONFIGURATION "--disable-asm --enable-small --disable-pthreads --disable-everything --enable-decoder=hevc --enable-demuxer=hevc --enable-protocol=file --disable-ffserver --disable-ffprobe --disable-doc --enable-parser=hevc"
#define FFMPEG_LICENSE "LGPL version 2.1 or later"
#define CONFIG_THIS_YEAR 2014
-#define FFMPEG_DATADIR "/usr/local/share/ffmpeg"
-#define AVCONV_DATADIR "/usr/local/share/ffmpeg"
+#define FFMPEG_DATADIR "@PREFIX@/share/ffmpeg"
+#define AVCONV_DATADIR "@PREFIX@/share/ffmpeg"
#define CC_IDENT "gcc 4.7.2 (GCC) 20120921 (Red Hat 4.7.2-2)"
#define av_restrict restrict
#define EXTERN_PREFIX ""