<?xml version="1.0" ?>
<!DOCTYPE INARY SYSTEM "https://raw.githubusercontent.com/Zaryob/inary/master/inary-spec.dtd">
<INARY>
    <Source>
        <Name>libwmf</Name>
        <Homepage>http://wvware.sourceforge.net/libwmf.html</Homepage>
        <Packager>
            <Name>Süleyman Poyraz</Name>
            <Email>zaryob.dev@gmail.com</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Library for reading and converting WMF files</Summary>
        <Description>A library for reading and converting Windows MetaFile vector graphics (WMF).</Description>
        <Archive sha1sum="822ab3bd0f5e8f39ad732f2774a8e9f18fc91e89" type="targz">mirrors://sourceforge/wvware/libwmf-0.2.8.4.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libwmf-0.2.8.4-CVE-2015-0848+CVE-2015-4588.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-CVE-2015-4695.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-build.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-gdk-pixbuf.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-intoverflow.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-libpng-1.5.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-pngfix.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-use-freetype2-pkg-config.patch</Patch>
            <Patch level="1">libwmf-0.2.8.4-use-system-fonts.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libwmf</Name>
        <RuntimeDependencies>
            <Dependency>libX11</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/libwmf</Path>
            <Path fileType="executable">/usr/bin/libwmf-config</Path>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

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