commit:     159e23a792d5785ee7cac489ff0a4242de10bacf
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 28 15:47:41 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 28 16:07:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159e23a7

sys-apps/accountsservice: Version bump to 23.13.9

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 sys-apps/accountsservice/Manifest                  |  1 +
 .../accountsservice/accountsservice-23.13.9.ebuild | 87 ++++++++++++++++++++++
 2 files changed, 88 insertions(+)

diff --git a/sys-apps/accountsservice/Manifest 
b/sys-apps/accountsservice/Manifest
index 0e7fae0fd2e2..e71030a3d55d 100644
--- a/sys-apps/accountsservice/Manifest
+++ b/sys-apps/accountsservice/Manifest
@@ -1 +1,2 @@
 DIST accountsservice-22.08.8.tar.xz 102672 BLAKE2B 
7c9436d3845fc1883772b434c4f9e2fba934d17e6d4452a6be65e1d790a23b331eaaa64b0e6eff6fefe79587a40cf1749a0f3de09f323b10740046bd9d145c9d
 SHA512 
2ca3ceb1b44338d9924b86788256d4eef7ec10e0c2197bfb8cc6c31ae224fab3051f03cb406a526f90057684965bef4ba0f2cc01b26198ec1fc6baec36ad3ff8
+DIST accountsservice-23.13.9.tar.xz 636064 BLAKE2B 
74dbbe816937e626ba0f6524b4293466ac2905f474396f5d23633e966d46e013de110671abcbfe2911fffa1e98872e2525b61594a967f917975ebf18d39b8547
 SHA512 
c6eb543ce2e07b61bbdfa454e388949bc688517be0536b14f30c66383ed105b15d3fab8b6c62b1eaa08f67d9bdc29b928729d9f7c704f47de4decf0de8e12f89

diff --git a/sys-apps/accountsservice/accountsservice-23.13.9.ebuild 
b/sys-apps/accountsservice/accountsservice-23.13.9.ebuild
new file mode 100644
index 000000000000..6d190354fc83
--- /dev/null
+++ b/sys-apps/accountsservice/accountsservice-23.13.9.ebuild
@@ -0,0 +1,87 @@
+# Copyright 2011-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{9..11} )
+inherit meson python-any-r1 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 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86"
+
+IUSE="doc elogind gtk-doc +introspection selinux systemd test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="^^ ( elogind systemd )"
+
+CDEPEND="
+       >=dev-libs/glib-2.63.5:2
+       sys-auth/polkit
+       virtual/libcrypt:=
+       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
+       dev-util/glib-utils
+       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
+       )
+       test? (
+               $(python_gen_any_dep '
+                       dev-python/python-dbusmock[${PYTHON_USEDEP}]
+               ')
+       )
+"
+RDEPEND="${CDEPEND}
+       selinux? ( sec-policy/selinux-accountsd )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-22.04.62-gentoo-system-users.patch
+)
+
+python_check_deps() {
+       if use test; then
+               python_has_version 
"dev-python/python-dbusmock[${PYTHON_USEDEP}]"
+       fi
+}
+
+src_configure() {
+       local emesonargs=(
+               --localstatedir="${EPREFIX}/var"
+               -Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
+               -Dadmin_group="wheel"
+               $(meson_use elogind)
+               $(meson_use introspection)
+               $(meson_use doc docbook)
+               $(meson_use gtk-doc gtk_doc)
+               -Dvapi=false
+       )
+       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