From 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Feb 2018 19:58:07 +0000 Subject: gentoo resync : 24.02.2018 --- .../yubikey-manager-qt-0.4.0-r2.ebuild | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0-r2.ebuild (limited to 'app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0-r2.ebuild') diff --git a/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0-r2.ebuild b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0-r2.ebuild new file mode 100644 index 000000000000..dbd42b543c6d --- /dev/null +++ b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{4,5,6} ) + +inherit eutils qmake-utils python-single-r1 vcs-snapshot + +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://github.com/Yubico/yubikey-manager-qt/archive/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=">=app-crypt/yubikey-manager-0.5.0[${PYTHON_USEDEP}] + dev-python/pyotherside[${PYTHON_USEDEP}] + dev-qt/qtsingleapplication[qt5(+),X] + dev-qt/qtdeclarative:5 + dev-qt/qtquickcontrols:5[widgets] + dev-qt/qtwidgets:5" +RDEPEND="${DEPEND}" + +src_prepare() { + default + rm -rf vendor ykman-gui/vendor || die + sed -i -e "s/ykman-cli//" ${PN}.pro || die + sed -e "/qtsingleapplication.pri/d" \ + -e "/CONFIG += c++11/a CONFIG += qtsingleapplication" \ + -i ykman-gui/ykman-gui.pro || die + echo "${PV}" > VERSION || die +} + +src_configure() { + eqmake5 +} + +src_install() { + emake install INSTALL_ROOT="${D}" + domenu resources/ykman-gui.desktop + doicon -s 128 resources/icons/ykman.png +} -- cgit v1.2.3