# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# Qt version handling logic
if {[string match "${name}-qt5*" ${subport}]} {
# best included after the required Qt PG
categories devel crypto security
maintainers {gmail.com:rjvbertin @RJVB} openmaintainer
description Qt Cryptographic Architecture
long_description Qt Cryptographic Architecture provides an easy API for the following \
features: SSL/TLS, X509, SASL, RSA, Hashing (SHA1, MD5), Ciphers \
(BlowFish, 3DES, AES). Functionality is supplied via plugins.
homepage https://userbase.kde.org/QCA
master_sites https://download.kde.org/stable/qca/${version}
checksums rmd160 dddc3cf240dc5424b9df13fc1bf41c8e04f3b814 \
sha256 d716d2d8e3ed8d95bbdb061f03081d7d032206f746a30a4d29d72196f50e7b02 \
patchfiles-append patch-qca-ossl.diff \
# the QCA plugins have been rolled into the main source tarball and are built by default
# when their dependencies are available. Allow this for all plugins that were not already
# available through an individual port; no reason to impose new dependencies on our dependents.
# This is mostly of interest for Qt5-based dependents, evidently.
configure.args -DCMAKE_INSTALL_PREFIX:PATH=${qt_dir} \
-DQCA_PLUGINS_INSTALL_DIR:PATH=${qt_plugins_dir} \
-DQCA_LIBRARY_INSTALL_DIR:PATH=${qt_libs_dir} \
-DQCA_BINARY_INSTALL_DIR:PATH=${qt_bins_dir} \
-DQCA_FEATURE_INSTALL_DIR:PATH=${qt_mkspecs_dir}/features \
-DQCA_INCLUDE_INSTALL_DIR:PATH=${qt_includes_dir} \
-DQCA_PRIVATE_INCLUDE_INSTALL_DIR:PATH=${qt_includes_dir} \
-DQCA_DOC_INSTALL_DIR:PATH=${qt_docs_dir} \
-DQCA_MAN_INSTALL_DIR:PATH=${prefix}/share/man \
-DPKGCONFIG_INSTALL_PREFIX:PATH=${qt_pkg_config_dir} \
configure.cxxflags-append \