Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/folks/
Date: Sat, 17 Apr 2021 01:21:00
Message-Id: 1618622446.4435adc512c3d77a39b948ef86f89d78b7738239.mattst88@gentoo
1 commit: 4435adc512c3d77a39b948ef86f89d78b7738239
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 22:55:23 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 01:20:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4435adc5
7
8 dev-libs/folks: Version bump to 0.15.2
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.2.ebuild | 88 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 89 insertions(+)
15
16 diff --git a/dev-libs/folks/Manifest b/dev-libs/folks/Manifest
17 index 9e39ef6f57f..3fb904cc6d1 100644
18 --- a/dev-libs/folks/Manifest
19 +++ b/dev-libs/folks/Manifest
20 @@ -1 +1,2 @@
21 DIST folks-0.14.0.tar.xz 520924 BLAKE2B 3154e0a7e6fe8c60aa81f4772af2b9d09b88785187c87e93869f668af46549383866cfa2e50d3d29009d0acb77c26cd852c7c9a3c6188ff3e5ef53c06b11b781 SHA512 94dc025668ac34df203ea351430bf82dddb4e275d936e2b959a1b9a4cf0fff0218a4baa7d3a89c152a2cb21a94250d731c8e7470d50ac4b658fbe1448974a69e
22 +DIST folks-0.15.2.tar.xz 489236 BLAKE2B 63bcfedb88205b37c6e9595c3e0c34f7fc869045648e04042cce9300776e4b7d102f91312434545581882f0959502be7ba1bc2f77d50ec2af7f649444da9197d SHA512 c327e39b7cf32b72db3f84504f8ec2a4bc2d98693ca5ff21c3b544e37b58a1df9241dd1be541a39be83468b62dd0f5d7b5a3a0ca4bde5e94d1e075d77d3be505
23
24 diff --git a/dev-libs/folks/folks-0.15.2.ebuild b/dev-libs/folks/folks-0.15.2.ebuild
25 new file mode 100644
26 index 00000000000..1bd8463e3fd
27 --- /dev/null
28 +++ b/dev-libs/folks/folks-0.15.2.ebuild
29 @@ -0,0 +1,88 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +VALA_USE_DEPEND="vapigen"
35 +VALA_MAX_API_VERSION="0.48"
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +
38 +inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
39 +
40 +DESCRIPTION="Library for aggregating people from multiple sources"
41 +HOMEPAGE="https://wiki.gnome.org/Projects/Folks"
42 +
43 +LICENSE="LGPL-2.1+"
44 +SLOT="0/26" # subslot = libfolks soname version
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
46 +
47 +IUSE="bluetooth eds +telepathy test utils"
48 +REQUIRED_USE="bluetooth? ( eds )"
49 +RESTRICT="!test? ( test )"
50 +
51 +DEPEND="
52 + >=dev-libs/glib-2.58:2
53 + >=dev-libs/libgee-0.10:0.8[introspection]
54 + >=dev-libs/gobject-introspection-1.54:=
55 + telepathy? (
56 + >=net-libs/telepathy-glib-0.19.9
57 + dev-libs/dbus-glib
58 + )
59 + eds? ( >=gnome-extra/evolution-data-server-3.38:= )
60 + dev-libs/libxml2:2
61 + utils? ( sys-libs/readline:0= )
62 +"
63 +# telepathy-mission-control needed at runtime; it is used by the telepathy
64 +# backend via telepathy-glib's AccountManager binding.
65 +RDEPEND="${DEPEND}
66 + bluetooth? ( >=net-wireless/bluez-5[obex] )
67 + telepathy? ( net-im/telepathy-mission-control )
68 +"
69 +BDEPEND="
70 + ${PYTHON_DEPS}
71 + >=sys-devel/gettext-0.19.8
72 + virtual/pkgconfig
73 + $(vala_depend)
74 + telepathy? ( net-libs/telepathy-glib[vala] )
75 + eds? ( gnome-extra/evolution-data-server[vala] )
76 + test? (
77 + sys-apps/dbus
78 + bluetooth? ( $(python_gen_any_dep 'dev-python/dbusmock[${PYTHON_USEDEP}]') )
79 + )
80 +"
81 +
82 +python_check_deps() {
83 + if use test && use bluetooth; then
84 + has_version "dev-python/dbusmock[${PYTHON_USEDEP}]"
85 + fi
86 +}
87 +
88 +src_prepare() {
89 + vala_src_prepare
90 + xdg_src_prepare
91 +}
92 +
93 +src_configure() {
94 + local emesonargs=(
95 + $(meson_use bluetooth bluez_backend)
96 + $(meson_use eds eds_backend)
97 + $(meson_use eds ofono_backend)
98 + $(meson_use telepathy telepathy_backend)
99 + -Dzeitgeist=false # last rited package
100 + -Dimport_tool=true
101 + $(meson_use utils inspect_tool)
102 + $(meson_use test tests)
103 + -Dinstalled_tests=false
104 + -Ddocs=false # Needs find_program sedding to specific version; only dev docs, don't bother
105 + )
106 + meson_src_configure
107 +}
108 +
109 +pkg_postinst() {
110 + xdg_pkg_postinst
111 + gnome2_schemas_update
112 +}
113 +
114 +pkg_postrm() {
115 + xdg_pkg_postrm
116 + gnome2_schemas_update
117 +}