1 |
commit: 0a0ec569ef4991f5039ff59b1aa7d0b34d432d1f |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 26 16:46:57 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 26 18:01:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a0ec569 |
7 |
|
8 |
dev-libs/folks: Version bump to 0.15.5 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
dev-libs/folks/Manifest | 1 + |
13 |
dev-libs/folks/folks-0.15.5.ebuild | 96 ++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 97 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/folks/Manifest b/dev-libs/folks/Manifest |
17 |
index ab921df7700c..19c0c8989688 100644 |
18 |
--- a/dev-libs/folks/Manifest |
19 |
+++ b/dev-libs/folks/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST folks-0.15.4.tar.xz 493004 BLAKE2B 0e067a39b4e89e8fa41b20f37c774e56fcb1e0c8de23798ced647177b0d9329509ae3c03ff85a00464887deb4ce275c96b2fcf50aa2dd44af02e20b6ee45fe65 SHA512 4dbd0bb82d56a8cb179ab8148ce531817ccd55bd40f8b562eb0d77555b264e5190669b356ff009c81a963fdcacaabc02fe871bf0c3c668a648f2c820da76f25c |
22 |
+DIST folks-0.15.5.tar.xz 492976 BLAKE2B bb831a637dec44ba0e9bb815c2559e3b7f484734fc297293c392bb2c72dea77c5e8aec3e7c76a096288f84f463041fb0b52a3cb50a83c5d84bed818c6af72a27 SHA512 696d158234cc5b4c504491c6e01dc45ed53c4ac02e3e62e637d229207dde396a82a850d143d8615dc838d99c756edfce145405ea3972c556951d6408fb8487ea |
23 |
|
24 |
diff --git a/dev-libs/folks/folks-0.15.5.ebuild b/dev-libs/folks/folks-0.15.5.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..9ee2c090d991 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/folks/folks-0.15.5.ebuild |
29 |
@@ -0,0 +1,96 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+VALA_MIN_API_VERSION="0.48" |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+ |
37 |
+inherit gnome.org gnome2-utils meson python-any-r1 vala xdg |
38 |
+ |
39 |
+DESCRIPTION="Library for aggregating people from multiple sources" |
40 |
+HOMEPAGE="https://wiki.gnome.org/Projects/Folks https://gitlab.gnome.org/GNOME/folks" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1+" |
43 |
+SLOT="0/26" # subslot = libfolks soname version |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x86-linux" |
45 |
+ |
46 |
+IUSE="bluetooth eds +telepathy test utils" |
47 |
+REQUIRED_USE="bluetooth? ( eds )" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+DEPEND=" |
51 |
+ >=dev-libs/glib-2.58:2 |
52 |
+ >=dev-libs/libgee-0.10:0.8[introspection] |
53 |
+ >=dev-libs/gobject-introspection-1.54:= |
54 |
+ telepathy? ( |
55 |
+ >=net-libs/telepathy-glib-0.19.9 |
56 |
+ dev-libs/dbus-glib |
57 |
+ ) |
58 |
+ eds? ( >=gnome-extra/evolution-data-server-3.38:= ) |
59 |
+ dev-libs/libxml2:2 |
60 |
+ utils? ( sys-libs/readline:0= ) |
61 |
+" |
62 |
+# telepathy-mission-control needed at runtime; it is used by the telepathy |
63 |
+# backend via telepathy-glib's AccountManager binding. |
64 |
+RDEPEND="${DEPEND} |
65 |
+ bluetooth? ( >=net-wireless/bluez-5[obex] ) |
66 |
+ telepathy? ( net-im/telepathy-mission-control ) |
67 |
+" |
68 |
+BDEPEND=" |
69 |
+ ${PYTHON_DEPS} |
70 |
+ >=sys-devel/gettext-0.19.8 |
71 |
+ virtual/pkgconfig |
72 |
+ $(vala_depend) |
73 |
+ telepathy? ( net-libs/telepathy-glib[vala] ) |
74 |
+ eds? ( gnome-extra/evolution-data-server[vala] ) |
75 |
+ test? ( |
76 |
+ sys-apps/dbus |
77 |
+ bluetooth? ( |
78 |
+ $(python_gen_any_dep ' |
79 |
+ dev-python/python-dbusmock[${PYTHON_USEDEP}] |
80 |
+ ') |
81 |
+ ) |
82 |
+ ) |
83 |
+" |
84 |
+ |
85 |
+python_check_deps() { |
86 |
+ if use test && use bluetooth; then |
87 |
+ python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ default |
93 |
+ vala_setup |
94 |
+ xdg_environment_reset |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ local emesonargs=( |
99 |
+ $(meson_use bluetooth bluez_backend) |
100 |
+ $(meson_use eds eds_backend) |
101 |
+ $(meson_use eds ofono_backend) |
102 |
+ $(meson_use telepathy telepathy_backend) |
103 |
+ -Dzeitgeist=false # last rited package |
104 |
+ -Dimport_tool=true |
105 |
+ $(meson_use utils inspect_tool) |
106 |
+ $(meson_use test tests) |
107 |
+ -Dinstalled_tests=false |
108 |
+ -Ddocs=false # Needs find_program sedding to specific version; only dev docs, don't bother |
109 |
+ ) |
110 |
+ meson_src_configure |
111 |
+} |
112 |
+ |
113 |
+src_test() { |
114 |
+ dbus-run-session meson test -C "${BUILD_DIR}" -t 5 |
115 |
+} |
116 |
+ |
117 |
+pkg_postinst() { |
118 |
+ xdg_pkg_postinst |
119 |
+ gnome2_schemas_update |
120 |
+} |
121 |
+ |
122 |
+pkg_postrm() { |
123 |
+ xdg_pkg_postrm |
124 |
+ gnome2_schemas_update |
125 |
+} |