Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/qca/
Date: Sat, 26 May 2018 21:15:38
Message-Id: 1527369320.c9e35a606a1e8e7514e18f7c478a4e098f8d8b64.asturm@gentoo
1 commit: c9e35a606a1e8e7514e18f7c478a4e098f8d8b64
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 26 21:07:59 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 21:15:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e35a60
7
8 app-crypt/qca: Drop old Qt4-based
9
10 Dropping arches without remaining revdeps.
11
12 Bug: https://bugs.gentoo.org/627178
13 Package-Manager: Portage-2.3.38, Repoman-2.3.9
14
15 app-crypt/qca/qca-2.1.3-r1.ebuild | 122 --------------------------------------
16 1 file changed, 122 deletions(-)
17
18 diff --git a/app-crypt/qca/qca-2.1.3-r1.ebuild b/app-crypt/qca/qca-2.1.3-r1.ebuild
19 deleted file mode 100644
20 index f70ee907f5f..00000000000
21 --- a/app-crypt/qca/qca-2.1.3-r1.ebuild
22 +++ /dev/null
23 @@ -1,122 +0,0 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=6
28 -
29 -inherit cmake-utils multibuild qmake-utils
30 -
31 -DESCRIPTION="Qt Cryptographic Architecture (QCA)"
32 -HOMEPAGE="https://userbase.kde.org/QCA"
33 -SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
34 -
35 -LICENSE="LGPL-2.1"
36 -SLOT="2"
37 -KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
38 -
39 -IUSE="botan debug doc examples gcrypt gpg libressl logger nss pkcs11 qt4 +qt5 sasl softstore +ssl test"
40 -REQUIRED_USE="|| ( qt4 qt5 )"
41 -
42 -RDEPEND="
43 - !app-crypt/qca-cyrus-sasl
44 - !app-crypt/qca-gnupg
45 - !app-crypt/qca-logger
46 - !app-crypt/qca-ossl
47 - !app-crypt/qca-pkcs11
48 - botan? ( dev-libs/botan:0 )
49 - gcrypt? ( dev-libs/libgcrypt:= )
50 - gpg? ( app-crypt/gnupg )
51 - nss? ( dev-libs/nss )
52 - pkcs11? (
53 - !libressl? ( dev-libs/openssl:0 )
54 - libressl? ( dev-libs/libressl )
55 - dev-libs/pkcs11-helper
56 - )
57 - qt4? ( >=dev-qt/qtcore-4.8.7-r2:4 )
58 - qt5? (
59 - dev-qt/qtcore:5
60 - dev-qt/qtconcurrent:5
61 - dev-qt/qtnetwork:5
62 - )
63 - sasl? ( dev-libs/cyrus-sasl:2 )
64 - ssl? (
65 - !libressl? ( >=dev-libs/openssl-1.0.1:0= )
66 - libressl? ( dev-libs/libressl:= )
67 - )
68 -"
69 -DEPEND="${RDEPEND}
70 - doc? ( app-doc/doxygen )
71 - test? (
72 - qt4? ( dev-qt/qttest:4 )
73 - qt5? ( dev-qt/qttest:5 )
74 - )
75 -"
76 -
77 -DOCS=( README TODO )
78 -
79 -PATCHES=(
80 - "${FILESDIR}/${PN}-disable-pgp-test.patch"
81 - "${FILESDIR}/${P}-c++11.patch"
82 -)
83 -
84 -qca_plugin_use() {
85 - echo -DWITH_${2:-$1}_PLUGIN=$(usex "$1")
86 -}
87 -
88 -pkg_setup() {
89 - MULTIBUILD_VARIANTS=( $(usev qt4) $(usev qt5) )
90 -}
91 -
92 -src_configure() {
93 - myconfigure() {
94 - local mycmakeargs=(
95 - -DQCA_FEATURE_INSTALL_DIR="${EPREFIX}$(${MULTIBUILD_VARIANT}_get_mkspecsdir)/features"
96 - -DQCA_PLUGINS_INSTALL_DIR="${EPREFIX}$(${MULTIBUILD_VARIANT}_get_plugindir)"
97 - $(qca_plugin_use botan)
98 - $(qca_plugin_use gcrypt)
99 - $(qca_plugin_use gpg gnupg)
100 - $(qca_plugin_use logger)
101 - $(qca_plugin_use nss)
102 - $(qca_plugin_use pkcs11)
103 - $(qca_plugin_use sasl cyrus-sasl)
104 - $(qca_plugin_use softstore)
105 - $(qca_plugin_use ssl ossl)
106 - -DBUILD_TESTS=$(usex test)
107 - )
108 -
109 - if [[ ${MULTIBUILD_VARIANT} == qt4 ]]; then
110 - mycmakeargs+=(-DQT4_BUILD=ON)
111 - fi
112 -
113 - cmake-utils_src_configure
114 - }
115 -
116 - multibuild_foreach_variant myconfigure
117 -}
118 -
119 -src_compile() {
120 - multibuild_foreach_variant cmake-utils_src_compile
121 -}
122 -
123 -src_test() {
124 - mytest() {
125 - local -x QCA_PLUGIN_PATH="${BUILD_DIR}/lib/qca"
126 - cmake-utils_src_test
127 - }
128 -
129 - multibuild_foreach_variant mytest
130 -}
131 -
132 -src_install() {
133 - multibuild_foreach_variant cmake-utils_src_install
134 -
135 - if use doc; then
136 - pushd "${BUILD_DIR}" >/dev/null || die
137 - doxygen Doxyfile.in || die
138 - dodoc -r apidocs/html
139 - popd >/dev/null || die
140 - fi
141 -
142 - if use examples; then
143 - dodoc -r "${S}"/examples
144 - fi
145 -}