1 |
commit: 9e8050a14793162f53e74786511a1173cba05fe8 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 29 17:09:03 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 29 17:09:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e8050a1 |
7 |
|
8 |
app-crypt/xca: version bump |
9 |
|
10 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=662096 |
11 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
12 |
|
13 |
app-crypt/xca/Manifest | 1 + |
14 |
app-crypt/xca/xca-2.1.0.ebuild | 64 ++++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 65 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/xca/Manifest b/app-crypt/xca/Manifest |
18 |
index 5cbb5a8bd5d..8b327ebee8d 100644 |
19 |
--- a/app-crypt/xca/Manifest |
20 |
+++ b/app-crypt/xca/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST xca-1.4.1.tar.gz 959107 BLAKE2B 7437cdbaa5277998de200e9a5ad3a7d44aed9ae8af8fd926d7ed1917d49bec79562455ca2e82557149d748840f299ffd66edfc7f265be7d5bdcd6e4fe8dbaf9b SHA512 8294669c4887ba7a9060c3c2c06014b8a1807898569842ed61c066e8a864de014fba51a2ff867b579048083fdd4934cc7f97c92268de4944bf4aafea9c2e7b42 |
23 |
+DIST xca-2.1.0.tar.gz 1055745 BLAKE2B c3ea2953be7cacb8c4c6fb6911f2e51806d40f294d8c9daef1d47da4f3e6ffa4933d199b8b92cab828286ececab2ea7195d5a46455e4d4703f0a67d0d7861db9 SHA512 ad46b290067b0a22bb6baeb0d065879bea74cd2c853f67c2be3d0c2bdaa5ca4ebef606c0f08bd0b130df4ec13418d470062b708ab479800eab7c18dffa46af03 |
24 |
|
25 |
diff --git a/app-crypt/xca/xca-2.1.0.ebuild b/app-crypt/xca/xca-2.1.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..bda63f6d683 |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/xca/xca-2.1.0.ebuild |
30 |
@@ -0,0 +1,64 @@ |
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="http://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/qtwidgets:5 |
51 |
+ !libressl? ( dev-libs/openssl:0=[bindist=] ) |
52 |
+ libressl? ( dev-libs/libressl:0= ) |
53 |
+ doc? ( app-text/linuxdoc-tools )" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-qt/linguist-tools:5" |
56 |
+ |
57 |
+PATCHES=( |
58 |
+ "${FILESDIR}/${PN}-1.0.0-desktop.patch" |
59 |
+) |
60 |
+ |
61 |
+src_configure() { |
62 |
+ econf \ |
63 |
+ --with-qt-version=5 \ |
64 |
+ $(use_enable doc) \ |
65 |
+ STRIP=true |
66 |
+} |
67 |
+ |
68 |
+src_compile() { |
69 |
+ # enforce all to avoid the automatic silent rules |
70 |
+ emake all |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ # non standard destdir |
75 |
+ emake install destdir="${ED}" |
76 |
+ einstalldocs |
77 |
+ |
78 |
+ insinto /etc/xca |
79 |
+ doins misc/*.txt |
80 |
+ |
81 |
+ ewarn "Make a backup copy of your database!" |
82 |
+ ewarn "This version completely changes the database format to SQL(ite)" |
83 |
+ ewarn "Don't try to open it with older versions of XCA (< 1.4.0). They will corrupt the database." |
84 |
+} |
85 |
+ |
86 |
+pkg_postinst() { |
87 |
+ xdg_desktop_database_update |
88 |
+ xdg_mimeinfo_database_update |
89 |
+} |
90 |
+ |
91 |
+pkg_postrm() { |
92 |
+ xdg_desktop_database_update |
93 |
+ xdg_mimeinfo_database_update |
94 |
+} |