qca2-qt6 new package kf6

This commit is contained in:
Rmys
2023-11-06 11:58:01 +03:00
parent 2d4bc84329
commit 9a25f7c3ee
8 changed files with 1058 additions and 220 deletions
+897 -218
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
2a903e5086eb90ae7431aa9107eab4d5b60f9395
3eea95d32a001cea3b70163329030c36eaaeb31b
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
0d8249dc855dad55619094722a8e1d4a112e7f27
0ec4e86c16687d3e04aa0dcb0ff31cfd7a38de06
+45
View File
@@ -0,0 +1,45 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
from pisi.actionsapi import cmaketools
from pisi.actionsapi import shelltools
def setup():
shelltools.system("sed -i 's@ca-bundle.pem@ca-bundle.crt@' CMakeLists.txt")
shelltools.makedirs("build")
shelltools.cd("build")
cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
-DQCA_INSTALL_IN_QT_PREFIX=ON \
-DQCA_MAN_INSTALL_DIR=/usr/share/man \
-DOPENSSL_INCLUDE_DIR=/usr/include/openssl \
-DOPENSSL_SSL_LIBRARY=/usr/lib/libssl.so \
-DQT6=ON \
-DQCA_SUFFIX=qt6 \
-DOPENSSL_CRYPTO_LIBRARY=/usr/lib/libcrypto.so", sourceDir="..")
def build():
shelltools.cd("build")
cmaketools.make()
def install():
shelltools.cd("build")
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
for bin in shelltools.ls("%s/usr/lib/qt6/bin" % get.installDIR()):
pisitools.dosym("/usr/lib/qt6/bin/%s" % bin, "/usr/bin/%s" % bin)
shelltools.cd("..")
pisitools.dodoc("README", "TODO", "COPYING")
#pisitools.domove("/usr/share/qt5/man/man1/qcatool-qt5.1", "/usr/share/man/man1/qcatool-qt5.1")
#pisitools.removeDir("/usr/share/qt5")
+23
View File
@@ -0,0 +1,23 @@
From: Hrvoje Senjan <hrvoje.senjan@gmail.com>
Date: Sat, 17 Jan 2015 19:12:18 +0000
Subject: Add missing QIODevice include
X-Git-Url: http://quickgit.kde.org/?p=qca.git&a=commitdiff&h=7207e6285e932044cd66d49d0dc484666cfb0092
---
Add missing QIODevice include
Fixes build with Qt 5.5
---
--- a/include/QtCrypto/qca_basic.h
+++ b/include/QtCrypto/qca_basic.h
@@ -35,6 +35,8 @@
#include "qca_core.h"
+#include <QIODevice>
+
// Qt5 comes with QStringLiteral for wrapping string literals, which Qt4 does
// not have. It is needed if the headers are built with QT_NO_CAST_FROM_ASCII.
// Defining it here as QString::fromUtf8 for convenience.
+78
View File
@@ -0,0 +1,78 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qca2-qt6</Name>
<Homepage>http://download.kde.org/stable/qca-qt6</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>Cryptographic Architecture for QT4</Summary>
<Description>QCA aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. QCA separates the API from the implementation, using plugins known as Providers. QCA2 has been re-written for QT4.</Description>
<Archive sha1sum="c4550dc7e0844954ce7dd85fcfced736d4a11a22" type="tarxz">https://download.kde.org/stable/qca/2.3.7/qca-2.3.7.tar.xz</Archive>
<BuildDependencies>
<Dependency>cmake</Dependency>
<Dependency>gnupg</Dependency>
<Dependency>doxygen</Dependency>
<Dependency>nss-devel</Dependency>
<Dependency>openssl-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>cyrus-sasl-devel</Dependency>
<Dependency versionFrom="6.5.3">qt6-base-devel</Dependency>
<Dependency versionFrom="6.5.3">qt6-5compat-devel</Dependency>
</BuildDependencies>
<Patches>
<!--Patch level="3">qca2-sha2-digest-support-kde-svn-992617.diff</Patch>
<Patch level="0">qca-2.0.3+gcc-4.7.patch</Patch-->
</Patches>
</Source>
<Package>
<Name>qca2-qt6</Name>
<RuntimeDependencies>
<Dependency>nss</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>openssl</Dependency>
<Dependency>libgcrypt</Dependency>
<Dependency>cyrus-sasl</Dependency>
<Dependency>qt6-5compat</Dependency>
<Dependency versionFrom="5.14.2">qt6-base</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/*-qt6</Path>
<Path fileType="executable">/usr/lib/qt6/bin</Path>
<Path fileType="library">/usr/lib/libqca-qt6.so*</Path>
<Path fileType="library">/usr/lib/qt6/plugins</Path>
<Path fileType="man">/usr/share/man/man1/qcatool-qt6.1</Path>
<Path fileType="doc">/usr/share/doc/qca2-qt6</Path>
</Files>
</Package>
<Package>
<Name>qca2-qt6-devel</Name>
<Summary>Development files for qca2</Summary>
<RuntimeDependencies>
<Dependency release="current">qca2-qt6</Dependency>
<Dependency versionFrom="5.14.2">qt6-base-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include/qt6/Qca-qt6/QtCrypto</Path>
<Path fileType="data">/usr/lib/cmake/Qca-qt6</Path>
<Path fileType="data">/usr/lib/pkgconfig/qca2-qt6.pc</Path>
<Path fileType="data">/usr/lib/qt6/mkspecs/features</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2023-09-18</Date>
<Version>2.3.7</Version>
<Comment>First release</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
</History>
</PISI>
+13
View File
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qca2-qt6</Name>
<Summary xml:lang="tr">QT6 için Kriptografik Mimari</Summary>
<Description xml:lang="tr">QCA Qt veri tiplerini kullanarak platform bağımsız bir kripto uygulama programlama arayüzü oluşturmayı amaçlar.</Description>
</Source>
<Package>
<Name>qca2-qt6-devel</Name>
<Summary xml:lang="tr">qca2-qt6 için geliştirme dosyaları</Summary>
</Package>
</PISI>