app-crypt/yubikey-manager-qt: bump to 0.4.0
authorGöktürk Yüksek <gokturk@gentoo.org>
Thu, 21 Dec 2017 00:47:20 +0000 (19:47 -0500)
committerGöktürk Yüksek <gokturk@gentoo.org>
Thu, 21 Dec 2017 00:49:41 +0000 (19:49 -0500)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

app-crypt/yubikey-manager-qt/Manifest
app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0.ebuild [new file with mode: 0644]

index 37cdbbddcb2f9403fbcef1a7294a55200952410f..f373469b271f40523466d2b355566829c6acfc3a 100644 (file)
@@ -1 +1,2 @@
 DIST yubikey-manager-qt-0.3.2.tar.gz 175662 BLAKE2B 149ff32d35ec642cbbebf1352ef8ec18c6e105658daf4831c251e01843c1fc852851eb3f40eb7fd7c85fe58c7243f9fa7a2eb0640189628d67898b1f1e987ae7 SHA512 5ae0b802f041a37a67bef6f7c8b5224fe47d145bcb3bef8c42e300048e849bbcf333de6d15a9a671ced21741d412af9419c08fd3b018276ce997b3cdd5ba55f5
+DIST yubikey-manager-qt-0.4.0.tar.gz 183566 BLAKE2B 2364d0d257ab5c05d0555aba4bb01ee1639a2c3a42b47173ae905945a6265b123985ad7d8fe50b0cfd38a1a0a588f3e1424aa46585ddbf50337ce2456899067e SHA512 12cef9636f06a92fdb3fce7cea5b97af3255b9cdd1b4feb4e184999eb77c17e465db927f56cd0e443a8ce8afc27b7e4be19ed07da7c41259f909ac4e98971de2
diff --git a/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0.ebuild b/app-crypt/yubikey-manager-qt/yubikey-manager-qt-0.4.0.ebuild
new file mode 100644 (file)
index 0000000..04d1dcd
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 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]
+       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
+}