qcoro-qt6 new package

This commit is contained in:
Rmys
2023-11-28 16:24:43 +03:00
parent 74c35b9fc4
commit 05f05832b0
7 changed files with 904 additions and 362 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pisitools
from pisi.actionsapi import qt6
def setup():
qt6.configure("-DBUILD_SHARED_LIBS=ON")
def build():
qt6.make()
def install():
qt6.install()
pisitools.dodoc("LICENSE", "README*")
+65
View File
@@ -0,0 +1,65 @@
<?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="9895503f3349e74b0c5981910bb01c2c5b574930" type="targz">https://github.com/danvratil/qcoro/archive/refs/tags/v0.9.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt6-base-devel</Dependency>
<Dependency>qt6-websockets-devel</Dependency>
<Dependency>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="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>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qcoro-qt6</Name>
<Summary xml:lang="tr">C++ Coroutines for Qt</Summary>
<Description xml:lang="tr">C++ Coroutines for Qt</Description>
</Source>
</PISI>