diff options
Diffstat (limited to 'app-crypt/yubikey-manager-qt')
-rw-r--r-- | app-crypt/yubikey-manager-qt/Manifest | 2 | ||||
-rw-r--r-- | app-crypt/yubikey-manager-qt/yubikey-manager-qt-1.2.4.ebuild | 57 |
2 files changed, 59 insertions, 0 deletions
diff --git a/app-crypt/yubikey-manager-qt/Manifest b/app-crypt/yubikey-manager-qt/Manifest index a4fa770d5b55..70de66671842 100644 --- a/app-crypt/yubikey-manager-qt/Manifest +++ b/app-crypt/yubikey-manager-qt/Manifest @@ -1,3 +1,5 @@ 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 EBUILD yubikey-manager-qt-1.2.2.ebuild 1414 BLAKE2B 6fd20a43a5f0fb9c87c855f2fbe5059b7dd4f3d9b8a9a77f1e742abb965893e3a3c8c4de447631395eea4ca22e628f46d1184af7007138320d3672b33708626d SHA512 7867a8eb4c1e0e52486aff636e6a53d58cf3c8563e5410e2d249ab3a818f2dcf597752de82849e62e8955169064d2e46193440e1c651f257e52d656e6b75a763 +EBUILD yubikey-manager-qt-1.2.4.ebuild 1412 BLAKE2B c31df0cde500e203cb3a8d98409026b3ce8ba44045dff77d86822446c16db71feb96a45ee585b10de317d6d31c4a0cd94a43ebede6e90427f6f3ef987a444c44 SHA512 9c3a7f740bf3bc6a0e1bda43d038ddb58cc116c9b5a978c0ed8a9ad719fe83823071d248a8123a3b282c666de93f2e9398d264b42d3bf6ec261d3240020a0d20 MISC metadata.xml 254 BLAKE2B dab829460548990cfd2b33646889a135275c0d7c839f79a5385117c32282800042079806fd3e773c96ffb6d396f46bd01b948af31abdb291e2e72b2a2051996d SHA512 6277c743ddda198fe4bc57bf9468533b5d08709b88ba95a1405ad4cd2ffc46421f897d68c73170e8d40886a3baa717ef10df52a00438625fb3fd7689a890b668 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 +} |