summaryrefslogtreecommitdiff
path: root/app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2015-08-22 04:44:11 +0300
committerBlackNoxis <steven.darklight@gmail.com>2015-08-22 04:44:11 +0300
commit648edd554317a64276aefd5b200d9a7826e3fa4f (patch)
treeaadd388a71a6bd90890a86c8c392f8acfb5b91b8 /app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild
parent1381347b3c0cf000f9b2213c51e3d203c492aab7 (diff)
parent7fb82c27a424d6a780482765c32fd76f8baf50cb (diff)
Merge branch 'master' of github.com:Rogentos/kogaion-desktop
Diffstat (limited to 'app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild')
-rw-r--r--app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild b/app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild
new file mode 100644
index 00000000..846e3fa9
--- /dev/null
+++ b/app-crypt/pinentry-gtk2/pinentry-gtk2-0.9.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils flag-o-matic
+
+MY_PN=${PN/-gtk2}
+MY_P=${P/-gtk2}
+DESCRIPTION="Gtk+2 frontend for pinentry"
+HOMEPAGE="http://gnupg.org/aegypten2/index.html"
+SRC_URI="mirror://gnupg/${MY_PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="caps"
+
+RDEPEND="
+ ~app-crypt/pinentry-base-${PV}
+ !app-crypt/pinentry-base[static]
+ caps? ( sys-libs/libcap )
+ x11-libs/gtk+:2
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ econf \
+ --disable-pinentry-tty \
+ --enable-pinentry-gtk2 \
+ --disable-pinentry-curses \
+ --disable-fallback-curses \
+ --disable-pinentry-qt4 \
+ $(use_with caps libcap)
+}
+
+src_compile() {
+ emake AR="$(tc-getAR)"
+}
+
+src_install() {
+ cd gtk+-2 && emake DESTDIR="${D}" install
+}
+
+pkg_postinst() {
+ eselect pinentry set pinentry-gtk-2
+ # eselect pinentry update ifunset
+}
+
+pkg_postrm() {
+ eselect pinentry update ifunset
+}