Gentoo Archives: gentoo-commits

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