<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>fontconfig</Name>
        <Homepage>http://fontconfig.org</Homepage>
        <Packager>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>A library for configuring and customizing font access</Summary>
        <Description>Fontconfig is a library designed to provide system-wide font configuration, customization and application access.</Description>
        <Archive sha1sum="b7bcc5d47211b7bbac35bb221860407db3601f5b" type="tarbz2">https://www.freedesktop.org/software/fontconfig/release/fontconfig-2.13.0.tar.bz2</Archive>
        <BuildDependencies>
            <Dependency>freetype-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">0001-fix-test-with-freetype2-2.7.1.patch</Patch>
            <Patch level="1">prefer_dejavu.patch</Patch>
            <Patch level="1">use_legacy_lcdfilter_on_small_monospace.patch</Patch>
            <Patch level="1">fontconfig-2.8.0-sleep-less.patch</Patch>
            <Patch level="0">deprecated-user-conf.patch</Patch>
        </Patches>
    </Source>
    <Package>
        <Name>fontconfig</Name>
        <RuntimeDependencies>
            <Dependency>freetype</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/fonts</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/var/cache/fontconfig</Path>
            <Path fileType="data">/usr/share</Path>
        </Files>
        <Provides>
            <SCOM script="package.py">System.Package</SCOM>
            <SCOM script="pakhandler.py">System.PackageHandler</SCOM>
        </Provides>
    </Package>
    <Package>
        <Name>fontconfig-devel</Name>
        <Summary>Development files for fontconfig</Summary>
        <RuntimeDependencies>
            <Dependency release="current">fontconfig</Dependency>
            <Dependency>freetype-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/lib32/pkgconfig</Path>
            <Path fileType="doc">/usr/share/doc/fontconfig/fontconfig-devel.txt</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>
    <Package>
        <Name>fontconfig-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for fontconfig</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>expat-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
            <Dependency>libutil-linux-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency release="current">fontconfig</Dependency>
            <Dependency>expat-32bit</Dependency>
            <Dependency>libutil-linux-32bit</Dependency>
            <Dependency>freetype-32bit</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
        </Files>
    </Package>
    <History>
      <Update release="2">
          <Date>2019-09-16</Date>
          <Version>2.13.0</Version>
          <Comment>Added libutil-linux-32bit dependency to fontconfig-32bit package.</Comment>
          <Name>Suleyman Poyraz</Name>
          <Email>zaryob.dev@gmail.com</Email>
      </Update>
        <Update release="1">
            <Date>2019-04-12</Date>
            <Version>2.13.0</Version>
            <Comment>First release</Comment>
            <Name>Suleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Update>
    </History>
</INARY>
