<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>pidgin</Name>
        <Homepage>http://www.pidgin.im</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>pidgin</Icon>
        <Summary>Instant messaging application previously known as gaim</Summary>
        <Description>Multi-protocol instant messaging tool for MSN, Yahoo, IRC, Jabber and Gadu-Gadu protocols.</Description>
        <Archive sha1sum="122f0a48ba63cd7f2bc2962c497df045ce29ef71" type="tarbz2">https://netcologne.dl.sourceforge.net/project/pidgin/Pidgin/2.13.0/pidgin-2.13.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>libXScrnSaver-devel</Dependency>
            <Dependency>libSM-devel</Dependency>
            <Dependency>gtkspell-devel</Dependency>
            <Dependency>gstreamer-devel</Dependency>
            <Dependency>farstream-devel</Dependency>
            <Dependency>meanwhile-devel</Dependency>
            <Dependency>gst-plugins-base-devel</Dependency>
            <Dependency>avahi-glib-devel</Dependency>
            <Dependency>NetworkManager-devel</Dependency>
            <Dependency>nss-devel</Dependency>
            <Dependency>tcl-devel</Dependency>
            <Dependency>tcltk-devel</Dependency>
            <Dependency>cyrus-sasl-devel</Dependency>
            <Dependency>doxygen</Dependency>
            <Dependency>gnutls-devel</Dependency>
            <Dependency>atk-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>python-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">pidgin-nm-1.0.patch</Patch>
            <Patch level="1">pidgin-python-3.8.patch</Patch>
            <Patch level="1">purple-remote-python3.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>pidgin</Name>
        <IsA>app:gui</IsA>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>libSM</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>libICE</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>gtkspell</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>meanwhile</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libXScrnSaver</Dependency>
            <Dependency release="current">libpurple</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>farstream</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/sounds</Path>
            <Path fileType="data">/usr/share/dbus-1</Path>
            <Path fileType="data">/usr/share/purple</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="library">/usr/lib/pidgin</Path>
            <Path fileType="config">/etc/gconf/schemas</Path>
            <Path fileType="data">/usr/share/appdata/</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
    </Package>

    <Package>
        <Name>pidgin-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files of pidgin</Summary>
        <RuntimeDependencies>
            <Dependency release="current">pidgin</Dependency>
            <Dependency release="current">libpurple-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/pidgin</Path>
            <Path fileType="executable">/usr/bin/dh_pidgin</Path>
            <Path fileType="man">/usr/share/man/man3/Pidgin*</Path>
            <Path fileType="data">/usr/lib/pkgconfig/pidgin.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>finch</Name>
        <IsA>app:console</IsA>
        <Summary>Console based instant messaging application</Summary>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>python</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency release="current">libpurple</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/gnt</Path>
            <Path fileType="library">/usr/lib/finch</Path>
            <Path fileType="library">/usr/lib/libgnt*</Path>
            <Path fileType="executable">/usr/bin/finch</Path>
            <Path fileType="man">/usr/share/man/man1/finch*</Path>
        </Files>
    </Package>

    <Package>
        <Name>finch-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files of finch</Summary>
        <RuntimeDependencies>
            <Dependency release="current">finch</Dependency>
            <Dependency release="current">libpurple-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/gnt</Path>
            <Path fileType="header">/usr/include/finch</Path>
            <Path fileType="data">/usr/lib/pkgconfig/gnt*</Path>
            <Path fileType="data">/usr/lib/pkgconfig/finch*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpurple</Name>
        <IsA>library</IsA>
        <Summary>The core library of pidgin, supports MSN, XMPP, ICQ, Gadu-Gadu and etc.</Summary>
        <RuntimeDependencies>
            <Dependency>nss</Dependency>
            <Dependency>tcl</Dependency>
            <Dependency>tcltk</Dependency>
            <Dependency>gnutls</Dependency>
            <Dependency>gstreamer</Dependency>
            <Dependency>avahi-glib</Dependency>
            <Dependency>avahi-libs</Dependency>
            <Dependency>cyrus-sasl</Dependency>
            <Dependency>gst-plugins-base</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/purple-2</Path>
            <Path fileType="executable">/usr/bin/purple*</Path>
            <Path fileType="library">/usr/lib/libpurple*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libpurple-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files of libpurple</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libpurple</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/share/aclocal</Path>
            <Path fileType="header">/usr/include/libpurple</Path>
            <Path fileType="man">/usr/share/man/man3/Purple*</Path>
            <Path fileType="data">/usr/lib/pkgconfig/purple.pc</Path>
        </Files>
    </Package>

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