<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>qcoro-qt6</Name>
        <Homepage>https://github.com/danvratil/qcoro</Homepage>
        <Packager>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Packager>
        <License>MIT</License>
        <IsA>library</IsA>
        <Summary>C++ Coroutines for Qt</Summary>
        <Description>C++ Coroutines for Qt</Description>
        <Archive sha1sum="25b8a74ae62ec12c907dae50c8dc0569bd981903" type="targz">https://github.com/danvratil/qcoro/archive/refs/tags/v0.11.0.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>cmake</Dependency>
            <Dependency>ninja</Dependency>
            <Dependency versionFrom="6.8.1">qt6-base-devel</Dependency>
            <Dependency versionFrom="6.8.1">qt6-websockets-devel</Dependency>
            <Dependency versionFrom="6.8.1">qt6-declarative-devel</Dependency>
        </BuildDependencies>
        <!--
        <Patches>
            <Patch>qcoro-qt6.patch</Patch>
            <Patch level="1">qcoro-qt6.patch</Patch>
        </Patches>
        -->
    </Source>

    <Package>
        <Name>qcoro-qt6</Name>
        <RuntimeDependencies>
            <Dependency>qt6-base</Dependency>
            <Dependency>qt6-websockets</Dependency>
            <Dependency>qt6-declarative</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
    </Package>

    <Package>
        <Name>qcoro-qt6-devel</Name>
        <Summary>Development files for qcoro-qt6</Summary>
        <RuntimeDependencies>
            <Dependency release="current">qcoro-qt6</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="3">
            <Date>2024-12-14</Date>
            <Version>0.11.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2023-12-06</Date>
            <Version>0.10.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="1">
            <Date>2023-11-10</Date>
            <Version>0.9.0</Version>
            <Comment>First release</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
    </History>
</PISI>
