<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>podofo</Name>
        <Homepage>http://podofo.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv3</License>
        <License>LGPLv3</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>A library to work with the PDF file format</Summary>
        <Description>The PoDoFo library is a free, portable C++ library which includes classes to parse PDF files and modify their contents into memory. The changes can be written back to disk easily. The parser can also be used to extract information from a PDF file (for example the parser could be used in a PDF viewer). Besides parsing PoDoFo includes also very simple classes to create your own PDF files. All classes are documented so it is easy to start writing your own application using PoDoFo.</Description>
        <Archive sha1sum="54275025b1049e40177e35c7003e87ea092f277c" type="targz">mirrors://sourceforge/podofo/podofo-0.9.6.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>lua51-devel</Dependency>
            <Dependency>cppunit-devel</Dependency>
            <Dependency>libidn-devel</Dependency>
            <Dependency>boost-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">podofo-0.9.4-freetype.patch</Patch>
<!--             <Patch level="1">podofo-0.9.4_build.patch</Patch> -->
<!--             <Patch level="1">podofo-0.9.5_stdc++98.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>podofo</Name>
        <RuntimeDependencies>
            <Dependency>tiff</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>lua51</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>libidn</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>freetype</Dependency>
<!--             <Dependency>boost</Dependency> -->
           <!-- <Dependency>stlport</Dependency>-->
            <Dependency>fontconfig</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>podofo-devel</Name>
        <Summary>Development files for podofo</Summary>
        <RuntimeDependencies>
            <Dependency release="current">podofo</Dependency>
            <Dependency>boost-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="5">
            <Date>2018-08-09</Date>
            <Version>0.9.6</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2018-03-22</Date>
            <Version>0.9.5</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2017-04-04</Date>
            <Version>0.9.5</Version>
            <Comment>Rebuild with new toolchain</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.9.3</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-12-30</Date>
            <Version>0.9.3</Version>
            <Comment>First release</Comment>
            <Requires>
                <Action>reverseDependencyUpdate</Action>
            </Requires>
            <Name>Ayhan Yalçınsoy</Name>
            <Email>ayhanyalcinsoy@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
