feat: take over faces and settings from plasma-face-unlock
This commit is contained in:
1 parent
eaec9325af
commit
def308425c
22 files changed
+440
-100
No files matched your search
@@ -45,6 +45,9 @@ Requires: polkit
|
||||
Requires: systemd
|
||||
Requires: qt6-qtdeclarative
|
||||
Recommends: /usr/bin/gettext
|
||||
# The old name.
|
||||
Obsoletes: plasma-face-unlock < 2
|
||||
Provides: plasma-face-unlock = %{version}-%{release}
|
||||
|
||||
%description
|
||||
Look at the screen and it unlocks, the way a phone does. The lock screen, sudo
|
||||
@@ -52,6 +55,9 @@ in a terminal and the admin password prompts can take a face instead of a
|
||||
password, on KDE Plasma, GNOME, Hyprland and Niri. A bubble at the top of the
|
||||
screen shows the face being looked for, recognised or refused.
|
||||
|
||||
This package was called plasma-face-unlock before. It takes over its faces and
|
||||
settings.
|
||||
|
||||
A photo on a phone, a tablet or a glossy print is refused by its reflection and
|
||||
its straight edges. The strict photo check also wants a sign of life (a blink,
|
||||
or the nose moving the way a real nose does when the head turns), which stops a
|
||||
@@ -82,6 +88,10 @@ make install DESTDIR=%{buildroot} PREFIX=%{_prefix} VERSION=%{upstream_version}
|
||||
%postun
|
||||
%systemd_postun face-unlockd.socket face-unlockd.service
|
||||
|
||||
# After the old package is gone: its faces, settings and PAM lines.
|
||||
%posttrans
|
||||
%{_bindir}/face-unlock --root migrate || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license LICENSE
|
||||
%doc %{_datadir}/doc/%{name}/README.md
|
||||
|
||||
Reference in new issue
Block a user