New package: qca-qt5-2.1.0

This commit is contained in:
Duncaen 2015-02-06 18:15:44 +01:00 committed by Duncaen
parent f8bb78990a
commit 34f6ecb941
5 changed files with 54 additions and 0 deletions

View File

@ -2006,3 +2006,4 @@ libsfml-graphics.so.2.2.0 SFML-2.2_1
libclamav.so.6 clamav-0.98.6_1 libclamav.so.6 clamav-0.98.6_1
libclamunrar.so.6 clamav-0.98.6_1 libclamunrar.so.6 clamav-0.98.6_1
libclamunrar_iface.so.6 clamav-0.98.6_1 libclamunrar_iface.so.6 clamav-0.98.6_1
libqca.so.2 qca-qt5-2.1.0_1

1
srcpkgs/qca-qt5-devel Symbolic link
View File

@ -0,0 +1 @@
qca-qt5

1
srcpkgs/qca-qt5-ossl Symbolic link
View File

@ -0,0 +1 @@
qca-qt5

View File

@ -0,0 +1,14 @@
# upstream
# http://quickgit.kde.org/?p=qca.git&a=commit&h=593de6855a4f4dc26cface3e96de8889f90cb4bb
--- plugins/qca-ossl/qca-ossl.cpp 2015-01-24 00:38:42.000000000 +0100
+++ plugins/qca-ossl/qca-ossl.cpp 2015-01-24 00:38:27.000000000 +0100
@@ -5801,7 +5801,7 @@
{
SessionInfo sessInfo;
- sessInfo.isCompressed = (0 != ssl->session->compress_meth);
+ sessInfo.isCompressed = (0 != SSL_SESSION_get_compress_id(ssl->session));
if (ssl->version == TLS1_VERSION)
sessInfo.version = TLS::TLS_v1;

37
srcpkgs/qca-qt5/template Normal file
View File

@ -0,0 +1,37 @@
# Template file for 'qca'
pkgname=qca-qt5
version=2.1.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DBUILD_TESTS=0 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qca/mkspecs -DWITH_ossl_PLUGIN=yes"
hostmakedepends="cmake pkg-config"
makedepends="nss-devel libgcrypt-devel qt5-devel ca-certificates libressl-devel"
depends="ca-certificates"
short_desc="Qt Cryptographic Architecture"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://delta.affinix.com/qca/"
distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname%-*}-${version}.tar.gz"
checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
provides="qca-${version}_${revision}"
replaces="qca>=0"
qca-qt5-ossl_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - QCA OSSL plugin"
pkg_install() {
vmove usr/lib/qca/crypto/libqca-ossl.so
}
}
qca-qt5-devel_package() {
depends="qt5-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove usr/share/qca/mkspecs
}
}