summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/qtpass/qtpass-1.2.1.ebuild')
-rw-r--r--app-admin/qtpass/qtpass-1.2.1.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-admin/qtpass/qtpass-1.2.1.ebuild b/app-admin/qtpass/qtpass-1.2.1.ebuild
new file mode 100644
index 000000000000..dc949c150fc4
--- /dev/null
+++ b/app-admin/qtpass/qtpass-1.2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="QtPass-${PV}"
+
+inherit qmake-utils desktop
+
+DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
+HOMEPAGE="https://qtpass.org/"
+SRC_URI="https://github.com/IJHack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DOCS=( FAQ.md README.md CONTRIBUTING.md )
+S="${WORKDIR}/${MY_P}"
+
+RDEPEND="app-admin/pass
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5[xcb]
+ dev-qt/qtnetwork:5
+ dev-qt/qtwidgets:5
+ net-misc/x11-ssh-askpass"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5"
+
+src_prepare() {
+ default
+
+ sed -i 's/SUBDIRS += src tests main/SUBDIRS += src main/' "${S}"/qtpass.pro || die
+ sed -i '/main\.depends = tests/d' "${S}"/qtpass.pro || die
+}
+src_configure() {
+ eqmake5 PREFIX="${D}"/usr
+}
+
+src_install() {
+ default
+
+ doman ${PN}.1
+
+ insinto /usr/share/applications
+ doins "${PN}.desktop"
+
+ newicon artwork/icon.svg "${PN}-icon.svg"
+}