Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 633444
Collapse All | Expand All

(-)yubikey-personalization-gui-3.1.24.ebuild (-8 / +20 lines)
Lines 1-9 Link Here
1
# Copyright 1999-2016 Gentoo Foundation
1
# Copyright 1999-2017 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=5
4
EAPI=6
5
5
6
inherit eutils qmake-utils
6
inherit flag-o-matic qmake-utils
7
7
8
DESCRIPTION="GUI for personalization of Yubico's YubiKey"
8
DESCRIPTION="GUI for personalization of Yubico's YubiKey"
9
SRC_URI="http://yubico.github.io/yubikey-personalization-gui/releases/${P}.tar.gz"
9
SRC_URI="http://yubico.github.io/yubikey-personalization-gui/releases/${P}.tar.gz"
Lines 12-34 Link Here
12
KEYWORDS="~amd64"
12
KEYWORDS="~amd64"
13
SLOT="0"
13
SLOT="0"
14
LICENSE="BSD-2"
14
LICENSE="BSD-2"
15
IUSE="debug"
15
IUSE="debug test"
16
16
17
RDEPEND="
17
RDEPEND="
18
	>=sys-auth/ykpers-1.14.0
18
	>=sys-auth/ykpers-1.14.0
19
	>=sys-auth/libyubikey-1.6
19
	>=sys-auth/libyubikey-1.6
20
	dev-qt/qtcore:4
20
	dev-qt/qtcore:5
21
	dev-qt/qtgui:4
21
	dev-qt/qtwidgets:5
22
	dev-qt/qttest:4
23
	dev-libs/glib:2
22
	dev-libs/glib:2
24
	virtual/libusb:1"
23
	virtual/libusb:1"
25
DEPEND="${RDEPEND}
24
DEPEND="${RDEPEND}
25
	test? ( dev-qt/qttest:5 )
26
	virtual/pkgconfig"
26
	virtual/pkgconfig"
27
27
28
DOCS=( NEWS README )
28
DOCS=( NEWS README )
29
29
30
src_prepare() {
31
	if ! use test ; then
32
		sed -i YKPersonalization.pro \
33
			-e 's/src \\/src/' \
34
			-e '/tests/d' || die
35
	fi
36
37
	default
38
}
39
30
src_configure() {
40
src_configure() {
31
	eqmake4 YKPersonalization.pro
41
	append-cxxflags -std=c++11
42
43
	eqmake5 "CONFIG+=nosilent" YKPersonalization.pro
32
}
44
}
33
45
34
src_install() {
46
src_install() {

Return to bug 633444