Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/accountsservice/
Date: Tue, 01 Mar 2022 20:37:49
Message-Id: 1646167039.63ce5e4655a44d2ee0aed9579e42022045cfe00a.mattst88@gentoo
1 commit: 63ce5e4655a44d2ee0aed9579e42022045cfe00a
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 20:34:51 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 20:37:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63ce5e46
7
8 sys-apps/accountsservice: Version bump to 22.08.8
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 sys-apps/accountsservice/Manifest | 1 +
13 .../accountsservice/accountsservice-22.08.8.ebuild | 86 ++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/sys-apps/accountsservice/Manifest b/sys-apps/accountsservice/Manifest
17 index 479f3c1a85a3..91141c539c0c 100644
18 --- a/sys-apps/accountsservice/Manifest
19 +++ b/sys-apps/accountsservice/Manifest
20 @@ -1,3 +1,4 @@
21 DIST accountsservice-0.6.55.tar.xz 97972 BLAKE2B aba3adfeb53e64455ce8e672b9db754bae4af6b4de0823cc021d0311a381ec40af04371e78f7c84eab7fb72356b26e22db78aad0343d57f65ea71a7742b51fc7 SHA512 c12e6a8e80f9b087f97238da4734d2d3a14a7c5cbd870a32a04b00116f176c818c39fb886f6dc72c3e93c136b0c2074ddf8f77e20431fa3bd54f138bea9d262d
22 DIST accountsservice-22.04.62.tar.xz 101740 BLAKE2B b0514e2160560816fa64688072c0534ad6375ef699459e24a083f738fe8388c2f13b2ea37acbb50c64b9823fc5391356deddfd964e22d9db722bfe6816009cb8 SHA512 4d37b09c1cb1b55dc474cb76c53cbf0a3172bb0e6a0782405c0c09b9680ee3ac02103dfd57777bf131649de2ad0ebc8063362fa7ca18edfd2cb6d2a38a886900
23 DIST accountsservice-22.07.5.tar.xz 101688 BLAKE2B db8e5001f0b81b89c105d15557d5c62251ca58e4fad08f3cbfd52881b05980ccbb693766347c5cde640dcf3823a59f667fe15ec0c8e04cdd226915f91cea90a6 SHA512 9099abc9d8db58672db01e6ba9b23ba7bc8ed910ac001499d2a241089f55eafac47a482811cba80b1d6ee11df03a384e8ef2fd87df3b1125a8cf97c580177534
24 +DIST accountsservice-22.08.8.tar.xz 102672 BLAKE2B 7c9436d3845fc1883772b434c4f9e2fba934d17e6d4452a6be65e1d790a23b331eaaa64b0e6eff6fefe79587a40cf1749a0f3de09f323b10740046bd9d145c9d SHA512 2ca3ceb1b44338d9924b86788256d4eef7ec10e0c2197bfb8cc6c31ae224fab3051f03cb406a526f90057684965bef4ba0f2cc01b26198ec1fc6baec36ad3ff8
25
26 diff --git a/sys-apps/accountsservice/accountsservice-22.08.8.ebuild b/sys-apps/accountsservice/accountsservice-22.08.8.ebuild
27 new file mode 100644
28 index 000000000000..cc2ca7bb4783
29 --- /dev/null
30 +++ b/sys-apps/accountsservice/accountsservice-22.08.8.ebuild
31 @@ -0,0 +1,86 @@
32 +# Copyright 2011-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit meson python-any-r1 systemd
38 +
39 +DESCRIPTION="D-Bus interfaces for querying and manipulating user account information"
40 +HOMEPAGE="https://www.freedesktop.org/wiki/Software/AccountsService/"
41 +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
42 +
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
46 +
47 +IUSE="doc elogind gtk-doc +introspection selinux systemd test"
48 +RESTRICT="!test? ( test )"
49 +REQUIRED_USE="^^ ( elogind systemd )"
50 +
51 +CDEPEND="
52 + >=dev-libs/glib-2.63.5:2
53 + sys-auth/polkit
54 + virtual/libcrypt:=
55 + elogind? ( >=sys-auth/elogind-229.4 )
56 + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
57 + systemd? ( >=sys-apps/systemd-186:0= )
58 +"
59 +DEPEND="${CDEPEND}"
60 +BDEPEND="
61 + dev-libs/libxslt
62 + dev-util/gdbus-codegen
63 + sys-devel/gettext
64 + virtual/pkgconfig
65 + doc? (
66 + app-text/docbook-xml-dtd:4.1.2
67 + app-text/xmlto
68 + )
69 + gtk-doc? (
70 + dev-util/gtk-doc
71 + app-text/docbook-xml-dtd:4.3
72 + )
73 + test? (
74 + $(python_gen_any_dep '
75 + dev-python/python-dbusmock[${PYTHON_USEDEP}]
76 + ')
77 + )
78 +"
79 +RDEPEND="${CDEPEND}
80 + selinux? ( sec-policy/selinux-accountsd )
81 +"
82 +
83 +PATCHES=(
84 + "${FILESDIR}"/${PN}-22.04.62-gentoo-system-users.patch
85 +)
86 +
87 +python_check_deps() {
88 + if use test; then
89 + has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]"
90 + fi
91 +}
92 +
93 +src_configure() {
94 + local emesonargs=(
95 + --localstatedir="${EPREFIX}/var"
96 + -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
97 + -Dadmin_group="wheel"
98 + $(meson_use elogind)
99 + $(meson_use introspection)
100 + $(meson_use doc docbook)
101 + $(meson_use gtk-doc gtk_doc)
102 + -Dvapi=false
103 + )
104 + meson_src_configure
105 +}
106 +
107 +src_install() {
108 + meson_src_install
109 +
110 + # https://gitlab.freedesktop.org/accountsservice/accountsservice/-/issues/90
111 + if use doc; then
112 + mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${PF}" || die
113 + fi
114 +
115 + # This directories are created at runtime when needed
116 + rm -r "${ED}"/var/lib || die
117 +}