Package: mupdf Version: 1.23.3 Revision: 1 Depends: << freetype219-shlibs (>= 2.12.1-4), lcms2mt2-shlibs, libcurl4-shlibs, libgumbo1-shlibs, libharfbuzz0-shlibs, libjbig2dec-shlibs, libjpeg9-shlibs, libmujs3-shlibs, libopenjp2.7-shlibs, openssl300-shlibs, x11 << BuildDepends: << fink-package-precedence, flag-sort, freetype219 (>= 2.12.1-4), libgraphite2-dev, lcms2mt2 (>= 2.10-2), libcurl4, libgumbo1-dev, libharfbuzz0-dev, libjbig2dec-dev, libjpeg9, libmujs3-dev, libopenjp2.7, openssl300-dev, pkgconfig, x11-dev << # harfbuzz.pc:Depends:graphite.pc (exposed in public API) GCC: 4.0 Source: http://www.mupdf.com/downloads/archive/%n-%v-source.tar.gz Source-Checksum: SHA256(1ef9a6409bc0a3271586e1b16f78eb156a579521cd212a124b57c4da8b940aad) # AGPL is GPL-derived but not exactly GPL? License: OSI-Approved PatchFile: %n.patch PatchFile-MD5: c0a9ef360a382a5220e31c62abcf9832 PatchScript: << %{default_script} # Make extra sure not to see bundled libs that we instead want # to use as externals. mv thirdparty thirdparty_HIDDEN mkdir thirdparty ln -s ../thirdparty_HIDDEN/extract thirdparty # Note: need to hack around a darwin 'ar' incompatibility when # *all* support libs are external. See: # https://bugs.ghostscript.com/show_bug.cgi?id=703328 perl -pi -e 's/-MMD/-MD/g' Makefile << CompileScript: << make verbose=yes USE_SYSTEM_LIBS=yes prefix=%p fink-package-precedence --depfile-ext='\.d' . << InstallScript: << make verbose=yes USE_SYSTEM_LIBS=yes prefix=%p DESTDIR=%d install ln -s mupdf-x11 %i/bin/mupdf << SplitOff: << Package: %N-dev Depends: %N BuildDependsOnly: true Files: << include lib << DocFiles: COPYING README << DocFiles: CHANGES CONTRIBUTORS COPYING README DescPackaging: << Former maintainer: Stefan Bruda The application is in fact self-contained to a very large degree. "mupdf" symlink included for consistency with the man pages. Build system mixes included and externally supplied flavors of several libs, which gives an unreliable build and unpredictable result. Work hard to use externals whenever possible. Hack the heck out of lcms external support (slightly higher BDep of lcms2mt2 to avoid a broken lcms2mt.pc that was transiently in fink) << Description: Lightweight PDF and XPS viewer Maintainer: Daniel Macks Homepage: http://www.mupdf.com/