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

Contents of /net-libs/glib-networking/glib-networking-2.30.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Sep 25 11:53:27 2012 UTC (2 years ago) by tetromino
Branch: MAIN
Changes since 1.11: +2 -2 lines
Version bump for glib-2.34. Drop old. Make license more precise.

(Portage version: 2.2.0_alpha132/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.30.2.ebuild,v 1.11 2012/07/15 18:12:25 armin76 Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2
10 # tests need virtualx
11
12 DESCRIPTION="Network-related giomodules for glib"
13 HOMEPAGE="http://git.gnome.org/browse/glib-networking/"
14
15 LICENSE="LGPL-2+"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
18 IUSE="+gnome +libproxy +ssl" # test
19
20 RDEPEND=">=dev-libs/glib-2.29.16:2
21 gnome? ( gnome-base/gsettings-desktop-schemas )
22 libproxy? ( >=net-libs/libproxy-0.4.6-r3 )
23 ssl? (
24 app-misc/ca-certificates
25 dev-libs/libgcrypt
26 >=net-libs/gnutls-2.1.7 )
27 "
28 DEPEND="${RDEPEND}
29 >=dev-util/intltool-0.35.0
30 virtual/pkgconfig
31 sys-devel/gettext"
32 # test? ( sys-apps/dbus[X] )"
33 # eautoreconf needs >=sys-devel/autoconf-2.65:2.5
34
35 # FIXME: tls tests often fail, figure out why, bug #387799
36 # ERROR:tls.c:265:on_input_read_finish: assertion failed (error == NULL): Error performing TLS handshake: The request is invalid. (g-tls-error-quark, 1)
37 RESTRICT="test"
38
39 pkg_setup() {
40 # AUTHORS, ChangeLog are empty
41 DOCS="NEWS README"
42 G2CONF="${G2CONF}
43 --disable-static
44 --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
45 $(use_with gnome gnome-proxy)
46 $(use_with libproxy)
47 $(use_with ssl gnutls)"
48 }
49
50 src_prepare() {
51 gnome2_src_prepare
52
53 # Drop DEPRECATED flags
54 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
55 proxy/libproxy/Makefile.am proxy/libproxy/Makefile.in \
56 proxy/gnome/Makefile.am proxy/gnome/Makefile.in \
57 tls/gnutls/Makefile.am tls/gnutls/Makefile.in || die
58 }
59
60 #src_test() {
61 # global make check fails if gnome-proxy test is not built
62 # use gnome || cd tls/tests
63 # Xemake check
64 #}

  ViewVC Help
Powered by ViewVC 1.1.20