qcoro-qt5 new package

This commit is contained in:
Rmys
2023-04-20 15:29:18 +03:00
parent fefbec5d15
commit 3e1eb35e61
7 changed files with 4312 additions and 1698 deletions
+26
View File
@@ -0,0 +1,26 @@
#!/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 cmaketools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
cmaketools.configure("-B build -DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_QT_VERSION=5 \
-DBUILD_SHARED_LIBS=ON")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("..")
pisitools.dodoc("LICENSE", "README*")
+68
View File
@@ -0,0 +1,68 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qcoro-qt5</Name>
<Homepage>https://github.com/danvratil/qcoro</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MIT</License>
<IsA>library</IsA>
<Summary>C++ Coroutines for Qt</Summary>
<Icon>qcoro-qt5</Icon>
<Description>C++ Coroutines for Qt</Description>
<Archive sha1sum="6dd2b33e291ce321da075ec5c854c679477b6c1b" type="targz">https://github.com/danvratil/qcoro/archive/refs/tags/v0.8.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>qt5-base-devel</Dependency>
<Dependency>qt5-websockets-devel</Dependency>
<Dependency>qt5-declarative-devel</Dependency>
</BuildDependencies>
<!--
<Patches>
<Patch>qcoro-qt5.patch</Patch>
<Patch level="1">qcoro-qt5.patch</Patch>
</Patches>
-->
</Source>
<Package>
<Name>qcoro-qt5</Name>
<RuntimeDependencies>
<Dependency>libgcc</Dependency>
<Dependency>qt5-base</Dependency>
<Dependency>qt5-websockets</Dependency>
<Dependency>qt5-declarative</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>qcoro-qt5-devel</Name>
<Summary>Development files for qcoro-qt5</Summary>
<RuntimeDependencies>
<Dependency release="current">qcoro-qt5</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-04-20</Date>
<Version>0.8.0</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qcoro-qt5</Name>
<Summary xml:lang="tr">C++ Coroutines for Qt</Summary>
<Description xml:lang="tr">C++ Coroutines for Qt</Description>
</Source>
</PISI>