<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>appstream</Name>
        <Homepage>https://www.freedesktop.org/wiki/Distributions/AppStream/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Icon>appstream-logo </Icon>
        <Summary>Provides a standard for creating app stores across distributions</Summary>
        <Description>Provides a standard for creating app stores across distributions</Description>
        <Archive sha1sum="5626d2b8d570fd7742fadb82460dfef9b25080be" type="tarxz">https://www.freedesktop.org/software/appstream/releases/AppStream-1.0.2.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>meson</Dependency>
            <Dependency>xmlto</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>vala-devel</Dependency>
            <Dependency>zstd-devel</Dependency>
            <Dependency>itstool</Dependency>
            <Dependency>docbook-xsl</Dependency>
            <Dependency>docbook-xml</Dependency>
            <Dependency>lmdb-devel</Dependency>
            <Dependency versionFrom="0.3.9">libxmlb-devel</Dependency>
            <Dependency versionFrom="2.62.4">glib2-devel</Dependency>
            <Dependency>python-six</Dependency>
            <Dependency>elogind-devel</Dependency>
            <Dependency>python3-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libyaml-devel</Dependency>
            <Dependency>libxml2-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-linguist</Dependency>
            <Dependency>gperf</Dependency>
            <Dependency>curl-devel</Dependency>
            <Dependency versionFrom="1.54.1">gobject-introspection-devel</Dependency>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency>qt6-linguist</Dependency>
        </BuildDependencies>
        <Patches>
<!--             <Patch level="1">fix-qt5-link-target.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>appstream</Name>
        <RuntimeDependencies>
            <Dependency>curl</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>libyaml</Dependency>
            <Dependency>glib2</Dependency>
             <Dependency>zstd</Dependency>
            <Dependency>lmdb</Dependency>
            <Dependency>libxmlb</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="config">/etc</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="info">/usr/share/metainfo</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/gettext</Path>
            <Path fileType="data">/usr/share/vala</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
            <Path fileType="data">/usr/share/libalpm</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/appstream/appstream.conf</Path>
            <Path fileType="data">/usr/share/installed-tests/appstream/metainfo-validate.test</Path>
        </Files>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>
    
    <Package>
        <Name>appstream-qt5</Name>
        <RuntimeDependencies>
            <Dependency>qt5-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>appstream</Dependency>
            <Dependency>glib2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libAppStreamQt5.*</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>appstream-qt5-devel</Name>
        <Summary>Development files for appstream</Summary>
        <RuntimeDependencies>
            <Dependency release="current">appstream-qt5</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/AppStreamQt5</Path>
            <Path fileType="data">/usr/lib/cmake/AppStreamQt5</Path>
        </Files>
    </Package>

    <Package>
        <Name>appstream-qt6</Name>
        <RuntimeDependencies>
            <Dependency>qt6-base</Dependency>
            <Dependency>libgcc</Dependency>
            <Dependency>appstream</Dependency>
            <Dependency>glib2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libAppStreamQt.*</Path>
        </Files>
    </Package>

    <Package>
        <Name>appstream-qt6-devel</Name>
        <Summary>Development files for appstream</Summary>
        <RuntimeDependencies>
            <Dependency release="current">appstream-qt6</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/AppStreamQt6</Path>
            <Path fileType="data">/usr/lib/cmake/AppStreamQt</Path>
        </Files>
    </Package>
    
    <Package>
        <Name>appstream-devel</Name>
        <Summary>Development files for appstream</Summary>
        <RuntimeDependencies>
            <Dependency release="current">appstream</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>
    
    <History>
        <Update release="18">
            <Date>2024-12-26</Date>
            <Version>1.0.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2024-03-02</Date>
            <Version>1.0.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2023-11-18</Date>
            <Version>1.0.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2023-11-14</Date>
            <Version>1.0.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2023-11-04</Date>
            <Version>0.16.3</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2023-08-23</Date>
            <Version>0.16.3</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2023-03-06</Date>
            <Version>0.16.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2022-08-10</Date>
            <Version>0.15.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2021-12-01</Date>
            <Version>0.14.6</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2021-10-11</Date>
            <Version>0.14.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2021-08-31</Date>
            <Version>0.14.5</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2021-06-26</Date>
            <Version>0.14.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-09-11</Date>
            <Version>0.12.11</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2020-02-02</Date>
            <Version>0.12.10</Version>
            <Comment>Version bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="4">
            <Date>2019-04-14</Date>
            <Version>0.12.5</Version>
            <Comment>Rebuild qt5.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2019-02-13</Date>
            <Version>0.12.5</Version>
            <Comment>Version bump.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2018-11-09</Date>
            <Version>0.12.3</Version>
            <Comment>Version bump.</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2018-10-20</Date>
            <Version>0.12.0</Version>
            <Comment>First release</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
