summaryrefslogtreecommitdiff
path: root/app-crypt
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-29 03:04:45 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-29 03:04:45 -0500
commit675018c33e0383ac7d40ba2922d90d811382accc (patch)
tree2e0c0d53fe59a7a9294c59d8d4cf081b76e3ca1b /app-crypt
parentc21ba35eb4039c697aed1e9e3dcbc6d62763cf37 (diff)
downloadbaldeagleos-repo-675018c33e0383ac7d40ba2922d90d811382accc.tar.gz
baldeagleos-repo-675018c33e0383ac7d40ba2922d90d811382accc.tar.xz
baldeagleos-repo-675018c33e0383ac7d40ba2922d90d811382accc.zip
Adding metadata
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/qca/Manifest1
-rw-r--r--app-crypt/qca/qca-2.3.12.ebuild89
2 files changed, 90 insertions, 0 deletions
diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest
index 6db75a78a010..ee8223ed3ac2 100644
--- a/app-crypt/qca/Manifest
+++ b/app-crypt/qca/Manifest
@@ -1 +1,2 @@
DIST qca-2.3.10.tar.xz 764844 BLAKE2B aeebf17629aec1aeaefd3a03c228edbac64c3a9289841f5ab0935b791bc8aee1b4f6123c38621e40926e206aa6bd99f75d3c0819c9f5879ea4c720a80b66eb26 SHA512 6b2295ac17de1d86b96ae8f8f11f96b9f9c3f7122ce51879a3268c0df0ad8e7647d193dbd12c1215c1a6467066f4eed18b85d1c09313b5ee06ee5782d0ad7de4
+DIST qca-2.3.12.tar.xz 767372 BLAKE2B b09e25e6f49960f4e6f3414f1d66c77c23221398c4b1300f9746216b8db1f34f258773c39962ac42739eb85b5d20e4e10a1244b645143a6a4f9584fc5924f2be SHA512 75bfc4f20f845e95e353c6c3e9d0c30b8e3e83c32897c649ec9b79607c02778ba990cbb4253461c01aeb54a4277b66f892a138285efff05ab10202e34fc19cc6
diff --git a/app-crypt/qca/qca-2.3.12.ebuild b/app-crypt/qca/qca-2.3.12.ebuild
new file mode 100644
index 000000000000..9d6e3435b52a
--- /dev/null
+++ b/app-crypt/qca/qca-2.3.12.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake kde.org out-of-source-utils qt-utils
+
+DESCRIPTION="Qt Cryptographic Architecture (QCA)"
+HOMEPAGE="https://userbase.kde.org/QCA"
+SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-qt/qt5compat:6
+ dev-qt/qtbase:6
+ botan? ( dev-libs/botan:3= )
+ gcrypt? ( dev-libs/libgcrypt:= )
+ gpg? ( app-crypt/gnupg )
+ nss? ( dev-libs/nss )
+ pkcs11? (
+ >=dev-libs/openssl-1.1
+ dev-libs/pkcs11-helper
+ )
+ sasl? ( dev-libs/cyrus-sasl:2 )
+ ssl? ( >=dev-libs/openssl-1.1:= )
+"
+DEPEND="${RDEPEND}
+ test? ( dev-qt/qtbase:6[network] )
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? (
+ app-text/doxygen[dot]
+ virtual/latex-base
+ )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-disable-pgp-test.patch" )
+
+qca_plugin_use() {
+ echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1")
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_WITH_QT6=ON
+ -DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt_get_mkspecsdir 6)/features"
+ -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt_get_plugindir 6)"
+ $(qca_plugin_use botan)
+ $(qca_plugin_use gcrypt)
+ $(qca_plugin_use gpg gnupg)
+ $(qca_plugin_use logger)
+ $(qca_plugin_use nss)
+ $(qca_plugin_use pkcs11)
+ $(qca_plugin_use sasl cyrus-sasl)
+ $(qca_plugin_use softstore)
+ $(qca_plugin_use ssl ossl)
+ -DBUILD_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use doc && cmake_build doc
+}
+
+src_test() {
+ local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
+ cmake_src_test
+}
+
+src_install() {
+ cmake_src_install
+
+ if use doc; then
+ run_in_build_dir dodoc -r apidocs/html
+ fi
+
+ if use examples; then
+ dodoc -r "${S}"/examples
+ fi
+}