1 |
commit: 794882c95ee949fe3bf5c2a7beb0eea268dd3a48 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 30 08:29:34 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 30 08:29:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=794882c9 |
7 |
|
8 |
dev-libs/libgpg-error: Bump to version 1.38 |
9 |
|
10 |
Package-Manager: Portage-2.3.100, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libgpg-error/Manifest | 1 + |
14 |
dev-libs/libgpg-error/libgpg-error-1.38.ebuild | 56 ++++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest |
18 |
index c140345e9fb..0f04e620413 100644 |
19 |
--- a/dev-libs/libgpg-error/Manifest |
20 |
+++ b/dev-libs/libgpg-error/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST libgpg-error-1.36.tar.bz2 920542 BLAKE2B 81684f6e47192c50cfa408977d53dc3812befca28733b531d51dffa0a6799a47366a50f64755557a7b3111a179ac4aba9e6a527418461cdbcccea80ae6bed4fa SHA512 6e5f853f77dc04f0091d94b224cab8e669042450f271b78d0ea0219658d059c9cab1ab0eaa020a4227f451520b417fc340b85971a6f5e144fa69be57e15df346 |
23 |
DIST libgpg-error-1.37.tar.bz2 937282 BLAKE2B 70666749aa0156652405ee15e4307f29bdf748f06728da5c672c0208053e0d3a041aaef882b263dd828e2aa7dd8a2f77334447af2c499f81f7602150d84f593f SHA512 fa12977237fcc872e944cda39ca43ee7d2cc9c52e243ede6077f4a31ae135e322dc848b4b55cffdc4ec53f27601ba30ddb368b090a94cd00d9345a55b323f179 |
24 |
+DIST libgpg-error-1.38.tar.bz2 957637 BLAKE2B 9532402466748503805366b94c82c9adfe5b448f885c26b33ebf7ba9957161ca046b4057f5ca862224accb9f2af731652a55d20e7a4ab69107190a58c8e11ad6 SHA512 b936a4738c2cee111d855b1ba3ec433da8c77799a87d1f71275f974f871ebfa593c9db06ea53f0490b6cd6b94bef34f6052a587a4d13d839ec0128500c2dd9de |
25 |
|
26 |
diff --git a/dev-libs/libgpg-error/libgpg-error-1.38.ebuild b/dev-libs/libgpg-error/libgpg-error-1.38.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..f6fa282fbe0 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libgpg-error/libgpg-error-1.38.ebuild |
31 |
@@ -0,0 +1,56 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+inherit autotools libtool multilib-minimal toolchain-funcs prefix |
38 |
+ |
39 |
+DESCRIPTION="Contains error handling functions used by GnuPG software" |
40 |
+HOMEPAGE="http://www.gnupg.org/related_software/libgpg-error" |
41 |
+SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="GPL-2 LGPL-2.1" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
46 |
+IUSE="common-lisp nls static-libs" |
47 |
+ |
48 |
+RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" |
49 |
+DEPEND="${RDEPEND}" |
50 |
+BDEPEND="nls? ( sys-devel/gettext )" |
51 |
+ |
52 |
+MULTILIB_CHOST_TOOLS=( |
53 |
+ /usr/bin/gpg-error-config |
54 |
+) |
55 |
+MULTILIB_WRAPPED_HEADERS=( |
56 |
+ /usr/include/gpg-error.h |
57 |
+ /usr/include/gpgrt.h |
58 |
+) |
59 |
+ |
60 |
+PATCHES=( "${FILESDIR}/${PN}-1.37-remove_broken_check.patch" ) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ # only necessary for as long as we run eautoreconf, configure.ac |
65 |
+ # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is |
66 |
+ # not a pure /bin/sh script, so it fails on some hosts |
67 |
+ hprefixify -w 1 autogen.sh |
68 |
+ eautoreconf |
69 |
+} |
70 |
+ |
71 |
+multilib_src_configure() { |
72 |
+ local myeconfargs=( |
73 |
+ $(multilib_is_native_abi || echo --disable-languages) |
74 |
+ $(use_enable common-lisp languages) |
75 |
+ $(use_enable nls) |
76 |
+ $(use_enable static-libs static) |
77 |
+ --enable-threads |
78 |
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" |
79 |
+ $("${S}/configure" --help | grep -o -- '--without-.*-prefix') |
80 |
+ ) |
81 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
82 |
+} |
83 |
+ |
84 |
+multilib_src_install_all() { |
85 |
+ einstalldocs |
86 |
+ find "${ED}" -type f -name '*.la' -delete || die |
87 |
+} |