diff options
author | 2016-11-01 23:43:56 +0100 | |
---|---|---|
committer | 2016-11-02 00:57:59 +0100 | |
commit | b50fe0a391cc114b1f17b58c22c7d583098414fc (patch) | |
tree | 9207449e06347a6079d2e8258ae7debcee11e9d7 /net-libs/glib-networking/glib-networking-2.50.0.ebuild | |
parent | media-sound/gnome-music: cleanup old revision (diff) | |
download | gentoo-b50fe0a391cc114b1f17b58c22c7d583098414fc.tar.gz gentoo-b50fe0a391cc114b1f17b58c22c7d583098414fc.tar.bz2 gentoo-b50fe0a391cc114b1f17b58c22c7d583098414fc.zip |
net-libs/glib-networking: version bump 2.48.2 → 2.50.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'net-libs/glib-networking/glib-networking-2.50.0.ebuild')
-rw-r--r-- | net-libs/glib-networking/glib-networking-2.50.0.ebuild | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/net-libs/glib-networking/glib-networking-2.50.0.ebuild b/net-libs/glib-networking/glib-networking-2.50.0.ebuild new file mode 100644 index 000000000000..5eb233f9545a --- /dev/null +++ b/net-libs/glib-networking/glib-networking-2.50.0.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +GNOME2_LA_PUNT="yes" + +inherit gnome2 multilib-minimal virtualx + +DESCRIPTION="Network-related giomodules for glib" +HOMEPAGE="https://git.gnome.org/browse/glib-networking/" + +LICENSE="LGPL-2+" +SLOT="0" +IUSE="+gnome +libproxy smartcard +ssl test" +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" + +RDEPEND=" + >=dev-libs/glib-2.46.0:2[${MULTILIB_USEDEP}] + gnome? ( gnome-base/gsettings-desktop-schemas ) + libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] ) + smartcard? ( + >=app-crypt/p11-kit-0.18.4[${MULTILIB_USEDEP}] + >=net-libs/gnutls-3:=[pkcs11,${MULTILIB_USEDEP}] ) + ssl? ( + app-misc/ca-certificates + >=net-libs/gnutls-3:=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.19.4 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] + test? ( sys-apps/dbus[X] ) +" +# eautoreconf needs >=sys-devel/autoconf-2.65:2.5 + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + --disable-static \ + --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \ + $(use_with gnome gnome-proxy) \ + $(use_with libproxy) \ + $(use_with smartcard pkcs11) \ + $(use_with ssl gnutls) +} + +multilib_src_test() { + # XXX: non-native tests fail if glib-networking is already installed. + # have no idea what's wrong. would appreciate some help. + multilib_is_native_abi || return 0 + + virtx emake check +} + +multilib_src_install() { + gnome2_src_install +} + +pkg_postinst() { + gnome2_pkg_postinst + + multilib_pkg_postinst() { + gnome2_giomodule_cache_update \ + || die "Update GIO modules cache failed (for ${ABI})" + } + multilib_foreach_abi multilib_pkg_postinst +} + +pkg_postrm() { + gnome2_pkg_postrm + + multilib_pkg_postrm() { + gnome2_giomodule_cache_update \ + || die "Update GIO modules cache failed (for ${ABI})" + } + multilib_foreach_abi multilib_pkg_postrm +} |