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: Sat, 13 Apr 2019 09:18:21
Message-Id: 1555147092.f80f55bcb939c704ee02f5e2b7c12a1af3ef4b08.polynomial-c@gentoo
1 commit: f80f55bcb939c704ee02f5e2b7c12a1af3ef4b08
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 13 09:17:58 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 13 09:18:12 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f55bc
7
8 app-admin/keepassxc: Removed old
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-admin/keepassxc/keepassxc-2.4.0.ebuild | 100 -----------------------------
14 1 file changed, 100 deletions(-)
15
16 diff --git a/app-admin/keepassxc/keepassxc-2.4.0.ebuild b/app-admin/keepassxc/keepassxc-2.4.0.ebuild
17 deleted file mode 100644
18 index fc5f6889a73..00000000000
19 --- a/app-admin/keepassxc/keepassxc-2.4.0.ebuild
20 +++ /dev/null
21 @@ -1,100 +0,0 @@
22 -# Copyright 1999-2019 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit cmake-utils xdg
28 -
29 -DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
30 -HOMEPAGE="https://keepassxc.org"
31 -
32 -if [[ "${PV}" != 9999 ]] ; then
33 - if [[ "${PV}" == *_beta* ]] ; then
34 - SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz"
35 - S="${WORKDIR}/${P/_/-}"
36 - else
37 - #SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
38 - SRC_URI="https://github.com/keepassxreboot/keepassxc/releases/download/${PV}/${P}-src.tar.xz"
39 - KEYWORDS="~amd64 ~x86"
40 - fi
41 -else
42 - inherit git-r3
43 - EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
44 -fi
45 -
46 -LICENSE="LGPL-2.1 GPL-2 GPL-3"
47 -SLOT="0"
48 -IUSE="autotype browser debug network test yubikey"
49 -
50 -RDEPEND="
51 - app-crypt/argon2:=
52 - dev-libs/libgcrypt:=
53 - dev-qt/qtcore:5
54 - dev-qt/qtdbus:5
55 - dev-qt/qtgui:5
56 - dev-qt/qtnetwork:5
57 - dev-qt/qtsvg:5
58 - dev-qt/qtwidgets:5
59 - media-gfx/qrencode:=
60 - sys-libs/zlib
61 - autotype? (
62 - dev-qt/qtx11extras:5
63 - x11-libs/libX11
64 - x11-libs/libXi
65 - x11-libs/libXtst
66 - )
67 - browser? ( >=dev-libs/libsodium-1.0.12 )
68 - yubikey? ( sys-auth/ykpers )
69 -"
70 -
71 -DEPEND="
72 - ${RDEPEND}
73 - dev-qt/linguist-tools:5
74 - dev-qt/qttest:5
75 - dev-qt/qtconcurrent:5
76 -"
77 -
78 -# Not a runtime dependency but still needed (see bug #667092)
79 -PDEPEND="
80 - x11-misc/xsel
81 -"
82 -
83 -PATCHES=(
84 - "${FILESDIR}/${PN}-dont_call_mandb.patch"
85 - "${FILESDIR}/${P}-build_fix.patch"
86 -)
87 -
88 -src_prepare() {
89 - use test || \
90 - sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
91 -
92 - cmake-utils_src_prepare
93 -}
94 -
95 -src_configure() {
96 - local mycmakeargs=(
97 - -DWITH_GUI_TESTS=OFF
98 - -DWITH_TESTS="$(usex test)"
99 - -DWITH_XC_AUTOTYPE="$(usex autotype)"
100 - -DWITH_XC_BROWSER="$(usex browser)"
101 - -DWITH_XC_NETWORKING="$(usex network)"
102 - -DWITH_XC_SSHAGENT=ON
103 - -DWITH_XC_YUBIKEY="$(usex yubikey)"
104 - )
105 - if [[ "${PV}" == *_beta* ]] ; then
106 - mycmakeargs+=( -DOVERRIDE_VERSION="${PV/_/-}" )
107 - fi
108 - cmake-utils_src_configure
109 -}
110 -
111 -pkg_preinst() {
112 - xdg_pkg_preinst
113 -}
114 -
115 -pkg_postinst() {
116 - xdg_pkg_postinst
117 -}
118 -
119 -pkg_postrm() {
120 - xdg_pkg_postrm
121 -}