1 |
mgorny 14/06/08 07:46:55 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libproxy-0.4.11-r2.ebuild |
5 |
Log: |
6 |
Enable multilib support, as dependency of net-libs/glib-networking. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.110 net-libs/libproxy/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/ChangeLog?rev=1.110&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/ChangeLog?rev=1.110&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/ChangeLog?r1=1.109&r2=1.110 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v |
20 |
retrieving revision 1.109 |
21 |
retrieving revision 1.110 |
22 |
diff -u -r1.109 -r1.110 |
23 |
--- ChangeLog 22 Feb 2014 22:57:54 -0000 1.109 |
24 |
+++ ChangeLog 8 Jun 2014 07:46:55 -0000 1.110 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-libs/libproxy |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.109 2014/02/22 22:57:54 pacho Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.110 2014/06/08 07:46:55 mgorny Exp $ |
30 |
+ |
31 |
+*libproxy-0.4.11-r2 (08 Jun 2014) |
32 |
+ |
33 |
+ 08 Jun 2014; Michał Górny <mgorny@g.o> +libproxy-0.4.11-r2.ebuild: |
34 |
+ Enable multilib support, as dependency of net-libs/glib-networking. |
35 |
|
36 |
22 Feb 2014; Pacho Ramos <pacho@g.o> libproxy-0.4.11-r1.ebuild: |
37 |
Fix wrong commit, bug 502160 |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-libs/libproxy/libproxy-0.4.11-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/libproxy-0.4.11-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libproxy/libproxy-0.4.11-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libproxy-0.4.11-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2014 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.4.11-r2.ebuild,v 1.1 2014/06/08 07:46:55 mgorny Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
54 |
|
55 |
inherit cmake-multilib eutils flag-o-matic mono python-r1 |
56 |
|
57 |
DESCRIPTION="Library for automatic proxy configuration management" |
58 |
HOMEPAGE="http://code.google.com/p/libproxy/" |
59 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
60 |
|
61 |
LICENSE="LGPL-2.1+" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
64 |
IUSE="gnome kde mono networkmanager perl python spidermonkey test webkit" |
65 |
|
66 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
67 |
|
68 |
# NOTE: mozjs/spidermonkey might still cause problems like #373397 ? |
69 |
# NOTE: webkit-gtk:3, not :2, needed for libjavascriptcoregtk support |
70 |
RDEPEND="gnome? ( >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] ) |
71 |
kde? ( >=kde-base/kdelibs-4.4.5 ) |
72 |
mono? ( dev-lang/mono ) |
73 |
networkmanager? ( sys-apps/dbus[${MULTILIB_USEDEP}] ) |
74 |
perl? ( dev-lang/perl ) |
75 |
python? ( ${PYTHON_DEPS} ) |
76 |
spidermonkey? ( >=dev-lang/spidermonkey-1.8.5:0= ) |
77 |
webkit? ( >=net-libs/webkit-gtk-1.6:3= )" |
78 |
DEPEND="${RDEPEND} |
79 |
kde? ( dev-util/automoc ) |
80 |
virtual/pkgconfig[${MULTILIB_USEDEP}]" |
81 |
# avoid dependency loop, bug #467696 |
82 |
PDEPEND="networkmanager? ( net-misc/networkmanager )" |
83 |
|
84 |
src_prepare() { |
85 |
# Gentoo's spidermonkey doesn't set Version: in mozjs18[57].pc |
86 |
epatch "${FILESDIR}/${P}-mozjs.pc.patch" |
87 |
|
88 |
# get-pac-test freezes when run by the ebuild, succeeds when building |
89 |
# manually; virtualx.eclass doesn't help :( |
90 |
epatch "${FILESDIR}/${PN}-0.4.10-disable-pac-test.patch" |
91 |
|
92 |
epatch "${FILESDIR}"/${P}-macosx.patch |
93 |
|
94 |
# prevent dependency loop with networkmanager, libsoup, glib-networking; bug #467696 |
95 |
epatch "${FILESDIR}/${PN}-0.4.11-avoid-nm-build-dep.patch" |
96 |
} |
97 |
|
98 |
src_configure() { |
99 |
[[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl |
100 |
|
101 |
use python && python_setup |
102 |
multilib-minimal_src_configure |
103 |
} |
104 |
|
105 |
multilib_src_configure() { |
106 |
# WITH_VALA just copies the .vapi file over and needs no deps, |
107 |
# hence always enable it unconditionally |
108 |
local mycmakeargs=( |
109 |
-DPERL_VENDORINSTALL=ON |
110 |
-DCMAKE_C_FLAGS="${CFLAGS}" |
111 |
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
112 |
$(cmake-utils_use_with gnome GNOME3) |
113 |
$(multilib_is_native_abi && cmake-utils_use_with kde KDE4 \ |
114 |
|| echo -DWITH_KDE4=OFF) |
115 |
$(multilib_is_native_abi && cmake-utils_use_with mono DOTNET \ |
116 |
|| echo -DWITH_DOTNET=OFF) |
117 |
$(cmake-utils_use_with networkmanager NM) |
118 |
$(multilib_is_native_abi && cmake-utils_use_with perl PERL \ |
119 |
|| echo -DWITH_PERL=OFF) |
120 |
$(multilib_is_native_abi && cmake-utils_use_with python PYTHON \ |
121 |
|| echo -DWITH_PYTHON=OFF) |
122 |
$(multilib_is_native_abi && cmake-utils_use_with spidermonkey MOZJS \ |
123 |
|| echo -DWITH_MOZJS=OFF) |
124 |
$(multilib_is_native_abi && cmake-utils_use_with webkit WEBKIT \ |
125 |
|| echo -DWITH_WEBKIT=OFF) |
126 |
$(multilib_is_native_abi && cmake-utils_use_with webkit WEBKIT3 \ |
127 |
|| echo -DWITH_WEBKIT3=OFF) |
128 |
-DWITH_VALA=ON |
129 |
$(cmake-utils_use test BUILD_TESTING) |
130 |
) |
131 |
cmake-utils_src_configure |
132 |
} |
133 |
|
134 |
multilib_src_install_all() { |
135 |
DOCS="AUTHORS ChangeLog NEWS README" |
136 |
einstalldocs |
137 |
|
138 |
if use python; then |
139 |
python_foreach_impl python_domodule bindings/python/libproxy.py || die |
140 |
fi |
141 |
} |