Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions srcpkgs/swaylock-effects/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Template file for 'swaylock-effects'
pkgname=swaylock-effects
version=1.8.1
revision=1
build_style=meson
conf_files="/etc/pam.d/swaylock"
hostmakedepends="pkg-config wayland-devel scdoc git glib-devel"
makedepends="wayland-protocols cairo-devel gdk-pixbuf-devel pam-devel
libxkbcommon-devel wayland-devel dbus-devel glib-devel libgomp-devel fprintd"
depends="fprintd"
short_desc="Screen locker for Wayland with fingerprint support via fprintd"
maintainer="Amin Sameti <mamins1376@gmail.com>"
license="MIT"
homepage="https://github.com/hboetes/swaylock-effects"
distfiles="https://github.com/hboetes/swaylock-effects/archive/refs/tags/v${version}.tar.gz"
checksum=d125185d1533246faf4e96623160501fc0c9bb0fd90c29c497a4a2d79abb16cb
replaces="swaylock>=0"

configure_args="-Dfingerprint=enabled"

post_install() {
vlicense LICENSE
# swaylock-effects handles fingerprint natively via D-Bus.
# PAM auth is for password fallback only — skip pam_fprintd to avoid contention.
echo 'auth required pam_unix.so' > ${DESTDIR}/etc/pam.d/swaylock
}
Loading