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: Sat, 02 Jan 2016 15:41:24
Message-Id: 1451749266.8c9d50305560842541547d9fb5ccdaaf0d438146.eva@gentoo
1 commit: 8c9d50305560842541547d9fb5ccdaaf0d438146
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 15:33:55 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 15:41:06 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c9d5030
7
8 net-libs/glib-networking: handle GIO modules cache update
9
10 Package-Manager: portage-2.2.26
11
12 .../glib-networking/glib-networking-2.46.1.ebuild | 22 +++++++++++++++++++++-
13 1 file changed, 21 insertions(+), 1 deletion(-)
14
15 diff --git a/net-libs/glib-networking/glib-networking-2.46.1.ebuild b/net-libs/glib-networking/glib-networking-2.46.1.ebuild
16 index 4b0c2b6..6f1fc6d 100644
17 --- a/net-libs/glib-networking/glib-networking-2.46.1.ebuild
18 +++ b/net-libs/glib-networking/glib-networking-2.46.1.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 @@ -67,3 +67,23 @@ multilib_src_test() {
26 multilib_src_install() {
27 gnome2_src_install
28 }
29 +
30 +pkg_postinst() {
31 + gnome2_pkg_postinst
32 +
33 + multilib_pkg_postinst() {
34 + gnome2_giomodule_cache_update \
35 + || die "Update GIO modules cache failed (for ${ABI})"
36 + }
37 + multilib_foreach_abi multilib_pkg_postinst
38 +}
39 +
40 +pkg_postrm() {
41 + gnome2_pkg_postrm
42 +
43 + multilib_pkg_postrm() {
44 + gnome2_giomodule_cache_update \
45 + || die "Update GIO modules cache failed (for ${ABI})"
46 + }
47 + multilib_foreach_abi multilib_pkg_postrm
48 +}