# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{5,6} ) inherit eutils qmake-utils python-single-r1 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/${PN}/archive/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" REQUIRED_USE=${PYTHON_REQUIRED_USE} DEPEND="${PYTHON_DEPS} >=app-crypt/yubikey-manager-1.0.0[${PYTHON_USEDEP}] "${S}"/VERSION || 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 }