<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libsoup</Name>
        <Homepage>http://live.gnome.org/LibSoup</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>LGPLv2</License>
        <IsA>library</IsA>
        <Summary>An HTTP library implementation in C</Summary>
        <Description>libsoup is an HTTP client/server library for GNOME.</Description>
        <Archive sha1sum="d3f15038fae4f48ae386cfdf53ae12382ab7524b" type="tarxz">http://ftp.gnome.org/pub/gnome/sources/libsoup/2.68/libsoup-2.68.1.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>gtk-doc</Dependency>
            <Dependency>python-libbrotli</Dependency>
            <Dependency>python3-libbrotli</Dependency>s
            <Dependency>libbrotli-devel</Dependency>
            <Dependency>libpsl-devel</Dependency>
            <Dependency>vala-devel</Dependency>
            <Dependency>glib-networking</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
         </BuildDependencies>
    </Source>

    <Package>
        <Name>libsoup</Name>
        <RuntimeDependencies>
             <Dependency>libbrotli</Dependency>
             <Dependency>libpsl</Dependency>
             <Dependency>glib-networking</Dependency>
             <Dependency>python-libbrotli</Dependency>
             <Dependency>python3-libbrotli</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="data">/usr/share/vala</Path>
            <Path fileType="localedata">/usr/share/locale/</Path>
            <Path fileType="library">/usr/lib/girepository-1.0/Soup-2.4.typelib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsoup-gnome</Name>
        <RuntimeDependencies>
            <Dependency>libsoup</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/lib*gnome*</Path>
            <Path fileType="library">/usr/lib/girepository-1.0/SoupGNOME-2.4.typelib</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsoup-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>libsoup reference documents</Summary>
        <RuntimeDependencies>
            <Dependency>libsoup</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/gtk-doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libsoup-devel</Name>
        <Summary>Development files for libsoup</Summary>
        <RuntimeDependencies>
            <Dependency>libbrotli-devel</Dependency>
            <Dependency>libpsl-devel</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
            <Dependency release="current">libsoup</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
            <Path fileType="library">/usr/lib32/pkgconfig</Path>
        </Files>
    </Package>

    <!--Package>
        <Name>libsoup-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for libsoup</Summary>
        <BuildType>_emul32</BuildType>
        <BuildDependencies>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>sqlite-32bit</Dependency>
            <Dependency>libxml2-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>glib2-32bit</Dependency>
            <Dependency>sqlite-32bit</Dependency>
            <Dependency>libxml2-32bit</Dependency>
            <Dependency release="current">libsoup</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package-->

    <History>
      <Update release="2">
          <Date>2019-09-10</Date>
          <Version>2.68.1</Version>
          <Comment>Reviewed to dependencies.</Comment>
          <Name>Süleyman Poyraz</Name>
          <Email>zaryob.dev@gmail.com</Email>
      </Update>
        <Update release="1">
            <Date>2019-09-28</Date>
            <Version>2.68.1</Version>
            <Comment>First release</Comment>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
