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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Sep 25 11:53:27 2012 UTC (23 months, 3 weeks ago) by tetromino
Branch: MAIN
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: $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8
9 inherit gnome2 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
18
19 RDEPEND=">=dev-libs/glib-2.34:2
20 gnome? ( gnome-base/gsettings-desktop-schemas )
21 libproxy? ( >=net-libs/libproxy-0.4.6-r3 )
22 smartcard? (
23 >=app-crypt/p11-kit-0.8
24 >=net-libs/gnutls-2.12.8[pkcs11] )
25 ssl? (
26 app-misc/ca-certificates
27 >=net-libs/gnutls-2.11.0 )
28 "
29 DEPEND="${RDEPEND}
30 >=dev-util/intltool-0.35.0
31 virtual/pkgconfig
32 sys-devel/gettext
33 test? ( sys-apps/dbus[X] )"
34 # eautoreconf needs >=sys-devel/autoconf-2.65:2.5
35
36 pkg_setup() {
37 # AUTHORS, ChangeLog are empty
38 DOCS="NEWS README"
39 G2CONF="${G2CONF}
40 --disable-static
41 --with-ca-certificates="${EPREFIX}"/etc/ssl/certs/ca-certificates.crt
42 $(use_with gnome gnome-proxy)
43 $(use_with libproxy)
44 $(use_with smartcard pkcs11)
45 $(use_with ssl gnutls)"
46 }
47
48 src_prepare() {
49 gnome2_src_prepare
50
51 # Drop DEPRECATED flags
52 LC_ALL=C sed -e 's:-D[A-Z_]*DISABLE_DEPRECATED *\\:\\:g' \
53 -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
54 -i Makefile.{decl,in} \
55 proxy/gnome/Makefile.in \
56 proxy/libproxy/Makefile.in \
57 proxy/tests/Makefile.in \
58 tls/gnutls/Makefile.in \
59 tls/pkcs11/Makefile.{am,in} \
60 tls/tests/Makefile.in || die
61 sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
62 tls/pkcs11/Makefile.{am,in} || die
63 }
64
65 src_test() {
66 Xemake check
67 }

  ViewVC Help
Powered by ViewVC 1.1.20