/[gentoo-x86]/net-libs/glib-networking/glib-networking-2.40.1-r1.ebuild
Gentoo

Contents of /net-libs/glib-networking/glib-networking-2.40.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Sat Oct 11 12:24:17 2014 UTC (6 years, 1 month ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +2 -2 lines
arm stable, bug #512012

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, RepoMan options: --include-arches="arm", signed Manifest commit with key 072AD062)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/glib-networking/glib-networking-2.40.1-r1.ebuild,v 1.11 2014/09/15 08:23:28 ago Exp $
4
5 EAPI="5"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit autotools eutils gnome2 multilib-minimal virtualx
10
11 DESCRIPTION="Network-related giomodules for glib"
12 HOMEPAGE="http://git.gnome.org/browse/glib-networking/"
13
14 LICENSE="LGPL-2+"
15 SLOT="0"
16 IUSE="+gnome +libproxy smartcard +ssl test"
17 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"
18
19 RDEPEND="
20 >=dev-libs/glib-2.40.0-r1:2[${MULTILIB_USEDEP}]
21 gnome? ( gnome-base/gsettings-desktop-schemas )
22 libproxy? ( >=net-libs/libproxy-0.4.11-r1:=[${MULTILIB_USEDEP}] )
23 smartcard? (
24 >=app-crypt/p11-kit-0.18.4[${MULTILIB_USEDEP}]
25 >=net-libs/gnutls-2.12.23-r6:=[pkcs11,${MULTILIB_USEDEP}] )
26 ssl? (
27 app-misc/ca-certificates
28 >=net-libs/gnutls-2.12.23-r6:=[${MULTILIB_USEDEP}] )
29 "
30 DEPEND="${RDEPEND}
31 >=dev-util/intltool-0.35.0
32 sys-devel/gettext
33 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
34 test? ( sys-apps/dbus[X] )
35 "
36 # eautoreconf needs >=sys-devel/autoconf-2.65:2.5
37
38 src_prepare() {
39 epatch "${FILESDIR}"/${P}-unittests.patch
40 eautoreconf
41 gnome2_src_prepare
42 }
43
44 multilib_src_configure() {
45 ECONF_SOURCE=${S} \
46 gnome2_src_configure \
47 --disable-static \
48 --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt \
49 $(use_with gnome gnome-proxy) \
50 $(use_with libproxy) \
51 $(use_with smartcard pkcs11) \
52 $(use_with ssl gnutls)
53 }
54
55 multilib_src_test() {
56 # non-native tests fail if glib-networking is already installed.
57 # have no idea what's wrong. would appreciate some help.
58 multilib_is_native_abi || return 0
59
60 Xemake check
61 }
62
63 multilib_src_install() {
64 gnome2_src_install
65 }

  ViewVC Help
Powered by ViewVC 1.1.20