1 |
commit: 82c1657e6087a9ec05c52ca98a220b2c089f000f |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 29 12:08:48 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 29 12:08:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82c1657e |
7 |
|
8 |
app-crypt/yubioath-desktop: initial import |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
app-crypt/yubioath-desktop/Manifest | 1 + |
13 |
app-crypt/yubioath-desktop/metadata.xml | 8 ++++ |
14 |
.../yubioath-desktop/yubioath-desktop-5.0.5.ebuild | 52 ++++++++++++++++++++++ |
15 |
3 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/yubioath-desktop/Manifest b/app-crypt/yubioath-desktop/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..79259f2181a |
20 |
--- /dev/null |
21 |
+++ b/app-crypt/yubioath-desktop/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST yubioath-desktop-5.0.5.tar.gz 5659179 BLAKE2B 31dd1a7e9b8a5034e916f38c7893572b6b7e75fa0bc45b5b807c89010ac0e4a01a446f03d1591dd6323a015fc8fb17861fa60dc5a5e4eff40b5261fb6e3f7088 SHA512 b5a0df306916896e1fd84d6a794a43365b0e0a2cecd97ec1dacc6312507dd2e4dd55fc12b0de9d72d1d0a1b40625330373b7c74dacb2ec37a24ea3e1fd2d4ff7 |
24 |
|
25 |
diff --git a/app-crypt/yubioath-desktop/metadata.xml b/app-crypt/yubioath-desktop/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..70f78a5392d |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/yubioath-desktop/metadata.xml |
30 |
@@ -0,0 +1,8 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>soap@g.o</email> |
36 |
+ <name>David Seifert</name> |
37 |
+ </maintainer> |
38 |
+</pkgmetadata> |
39 |
|
40 |
diff --git a/app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild b/app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild |
41 |
new file mode 100644 |
42 |
index 00000000000..67898ac59b2 |
43 |
--- /dev/null |
44 |
+++ b/app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild |
45 |
@@ -0,0 +1,52 @@ |
46 |
+# Copyright 1999-2021 Gentoo Authors |
47 |
+# Distributed under the terms of the GNU General Public License v2 |
48 |
+ |
49 |
+EAPI=7 |
50 |
+ |
51 |
+PYTHON_COMPAT=( python3_{8..10} ) |
52 |
+ |
53 |
+inherit desktop python-single-r1 qmake-utils xdg |
54 |
+ |
55 |
+DESCRIPTION="Library and tool for personalization of Yubico's YubiKey NEO" |
56 |
+HOMEPAGE=" |
57 |
+ https://developers.yubico.com/yubioath-desktop/ |
58 |
+ https://github.com/Yubico/yubioath-desktop" |
59 |
+SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${P}.tar.gz" |
60 |
+S="${WORKDIR}/${PN}-${P}" |
61 |
+ |
62 |
+LICENSE="BSD-2" |
63 |
+SLOT="0" |
64 |
+KEYWORDS="~amd64" |
65 |
+ |
66 |
+DEPEND=" |
67 |
+ dev-qt/qtcore:5 |
68 |
+ dev-qt/qtquickcontrols2:5 |
69 |
+ dev-qt/qtdeclarative:5 |
70 |
+ dev-qt/qtwidgets:5 |
71 |
+ dev-qt/qtgui:5 |
72 |
+ dev-qt/qtnetwork:5 |
73 |
+ x11-libs/libdrm" |
74 |
+RDEPEND="${DEPEND} |
75 |
+ $(python_gen_cond_dep '>=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]') |
76 |
+ dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]" |
77 |
+ |
78 |
+src_prepare() { |
79 |
+ default |
80 |
+ sed -i \ |
81 |
+ -e "s:python build_qrc.py:${PYTHON} build_qrc.py:" \ |
82 |
+ yubioath-desktop.pro || die |
83 |
+ |
84 |
+ python_fix_shebang "${S}" |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ eqmake5 yubioath-desktop.pro |
89 |
+} |
90 |
+ |
91 |
+src_install() { |
92 |
+ emake INSTALL_ROOT="${D}" install |
93 |
+ |
94 |
+ domenu resources/com.yubico.yubioath.desktop |
95 |
+ doicon resources/icons/com.yubico.yubioath.png |
96 |
+ doicon -s scalable resources/icons/com.yubico.yubioath.svg |
97 |
+} |