diff options
author | David Seifert <soap@gentoo.org> | 2021-07-29 14:08:48 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-07-29 14:08:48 +0200 |
commit | 82c1657e6087a9ec05c52ca98a220b2c089f000f (patch) | |
tree | f2ca3fe56cdf3c421f2fd3a65e15c01b599d07d3 /app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild | |
parent | app-crypt/yubikey-manager: add 4.0.5 (diff) | |
download | gentoo-82c1657e6087a9ec05c52ca98a220b2c089f000f.tar.gz gentoo-82c1657e6087a9ec05c52ca98a220b2c089f000f.tar.bz2 gentoo-82c1657e6087a9ec05c52ca98a220b2c089f000f.zip |
app-crypt/yubioath-desktop: initial import
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild')
-rw-r--r-- | app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild b/app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild new file mode 100644 index 000000000000..67898ac59b24 --- /dev/null +++ b/app-crypt/yubioath-desktop/yubioath-desktop-5.0.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit desktop python-single-r1 qmake-utils xdg + +DESCRIPTION="Library and tool for personalization of Yubico's YubiKey NEO" +HOMEPAGE=" + https://developers.yubico.com/yubioath-desktop/ + https://github.com/Yubico/yubioath-desktop" +SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${P}.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-qt/qtcore:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtdeclarative:5 + dev-qt/qtwidgets:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + x11-libs/libdrm" +RDEPEND="${DEPEND} + $(python_gen_cond_dep '>=app-crypt/yubikey-manager-4.0.0[${PYTHON_USEDEP}]') + dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]" + +src_prepare() { + default + sed -i \ + -e "s:python build_qrc.py:${PYTHON} build_qrc.py:" \ + yubioath-desktop.pro || die + + python_fix_shebang "${S}" +} + +src_configure() { + eqmake5 yubioath-desktop.pro +} + +src_install() { + emake INSTALL_ROOT="${D}" install + + domenu resources/com.yubico.yubioath.desktop + doicon resources/icons/com.yubico.yubioath.png + doicon -s scalable resources/icons/com.yubico.yubioath.svg +} |