Gentoo Archives: gentoo-commits

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