<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libavif</Name>
        <Homepage>https://github.com/AOMediaCodec/libavif</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <IsA>library</IsA>
        <Summary>Library for encoding and decoding avif files</Summary>
        <Description>Library for encoding and decoding avif files</Description>
        <Archive sha1sum="9aba0344b95d950ec58e5dc243f587527d4a3799" type="targz">https://github.com/AOMediaCodec/libavif/archive/v1.0.2/libavif-1.0.2.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>nasm</Dependency>
            <Dependency>aom-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
            <Dependency>rav1e-devel</Dependency>
            <Dependency>dav1d-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>libpng-devel</Dependency>
            <Dependency>svt-av1-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>libjpeg-turbo-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>libavif.patch</Patch>
            <Patch level="1">libavif.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>libavif</Name>
        <RuntimeDependencies>
            <Dependency>aom</Dependency>
            <Dependency>rav1e</Dependency>
            <Dependency>dav1d</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>libpng</Dependency>
            <Dependency>svt-av1</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/thumbnailers/avif.thumbnailer</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libavif-devel</Name>
        <Summary>Development files for libavif</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libavif</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/cmake</Path>
            <Path fileType="library">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="2">
            <Date>2023-11-19</Date>
            <Version>1.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-11-01</Date>
            <Version>0.9.3</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
