<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>GraphicsMagick</Name>
        <Homepage>http://www.graphicsmagick.org</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>GraphicsMagick Image Processing System</Summary>
        <Description>GraphicsMagick is a comprehensive image processing package which is initially based on ImageMagick 5.5.2, but which has undergone significant re-work by the GraphicsMagick Group to significantly improve the quality and performance of the software.</Description>
        <Archive sha1sum="0dcf4c1f6f3ead29147ea0392a148ce50cd64bb4" type="tarxz">https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.25/GraphicsMagick-1.3.25.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>tiff-devel</Dependency>
            <Dependency>webp-devel</Dependency>
            <Dependency>lcms2-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>libwmf-devel</Dependency>
            <Dependency>libICE-devel</Dependency>
            <Dependency>jasper-devel</Dependency>
            <Dependency>jbigkit-devel</Dependency>
            <Dependency>libXext-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>          
            <Dependency>ghostscript-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>freetype-devel</Dependency>
            <Dependency>xz-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">GraphicsMagick-1.3.14-perl_linkage.patch</Patch>
            <Patch level="1">GraphicsMagick-1.3.16-multilib.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>GraphicsMagick</Name>
        <IsA>app:console</IsA>
        <RuntimeDependencies>
            <Dependency>tiff</Dependency>
            <Dependency>webp</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>bzip2</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>lcms2</Dependency>
            <Dependency>libwmf</Dependency>
            <Dependency>jasper</Dependency>
            <Dependency>libXext</Dependency>
            <Dependency>jbigkit</Dependency>
            <Dependency>libgomp</Dependency>
            <Dependency>ghostscript</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>libtool-ltdl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="executable">/usr/bin/gm</Path>
            <Path fileType="library">/usr/lib/GraphicsMagick-*</Path>
            <Path fileType="library">/usr/lib/lib*</Path>
            <Path fileType="data">/usr/share/GraphicsMagick-*</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>GraphicsMagick-devel</Name>
        <Summary>Development files for GraphicsMagick</Summary>
        <RuntimeDependencies>
            <Dependency release="current">GraphicsMagick</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/*-config</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="doc">/usr/share/doc/GraphicsMagick/www</Path>
            <Path fileType="man">/usr/share/man/man1/*-config.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>PerlMagick</Name>
        <Summary>GraphicsMagick perl bindings</Summary>
        <RuntimeDependencies>
            <Dependency release="current">GraphicsMagick</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/perl5</Path>
            <Path fileType="doc">/usr/share/doc/PerlMagick</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-04-13</Date>
            <Version>1.3.25</Version>
            <Comment>Rebuild.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-11-06</Date>
            <Version>1.3.25</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.3.23</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-01-24</Date>
            <Version>1.3.23</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
    </History>
</PISI>
