1 |
commit: 1101e5aa34e481cd30715f5cf0f7920744b72747 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 27 09:28:57 2014 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 27 09:28:57 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=1101e5aa |
7 |
|
8 |
net-libs/libsoup-gnome: port multilib support from gentoo |
9 |
|
10 |
Package-Manager: portage-2.2.14 |
11 |
Manifest-Sign-Key: EFB4464E! |
12 |
|
13 |
--- |
14 |
net-libs/libsoup-gnome/libsoup-gnome-2.48.0.ebuild | 18 +++++++++++------- |
15 |
1 file changed, 11 insertions(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/libsoup-gnome/libsoup-gnome-2.48.0.ebuild b/net-libs/libsoup-gnome/libsoup-gnome-2.48.0.ebuild |
18 |
index 7610a25..20f4e6c 100644 |
19 |
--- a/net-libs/libsoup-gnome/libsoup-gnome-2.48.0.ebuild |
20 |
+++ b/net-libs/libsoup-gnome/libsoup-gnome-2.48.0.ebuild |
21 |
@@ -9,7 +9,7 @@ GNOME2_LA_PUNT="yes" |
22 |
MY_PN=${PN/-gnome} |
23 |
MY_P=${MY_PN}-${PV} |
24 |
|
25 |
-inherit autotools eutils gnome2 |
26 |
+inherit autotools eutils gnome2 multilib-minimal |
27 |
|
28 |
DESCRIPTION="GNOME plugin for libsoup" |
29 |
HOMEPAGE="https://wiki.gnome.org/LibSoup" |
30 |
@@ -21,16 +21,16 @@ IUSE="debug +introspection" |
31 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x86-solaris" |
32 |
|
33 |
RDEPEND=" |
34 |
- ~net-libs/libsoup-${PV}[introspection?] |
35 |
- dev-db/sqlite:3= |
36 |
+ ~net-libs/libsoup-${PV}[introspection?,${MULTILIB_USEDEP}] |
37 |
+ dev-db/sqlite:3=[${MULTILIB_USEDEP}] |
38 |
introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) |
39 |
- >=net-libs/libsoup-2.42.2-r1 |
40 |
+ >=net-libs/libsoup-2.42.2-r1[${MULTILIB_USEDEP}] |
41 |
" |
42 |
DEPEND="${RDEPEND} |
43 |
>=dev-util/gtk-doc-am-1.10 |
44 |
>=dev-util/intltool-0.35 |
45 |
sys-devel/gettext |
46 |
- virtual/pkgconfig |
47 |
+ virtual/pkgconfig[${MULTILIB_USEDEP}] |
48 |
" |
49 |
|
50 |
S=${WORKDIR}/${MY_P} |
51 |
@@ -42,17 +42,21 @@ src_prepare() { |
52 |
gnome2_src_prepare |
53 |
} |
54 |
|
55 |
-src_configure() { |
56 |
+multilib_src_configure() { |
57 |
# FIXME: we need addpredict to workaround bug #324779 until |
58 |
# root cause (bug #249496) is solved |
59 |
addpredict /usr/share/snmp/mibs/.index |
60 |
|
61 |
# Disable apache tests until they are usable on Gentoo, bug #326957 |
62 |
+ ECONF_SOURCE=${S} \ |
63 |
gnome2_src_configure \ |
64 |
--disable-static \ |
65 |
--disable-tls-check \ |
66 |
- $(use_enable introspection) \ |
67 |
+ $(multilib_native_use_enable introspection) \ |
68 |
--with-libsoup-system \ |
69 |
--with-gnome \ |
70 |
--without-apache-httpd |
71 |
} |
72 |
+ |
73 |
+multilib_src_compile() { gnome2_src_compile; } |
74 |
+multilib_src_install() { gnome2_src_install; } |