<?xml version="1.0"?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libtheora</Name>
        <Homepage>http://www.theora.org/</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <PartOf>multimedia.video</PartOf>
        <Summary>The Theora Video Compression Codec</Summary>
        <Description>libtheora is Xiph.Org's first publicly released video codec, intended for use within the Ogg's project's Ogg multimedia streaming system.</Description>
        <Archive sha1sum="8dcaa8e61cd86eb1244467c0b64b9ddac04ae262" type="tarbz2">http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>libogg-devel</Dependency>
            <Dependency>libvorbis-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">flags.patch</Patch>
            <Patch level="0">libtheora-1.1.1-libpng16.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libtheora</Name>
        <RuntimeDependencies>
            <Dependency>libogg</Dependency>
            <Dependency>libvorbis</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libtheora-devel</Name>
        <Summary>Development files for libtheora</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libtheora</Dependency>
            <Dependency>libogg-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>

    <History>
        <Update release="1">
            <Date>2019-09-14</Date>
            <Version>1.1.1</Version>
            <Comment>First release</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
