summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-08-07 17:39:13 +0200
committerDavid Seifert <soap@gentoo.org>2022-08-07 17:39:13 +0200
commit97c96a4b19b0a775e3a5362cade354ac1a5c75a1 (patch)
treebf65b94eaa85213f6b1fcda90218bf99f2061105 /app-crypt/yubikey-manager-qt
parentapp-crypt/yubikey-manager: add 4.0.9 (diff)
downloadgentoo-97c96a4b19b0a775e3a5362cade354ac1a5c75a1.tar.gz
gentoo-97c96a4b19b0a775e3a5362cade354ac1a5c75a1.tar.bz2
gentoo-97c96a4b19b0a775e3a5362cade354ac1a5c75a1.zip
app-crypt/yubikey-manager-qt: add 1.2.4
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-crypt/yubikey-manager-qt')
-rw-r--r--app-crypt/yubikey-manager-qt/Manifest1
-rw-r--r--app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.2.4.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager-qt/Manifest b/app-crypt/yubikey-manager-qt/Manifest
index f4029c104466..01ff97d29e61 100644
--- a/app-crypt/yubikey-manager-qt/Manifest
+++ b/app-crypt/yubikey-manager-qt/Manifest
@@ -1 +1,2 @@
DIST yubikey-manager-qt-1.2.2.tar.gz 17311287 BLAKE2B 115dbf18ce0bfd48a1b172153d9770a3bde754b1dbef55ee1ec9480128305b9fb0d52af23906a6f6040df71cc4d3d4be216615fc3807395f7e7be1615a5568da SHA512 dbac2d51b198ab15051790e080ad92aaef4b0d44596ad136115469e7bf038d6b56d1bfa78a69d1fda3644543f9762051767b8a1fd46a80f2f62ecf836f7df3d8
+DIST yubikey-manager-qt-1.2.4.tar.gz 17362256 BLAKE2B 5fd76f4ede59e8dc4ddec6c232fc35396962eb05937a453e7b7c8a93b88658c493750d31854b550f6ed3c7ab7e47df423f50bdd964b4145cf5178b8c00bbf044 SHA512 6b28aa3099b5158690f8f14271588adbfc4731a910eeece68b1ed6d1ef12dc2fb00debb91503748b87db9e482b8d68dab06c4476911c15880ad25652f47d4570
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
new file mode 100644
index 000000000000..29543b374140
--- /dev/null
+++ b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.2.4.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit qmake-utils python-single-r1 desktop
+
+DESCRIPTION="Cross-platform application for configuring any YubiKey over all USB transports"
+HOMEPAGE="https://developers.yubico.com/yubikey-manager-qt https://github.com/Yubico/yubikey-manager-qt"
+SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+DEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ >=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ ')
+ dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
+ dev-qt/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgraphicaleffects:5
+ dev-qt/qtgui:5
+ dev-qt/qtquickcontrols:5[widgets]
+ dev-qt/qtquickcontrols2:5[widgets]
+ dev-qt/qtsingleapplication[qt5(+),X]
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+
+ sed -i -e "s/ykman-cli//" ${PN}.pro || die
+ sed -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \
+ -i ykman-gui/ykman-gui.pro || die
+}
+
+src_configure() {
+ eqmake5
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+
+ domenu resources/ykman-gui.desktop
+ doicon -s 128 resources/icons/ykman.png
+ doicon -s scalable resources/icons/ykman.svg
+
+ einstalldocs
+}