public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/fprintd/
Date: Wed, 28 Dec 2022 00:56:18 +0000 (UTC)	[thread overview]
Message-ID: <1672188808.4e4783cc76ad8f0d81c30c1c5e9483ffc5776f7e.sam@gentoo> (raw)

commit:     4e4783cc76ad8f0d81c30c1c5e9483ffc5776f7e
Author:     Marco Scardovi <mscardovi <AT> icloud <DOT> com>
AuthorDate: Tue Dec 27 21:22:13 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 00:53:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e4783cc

sys-auth/fprintd: add 1.94.2

Signed-off-by: Marco Scardovi <mscardovi <AT> icloud.com>
Closes: https://github.com/gentoo/gentoo/pull/28865
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/fprintd/Manifest              |   1 +
 sys-auth/fprintd/fprintd-1.94.2.ebuild | 100 +++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/sys-auth/fprintd/Manifest b/sys-auth/fprintd/Manifest
index 9159f3036b33..be1f143b213a 100644
--- a/sys-auth/fprintd/Manifest
+++ b/sys-auth/fprintd/Manifest
@@ -1 +1,2 @@
 DIST fprintd-v1.94.1.tar.bz2 658149 BLAKE2B 734da268e308b08b04cbc661d889f52c4e8b2dd61d7a67961eaba5a6aa130f6972525820a17e8b6dd53d38508629139a5a0be20b69eaea45430cc60da5cd9a27 SHA512 ff22087e09ab9f75e458e71f595d611ea97240596a25bd96f41a0fb1de865336f8c2edbd49d5e7c8132a7e554d8311337ec02991dde358cba1962d4cb182447d
+DIST fprintd-v1.94.2.tar.bz2 657989 BLAKE2B 5855ab453ae6d73e08c60c699a95609262fd121ab020f9ffeafb8d1891a60f761f47e4acd11554179b6d9cbed8a734aafb012a4b6de3e9ad67d4160534a0e6c6 SHA512 0b5ebc595b617fbe9167c41a80e31ae74e7bdc87350b0420839e1a6229d7709e51ff2836858c46d8d30549a1f0811b0f697034fcdd09512b5c1099f0f0a3b112

diff --git a/sys-auth/fprintd/fprintd-1.94.2.ebuild b/sys-auth/fprintd/fprintd-1.94.2.ebuild
new file mode 100644
index 000000000000..65065793fd36
--- /dev/null
+++ b/sys-auth/fprintd/fprintd-1.94.2.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit meson pam python-any-r1 systemd
+
+MY_P="${PN}-v${PV}"
+
+DESCRIPTION="D-Bus service to access fingerprint readers"
+HOMEPAGE="https://gitlab.freedesktop.org/libfprint/fprintd"
+SRC_URI="https://gitlab.freedesktop.org/libfprint/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="doc pam systemd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-libs/dbus-glib
+	dev-libs/glib:2
+	>=sys-auth/libfprint-1.94.0:2
+	sys-auth/polkit
+	pam? (
+		sys-libs/pam
+		systemd? ( sys-apps/systemd:= )
+		!systemd? ( sys-auth/elogind:= )
+	)
+"
+
+DEPEND="
+	${RDEPEND}
+	test? (
+		$(python_gen_any_dep '
+			dev-python/python-dbusmock[${PYTHON_USEDEP}]
+			dev-python/dbus-python[${PYTHON_USEDEP}]
+			dev-python/pycairo[${PYTHON_USEDEP}]
+			pam? ( sys-libs/pam_wrapper[${PYTHON_USEDEP}] )
+		')
+	)
+"
+
+BDEPEND="
+	dev-lang/perl
+	dev-util/gdbus-codegen
+	virtual/pkgconfig
+	doc? (
+		dev-libs/libxml2
+		dev-libs/libxslt
+		dev-util/gtk-doc
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.90.7_0001-add-test-feature-and-make-tests-optional.patch"
+	"${FILESDIR}/${PN}-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch"
+)
+
+S="${WORKDIR}/${MY_P}"
+
+python_check_deps() {
+	if use test; then
+		has_version -d "sys-libs/pam_wrapper[${PYTHON_USEDEP}]"
+	fi
+
+	has_version -d "dev-python/python-dbusmock[${PYTHON_USEDEP}]" &&
+	has_version -d "dev-python/dbus-python[${PYTHON_USEDEP}]" &&
+	has_version -d "dev-python/pycairo[${PYTHON_USEDEP}]"
+}
+
+pkg_setup() {
+	use test && python-any-r1_pkg_setup
+}
+
+src_configure() {
+	local emesonargs=(
+		$(meson_feature test)
+		$(meson_use pam)
+		-Dgtk_doc=$(usex doc true false)
+		-Dman=true
+		-Dsystemd_system_unit_dir=$(systemd_get_systemunitdir)
+		-Dpam_modules_dir=$(getpam_mod_dir)
+		-Dlibsystemd=$(usex systemd libsystemd libelogind)
+	)
+	meson_src_configure
+}
+
+src_install() {
+	meson_src_install
+
+	dodoc AUTHORS NEWS README TODO
+	newdoc pam/README README.pam_fprintd
+}
+
+pkg_postinst() {
+	elog "Please take a look at README.pam_fprintd for integration docs."
+}


             reply	other threads:[~2022-12-28  0:56 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-28  0:56 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-14  7:14 [gentoo-commits] repo/gentoo:master commit in: sys-auth/fprintd/ Joonas Niilola
2025-04-14  7:14 Joonas Niilola
2024-06-03  5:53 Sam James
2023-07-27  5:11 WANG Xuerui
2023-06-28  7:37 Sam James
2023-02-24 16:29 Arthur Zamarin
2023-02-24 16:29 Arthur Zamarin
2023-02-24 16:29 Arthur Zamarin
2023-02-24 16:29 Arthur Zamarin
2023-02-24 16:29 Arthur Zamarin
2023-02-24 16:29 Arthur Zamarin
2023-02-24 16:29 Arthur Zamarin
2022-12-27 23:37 Sam James
2022-12-27 23:37 Sam James
2022-11-18 19:42 Arthur Zamarin
2022-11-18 19:24 Arthur Zamarin
2022-09-22  7:46 Michał Górny
2022-07-30 19:57 Arthur Zamarin
2022-04-29 10:21 Sam James
2022-04-17 19:17 Sam James
2022-04-17 18:36 Arthur Zamarin
2022-04-17 18:36 Arthur Zamarin
2022-04-17 18:36 Arthur Zamarin
2022-04-11 21:05 Jakov Smolić
2022-04-06  6:32 Agostino Sarubbo
2022-04-06  6:32 Agostino Sarubbo
2022-01-04 15:33 Marek Szuba
2021-12-10  1:24 Sam James
2021-12-02  8:29 Agostino Sarubbo
2021-12-02  8:24 Agostino Sarubbo
2021-11-19 20:01 Arthur Zamarin
2021-11-04 17:07 Sam James
2021-10-20  9:46 Sam James
2021-10-20  9:46 Sam James
2021-10-20  3:26 Sam James
2021-08-27 15:19 Yixun Lan
2021-07-25  1:10 Sam James
2021-07-24 15:22 Sam James
2021-04-02  9:23 Sergei Trofimovich
2021-03-26  7:45 Agostino Sarubbo
2021-03-25 18:12 Agostino Sarubbo
2021-03-25 13:02 Joonas Niilola
2021-03-25 13:02 Joonas Niilola
2021-03-25 13:02 Joonas Niilola
2021-03-15 18:06 Sergei Trofimovich
2021-03-15  6:32 Sam James
2021-03-14 22:11 Sam James
2021-03-14 22:11 Sam James
2021-03-13 11:37 Sam James
2021-03-13 11:35 Sam James
2021-03-04  0:23 Sam James
2021-02-11  7:36 Sergei Trofimovich
2021-01-05 22:00 Matt Turner
2019-08-04 19:36 Maxim Koltsov
2019-08-04 19:36 Maxim Koltsov
2019-08-03 11:19 Aaron Bauman
2019-07-29 14:53 Mikle Kolyada
2019-07-29 14:53 Mikle Kolyada
2019-06-20  9:23 Mikle Kolyada
2019-06-09 19:25 Sergei Trofimovich
2019-06-06 21:31 Sergei Trofimovich
2019-06-06 21:24 Sergei Trofimovich
2019-06-05 18:14 Sergei Trofimovich
2019-01-18 18:01 Mikle Kolyada
2019-01-08 14:07 Maxim Koltsov
2018-05-21 16:25 Mikle Kolyada
2015-08-09 22:33 Michael Weber
2015-08-09 22:16 Michael Weber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1672188808.4e4783cc76ad8f0d81c30c1c5e9483ffc5776f7e.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox