1 |
commit: b92b19196819f6ac090bd2efa2db9ee9f762d8f1 |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 11 13:20:10 2018 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 11 13:21:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b92b1919 |
7 |
|
8 |
dev-libs/folks: fix problem building against tracker-2 |
9 |
|
10 |
Introspection files must be regenerated since they contain |
11 |
hard-references to the installed tracker revision which causes problems |
12 |
on tracker soversion changes like the 2.0 release. The easiest way to |
13 |
do that is to re-generate sources from vala directly. This problem |
14 |
should vanish if the project is ever ported to meson. |
15 |
|
16 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
17 |
Signed-off-by: Gilles Dartiguelongue <eva <AT> gentoo.org> |
18 |
|
19 |
dev-libs/folks/folks-0.11.4-r1.ebuild | 87 +++++++++++++++++++++++++++++++++++ |
20 |
1 file changed, 87 insertions(+) |
21 |
|
22 |
diff --git a/dev-libs/folks/folks-0.11.4-r1.ebuild b/dev-libs/folks/folks-0.11.4-r1.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..821d24168b2 |
25 |
--- /dev/null |
26 |
+++ b/dev-libs/folks/folks-0.11.4-r1.ebuild |
27 |
@@ -0,0 +1,87 @@ |
28 |
+# Copyright 1999-2018 Gentoo Authors |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+GNOME2_LA_PUNT="yes" |
33 |
+VALA_USE_DEPEND="vapigen" |
34 |
+ |
35 |
+inherit gnome2 vala virtualx |
36 |
+ |
37 |
+DESCRIPTION="Library for aggregating people from multiple sources" |
38 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Folks" |
39 |
+ |
40 |
+LICENSE="LGPL-2.1+" |
41 |
+SLOT="0/25" # subslot = libfolks soname version |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" |
43 |
+ |
44 |
+# TODO: --enable-profiling |
45 |
+# Vala isn't really optional, https://bugzilla.gnome.org/show_bug.cgi?id=701099 |
46 |
+IUSE="bluetooth debug eds +telepathy test tracker utils" |
47 |
+REQUIRED_USE="bluetooth? ( eds )" |
48 |
+ |
49 |
+COMMON_DEPEND=" |
50 |
+ $(vala_depend) |
51 |
+ >=dev-libs/glib-2.40:2 |
52 |
+ dev-libs/dbus-glib |
53 |
+ >=dev-libs/gobject-introspection-1.30:= |
54 |
+ >=dev-libs/libgee-0.10:0.8[introspection] |
55 |
+ dev-libs/libxml2 |
56 |
+ sys-libs/ncurses:0= |
57 |
+ sys-libs/readline:0= |
58 |
+ |
59 |
+ bluetooth? ( >=net-wireless/bluez-5 ) |
60 |
+ eds? ( >=gnome-extra/evolution-data-server-3.13.90:=[vala] ) |
61 |
+ telepathy? ( >=net-libs/telepathy-glib-0.19.9[vala] ) |
62 |
+ tracker? ( >=app-misc/tracker-1:0= ) |
63 |
+" |
64 |
+# telepathy-mission-control needed at runtime; it is used by the telepathy |
65 |
+# backend via telepathy-glib's AccountManager binding. |
66 |
+RDEPEND="${COMMON_DEPEND} |
67 |
+ net-im/telepathy-mission-control |
68 |
+" |
69 |
+# folks socialweb backend requires that libsocialweb be built with USE=vala, |
70 |
+# even when building folks with --disable-vala. |
71 |
+# |
72 |
+# FIXME: |
73 |
+# test? ( bluetooth? ( dbusmock is missing in the tree ) ) |
74 |
+DEPEND="${COMMON_DEPEND} |
75 |
+ >=dev-util/intltool-0.50.0 |
76 |
+ sys-devel/gettext |
77 |
+ virtual/pkgconfig |
78 |
+ |
79 |
+ test? ( |
80 |
+ sys-apps/dbus |
81 |
+ bluetooth? ( |
82 |
+ >=gnome-extra/evolution-data-server-3.9.1 |
83 |
+ >=dev-libs/glib-2.40:2 ) ) |
84 |
+" |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ # Force re-generation of introspection files, otherwise it does not match installed libs |
88 |
+ find -name "*.vala" -exec touch {} \; || die |
89 |
+ |
90 |
+ vala_src_prepare |
91 |
+ gnome2_src_prepare |
92 |
+} |
93 |
+ |
94 |
+src_configure() { |
95 |
+ # Rebuilding docs needs valadoc, which has no release |
96 |
+ gnome2_src_configure \ |
97 |
+ $(use_enable bluetooth bluez-backend) \ |
98 |
+ $(use_enable debug) \ |
99 |
+ $(use_enable eds eds-backend) \ |
100 |
+ $(use_enable eds ofono-backend) \ |
101 |
+ $(use_enable telepathy telepathy-backend) \ |
102 |
+ $(use_enable tracker tracker-backend) \ |
103 |
+ $(use_enable utils inspect-tool) \ |
104 |
+ $(use_enable test modular-tests) \ |
105 |
+ --enable-vala \ |
106 |
+ --enable-import-tool \ |
107 |
+ --disable-docs \ |
108 |
+ --disable-fatal-warnings \ |
109 |
+ --disable-libsocialweb-backend |
110 |
+} |
111 |
+ |
112 |
+src_test() { |
113 |
+ dbus-launch virtx emake check |
114 |
+} |