Build mingw-w64-qca against OpenSSL 1.1

This commit is contained in:
Martchus 2018-01-12 18:27:26 +01:00
parent 96053307f7
commit 80f9f10af0
2 changed files with 2045 additions and 9 deletions

View File

@ -6,21 +6,24 @@
pkgname='mingw-w64-qca-qt5' pkgname='mingw-w64-qca-qt5'
pkgver=2.1.3 pkgver=2.1.3
pkgrel=2 pkgrel=3
pkgdesc='Qt Cryptographic Architecture' pkgdesc='Qt Cryptographic Architecture (mingw-w64)'
arch=('any') arch=('any')
url='https://userbase.kde.org/QCA' url='https://userbase.kde.org/QCA'
license=(LGPL) license=(LGPL)
depends=('mingw-w64-qt5-base') depends=('mingw-w64-qt5-base')
makedepends=('mingw-w64-cmake') makedepends=('mingw-w64-cmake')
options=('!strip' '!buildflags' 'staticlibs') options=('!strip' '!buildflags' 'staticlibs')
source=("http://download.kde.org/stable/qca/$pkgver/src/qca-$pkgver.tar.xz") source=("http://download.kde.org/stable/qca/$pkgver/src/qca-$pkgver.tar.xz"
md5sums=('5019cc29efcf828681cd93164238ce26') qca-openssl-1.1.patch)
sha256sums=('003fd86a32421057a03b18a8168db52e2940978f9db5ebbb6a08882f8ab1e353'
'b1505bc313fd2f4e350cd4c94af69256c901afa419ae6700b208cb6e40e6926d')
_architectures="i686-w64-mingw32 x86_64-w64-mingw32" _architectures='i686-w64-mingw32 x86_64-w64-mingw32'
prepare() { prepare() {
true cd qca-$pkgver
patch -p1 -i ../qca-openssl-1.1.patch # Fix build with OpenSSL 1.1 https://bugs.kde.org/show_bug.cgi?id=379810
} }
build() { build() {
@ -32,9 +35,6 @@ build() {
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \ -DBUILD_TESTS=OFF \
-DQCA_INSTALL_IN_QT_PREFIX=ON \ -DQCA_INSTALL_IN_QT_PREFIX=ON \
-DOPENSSL_INCLUDE_DIR=/usr/${_arch}/include/openssl-1.0 \
-DOPENSSL_SSL_LIBRARY=/usr/${_arch}/lib/openssl-1.0/libssl.dll.a \
-DOPENSSL_CRYPTO_LIBRARY=/usr/${_arch}/lib/openssl-1.0/libcrypto.dll.a \
../qca-$pkgver ../qca-$pkgver
make make
popd popd

File diff suppressed because it is too large Load Diff