Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/yubikey-personalization-gui/
Date: Sun, 28 Jan 2018 23:20:03
Message-Id: 1517181543.59b7ca6071743f139d43a8304a0a4961b6ebc1bc.asturm@gentoo
1 commit: 59b7ca6071743f139d43a8304a0a4961b6ebc1bc
2 Author: Jouni Kosonen <jouni.kosonen <AT> tukesoft <DOT> com>
3 AuthorDate: Sun Jan 28 17:40:34 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 28 23:19:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b7ca60
7
8 sys-auth/yubikey-personalization-gui: version bump to 3.1.25
9
10 Also, port to Qt5 and EAPI 6.
11
12 Bug: https://bugs.gentoo.org/633444
13 Closes: https://github.com/gentoo/gentoo/pull/6988
14
15 sys-auth/yubikey-personalization-gui/Manifest | 1 +
16 .../yubikey-personalization-gui-3.1.25.ebuild | 51 ++++++++++++++++++++++
17 2 files changed, 52 insertions(+)
18
19 diff --git a/sys-auth/yubikey-personalization-gui/Manifest b/sys-auth/yubikey-personalization-gui/Manifest
20 index 90f67cf0348..77dad7368ea 100644
21 --- a/sys-auth/yubikey-personalization-gui/Manifest
22 +++ b/sys-auth/yubikey-personalization-gui/Manifest
23 @@ -1,2 +1,3 @@
24 DIST yubikey-personalization-gui-3.1.23.tar.gz 1450340 BLAKE2B fb183d939334b13faf1464dc65a0a03180a2b402ae628f556dba7211e66e89628718e797a86189f654ca88225c3b834df67b497e7a94d0e210edc433bfff49b8 SHA512 912bcbcac5cad285c43995f646de6aa68cc99a4d047b7632786cd93e38c031e2fb8dcc4f57f45647ba3e276de03aaea6ed9757f72ec2c42a43780c19edcca51b
25 DIST yubikey-personalization-gui-3.1.24.tar.gz 947135 BLAKE2B 846fa6792c71b57ffb99c548efe6780571c1d52061393805f0f9a76a7e7722b3fc2851ead913b09028d7798ae7bab4670260cae63a98ef0c0d1b176266fa4338 SHA512 149237a719277a6571916473d31e6099c3f3a2003fcb2893c2becee80788102496dbbc8e424f75fe1f1dd3ac87122bd35b6908cf784458635069d89e7e706cfa
26 +DIST yubikey-personalization-gui-3.1.25.tar.gz 942121 BLAKE2B edc581824f917b50664dd758a0447fa9a61c85844cd220d82661c9e1f1bbabc1bda77545c1eda2e56a43b8176479c1b161f8e9ad5feb3d61cdc37d301ebde9fc SHA512 6d45c2a9e9c452a44fba5ff3830150ce65e968899215c59fd7b412317143015c466ac706dcfa49def2c4304a01866a3674ba7cc37e47dff4e8c6acb8166fcf45
27
28 diff --git a/sys-auth/yubikey-personalization-gui/yubikey-personalization-gui-3.1.25.ebuild b/sys-auth/yubikey-personalization-gui/yubikey-personalization-gui-3.1.25.ebuild
29 new file mode 100644
30 index 00000000000..1439f9f0ac2
31 --- /dev/null
32 +++ b/sys-auth/yubikey-personalization-gui/yubikey-personalization-gui-3.1.25.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit desktop flag-o-matic qmake-utils
40 +
41 +DESCRIPTION="GUI for personalization of Yubico's YubiKey"
42 +SRC_URI="https://github.com/Yubico/yubikey-personalization-gui/archive/${P}.tar.gz"
43 +HOMEPAGE="https://github.com/Yubico/yubikey-personalization-gui"
44 +
45 +KEYWORDS="~amd64"
46 +SLOT="0"
47 +LICENSE="BSD-2"
48 +IUSE="debug test"
49 +
50 +RDEPEND="
51 + dev-libs/glib:2
52 + dev-qt/qtcore:5
53 + dev-qt/qtwidgets:5
54 + >=sys-auth/libyubikey-1.6
55 + >=sys-auth/ykpers-1.14.0
56 + virtual/libusb:1"
57 +DEPEND="${RDEPEND}
58 + virtual/pkgconfig
59 + test? ( dev-qt/qttest:5 )"
60 +
61 +S="${WORKDIR}/${PN}-${P}"
62 +
63 +src_prepare() {
64 + default
65 + if ! use test ; then
66 + sed -i YKPersonalization.pro \
67 + -e 's/src \\/src/' \
68 + -e '/tests/d' || die
69 + fi
70 +}
71 +
72 +src_configure() {
73 + append-cxxflags -std=c++11
74 +
75 + eqmake5 "CONFIG+=nosilent" YKPersonalization.pro
76 +}
77 +
78 +src_install() {
79 + dobin build/release/yubikey-personalization-gui
80 + doman resources/lin/yubikey-personalization-gui.1
81 + domenu resources/lin/yubikey-personalization-gui.desktop
82 + doicon resources/lin/yubikey-personalization-gui.xpm
83 + doicon -s 128 resources/lin/yubikey-personalization-gui.png
84 +}