summaryrefslogtreecommitdiff
path: root/app-crypt/nitrokey-app/nitrokey-app-9999.ebuild
blob: e4d62063eb7b23df7431211b6a289523339bf720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit git-r3 cmake-utils

DESCRIPTION="App for accessing Nitrokey (Start/Pro/Storage) hardware smartcard tokens"
HOMEPAGE="https://www.nitrokey.com"

EGIT_REPO_URI="https://github.com/Nitrokey/nitrokey-app.git"
EGIT_SUBMODULES=( 'libnitrokey' 'cppcodec' )

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gtk"

DEPEND="
	virtual/libusb:1
	gtk? ( dev-libs/libappindicator:2 )
	dev-qt/qtcore:5
	dev-qt/qtgui:5
	dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_has gtk LIBAPPINDICATOR)
	)
	cmake-utils_src_configure
}