Package: libwebp2-shlibs
Version: 0.1.3
Revision: 7
Distribution: 10.9, 10.10, 10.11, 10.12, 10.13, 10.14, 10.14.5, 10.15
Description: Library for manipulating WebP format
DescDetail: <<
	WebP is a method of lossy compression that can be used on photographic
	images. The degree of compression is adjustable so a user can choose
	the trade-off between file size and image quality.

	A WebP file consists of VP8 image data, and a container based on RIFF.
	Webmasters, web developers and browser developers can use the WebP
	format to create smaller, better looking images that can help make the
	web faster.
<<
DescPackaging: <<
	Added upstream patch to enable building with gcc-4.0 on 10.5.
	Can be removed in next version.
<<
License: BSD
Homepage: http://code.google.com/speed/webp/
Maintainer: Daniel Johnson <daniel@daniel-johnson.org>

Source: http://webp.googlecode.com/files/libwebp-%v.tar.gz
Source-Checksum: SHA256(40b18456e39b2822311b0ea161d6f09507cf5e8e937b02b9be3ee994ded67aba)

PatchFile: %n.patch
PatchFile-MD5: 9af8587447902338dc780744b3f63549

BuildDepends: <<
	libjpeg9 (>= 9-3),
	libpng16,
	pkgconfig
<<

ConfigureParams: <<
	--disable-dependency-tracking \
	--disable-static
<<

InstallScript: <<
	make install DESTDIR=%d
	/bin/rm -rf %i/include %i/lib/libwebp.la %i/lib/pkgconfig %i/lib/libwebp.dylib
<<

Shlibs: <<
	%p/lib/libwebp.2.dylib 3.0.0 %n (>= 0.1.3-1)
<<

DocFiles: AUTHORS ChangeLog COPYING NEWS PATENTS README

SplitOff: <<
	Package: libwebp2-bin
	Description: Utilities to convert webp <-> png/jpeg
	DescUsage: <<
		Includes utilities:
			cwebp - Encodes png/jpeg to webp
			dwebp - Decodes webp to png/jpeg
	<<
	
	Depends: <<
		%N (>= %v-%r),
		libjpeg9-shlibs (>= 9-3),
		libpng16-shlibs
	<<
	Conflicts: <<
		libwebp0-bin,
		libwebp2-bin,
		libwebp4-bin,
		libwebp5-bin,
		libwebp6-bin,
		libwebp7-bin,
		libwebp2-shlibs-bin,
		webp-bin
	<<
	Replaces: <<
		libwebp0-bin,
		libwebp2-bin,
		libwebp4-bin,
		libwebp5-bin,
		libwebp6-bin,
		libwebp7-bin,
		libwebp2-shlibs-bin,
		webp-bin
	<<

	Files: bin share
	
	DocFiles: AUTHORS ChangeLog COPYING NEWS PATENTS README
<<