Gentoo Archives: gentoo-commits

From: Alon Bar-Lev <alonbl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gpgme/files/, app-crypt/gpgme/
Date: Fri, 23 Sep 2016 09:32:30
Message-Id: 1474623132.aa6d11aa925958a502e4095af161e5a78f9ecd7f.alonbl@gentoo
1 commit: aa6d11aa925958a502e4095af161e5a78f9ecd7f
2 Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 09:31:23 2016 +0000
4 Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 09:32:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6d11aa
7
8 app-crypt/gpgme: version bump
9
10 Bug: 594640
11
12 Package-Manager: portage-2.2.28
13
14 app-crypt/gpgme/Manifest | 1 +
15 app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch | 4 +-
16 app-crypt/gpgme/gpgme-1.7.0.ebuild | 62 +++++++++++++++++++++++++++
17 3 files changed, 65 insertions(+), 2 deletions(-)
18
19 diff --git a/app-crypt/gpgme/Manifest b/app-crypt/gpgme/Manifest
20 index 7ea626f..66841c3 100644
21 --- a/app-crypt/gpgme/Manifest
22 +++ b/app-crypt/gpgme/Manifest
23 @@ -1,2 +1,3 @@
24 DIST gpgme-1.5.5.tar.bz2 976383 SHA256 0b3d3d5107680c594777aae65882a1ff6dd1ba629a83432e719c8b82a743c207 SHA512 a01b84c1ae2a7c647b2de793fc05d39c4bf4a2d1b7378934e437857823f11ca9e9c1f3b32302d69a3a84d0be1fee1e1c86874355031b8fa6b40f4ad56ecc72ad WHIRLPOOL f3ad4282a254cf1ab8d01184df787a773fa7963a42157da93bee11430263fa86166f12f051e2b11d13be99ce1f0939d565cb02a8fba93ab6afed73ca7b2c0041
25 DIST gpgme-1.6.0.tar.bz2 983573 SHA256 b09de4197ac280b102080e09eaec6211d081efff1963bf7821cf8f4f9916099d SHA512 b7ccccc2bac246b0759c8752cadd3e77f03da39711badfc66d0f21cefab3f3b07fe1038611ad9ca1c16a8a48d7e831dcca68d83d052456a4cf794a73e287d41b WHIRLPOOL 4e753156474097dba9db2905954d1754ca408066996a01cbc7266a24654eb7c2323043f40495cc3c227d8eef540eeca47de4c23bb329a2d34604d5a4d3828970
26 +DIST gpgme-1.7.0.tar.bz2 1281708 SHA256 71f55fed0f2b3eaf7a606e59772aa645ce3ffff322d361ce359951b3f755cc48 SHA512 8c5891104bd531d555fc4c22086cfdea9f18be6885200f02e087d695d0518e311527a227f2c41e0dc1156cc0985265d0bee6c4504de7e2d2de0bc543a1036b5a WHIRLPOOL aaf60c5a30f9161bf8edb24e583e6a83e4a6e28abe7d9878d1d36b5ab34507ff2a47695dc4856c4fdad59463a5d56de1d8d35dee3315dfa54758c8445d9f706e
27
28 diff --git a/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch b/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch
29 index dc921ee..293debb 100644
30 --- a/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch
31 +++ b/app-crypt/gpgme/files/gpgme-1.1.8-et_EE.patch
32 @@ -1,5 +1,5 @@
33 ---- ./gpgme-1.1.8/src/gpgme-config.in.orig 2009-03-08 10:25:48.000000000 +1100
34 -+++ ./gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:35:53.000000000 +1100
35 +--- gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:25:48.000000000 +1100
36 ++++ gpgme-1.1.8/src/gpgme-config.in 2009-03-08 10:35:53.000000000 +1100
37 @@ -64,7 +64,7 @@
38 while test $# -gt 0; do
39 case "$1" in
40
41 diff --git a/app-crypt/gpgme/gpgme-1.7.0.ebuild b/app-crypt/gpgme/gpgme-1.7.0.ebuild
42 new file mode 100644
43 index 00000000..6f59d08
44 --- /dev/null
45 +++ b/app-crypt/gpgme/gpgme-1.7.0.ebuild
46 @@ -0,0 +1,62 @@
47 +# Copyright 1999-2016 Gentoo Foundation
48 +# Distributed under the terms of the GNU General Public License v2
49 +# $Id$
50 +
51 +EAPI="6"
52 +
53 +inherit eutils qmake-utils
54 +
55 +DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use"
56 +HOMEPAGE="http://www.gnupg.org/related_software/gpgme"
57 +SRC_URI="mirror://gnupg/gpgme/${P}.tar.bz2"
58 +
59 +LICENSE="GPL-2 LGPL-2.1"
60 +SLOT="1/11" # subslot = soname major version
61 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris ~x86-solaris"
62 +IUSE="common-lisp static-libs cxx qt5 test"
63 +
64 +RDEPEND="app-crypt/gnupg
65 + >=dev-libs/libassuan-2.0.2
66 + >=dev-libs/libgpg-error-1.11
67 + qt5? ( dev-qt/qtcore:5 )"
68 + #doc? ( app-doc/doxygen[dot] )
69 +DEPEND="${RDEPEND}
70 + qt5? (
71 + test? ( dev-qt/qttest:5 )
72 + )"
73 +
74 +REQUIRED_USE="qt5? ( cxx )"
75 +
76 +PATCHES=(
77 + "${FILESDIR}"/${PN}-1.1.8-et_EE.patch
78 +)
79 +
80 +src_prepare() {
81 + default
82 +
83 + # remove non working tests
84 + sed -i 's/\tt-sig-notation\$(EXEEXT)/\t/' tests/gpg/Makefile.in || die
85 + sed -i 's/ t-encrypt\$(EXEEXT)//' lang/qt/tests/Makefile.in || die
86 +}
87 +
88 +src_configure() {
89 + local languages=( "cl" )
90 + use cxx && languages+=( "cpp" )
91 + if use qt5; then
92 + languages+=( "qt" )
93 + #use doc ||
94 + export DOXYGEN=
95 + fi
96 +
97 + econf \
98 + --includedir="${EPREFIX}/usr/include/gpgme" \
99 + --enable-languages="${languages[*]}" \
100 + $(use_enable static-libs static)
101 +}
102 +
103 +src_install() {
104 + default
105 + prune_libtool_files
106 +
107 + use common-lisp || rm -fr "${ED}usr/share/common-lisp"
108 +}