commit:     f7afbdf2fe9537f39fcf6eb0551ada301cff972e
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 13 15:26:56 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun 13 15:27:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7afbdf2

sys-apps/accountsservice: Bump to 0.6.55

This is needed to have switch user option in recent Gnome versions
(#717390). Also stop installing /var empty directories, they are created at
runtime when needed (#658682).

Thanks-to: Francesco Turco
Thanks-to: Lars Wendler (Polynomial-C)
Thanks-to: Arfrever Frehtes Taifersar Arahesis
Thanks-to: Fabian Köster
Bug: https://bugs.gentoo.org/717390
Closes: https://bugs.gentoo.org/684326
Closes: https://bugs.gentoo.org/658682
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 sys-apps/accountsservice/Manifest                  |  1 +
 .../accountsservice/accountsservice-0.6.55.ebuild  | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/sys-apps/accountsservice/Manifest 
b/sys-apps/accountsservice/Manifest
index a3e3d7211af..5962483b524 100644
--- a/sys-apps/accountsservice/Manifest
+++ b/sys-apps/accountsservice/Manifest
@@ -1 +1,2 @@
 DIST accountsservice-0.6.50.tar.xz 384484 BLAKE2B 
52c06ba85498f292204834f967211d8f0940786dc2ea3070124d3aecccd551375bfbc8fc31f23a2c3c86e23359294307656c3b927c4e819fc102d8626ae0dd82
 SHA512 
6e07cd318452b1cbedeacd729f0ebb200525caf1b09981abb2bac16fd90756a790ebec08aca0a0cea016f14ab27c159a68fe1332ef4bc636c5863b8c61040f64
+DIST accountsservice-0.6.55.tar.xz 97972 BLAKE2B 
aba3adfeb53e64455ce8e672b9db754bae4af6b4de0823cc021d0311a381ec40af04371e78f7c84eab7fb72356b26e22db78aad0343d57f65ea71a7742b51fc7
 SHA512 
c12e6a8e80f9b087f97238da4734d2d3a14a7c5cbd870a32a04b00116f176c818c39fb886f6dc72c3e93c136b0c2074ddf8f77e20431fa3bd54f138bea9d262d

diff --git a/sys-apps/accountsservice/accountsservice-0.6.55.ebuild 
b/sys-apps/accountsservice/accountsservice-0.6.55.ebuild
new file mode 100644
index 00000000000..8b9e10e0aa6
--- /dev/null
+++ b/sys-apps/accountsservice/accountsservice-0.6.55.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson systemd
+
+DESCRIPTION="D-Bus interfaces for querying and manipulating user account 
information"
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/AccountsService/";
+SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz";
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+IUSE="doc consolekit elogind gtk-doc +introspection selinux systemd"
+REQUIRED_USE="^^ ( consolekit elogind systemd )"
+
+CDEPEND="
+       >=dev-libs/glib-2.44:2
+       sys-auth/polkit
+       consolekit? ( sys-auth/consolekit )
+       elogind? ( >=sys-auth/elogind-229.4 )
+       introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
+       systemd? ( >=sys-apps/systemd-186:0= )
+"
+DEPEND="${CDEPEND}"
+BDEPEND="
+       dev-libs/libxslt
+       dev-util/gdbus-codegen
+       sys-devel/gettext
+       virtual/pkgconfig
+       doc? (
+               app-text/docbook-xml-dtd:4.1.2
+               app-text/xmlto )
+       gtk-doc? (
+               dev-util/gtk-doc
+               app-text/docbook-xml-dtd:4.3 )
+"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-accountsd )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.6.35-gentoo-system-users.patch
+)
+
+src_configure() {
+       local emesonargs=(
+               --localstatedir="${EPREFIX}/var"
+               -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+               -Dadmin_group="wheel"
+               $(meson_use systemd)
+               $(meson_use elogind)
+               $(meson_use introspection)
+               $(meson_use doc docbook)
+               $(meson_use gtk-doc gtk_doc)
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+
+       # 
https://gitlab.freedesktop.org/accountsservice/accountsservice/-/issues/90
+       if use doc; then
+               mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${PF}" || 
die
+       fi
+
+       # This directories are created at runtime when needed
+       rm -r "${ED}"/var/lib || die
+}

Reply via email to