Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/yubikey-manager-qt/
Date: Sun, 07 Aug 2022 15:39:30
Message-Id: 1659886753.97c96a4b19b0a775e3a5362cade354ac1a5c75a1.soap@gentoo
1 commit: 97c96a4b19b0a775e3a5362cade354ac1a5c75a1
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 7 15:39:13 2022 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 7 15:39:13 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c96a4b
7
8 app-crypt/yubikey-manager-qt: add 1.2.4
9
10 Signed-off-by: David Seifert <soap <AT> gentoo.org>
11
12 app-crypt/yubikey-manager-qt/Manifest | 1 +
13 .../yubikey-manager-qt-1.2.4.ebuild | 57 ++++++++++++++++++++++
14 2 files changed, 58 insertions(+)
15
16 diff --git a/app-crypt/yubikey-manager-qt/Manifest b/app-crypt/yubikey-manager-qt/Manifest
17 index f4029c104466..01ff97d29e61 100644
18 --- a/app-crypt/yubikey-manager-qt/Manifest
19 +++ b/app-crypt/yubikey-manager-qt/Manifest
20 @@ -1 +1,2 @@
21 DIST yubikey-manager-qt-1.2.2.tar.gz 17311287 BLAKE2B 115dbf18ce0bfd48a1b172153d9770a3bde754b1dbef55ee1ec9480128305b9fb0d52af23906a6f6040df71cc4d3d4be216615fc3807395f7e7be1615a5568da SHA512 dbac2d51b198ab15051790e080ad92aaef4b0d44596ad136115469e7bf038d6b56d1bfa78a69d1fda3644543f9762051767b8a1fd46a80f2f62ecf836f7df3d8
22 +DIST yubikey-manager-qt-1.2.4.tar.gz 17362256 BLAKE2B 5fd76f4ede59e8dc4ddec6c232fc35396962eb05937a453e7b7c8a93b88658c493750d31854b550f6ed3c7ab7e47df423f50bdd964b4145cf5178b8c00bbf044 SHA512 6b28aa3099b5158690f8f14271588adbfc4731a910eeece68b1ed6d1ef12dc2fb00debb91503748b87db9e482b8d68dab06c4476911c15880ad25652f47d4570
23
24 diff --git a/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.2.4.ebuild b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.2.4.ebuild
25 new file mode 100644
26 index 000000000000..29543b374140
27 --- /dev/null
28 +++ b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.2.4.ebuild
29 @@ -0,0 +1,57 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..11} )
36 +
37 +inherit qmake-utils python-single-r1 desktop
38 +
39 +DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
40 +HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
41 +SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
42 +S="${WORKDIR}/${PN}"
43 +
44 +LICENSE="BSD-2"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~ppc64"
47 +REQUIRED_USE=${PYTHON_REQUIRED_USE}
48 +
49 +DEPEND="${PYTHON_DEPS}
50 + $(python_gen_cond_dep '
51 + >=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]
52 + dev-python/cryptography[${PYTHON_USEDEP}]
53 + ')
54 + dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
55 + dev-qt/qtcore:5
56 + dev-qt/qtdeclarative:5
57 + dev-qt/qtgraphicaleffects:5
58 + dev-qt/qtgui:5
59 + dev-qt/qtquickcontrols:5[widgets]
60 + dev-qt/qtquickcontrols2:5[widgets]
61 + dev-qt/qtsingleapplication[qt5(+),X]
62 + dev-qt/qtsvg:5
63 + dev-qt/qtwidgets:5"
64 +RDEPEND="${DEPEND}"
65 +
66 +src_prepare() {
67 + default
68 +
69 + sed -i -e "s/ykman-cli//" ${PN}.pro || die
70 + sed -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \
71 + -i ykman-gui/ykman-gui.pro || die
72 +}
73 +
74 +src_configure() {
75 + eqmake5
76 +}
77 +
78 +src_install() {
79 + emake install INSTALL_ROOT="${D}"
80 +
81 + domenu resources/ykman-gui.desktop
82 + doicon -s 128 resources/icons/ykman.png
83 + doicon -s scalable resources/icons/ykman.svg
84 +
85 + einstalldocs
86 +}