Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/glib-networking/
Date: Sun, 23 Feb 2020 12:24:57
Message-Id: 1582460671.9efb97045fd98267a26fdc7bda76c0cdfd134714.leio@gentoo
1 commit: 9efb97045fd98267a26fdc7bda76c0cdfd134714
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 23 12:21:25 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 23 12:24:31 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efb9704
7
8 net-libs/glib-networking: bump to 2.62.3
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 net-libs/glib-networking/Manifest | 1 +
14 .../glib-networking/glib-networking-2.62.3.ebuild | 73 ++++++++++++++++++++++
15 2 files changed, 74 insertions(+)
16
17 diff --git a/net-libs/glib-networking/Manifest b/net-libs/glib-networking/Manifest
18 index 7e2283e2162..12fe39ecc38 100644
19 --- a/net-libs/glib-networking/Manifest
20 +++ b/net-libs/glib-networking/Manifest
21 @@ -1,2 +1,3 @@
22 DIST glib-networking-2.60.3.tar.xz 185132 BLAKE2B 8bbe2b8afb779bac99bd554c384bdbf9e197e9b71dc6fe213cdd4352d95ce19d1c9786747ba5c721fc35bdda3e1325e9620c1ef15ca1fa1e294aad9ab3f9a4bc SHA512 06a50aee1a563f5e992549e963d3980b02c9068976a244ce4a84eb0aca064b2ab7e8d50e3ef26dbd0d8d5edbddc82c5ce83d4a93bfaa0822b79465f0d3b8609f
23 DIST glib-networking-2.60.4.tar.xz 185628 BLAKE2B b10fecb88f09c4c33718a923f6ae5790baada485b4dd3637b0ae9bf5f831b74ac4b87fc398eed4c4a88b7069e4c5bc9a58c04ccbffc056648baa58b43d4489a3 SHA512 db1019c0fc712c0702679146bdd9490101cec63796792a33c7fc7fe26a85d343cfb11f718601a8d3bd91167505bbe60333cc01999a0496826c31681bb8dd4032
24 +DIST glib-networking-2.62.3.tar.xz 183996 BLAKE2B 3841a355fe485f30970ab571fbe7ae73c8351cdcdad5021809fcac4663bca31b309a0921d07b2551c428ac154da2290e377da0299e66b2b099dfb556f387d18b SHA512 6bcf7584a4d97745e980598eb9182ba2e416471455d9c3debc4cbaea07250e395f6d7001af544ce0114a26d726e71e9b420d9756508cda09499016e89f4a6da1
25
26 diff --git a/net-libs/glib-networking/glib-networking-2.62.3.ebuild b/net-libs/glib-networking/glib-networking-2.62.3.ebuild
27 new file mode 100644
28 index 00000000000..8862fff92c3
29 --- /dev/null
30 +++ b/net-libs/glib-networking/glib-networking-2.62.3.ebuild
31 @@ -0,0 +1,73 @@
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 gnome.org gnome2-utils meson multilib-minimal xdg
38 +
39 +DESCRIPTION="Network-related giomodules for glib"
40 +HOMEPAGE="https://git.gnome.org/browse/glib-networking/"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="0"
44 +IUSE="+gnome +libproxy +ssl test"
45 +RESTRICT="!test? ( test )"
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
47 +
48 +RDEPEND="
49 + >=dev-libs/glib-2.60.0:2[${MULTILIB_USEDEP}]
50 + libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] )
51 + >=net-libs/gnutls-3.4.6:=[${MULTILIB_USEDEP}]
52 + ssl? ( app-misc/ca-certificates )
53 + gnome? ( gnome-base/gsettings-desktop-schemas )
54 +"
55 +DEPEND="${RDEPEND}"
56 +BDEPEND="
57 + >=sys-devel/gettext-0.19.8
58 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
59 + test? ( sys-apps/dbus )
60 +"
61 +
62 +multilib_src_configure() {
63 + local emesonargs=(
64 + -Dgnutls=enabled
65 + -Dopenssl=disabled
66 + $(meson_feature libproxy)
67 + $(meson_feature gnome gnome_proxy)
68 + -Dinstalled_tests=false
69 + -Dstatic_modules=false
70 + )
71 + meson_src_configure
72 +}
73 +
74 +multilib_src_compile() {
75 + meson_src_compile
76 +}
77 +
78 +multilib_src_install() {
79 + meson_src_install
80 +}
81 +
82 +multilib_src_test() {
83 + dbus-run-session meson test -C "${BUILD_DIR}" || die 'tests failed'
84 +}
85 +
86 +pkg_postinst() {
87 + xdg_pkg_postinst
88 +
89 + multilib_pkg_postinst() {
90 + gnome2_giomodule_cache_update \
91 + || die "Update GIO modules cache failed (for ${ABI})"
92 + }
93 + multilib_foreach_abi multilib_pkg_postinst
94 +}
95 +
96 +pkg_postrm() {
97 + xdg_pkg_postrm
98 +
99 + multilib_pkg_postrm() {
100 + gnome2_giomodule_cache_update \
101 + || die "Update GIO modules cache failed (for ${ABI})"
102 + }
103 + multilib_foreach_abi multilib_pkg_postrm
104 +}