diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-03 17:26:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-03 17:26:08 +0100 |
commit | 3cf27339901a7ca15df33f6ea134daa93888d5d0 (patch) | |
tree | d0f451df94a8ce90e3e81be8816e5f3ed8e62138 /app-crypt/qca | |
parent | f6a034d922bf54efeaa781fcb5388b325b90d945 (diff) |
gentoo auto-resync : 03:05:2023 - 17:26:08
Diffstat (limited to 'app-crypt/qca')
-rw-r--r-- | app-crypt/qca/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/qca/qca-2.3.6.ebuild | 87 |
2 files changed, 89 insertions, 0 deletions
diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest index 477c67e80c1d..c84f8eb7ad47 100644 --- a/app-crypt/qca/Manifest +++ b/app-crypt/qca/Manifest @@ -1,5 +1,7 @@ AUX qca-2.3.5-openssl3-tests.patch 1876 BLAKE2B 45e8bf99ffefc6576f042a2466d2fa8e554377e53633bbb569b4d4ec3d1d3a461f2b75f9710617dfde0ebf819ddfe881b67821938378aeab4097608917a28100 SHA512 03210d76366ccc658d44a95b8f91709dbf7a8e77e13d5bcc09867f21bdeeef212cbb3235a74c6bc6b84e7788484a0e5accd8d49cd9693e0a3b13bfeae509354f AUX qca-disable-pgp-test.patch 446 BLAKE2B a98d5951d7b89c65787d7d586a5504949c51271ebe09c5e19b90a2e24f24fb6d03d6c1f76d7ad4234354bc2507cf7031c716b3b2bf8243b8c1d85065079dded4 SHA512 30bb6d31b9392166d6bbae39da2eeb1788ac9cccffb801b074468a3606a6e1a56d6a41ee276d3b8b8d39112bf6aea7025f07f4810bb835102bd00521ee9eb104 DIST qca-2.3.5.tar.xz 741036 BLAKE2B 3948dc9b58a8ef03eec246cc14c7582d30e2513ea4b8f457a44d4a0c8f91fdb10af041f7cc342a0c8d9540a43cb47b4ca5b35641dfc3716c065fc3a1d6ff227a SHA512 656e44d4f30c3c0e1a8c04f2703484e3cff2d962b12c6ff9891b9f28127cd61ed30dcd248c059bf9066ac645bf53a9b7c14bdb413a7766c8b3f3d37426478d96 +DIST qca-2.3.6.tar.xz 745864 BLAKE2B a3a5955215504b5703db304f241ae9c0c9b243c280cacb6180f631b3259b5f9a8af1c08b233f70e8e4130ac2e957dc3d8a99817b4dec2df0fab41b39bc54f8c8 SHA512 018bde919df28cfc9e5d6c5ad30724199a1a17437022751fb92bfc1ce691d8a56c62b661526e346f5a0c5ff7ffd556499f2ee25efe9f8b1698b3f8eee480811c EBUILD qca-2.3.5-r1.ebuild 1942 BLAKE2B 4c9fef3d9db33f26911d742dc6808f280892330674b124ed73cdef791428d9594203d4bf8c9119dc86a4c021bbf0d170b4c476e40ac06d2b5b488de598321367 SHA512 e4dee1c08c28a926707544bd8781e3fa8e86142a014ccd09e4389924bdff8ba759ba5ac798dac7d9bce6474dd113b71e0879fcf735d93c88c5db5f666832cbdd +EBUILD qca-2.3.6.ebuild 1896 BLAKE2B ea56c4a3e88596d1b5bb2afa929a46a258ef6bf12763dc17bd9390701a68bebe8e593efb86705cdda1aab8052fe97814c19305de3e656e7eb13588dcc74f144d SHA512 be28039b300e0bd27c1a11ba65c4aa792731e213c13a032ef91772ec48a076d43d1f80dfa5a3b8d0636b136e708d08d71895881e24351362ab8eecf363f1cc82 MISC metadata.xml 832 BLAKE2B 9044b545fa732c5f86c7dbb026630b4946a538ba77369eae28e894bf636ca60f6a31d7aad258fa19aee4c433d6d5a8e2a34a7c2850eef3a40d44261e592032b0 SHA512 b01bfe83343fdc265abc25922300cdc67f556a9a6f6db16918b0b3ee44c4e83db524695c5cb8952278f3e1f2e5d60a49bcc9312b35ab95f0ecc42e03764fb6bd diff --git a/app-crypt/qca/qca-2.3.6.ebuild b/app-crypt/qca/qca-2.3.6.ebuild new file mode 100644 index 000000000000..9eefd23b8a74 --- /dev/null +++ b/app-crypt/qca/qca-2.3.6.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake kde.org qmake-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 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" +IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test" + +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-qt/qtcore-5.14:5 + botan? ( dev-libs/botan:2= ) + 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/qtnetwork:5 + dev-qt/qttest:5 + ) +" +BDEPEND=" + doc? ( + app-doc/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=( + -DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt5_get_mkspecsdir)/features" + -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt5_get_plugindir)" + $(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_test() { + local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca" + cmake_src_test +} + +src_install() { + cmake_src_install + + if use doc; then + pushd "${BUILD_DIR}" >/dev/null || die + doxygen Doxyfile || die + dodoc -r apidocs/html + popd >/dev/null || die + fi + + if use examples; then + dodoc -r "${S}"/examples + fi +} |