<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>smpeg</Name>
        <Homepage>http://www.lokigames.com/development/smpeg.php3</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>LGPLv2.1</License>
        <IsA>library</IsA>
        <IsA>app:gui</IsA>
        <Summary>SDL MPEG library</Summary>
        <Description>SMPEG is a SDL MPEG decoding library.</Description>
        <Archive sha1sum="a9c3c65628092b694510d596591ca20f1863cf4d" type="tarxz">http://source.pisilinux.org/1.0/smpeg-0.4.5.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>libsdl-devel</Dependency>
            <Dependency>freeglut-devel</Dependency>
            <Dependency>mesa-devel</Dependency>
            <Dependency>mesa-glu-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">smpeg-0.4.5-gcc6.patch</Patch>
            <Patch level="0">smpeg-0.4.4-format_not_a_string_literal_and_no_format_arguments.diff</Patch>
            <Patch level="1">smpeg-0.4.5-fix-header.patch</Patch>
            <Patch level="1">smpeg-0.4.5-libsupc++.patch</Patch>
            <Patch level="0">smpeg-0.4.5-link.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>smpeg</Name>
        <RuntimeDependencies>
            <Dependency>libsdl</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>mesa-glu</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>smpeg-devel</Name>
        <Summary>Development files for smpeg</Summary>
        <RuntimeDependencies>
            <Dependency release="current">smpeg</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/smpeg-config</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/share/aclocal</Path>
        </Files>
    </Package>

    <Package>
        <Name>smpeg-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for smpeg</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>freeglut-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libsdl-32bit</Dependency>
            <Dependency>mesa-glu-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">smpeg</Dependency>
            <Dependency>libsdl-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>0.4.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>0.4.5</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2014-06-01</Date>
            <Version>0.4.5</Version>
            <Comment>First release</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvarice@gmail.com</Email>
        </Update>
    </History>
</PISI>
