Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/xca/
Date: Sat, 15 Sep 2018 16:59:07
Message-Id: 1537030734.c0025056d5f4c10be09b10493524204c81a7f009.alonbl@gentoo
1 commit: c0025056d5f4c10be09b10493524204c81a7f009
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 15 16:21:22 2018 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 15 16:58:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0025056
7
8 app-crypt/xca: version bump
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-crypt/xca/Manifest | 1 +
13 app-crypt/xca/xca-2.1.1.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 66 insertions(+)
15
16 diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest
17 index 8b327ebee8d..4db7c7221a9 100644
18 --- a/app-crypt/xca/Manifest
19 +++ b/app-crypt/xca/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xca-1.4.1.tar.gz 959107 BLAKE2B 7437cdbaa5277998de200e9a5ad3a7d44aed9ae8af8fd926d7ed1917d49bec79562455ca2e82557149d748840f299ffd66edfc7f265be7d5bdcd6e4fe8dbaf9b SHA512 8294669c4887ba7a9060c3c2c06014b8a1807898569842ed61c066e8a864de014fba51a2ff867b579048083fdd4934cc7f97c92268de4944bf4aafea9c2e7b42
22 DIST xca-2.1.0.tar.gz 1055745 BLAKE2B c3ea2953be7cacb8c4c6fb6911f2e51806d40f294d8c9daef1d47da4f3e6ffa4933d199b8b92cab828286ececab2ea7195d5a46455e4d4703f0a67d0d7861db9 SHA512 ad46b290067b0a22bb6baeb0d065879bea74cd2c853f67c2be3d0c2bdaa5ca4ebef606c0f08bd0b130df4ec13418d470062b708ab479800eab7c18dffa46af03
23 +DIST xca-2.1.1.tar.gz 1055613 BLAKE2B bb6d6b4742c7a799bf1a65e1ed2f8ab8b4d695e717e630600bc22f0e0d4a9ae95d5d98d3e85ccfbdd07eb08cf7dba6b94c702790e21fe4899fce8fc33e4f7154 SHA512 e7c3fdb515bb7a719a775b97efcabe71dc1ccc31a7ddd7cb1a9543fb16d131bce180917418091927334a4dd169daef919a4d9476a29ab4355688c961e3340dd3
24
25 diff --git a/app-crypt/xca/xca-2.1.1.ebuild b/app-crypt/xca/xca-2.1.1.ebuild
26 new file mode 100644
27 index 00000000000..083396d5b9e
28 --- /dev/null
29 +++ b/app-crypt/xca/xca-2.1.1.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="6"
35 +
36 +inherit xdg-utils
37 +
38 +DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
39 +HOMEPAGE="https://hohnstaedt.de/xca/"
40 +SRC_URI="https://github.com/chris2511/${PN}/releases/download/RELEASE.${PV}/${P}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
45 +IUSE="bindist doc libressl"
46 +
47 +RDEPEND="
48 + dev-libs/libltdl:0=
49 + dev-qt/qtgui:5
50 + dev-qt/qtsql:5[sqlite]
51 + dev-qt/qtwidgets:5
52 + !libressl? ( dev-libs/openssl:0=[bindist=] )
53 + libressl? ( dev-libs/libressl:0= )
54 + doc? ( app-text/linuxdoc-tools )"
55 +DEPEND="${RDEPEND}
56 + dev-qt/linguist-tools:5"
57 +
58 +PATCHES=(
59 + "${FILESDIR}/${PN}-1.0.0-desktop.patch"
60 +)
61 +
62 +src_configure() {
63 + econf \
64 + --with-qt-version=5 \
65 + $(use_enable doc) \
66 + STRIP=true
67 +}
68 +
69 +src_compile() {
70 + # enforce all to avoid the automatic silent rules
71 + emake all
72 +}
73 +
74 +src_install() {
75 + # non standard destdir
76 + emake install destdir="${ED}"
77 + einstalldocs
78 +
79 + insinto /etc/xca
80 + doins misc/*.txt
81 +
82 + ewarn "Make a backup copy of your database!"
83 + ewarn "This version completely changes the database format to SQL(ite)"
84 + ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database."
85 +}
86 +
87 +pkg_postinst() {
88 + xdg_desktop_database_update
89 + xdg_mimeinfo_database_update
90 +}
91 +
92 +pkg_postrm() {
93 + xdg_desktop_database_update
94 + xdg_mimeinfo_database_update
95 +}