summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-02-01 19:29:14 +0100
committerDavid Seifert <soap@gentoo.org>2017-02-01 23:14:09 +0100
commit1bedb871baebf9880d8d5ae6f29b40f3174c0d75 (patch)
treec10ee8cca4099570b597f2382a1e4e044fab657a /app-crypt/nitrokey-app
parentmedia-sound/spotify: 1.0.48 fast stable because spotify is stupid (diff)
downloadgentoo-1bedb871baebf9880d8d5ae6f29b40f3174c0d75.tar.gz
gentoo-1bedb871baebf9880d8d5ae6f29b40f3174c0d75.tar.bz2
gentoo-1bedb871baebf9880d8d5ae6f29b40f3174c0d75.zip
app-crypt/nitrokey-app: New package
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-crypt/nitrokey-app')
-rw-r--r--app-crypt/nitrokey-app/Manifest1
-rw-r--r--app-crypt/nitrokey-app/metadata.xml12
-rw-r--r--app-crypt/nitrokey-app/nitrokey-app-0.6.3.ebuild36
3 files changed, 49 insertions, 0 deletions
diff --git a/app-crypt/nitrokey-app/Manifest b/app-crypt/nitrokey-app/Manifest
new file mode 100644
index 000000000000..e833d0b8200b
--- /dev/null
+++ b/app-crypt/nitrokey-app/Manifest
@@ -0,0 +1 @@
+DIST nitrokey-app-0.6.3.tar.gz 769503 SHA256 6ab756ca34e0deedfe5e99eeb5763a68adc9bafad78ee94b3b9aad2d28fed8c8 SHA512 23960b0ca740a4c9520a3d7043f396ffb6fb730ef28ad44b299aadbb0b7d2fa1a182c38a88fd684fe664c2079c5a03c5a6b8e6ceb7f8ca69a37fb64ef64237a6 WHIRLPOOL 07df2f16ef99b62c2c77ada77a51fed1709da3ec2ebfe95b41ca7ea025be0ba2293cfef1665aab777a30908c95c69cd5e265f17e90719386f059f2cddeb7e2a9
diff --git a/app-crypt/nitrokey-app/metadata.xml b/app-crypt/nitrokey-app/metadata.xml
new file mode 100644
index 000000000000..89dfb8e83e30
--- /dev/null
+++ b/app-crypt/nitrokey-app/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>soap@gentoo.org</email>
+ <name>David Seifert</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Nitrokey/nitrokey-app</remote-id>
+ <bugs-to>https://github.com/Nitrokey/nitrokey-app/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/app-crypt/nitrokey-app/nitrokey-app-0.6.3.ebuild b/app-crypt/nitrokey-app/nitrokey-app-0.6.3.ebuild
new file mode 100644
index 000000000000..65bd7f24befd
--- /dev/null
+++ b/app-crypt/nitrokey-app/nitrokey-app-0.6.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils udev
+
+DESCRIPTION="Cross platform personalization tool for the Nitrokey"
+HOMEPAGE="https://github.com/Nitrokey/nitrokey-app"
+SRC_URI="https://github.com/Nitrokey/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5"
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig"
+
+mycmakeargs=( -DHAVE_LIBAPPINDICATOR=NO )
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed -i "s:DESTINATION lib/udev/rules.d:DESTINATION $(get_udevdir)/rules.d:" \
+ CMakeLists.txt || die
+}
+
+pkg_postinst() {
+ udev_reload
+}