Package: sampleicc # last version that provides a tarball. Later releases are win only zip Version: 1.6.8 Revision: 2 Description: C++ library for ICC (color) profiles Homepage: http://sampleicc.sourceforge.net/ License: OSI-Approved Maintainer: David Fang Source: mirror:sourceforge:%n/SampleICC-%v.tar.gz Source-Checksum: SHA256(8b23bc6b9e4b8d304dc239bf874078edf7764e999aee4e11e7ed2d1c0271b965) GCC: 4.0 BuildDependsOnly: true BuildDepends: libtiff6, fink-package-precedence Depends: %N-shlibs PatchFile: %n.patch PatchFile-MD5: d179e301ac3d471fa44ed71f5c51173d PatchScript: << #!/bin/sh -ev %{default_script} sed -i.orig -e '/ApplicationServices/a\ #ifndef CGFLOAT_DEFINED\ typedef float CGFloat;\ #endif' Contrib/Mac_OS_X/create_probe/create_probe.cpp # fix Puma linking in configure on Yosemite perl -pi -e 's|10\.\[012\]\*|10.[012][,.]*|g' configure # use local build dir, not risk of -L precedence find . -name Makefile.in | xargs perl -pi.bak -e 's|-L(\$\(top_builddir\)/IccProfLib)(.*)-l(SampleICC)|\1/lib\3.la \2 |g; s|-L(\$\(top_builddir\)/Contrib/ICC_utils)(.*)-l(ICC_utils)|\1/lib\3.la \2 |g' perl -pi -e 's/(-version-info)/-no-undefined \1/' Contrib/ICC_utils/Makefile.in IccProfLib/Makefile.in << ConfigureParams: --with-tifflib=%p --disable-static CompileScript: << #!/bin/sh -ev ./configure %c make fink-package-precedence --prohibit-bdep=%n . << InfoTest: TestScript: make -k check || exit 2 InstallScript: << #!/bin/sh -ev make DESTDIR=%d install << DocFiles: AUTHORS COPYING ChangeLog NEWS README* SplitOff: << Package: %N-shlibs Description: Shared libraries for Sample ICC Depends: libtiff6-shlibs DocFiles: AUTHORS COPYING ChangeLog NEWS README* Files: lib/libICC_utils.2.dylib lib/libSampleICC.2.dylib Shlibs: << %p/lib/libICC_utils.2.dylib 3.0.0 %n (>= 1.6.4-1) %p/lib/libSampleICC.2.dylib 3.0.0 %n (>= 1.6.4-1) << << DescDetail: << SampleICC provides an open source platform independent C++ library for reading, writing, manipulating, and applying ICC profiles along with applications that make use of this library. Some of the applications are platform independent, while others are built using Microsoft Visual Studio. A working knowledge of the ICC specification and color management workflows will aid in understanding the library and its proper usage. The latest ICC profile specification can be found on the ICC website (http://www.color.org). Several useful white papers and resources are also available on the website. License: The ICC Software License, Version 0.1 << DescPort: << Replace deprecated CMProfile* functions using qtpaintengine's approach. See: https://sourceforge.net/p/sampleicc/bugs/19/ <<