<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libportal</Name>
        <Homepage>https://github.com/flatpak/libportal</Homepage>
        <Packager>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Packager>
        <License>GPLv3</License>
        <IsA>library</IsA>
        <Summary>GIO-style async APIs for most Flatpak portals.</Summary>
        <Description>GIO-style async APIs for most Flatpak portals.</Description>
        <Archive sha1sum="3ecf21ee87d980d36bcb6df1893caf864571b8e3" >https://github.com/flatpak/libportal/releases/download/0.8.1/libportal-0.8.1.tar.xz</Archive>
        <BuildDependencies>
            <Dependency>glib2-devel</Dependency>
            <Dependency>git</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>meson</Dependency>
            <Dependency>vala</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>gtk4-devel</Dependency>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
            <Dependency>gi-docgen</Dependency>
            <Dependency>gobject-introspection-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>libportal</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>git</Dependency>
            <Dependency>gtk-doc</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>gtk4</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>qt6-base</Dependency>
            <Dependency>qt5-x11extras</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/gconf</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="data">/usr/share/libportal</Path>
            <Path fileType="data">/usr/share/glib-2.0</Path>
            <Path fileType="data">/usr/share/vala</Path>
            <Path fileType="data">/usr/share/icons</Path>
        </Files>
    </Package>

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

    <Package>
        <Name>libportal-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>libportal reference documents</Summary>
        <Files>
            <Path fileType="doc">/usr/share/doc/libportal-1</Path>
        </Files>
    </Package>

    <Package>
        <Name>libportal-qt5</Name>
        <RuntimeDependencies>
            <Dependency>glib2</Dependency>
            <Dependency>qt5-base</Dependency>
            <Dependency>libportal</Dependency>
            <Dependency>qt5-x11extras</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib/libportal-qt5.so*</Path>
        </Files>
    </Package>

    <Package>
        <Name>libportal-devel</Name>
        <Summary>Development files for libportal</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libportal</Dependency>
            <Dependency>gtk3-devel</Dependency>
            <Dependency>gtk4-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="data">/usr/share/gir-1.0</Path>
        </Files>
    </Package>

    <Package>
        <Name>libportal-qt6-devel</Name>
        <Summary>Development files for libportal</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libportal-qt6</Dependency>
            <Dependency>libportal-devel</Dependency>
            <Dependency>qt6-base-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libportal-qt6</Path>
            <Path fileType="data">/usr/lib/pkgconfig/libportal-qt6.pc</Path>
        </Files>
    </Package>

    <Package>
        <Name>libportal-qt5-devel</Name>
        <Summary>Development files for libportal</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libportal-qt5</Dependency>
            <Dependency>libportal-devel</Dependency>
            <Dependency>qt5-base-devel</Dependency>
            <Dependency>qt5-x11extras-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/libportal-qt5</Path>
            <Path fileType="data">/usr/lib/pkgconfig/libportal-qt5.pc</Path>
        </Files>
    </Package>

    <History>
        <Update release="4">
            <Date>2024-09-05</Date>
            <Version>0.8.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="3">
            <Date>2024-05-06</Date>
            <Version>0.7.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2022-03-22</Date>
            <Version>0.6</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2021-04-18</Date>
            <Version>0.4</Version>
            <Comment>First release for Pisi Linux</Comment>
            <Name>Berk Çakar</Name>
            <Email>berk2238@hotmail.com</Email>
        </Update>
    </History>
</PISI>
