Gentoo Archives: gentoo-commits

From: "Göktürk Yüksek" <gokturk@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager-qt/
Date: Tue, 06 Oct 2020 01:36:33
Message-Id: 1601948172.4dec7e01411cddff4b1f9b57a3cbd390576832c4.gokturk@gentoo
1 commit: 4dec7e01411cddff4b1f9b57a3cbd390576832c4
2 Author: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 6 01:35:49 2020 +0000
4 Commit: Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 6 01:36:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dec7e01
7
8 app-crypt/yubikey-manager-qt: bump to 1.1.5
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.22
11 Signed-off-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
12
13 app-crypt/yubikey-manager-qt/Manifest | 1 +
14 .../yubikey-manager-qt-1.1.5.ebuild | 59 ++++++++++++++++++++++
15 2 files changed, 60 insertions(+)
16
17 diff --git a/app-crypt/yubikey-manager-qt/Manifest b/app-crypt/yubikey-manager-qt/Manifest
18 index 674ca074aac..5f156d8403a 100644
19 --- a/app-crypt/yubikey-manager-qt/Manifest
20 +++ b/app-crypt/yubikey-manager-qt/Manifest
21 @@ -1 +1,2 @@
22 DIST yubikey-manager-qt-1.1.4.tar.gz 13318769 BLAKE2B 4ca85d8f9681f725cf9f8d547d850516c77a618c595814c8add12250677e495952229c966a2e59d449dfa33ac9c6788f6daa8494702137eab937b299f896e8dd SHA512 9e3e85a22d7be4e6ab30b3fd068fcc3406348d2b38f96e1ef8d693bf37edafaf8f16dc408cc9319173e871cc24d2cc4db5853ec3f8a0365221722504dc6fde04
23 +DIST yubikey-manager-qt-1.1.5.tar.gz 16066508 BLAKE2B cd15950c68cacc3e2904a5e1fbb3a2d98544084717f379202ccfe70082b0971959178730afb9ddbbfa20f436ef8d7cdf820df1e88539f99ce77913f60228af0f SHA512 b019a7cdebd741cd536a18670795f83c7e010e221b4f9c82dcd3c57b0c4bce878865c6605f10c962f4bd5e926c285a894ea97d2925ba091847ece5ffa7ce5bb6
24
25 diff --git a/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.1.5.ebuild b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.1.5.ebuild
26 new file mode 100644
27 index 00000000000..7154bd824ef
28 --- /dev/null
29 +++ b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.1.5.ebuild
30 @@ -0,0 +1,59 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{6,7,8} )
37 +
38 +inherit eutils qmake-utils python-single-r1 desktop
39 +
40 +DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
41 +HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
42 +SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
43 +
44 +LICENSE="BSD-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
48 +
49 +DEPEND="${PYTHON_DEPS}
50 + $(python_gen_cond_dep '
51 + >=app-crypt/yubikey-manager-1.0.0[${PYTHON_MULTI_USEDEP}]
52 + <app-crypt/yubikey-manager-4.0.0[${PYTHON_MULTI_USEDEP}]
53 + dev-python/cryptography[${PYTHON_MULTI_USEDEP}]
54 + ')
55 + dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
56 + dev-qt/qtcore:5
57 + dev-qt/qtdeclarative:5
58 + dev-qt/qtgraphicaleffects:5
59 + dev-qt/qtgui:5
60 + dev-qt/qtquickcontrols:5[widgets]
61 + dev-qt/qtquickcontrols2:5[widgets]
62 + dev-qt/qtsingleapplication[qt5(+),X]
63 + dev-qt/qtsvg:5
64 + dev-qt/qtwidgets:5"
65 +RDEPEND="${DEPEND}"
66 +
67 +S="${WORKDIR}/${PN}-${P}"
68 +
69 +src_prepare() {
70 + default
71 +
72 + sed -i -e "s/ykman-cli//" ${PN}.pro || die
73 + sed -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \
74 + -i ykman-gui/ykman-gui.pro || die
75 +}
76 +
77 +src_configure() {
78 + eqmake5
79 +}
80 +
81 +src_install() {
82 + emake install INSTALL_ROOT="${D}"
83 +
84 + domenu resources/ykman-gui.desktop
85 + doicon -s 128 resources/icons/ykman.png
86 + doicon -s scalable resources/icons/ykman.svg
87 +
88 + einstalldocs
89 +}