Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/glib-networking/
Date: Tue, 01 Nov 2016 23:58:52
Message-Id: 1478044679.b50fe0a391cc114b1f17b58c22c7d583098414fc.eva@gentoo
1 commit: b50fe0a391cc114b1f17b58c22c7d583098414fc
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 22:43:56 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 23:57:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50fe0a3
7
8 net-libs/glib-networking: version bump 2.48.2 → 2.50.0
9
10 Package-Manager: portage-2.3.2
11
12 net-libs/glib-networking/Manifest | 1 +
13 .../glib-networking/glib-networking-2.50.0.ebuild | 77 ++++++++++++++++++++++
14 2 files changed, 78 insertions(+)
15
16 diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest
17 index 0c76f75..3c353c8 100644
18 --- a/net-libs/glib-networking/Manifest
19 +++ b/net-libs/glib-networking/Manifest
20 @@ -1,3 +1,4 @@
21 DIST glib-networking-2.44.0.tar.xz 375456 SHA256 8f8a340d3ba99bfdef38b653da929652ea6640e27969d29f7ac51fbbe11a4346 SHA512 318d7b7a4beeb21f75da9278bae7016bf78be48f9e2b9365d48246c97d1c6b6f5aba3365ef81f2592fd3cc3d5d16122c245dd3cfede6eaffc3e94113a527e10b WHIRLPOOL aaee32a45fbccbece1378a0a304b6215862bd1fd69991fbd99f344027693b4040b5acfe6b96f20c9d05d648cc72394dade50a233d61f19195e2f7ced5c4f0292
22 DIST glib-networking-2.46.1.tar.xz 378352 SHA256 d5034214217f705891b6c9e719cc2c583c870bfcfdc454ebbb5e5e8940ac90b1 SHA512 0d8d1977a3841c73eeaee478ceaf84bbba810818596350afdf218ff4cae4cdfc4a3a814c38481f7e439050f6bcb71b0b06d02afd8ea3e33d390f87f436f17b96 WHIRLPOOL ff448e1a8d57795c1803dfcbf0e082e09ecdd6d37111e703e2e4877af9d0aa51ee70b0fc9ee31b9142f058906e64da40dc42ebd81e8bac635c04a479db5ab926
23 DIST glib-networking-2.48.2.tar.xz 392340 SHA256 925c0c49d6b2b8b5695f2e33cd952d1dbb7d18d3f2f796413577719315bb3a84 SHA512 e33e2f2af062eaa686bb20cd872f25eca0bbbf9bba072e74049a2996dd66fe1a2000ba991354ed63fc196f3da4d9cfa05cc4ae31cfe08cfaf997cf08a9e2fd84 WHIRLPOOL 75a09eb6de135419cfc7a4f2ad3b97a0c3004ba9e8a4f1c64983eda72eb7ce6e9f11d58460ee71dc36c62d0040927d01d9283269626d1647e03e19ffc52fdaa0
24 +DIST glib-networking-2.50.0.tar.xz 435380 SHA256 3f1a442f3c2a734946983532ce59ed49120319fdb10c938447c373d5e5286bee SHA512 a1e9d28a546f83d461057f088ca2467a32be110f444c8ede1cbfeb20244637d8d5fb5b5b0ee4485feb517beebc3536671442bbfdd3ba01663b52e6da138bd7fe WHIRLPOOL c9d2fa9c36fa9e48991ebf09c5719ccb6e0cb72bcdc5a878ea7d1db71d7edf2614ff6a4c91839860cb3f92aae336fd6033c26d8905c06730369e1256435ee47a
25
26 diff --git a/net-libs/glib-networking/glib-networking-2.50.0.ebuild b/net-libs/glib-networking/glib-networking-2.50.0.ebuild
27 new file mode 100644
28 index 00000000..5eb233f
29 --- /dev/null
30 +++ b/net-libs/glib-networking/glib-networking-2.50.0.ebuild
31 @@ -0,0 +1,77 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +GNOME2_LA_PUNT="yes"
38 +
39 +inherit gnome2 multilib-minimal virtualx
40 +
41 +DESCRIPTION="Network-related giomodules for glib"
42 +HOMEPAGE="https://git.gnome.org/browse/glib-networking/"
43 +
44 +LICENSE="LGPL-2+"
45 +SLOT="0"
46 +IUSE="+gnome +libproxy smartcard +ssl test"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
48 +
49 +RDEPEND="
50 + >=dev-libs/glib-2.46.0:2[${MULTILIB_USEDEP}]
51 + gnome? ( gnome-base/gsettings-desktop-schemas )
52 + libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] )
53 + smartcard? (
54 + >=app-crypt/p11-kit-0.18.4[${MULTILIB_USEDEP}]
55 + >=net-libs/gnutls-3:=[pkcs11,${MULTILIB_USEDEP}] )
56 + ssl? (
57 + app-misc/ca-certificates
58 + >=net-libs/gnutls-3:=[${MULTILIB_USEDEP}] )
59 +"
60 +DEPEND="${RDEPEND}
61 + >=sys-devel/gettext-0.19.4
62 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
63 + test? ( sys-apps/dbus[X] )
64 +"
65 +# eautoreconf needs >=sys-devel/autoconf-2.65:2.5
66 +
67 +multilib_src_configure() {
68 + ECONF_SOURCE=${S} \
69 + gnome2_src_configure \
70 + --disable-static \
71 + --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
72 + $(use_with gnome gnome-proxy) \
73 + $(use_with libproxy) \
74 + $(use_with smartcard pkcs11) \
75 + $(use_with ssl gnutls)
76 +}
77 +
78 +multilib_src_test() {
79 + # XXX: non-native tests fail if glib-networking is already installed.
80 + # have no idea what's wrong. would appreciate some help.
81 + multilib_is_native_abi || return 0
82 +
83 + virtx emake check
84 +}
85 +
86 +multilib_src_install() {
87 + gnome2_src_install
88 +}
89 +
90 +pkg_postinst() {
91 + gnome2_pkg_postinst
92 +
93 + multilib_pkg_postinst() {
94 + gnome2_giomodule_cache_update \
95 + || die "Update GIO modules cache failed (for ${ABI})"
96 + }
97 + multilib_foreach_abi multilib_pkg_postinst
98 +}
99 +
100 +pkg_postrm() {
101 + gnome2_pkg_postrm
102 +
103 + multilib_pkg_postrm() {
104 + gnome2_giomodule_cache_update \
105 + || die "Update GIO modules cache failed (for ${ABI})"
106 + }
107 + multilib_foreach_abi multilib_pkg_postrm
108 +}