<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sdl-image</Name>
        <Homepage>http://www.libsdl.org/projects/SDL_image/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <Summary>SDL image file loading library</Summary>
        <Description>SDL_image is an image file loader for SDL.</Description>
        <Archive sha1sum="5e3e393d4e366638048bbb10d6a269ea3f4e4cf2" type="targz">http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch>gif-overflow.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>sdl-image</Name>
        <RuntimeDependencies>
            <Dependency>libsdl</Dependency>
            <Dependency>tiff</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libpng</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>
        </Files>
    </Package>

    <Package>
        <Name>sdl-image-devel</Name>
        <Summary>Development files for sdl-image</Summary>
        <RuntimeDependencies>
            <Dependency release="current">sdl-image</Dependency>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <Package>
        <Name>sdl-image-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for sdl-image</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libsdl-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
            <Dependency>tiff-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">sdl-image</Dependency>
            <Dependency>libsdl-32bit</Dependency>
            <Dependency>libpng-32bit</Dependency>
            <Dependency>libjpeg-turbo-32bit</Dependency>
            <Dependency>tiff-32bit</Dependency>
	    <Dependency>zlib-32bit</Dependency>
            
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32/</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-03-01</Date>
            <Version>1.2.12</Version>
            <Comment>Rebuild for new toolchain.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>1.2.12</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-31</Date>
            <Version>1.2.12</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
