Package: jbig2dec Version: 0.19 Revision: 2 Maintainer: Daniel Johnson Description: Decoder for JBIG2 image compression format DescDetail: << JBIG2 is designed for lossy or lossless encoding of 'bilevel' (1-bit monochrome) images at moderately high resolution, and in particular scanned paper documents. In this domain it is very efficient, offering compression ratios on the order of 100:1. This is a decoder only implementation, and currently is in the alpha stage, meaning it doesn't completely work yet. However, we are maintaining parity with available encoders, so it is useful for real work. << License: GPL Homepage: https://jbig2dec.com/ Depends: << lib%N-shlibs (= %v-%r), libpng16-shlibs << BuildDepends: << fink-package-precedence, libpng16 << Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9531/%n-%v.tar.gz Source-Checksum: SHA256(279476695b38f04939aa59d041be56f6bade3422003a406a85e9792c27118a37) PatchScript: << sed -i.bak 's|not result|0|g' test_jbig2dec.py # Disable a test that requires data-files that are not in # distro. It is hardcoded to use 'python' (no longer exists on # newer OS X). No sense adjusting the py interp for a test # that doesn't actually test anything. perl -pi -'e s/test_jbig2dec.py// if /^TESTS\s*=/' Makefile.in << ConfigureParams: --enable-dependency-tracking --disable-static --with-libpng=%p SetCFLAGS: -Os SetLDFLAGS: -Wl,-dead_strip_dylibs CompileScript: << %{default_script} fink-package-precedence --prohibit-bdep lib%N-dev . << InfoTest: TestScript: make check || exit 2 InstallScript: << make install DESTDIR=%d << DocFiles: CHANGES COPYING LICENSE README SplitOff: << Package: lib%N-shlibs Files: lib/*.*.dylib Shlibs: << %p/lib/lib%N.0.dylib 1.0.0 %n (>= 0.9-1) << DocFiles: CHANGES COPYING LICENSE README << SplitOff2: << Package: lib%N-dev Depends: lib%N-shlibs (= %v-%r) Files: include lib DocFiles: CHANGES COPYING LICENSE README BuildDependsOnly: true <<