diff options
author | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-05 23:58:31 +0100 |
---|---|---|
committer | Ctibor <ctibor.brancik@seznam.cz> | 2015-11-05 23:58:31 +0100 |
commit | 9142f9c7fb34a85302dc9d2d2df5052535a01ec2 (patch) | |
tree | 3ae80b150dd1d1158ff31d3d199155bf93e66927 | |
parent | 5e2fc559ea77684bcb43eac6e8f1e2f864ce4685 (diff) | |
download | brancik-overlay-9142f9c7fb34a85302dc9d2d2df5052535a01ec2.tar.gz brancik-overlay-9142f9c7fb34a85302dc9d2d2df5052535a01ec2.tar.bz2 |
Add app-misc/nitrokey-app.
-rw-r--r-- | app-misc/nitrokey-app/files/nitrokey-app-9999_fix_udev_path.patch | 11 | ||||
-rw-r--r-- | app-misc/nitrokey-app/metadata.xml | 20 | ||||
-rw-r--r-- | app-misc/nitrokey-app/nitrokey-app-9999.ebuild | 37 |
3 files changed, 68 insertions, 0 deletions
diff --git a/app-misc/nitrokey-app/files/nitrokey-app-9999_fix_udev_path.patch b/app-misc/nitrokey-app/files/nitrokey-app-9999_fix_udev_path.patch new file mode 100644 index 0000000..dd6d360 --- /dev/null +++ b/app-misc/nitrokey-app/files/nitrokey-app-9999_fix_udev_path.patch @@ -0,0 +1,11 @@ +--- CMakeLists.txt 2015-11-05 23:42:14.451385162 +0100 ++++ CMakeLists.txt.new 2015-11-05 23:41:54.556413307 +0100 +@@ -218,7 +218,7 @@ + # Install Nitrokey udev rules + install(FILES + ${CMAKE_SOURCE_DIR}/data/40-nitrokey.rules +- DESTINATION /etc/udev/rules.d ++ DESTINATION /usr/lib/udev/rules.d + ) + + # Install autocompletion scripts diff --git a/app-misc/nitrokey-app/metadata.xml b/app-misc/nitrokey-app/metadata.xml new file mode 100644 index 0000000..c6eced9 --- /dev/null +++ b/app-misc/nitrokey-app/metadata.xml @@ -0,0 +1,20 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>ctibor@brancik.cz</email> + <name>Ctibor Brančík</name> + </maintainer> + <longdescription> + Application for accessing and controling Nitrokey Start/Pro/Storage cryptograhic tokens and storage devices. + </longdescription> + <upstream> + <maintainer status="active"> + <email>mateusz@nitrokey.com</email> + <name>Mateusz Zalega</name> + </maintainer> + <changelog>https://github.com/Nitrokey/nitrokey-app/commits/master</changelog> + <bugs-to>https://github.com/Nitrokey/nitrokey-app/issues</bugs-to> + <remote-id type="github">Nitrokey/nitrokey-app</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/nitrokey-app/nitrokey-app-9999.ebuild b/app-misc/nitrokey-app/nitrokey-app-9999.ebuild new file mode 100644 index 0000000..4ff52c2 --- /dev/null +++ b/app-misc/nitrokey-app/nitrokey-app-9999.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit git-2 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" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk" + +DEPEND=" + virtual/libusb:1 + gtk? ( dev-libs/libappindicator ) + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 +" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/nitrokey-app-9999_fix_udev_path.patch" +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_has gtk LIBAPPINDICATOR) + ) + cmake-utils_src_configure +} |