summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <c1pher@gentoo.org>2010-12-10 17:07:48 +0000
committerDane Smith <c1pher@gentoo.org>2010-12-10 17:07:48 +0000
commit096b075da5f66fa6d2edb6d987cf5e0b48e9eb43 (patch)
tree691ae5305f1bfe78a139dbafe0e1d474f83c981a /app-crypt/gpa
parentneeds libsdl[joystick] (bug #348364) (diff)
downloadgentoo-2-096b075da5f66fa6d2edb6d987cf5e0b48e9eb43.tar.gz
gentoo-2-096b075da5f66fa6d2edb6d987cf5e0b48e9eb43.tar.bz2
gentoo-2-096b075da5f66fa6d2edb6d987cf5e0b48e9eb43.zip
Revbump for app-crypt/gpa. Adds updated gpa.desktop patch wrt bug 340747.
(Portage version: 2.2.0_alpha4/cvs/Linux i686)
Diffstat (limited to 'app-crypt/gpa')
-rw-r--r--app-crypt/gpa/ChangeLog11
-rw-r--r--app-crypt/gpa/files/gpa-desktop-file-validate-new.patch24
-rw-r--r--app-crypt/gpa/gpa-0.9.1_pre20100416-r1.ebuild59
3 files changed, 93 insertions, 1 deletions
diff --git a/app-crypt/gpa/ChangeLog b/app-crypt/gpa/ChangeLog
index 168a4ea484d1..46f6f34dde8c 100644
--- a/app-crypt/gpa/ChangeLog
+++ b/app-crypt/gpa/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for app-crypt/gpa
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/ChangeLog,v 1.76 2010/09/29 06:20:47 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/ChangeLog,v 1.77 2010/12/10 17:07:48 c1pher Exp $
+
+*gpa-0.9.1_pre20100416-r1 (10 Dec 2010)
+
+ 10 Dec 2010; Dane Smith <c1pher@gentoo.org>
+ +gpa-0.9.1_pre20100416-r1.ebuild,
+ +files/gpa-desktop-file-validate-new.patch:
+ Revision bump. New gpa-desktop-file-validate patch wrt bug 340747. Small
+ QA
+ fix.
29 Sep 2010; Samuli Suominen <ssuominen@gentoo.org>
gpa-0.9.1_pre20100416.ebuild, +files/gpa-desktop-file-validate.patch:
diff --git a/app-crypt/gpa/files/gpa-desktop-file-validate-new.patch b/app-crypt/gpa/files/gpa-desktop-file-validate-new.patch
new file mode 100644
index 000000000000..980b42462904
--- /dev/null
+++ b/app-crypt/gpa/files/gpa-desktop-file-validate-new.patch
@@ -0,0 +1,24 @@
+--- gpa.desktop 2010-04-16 16:00:00.000000000 -0400
++++ gpa.desktop.new 2010-12-10 08:46:13.000000000 -0500
+@@ -1,13 +1,12 @@
+ [Desktop Entry]
+-Name=gpa
+-Name[sv]=gpa
+-Name[en_US.ISO8859-1]=gpa
+-GenericName=GNU Privacy Assistant
+-GenericName[sv]=GNU Integritets-hjälpreda
+-GenericName[en_US.ISO8859-1]=GNU Privacy Assistant
++Name=GNU Privacy Assistant
++Name[sv]=GNU Integritets-hjälpreda
++Name[en_US.ISO8859-1]=GNU Privacy Assistant
++GenericName=Cryptographic Keyring Manager
++GenericName[sv]=Cryptographic Nyckelring Manager
++GenericName[en_US.ISO8859-1]=Cryptographic Keyring Manager
+ Exec=gpa
+-Icon=gpa.png
++Icon=gpa
+ Terminal=false
+-Encoding=UTF-8
+ Type=Application
+-Categories=GTK;Application;Security;Utility;
++Categories=GTK;Utility;System;Security;
diff --git a/app-crypt/gpa/gpa-0.9.1_pre20100416-r1.ebuild b/app-crypt/gpa/gpa-0.9.1_pre20100416-r1.ebuild
new file mode 100644
index 000000000000..00ad8d90f83e
--- /dev/null
+++ b/app-crypt/gpa/gpa-0.9.1_pre20100416-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/gpa-0.9.1_pre20100416-r1.ebuild,v 1.1 2010/12/10 17:07:48 c1pher Exp $
+
+EAPI="3"
+
+inherit autotools eutils multilib
+
+DESCRIPTION="The GNU Privacy Assistant (GPA) is a graphical user interface for GnuPG"
+HOMEPAGE="http://gpa.wald.intevation.org"
+#STUPID_NUM="603"
+#SRC_URI="http://wald.intevation.org/frs/download.php/${STUPID_NUM}/${P}.tar.bz2"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="nls"
+
+RDEPEND=">=x11-libs/gtk+-2.10.0
+ >=dev-libs/libgpg-error-1.4
+ >=dev-libs/libassuan-1.1.0
+ >=app-crypt/gnupg-2
+ >=app-crypt/gpgme-1.2.0"
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.7
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-desktop-file-validate-new.patch
+
+ local x=/usr/share/gettext/po/Makefile.in.in
+ [[ -e $x ]] && cp -f $x po/ #323743
+
+ sed -e "s|gnupg/:|:|g" -i configure.ac || die
+
+ eautoreconf
+}
+
+src_configure() {
+ local myconf
+
+ # By default gnupg puts gpgkeys_hkp in /usr/libexec/gnupg, so
+ # check if it is in uncommon /usr/lib/gnupg, and change libexecdir
+ # if so. If we do not do this, hkp server types is not usable,
+ # as gpa cannot find gpgkeys_hkp ...
+ [[ -f /usr/lib/gnupg/gpgkeys_hkp ]] && myconf="--libexecdir=/usr/$(get_libdir)"
+
+ econf \
+ --with-gpgme-prefix=/usr \
+ --with-libassuan-prefix=/usr \
+ $(use_enable nls) \
+ ${myconf}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README NEWS TODO || die
+}