1 |
commit: 0c5cfaaa0c78b182a406536fbe22265482974a56 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 4 15:03:38 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 4 15:33:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5cfaaa |
7 |
|
8 |
sys-auth/fprintd: add 1.94.1 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
sys-auth/fprintd/Manifest | 1 + |
13 |
sys-auth/fprintd/fprintd-1.94.1.ebuild | 96 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 97 insertions(+) |
15 |
|
16 |
diff --git a/sys-auth/fprintd/Manifest b/sys-auth/fprintd/Manifest |
17 |
index 9360412d9a69..b3795ab22ad1 100644 |
18 |
--- a/sys-auth/fprintd/Manifest |
19 |
+++ b/sys-auth/fprintd/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST fprintd-v1.90.8.tar.bz2 635139 BLAKE2B 4f9e5c395c32dd5de3f5ed4d17e81c28a55d |
21 |
DIST fprintd-v1.90.9.tar.bz2 636538 BLAKE2B 8a2150887282aae722d143ec96a9c0c3b5dd066e4cba30c41d49b6f6afe95c26c585aec2d9b074d65dd1a3efd462dae294a98965a020c4e55a8cda7c00a827bb SHA512 2b0f3e5812dd29df2b78ff6082c75981c28af71fc07e19e7eb4743842562e7d5bfc0655d5fbb66bfb167bc3087100bd0f154257ad936eab03e9e8ccc2410481f |
22 |
DIST fprintd-v1.92.0.tar.bz2 651377 BLAKE2B 39db660e3203b08c1233b9711f56c5b4539f1dff4f8cd9554dce4ce055e2fd2a63dc5e8792808232f86906bf1b7d15a7f155e67ddd49a98ff92ac75b4bd712f4 SHA512 e3fcf948321bf82398f06cca33cb29745c7fc38421025c9340dc85ba2ffb87e63f9546aae721ae72ad0c6f4268a856d60cd57089238d5c92e14b31de215f17d1 |
23 |
DIST fprintd-v1.94.0.tar.bz2 656308 BLAKE2B f64f92af51f2d3eda059640cdfa88b26ca12326b3082e9489f6d807ec566aced86e1d19a59ad247ec2aaa6e6a90dd3d030c18e062e39143a1d4110e62e7ad03d SHA512 1ab8cf93d10317201c3f83880b9e6de4a391c2a12afe29725ae3556a7b0108a374eb96f6b2b5be69c01c386f62e3543e3f9a974867256c99e690dd19bdd5778d |
24 |
+DIST fprintd-v1.94.1.tar.bz2 658149 BLAKE2B 734da268e308b08b04cbc661d889f52c4e8b2dd61d7a67961eaba5a6aa130f6972525820a17e8b6dd53d38508629139a5a0be20b69eaea45430cc60da5cd9a27 SHA512 ff22087e09ab9f75e458e71f595d611ea97240596a25bd96f41a0fb1de865336f8c2edbd49d5e7c8132a7e554d8311337ec02991dde358cba1962d4cb182447d |
25 |
|
26 |
diff --git a/sys-auth/fprintd/fprintd-1.94.1.ebuild b/sys-auth/fprintd/fprintd-1.94.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..8a0c86a78391 |
29 |
--- /dev/null |
30 |
+++ b/sys-auth/fprintd/fprintd-1.94.1.ebuild |
31 |
@@ -0,0 +1,96 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit meson pam python-any-r1 systemd |
40 |
+ |
41 |
+MY_P="${PN}-v${PV}" |
42 |
+DESCRIPTION="D-Bus service to access fingerprint readers" |
43 |
+HOMEPAGE="https://gitlab.freedesktop.org/libfprint/fprintd" |
44 |
+SRC_URI="https://gitlab.freedesktop.org/libfprint/${PN}/-/archive/v${PV}/${MY_P}.tar.bz2" |
45 |
+ |
46 |
+LICENSE="GPL-2+" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86" |
49 |
+IUSE="doc pam systemd test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ dev-libs/dbus-glib |
54 |
+ dev-libs/glib:2 |
55 |
+ >=sys-auth/libfprint-1.94.0:2 |
56 |
+ sys-auth/polkit |
57 |
+ pam? ( |
58 |
+ sys-libs/pam |
59 |
+ systemd? ( sys-apps/systemd ) |
60 |
+ !systemd? ( sys-auth/elogind ) |
61 |
+ )" |
62 |
+ |
63 |
+DEPEND=" |
64 |
+ ${RDEPEND} |
65 |
+ test? ( |
66 |
+ $(python_gen_any_dep ' |
67 |
+ dev-python/python-dbusmock[${PYTHON_USEDEP}] |
68 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
69 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
70 |
+ pam? ( sys-libs/pam_wrapper[${PYTHON_USEDEP}] ) |
71 |
+ ') |
72 |
+ )" |
73 |
+ |
74 |
+BDEPEND=" |
75 |
+ dev-lang/perl |
76 |
+ dev-util/gdbus-codegen |
77 |
+ virtual/pkgconfig |
78 |
+ doc? ( |
79 |
+ dev-libs/libxml2 |
80 |
+ dev-libs/libxslt |
81 |
+ dev-util/gtk-doc |
82 |
+ )" |
83 |
+ |
84 |
+PATCHES=( |
85 |
+ "${FILESDIR}/${PN}-1.90.7_0001-add-test-feature-and-make-tests-optional.patch" |
86 |
+ "${FILESDIR}/${PN}-1.90.8_0002-add-configure-option-for-libsystemd-provider.patch" |
87 |
+) |
88 |
+ |
89 |
+S="${WORKDIR}/${MY_P}" |
90 |
+ |
91 |
+python_check_deps() { |
92 |
+ if use test; then |
93 |
+ has_version -d "sys-libs/pam_wrapper[${PYTHON_USEDEP}]" |
94 |
+ fi |
95 |
+ |
96 |
+ has_version -d "dev-python/python-dbusmock[${PYTHON_USEDEP}]" && |
97 |
+ has_version -d "dev-python/dbus-python[${PYTHON_USEDEP}]" && |
98 |
+ has_version -d "dev-python/pycairo[${PYTHON_USEDEP}]" |
99 |
+} |
100 |
+ |
101 |
+pkg_setup() { |
102 |
+ use test && python-any-r1_pkg_setup |
103 |
+} |
104 |
+ |
105 |
+src_configure() { |
106 |
+ local emesonargs=( |
107 |
+ $(meson_feature test) |
108 |
+ $(meson_use pam) |
109 |
+ -Dgtk_doc=$(usex doc true false) |
110 |
+ -Dman=true |
111 |
+ -Dsystemd_system_unit_dir=$(systemd_get_systemunitdir) |
112 |
+ -Dpam_modules_dir=$(getpam_mod_dir) |
113 |
+ -Dlibsystemd=$(usex systemd libsystemd libelogind) |
114 |
+ ) |
115 |
+ meson_src_configure |
116 |
+} |
117 |
+ |
118 |
+src_install() { |
119 |
+ meson_src_install |
120 |
+ |
121 |
+ dodoc AUTHORS NEWS README TODO |
122 |
+ newdoc pam/README README.pam_fprintd |
123 |
+} |
124 |
+ |
125 |
+pkg_postinst() { |
126 |
+ elog "Please take a look at README.pam_fprintd for integration docs." |
127 |
+} |