<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>openjpeg</Name>
        <Homepage>http://www.openjpeg.org/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <IsA>app:console</IsA>
        <Summary>JPEG2000 decoding library</Summary>
        <Description>openjpeg is an open-source JPEG 2000 codec written in C. It has been developed in order to promote the use of JPEG 2000, the new still-image compression standard from the Joint Photographic Experts Group (JPEG).</Description>
        <Archive sha1sum="496e99ff1d37b73bbce6a066dd9bd3576ebca0a2" type="targz">http://downloads.sourceforge.net/project/openjpeg.mirror/1.5.2/openjpeg-1.5.2.tar.gz</Archive>
        <BuildDependencies>
            <!--<Dependency>lcms2-devel</Dependency>
            <Dependency>lcms2-32bit</Dependency>-->
            <Dependency>tiff-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>libpng-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">openjpeg-20070717svn-mqc-optimize.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>openjpeg</Name>
        <RuntimeDependencies>
            <Dependency>libpng</Dependency>
            <Dependency>tiff</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/pkgconfig/</Path>
            <Path fileType="data">/usr/share/openjpeg-1.5</Path>
            <Path fileType="data">/usr/share/man/man1</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>openjpeg-devel</Name>
        <Summary>Development files for openjpeg</Summary>
        <RuntimeDependencies>
            <Dependency release="current">openjpeg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man/man3</Path>
        </Files>
    </Package>

    <Package>
        <Name>openjpeg-32bit</Name>
        <Summary>32-bit shared libraries for openjpeg</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libpng-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">openjpeg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2017-02-05</Date>
            <Version>1.5.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2016-06-09</Date>
            <Version>1.5.2</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-05-27</Date>
            <Version>1.5.2</Version>
            <Comment>Release bump</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-05-22</Date>
            <Version>1.5.2</Version>
            <Comment>First release</Comment>
            <Name>Yusuf Aydemir</Name>
            <Email>yusuf.aydemir@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
