1 |
commit: 66a2ae2eacd7b24336ccbf1e1f0f2d810b5d2539 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 1 15:06:02 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 1 15:06:45 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a2ae2e |
7 |
|
8 |
app-admin/keepassxc: Bump to version 2.3.0 |
9 |
|
10 |
Thanks to Dennis Lichtenthäler. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/649192 |
13 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
14 |
|
15 |
app-admin/keepassxc/Manifest | 1 + |
16 |
app-admin/keepassxc/keepassxc-2.3.0.ebuild | 80 ++++++++++++++++++++++++++++++ |
17 |
2 files changed, 81 insertions(+) |
18 |
|
19 |
diff --git a/app-admin/keepassxc/Manifest b/app-admin/keepassxc/Manifest |
20 |
index 0e3a9bf94e7..b2c410d64f5 100644 |
21 |
--- a/app-admin/keepassxc/Manifest |
22 |
+++ b/app-admin/keepassxc/Manifest |
23 |
@@ -1,3 +1,4 @@ |
24 |
DIST keepassxc-2.1.4.tar.gz 3345520 BLAKE2B d599321a412abc05ad0a911b8fe4d14e840d491e59d3f33172a5e6b10812fe8e00d03f23abcc9637be1b8c16b5c7ec640bbc2af63059dc0dd25c99f0bdacfce9 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8 |
25 |
DIST keepassxc-2.2.2.tar.gz 3885990 BLAKE2B 2eb70217a4b73daac3f8eaf797c2c5c5dc6b2d8b7a76a91f45a036da034335937f3f21e48590d8493dcaa4f6079897440338650f14e75fa1884585d36d946bb4 SHA512 73a167a79af56d4b6dbef7ce4050ca599f2c107a5c8af3b9e28241504572988b2d8b258135b7a34dfceae5a18cbda26b97ed513bbde14fe3d38e3f41b882d34b |
26 |
DIST keepassxc-2.2.4.tar.gz 3895421 BLAKE2B 0de35f394dae8cf8d70f75d73783965826cc03ac9f0921afa547d02e61cb04be167891d92aa0db09f007c47e96a5a7e5793772c50de14bf65a7f80a603ca6611 SHA512 f3308138d63b65a8b384a52f4723507be921d7bbf19031724886fcd12266bf2683326f5531c8f665b0e98ff63cd97251694199ef748191e59a5a8cceb3710025 |
27 |
+DIST keepassxc-2.3.0-src.tar.xz 3803400 BLAKE2B 1e9d72bb71e3db0f7f4662bca22affe68c0ac857ce3b7b67924949622edf3a4d2f54717c1c629d79c2cfeccd29d0f1906a8f43e49483980d11afbb654a132f4f SHA512 44721a4dd9364898c69a10d73ceb3fce9b8e83bbe261d9bc656897bc01f37e9b65b923867e18d3c3269773075ad846a0e1195d8b7bf574fcbce7bef9a5778888 |
28 |
|
29 |
diff --git a/app-admin/keepassxc/keepassxc-2.3.0.ebuild b/app-admin/keepassxc/keepassxc-2.3.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..6207e109fd6 |
32 |
--- /dev/null |
33 |
+++ b/app-admin/keepassxc/keepassxc-2.3.0.ebuild |
34 |
@@ -0,0 +1,80 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit cmake-utils gnome2-utils xdg-utils |
41 |
+ |
42 |
+DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition" |
43 |
+HOMEPAGE="https://keepassxc.org" |
44 |
+ |
45 |
+if [[ "${PV}" != 9999 ]] ; then |
46 |
+ #SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz" |
48 |
+ KEYWORDS="~amd64 ~x86" |
49 |
+else |
50 |
+ inherit git-r3 |
51 |
+ EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="LGPL-2.1 GPL-2 GPL-3" |
55 |
+SLOT="0" |
56 |
+IUSE="autotype browser debug network test yubikey" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ app-crypt/argon2:= |
60 |
+ dev-libs/libgcrypt:= |
61 |
+ dev-qt/qtcore:5 |
62 |
+ dev-qt/qtdbus:5 |
63 |
+ dev-qt/qtgui:5 |
64 |
+ dev-qt/qtnetwork:5 |
65 |
+ dev-qt/qtwidgets:5 |
66 |
+ sys-libs/zlib |
67 |
+ autotype? ( |
68 |
+ dev-qt/qtx11extras:5 |
69 |
+ x11-libs/libX11 |
70 |
+ x11-libs/libXi |
71 |
+ x11-libs/libXtst |
72 |
+ ) |
73 |
+ browser? ( >=dev-libs/libsodium-1.0.12 ) |
74 |
+ yubikey? ( sys-auth/ykpers ) |
75 |
+" |
76 |
+ |
77 |
+DEPEND=" |
78 |
+ ${RDEPEND} |
79 |
+ dev-qt/linguist-tools:5 |
80 |
+ dev-qt/qtconcurrent:5 |
81 |
+ test? ( dev-qt/qttest:5 ) |
82 |
+" |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ use test || \ |
86 |
+ sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die |
87 |
+ |
88 |
+ cmake-utils_src_prepare |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local mycmakeargs=( |
93 |
+ -DWITH_GUI_TESTS=OFF |
94 |
+ -DWITH_TESTS="$(usex test)" |
95 |
+ -DWITH_XC_AUTOTYPE="$(usex autotype)" |
96 |
+ -DWITH_XC_HTTP=OFF |
97 |
+ -DWITH_XC_NETWORKING="$(usex network)" |
98 |
+ -DWITH_XC_BROWSER="$(usex browser)" |
99 |
+ -DWITH_XC_YUBIKEY="$(usex yubikey)" |
100 |
+ ) |
101 |
+ cmake-utils_src_configure |
102 |
+} |
103 |
+ |
104 |
+pkg_postinst() { |
105 |
+ gnome2_icon_cache_update |
106 |
+ xdg_desktop_database_update |
107 |
+ xdg_mimeinfo_database_update |
108 |
+} |
109 |
+ |
110 |
+pkg_postrm() { |
111 |
+ gnome2_icon_cache_update |
112 |
+ xdg_desktop_database_update |
113 |
+ xdg_mimeinfo_database_update |
114 |
+} |