Latest 1.9
Homepage http://www.mupdf.com/
License Affero GNU GPL v3
Platforms ios 6.1

Latest podspec

{
    "name": "MuPDF",
    "version": "1.9",
    "summary": "A lightweight PDF and XPS viewer.",
    "cocoapods_version": ">= 0.39",
    "description": "MuPDF is a small, fast, and yet complete PDF viewer. nIt supports PDF 1.7 with transparency, encryption, nhyperlinks, annotations, searching and more. It alsonreads XPS and OpenXPS documents. Commercialnlicensing is also available, contact [email protected]",
    "homepage": "http://www.mupdf.com/",
    "license": {
        "type": "Affero GNU GPL v3",
        "file": "COPYING"
    },
    "authors": "Artifex",
    "source": {
        "git": "git://git.ghostscript.com/mupdf.git",
        "tag": "1.9a",
        "submodules": true
    },
    "platforms": {
        "ios": "6.1"
    },
    "requires_arc": false,
    "module_name": "mupdf",
    "source_files": [
        "platform/ios/Classes/**/*.[m]",
        "platform/ios/common.m",
        "include/mupdf/**/*"
    ],
    "resources": [
        "platform/ios/*.png",
        "platform/android/res/drawable-ldpi/*.png"
    ],
    "prepare_command": "cd platform/iosn# release armv7 + arm64nxcodebuild -scheme MuPDF -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NOnn# debug 64bit simnxcodebuild -scheme MuPDF -configuration Release -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NOncd ../../build/nfor i in mupdf mupdfthird; don    LIB=lib${i}.an    lipo -create -output $LIB release-ios-i386-x86_64/$LIB release-ios-armv7-arm64/$LIBndonenn# rename to avoid any conflict with the libmupdf.a that the pod generatesnmv libmupdf.a libmupdfcore.ann# copy iOS headers into the general include directory, asn# cocoapods 1.0 insists that all headers are under then# header_mappings_dir locationncd ..ncp platform/ios/Classes/*.h platform/ios/common.h include/mupdf/ncd platform/iosn# now fix the imports/includes to be mupdf/foo.h instead of foo.hnfind . -name '*.[mh]' -print0 | xargs -0 perl -pi -e 's,#import "Mu,#import "mupdf/Mu,'nfind . -name '*.[mh]' -print0 | xargs -0 perl -pi -e 's,#include "common.h",#include "mupdf/common.h",'nfind . -name '*.[mh]' -print0 | xargs -0 perl -pi -e 's,#import "common.h",#import "mupdf/common.h",'nn# the reference to memory.h in memento.h upsets xcode whenn# building a module (fixed upstream for version after 1.9)ncd ../..nfind . -name 'memento.h' -print0 | xargs -0 perl -pi -e 's,#include ,#include ,'",
    "public_header_files": "include/mupdf/**/*",
    "header_mappings_dir": "include",
    "vendored_libraries": "build/*.a",
    "xcconfig": {
        "USE_HEADERMAP": "NO",
        "USER_HEADER_SEARCH_PATHS": ""${PODS_ROOT}/mupdf/include""
    }
}

Pin It on Pinterest

Share This