1 |
commit: ddc7ec2d77a18ab61fb0dc6acc77647250563f6c |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 25 14:10:20 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 25 17:23:45 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddc7ec2d |
7 |
|
8 |
app-crypt/qca: 2.3.0 version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-crypt/qca/Manifest | 1 + |
14 |
app-crypt/qca/qca-2.3.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 85 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/qca/Manifest b/app-crypt/qca/Manifest |
18 |
index 8961cd119d1..d518207a54d 100644 |
19 |
--- a/app-crypt/qca/Manifest |
20 |
+++ b/app-crypt/qca/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST qca-2.2.1.tar.xz 691676 BLAKE2B d5bcc0d6e791811e1efcdbf2e09916fe40ad682b0e59b2993c73a5bd79e09fc28facdec81259a982bee05223c8dfce78b9a6b729ca4e566c0901a13b91575379 SHA512 3a0e8aa7cf3ea9a7244facaf1d521ebca2753af37636e7bf5f21c57ae880ac9682ae7d6d9fa5ce41b73568ff9538214956b89cd41228c2cb828d9068c2031a9c |
23 |
DIST qca-2.2.90.tar.xz 729488 BLAKE2B bc061118afa7912d249317dd4af9d2f4619b339ec892e33d1c757dc11a4a8b06db96d2437f08abeb48e4a1277cb399d8b3d60d8e2645b2d81cf9d20735ac3cb4 SHA512 5c431b66f898786271881c1275883e332fbfecd62ee265cae2ad345a13ff74ca36fc9b3e93972dcf29c4333f1c8049488ca52ca809c977553b422b9a27b45b7c |
24 |
+DIST qca-2.3.0.tar.xz 729504 BLAKE2B 71cf9dfae00066c14e1055da1fa1a8e1210f538b1addfde1b99a9b26b1e8f7dd61e289d0f505b5ec04d5f4745216d4fd0f8be8f8de9e9cbf74123907ba703d0e SHA512 ca9251868e073834562fa62ffc64b3e7817c9ddadc6bc3fb99cf8b5c8d859969562170a98874be9590c617b2dd8e5590d2c83792554f54bb880c677902db22fe |
25 |
|
26 |
diff --git a/app-crypt/qca/qca-2.3.0.ebuild b/app-crypt/qca/qca-2.3.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..adf2da003f3 |
29 |
--- /dev/null |
30 |
+++ b/app-crypt/qca/qca-2.3.0.ebuild |
31 |
@@ -0,0 +1,84 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit kde.org cmake qmake-utils |
38 |
+ |
39 |
+DESCRIPTION="Qt Cryptographic Architecture (QCA)" |
40 |
+HOMEPAGE="https://userbase.kde.org/QCA" |
41 |
+SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="LGPL-2.1" |
44 |
+SLOT="2" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" |
46 |
+IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test" |
47 |
+ |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+BDEPEND=" |
51 |
+ doc? ( app-doc/doxygen ) |
52 |
+" |
53 |
+RDEPEND=" |
54 |
+ dev-qt/qtcore:5 |
55 |
+ botan? ( dev-libs/botan:= ) |
56 |
+ gcrypt? ( dev-libs/libgcrypt:= ) |
57 |
+ gpg? ( app-crypt/gnupg ) |
58 |
+ nss? ( dev-libs/nss ) |
59 |
+ pkcs11? ( |
60 |
+ >=dev-libs/openssl-1.1 |
61 |
+ dev-libs/pkcs11-helper |
62 |
+ ) |
63 |
+ sasl? ( dev-libs/cyrus-sasl:2 ) |
64 |
+ ssl? ( >=dev-libs/openssl-1.1:0= ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ test? ( |
68 |
+ dev-qt/qtnetwork:5 |
69 |
+ dev-qt/qttest:5 |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+PATCHES=( "${FILESDIR}/${PN}-disable-pgp-test.patch" ) |
74 |
+ |
75 |
+qca_plugin_use() { |
76 |
+ echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1") |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ local mycmakeargs=( |
81 |
+ -DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(qt5_get_mkspecsdir)/features" |
82 |
+ -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(qt5_get_plugindir)" |
83 |
+ $(qca_plugin_use botan) |
84 |
+ $(qca_plugin_use gcrypt) |
85 |
+ $(qca_plugin_use gpg gnupg) |
86 |
+ $(qca_plugin_use logger) |
87 |
+ $(qca_plugin_use nss) |
88 |
+ $(qca_plugin_use pkcs11) |
89 |
+ $(qca_plugin_use sasl cyrus-sasl) |
90 |
+ $(qca_plugin_use softstore) |
91 |
+ $(qca_plugin_use ssl ossl) |
92 |
+ -DBUILD_TESTS=$(usex test) |
93 |
+ ) |
94 |
+ cmake_src_configure |
95 |
+} |
96 |
+ |
97 |
+src_test() { |
98 |
+ local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca" |
99 |
+ cmake_src_test |
100 |
+} |
101 |
+ |
102 |
+src_install() { |
103 |
+ cmake_src_install |
104 |
+ |
105 |
+ if use doc; then |
106 |
+ pushd "${BUILD_DIR}" >/dev/null || die |
107 |
+ doxygen Doxyfile || die |
108 |
+ dodoc -r apidocs/html |
109 |
+ popd >/dev/null || die |
110 |
+ fi |
111 |
+ |
112 |
+ if use examples; then |
113 |
+ dodoc -r "${S}"/examples |
114 |
+ fi |
115 |
+} |