gui-apps/waylock - 1.5.0 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/waylock-1.5.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gui-apps/waylock-1.5.0

Or alternatively:

emerge --autounmask-write -a =gui-apps/waylock-1.5.0

Package Information

Description:
Small screenlocker for Wayland compositors
Homepage:
https://isaacfreund.com/software/waylock/ https://codeberg.org/ifreund/waylock
License:
ISC MIT

Ebuild Details

Version EAPI Keywords Slot
1.5.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Small screenlocker for Wayland compositors"
HOMEPAGE="https://isaacfreund.com/software/waylock/ https://codeberg.org/ifreund/waylock"

declare -g -r -A ZBS_DEPENDENCIES=(
	[wayland-0.4.0-lQa1khbMAQAsLS2eBR7M5lofyEGPIbu2iFDmoz8lPC27.tar.gz]='https://codeberg.org/ifreund/zig-wayland/archive/v0.4.0.tar.gz'
	[xkbcommon-0.3.0-VDqIe3K9AQB2fG5ZeRcMC9i7kfrp5m2rWgLrmdNn9azr.tar.gz]='https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.3.0.tar.gz'
)

ZIG_SLOT="0.15"
inherit zig

SRC_URI="
	https://codeberg.org/ifreund/waylock/releases/download/v${PV}/${P}.tar.gz
	${ZBS_DEPENDENCIES_SRC_URI}
"

# waylock: ISC
# zig-wayland, zig-xkbcommon: MIT
LICENSE="ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="man"

BDEPEND="
	dev-libs/wayland-protocols
	dev-util/wayland-scanner
	man? ( app-text/scdoc )
"
DEPEND="
	dev-libs/wayland
	sys-libs/pam
	x11-libs/libxkbcommon[wayland]
"
RDEPEND="${DEPEND}"

src_configure() {
	local my_zbs_args=(
		-Dpie=true
		-Dman-pages=$(usex man true false)
	)

	zig_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p gui-apps/waylock | euse -E <flag> -p gui-apps/waylock | euse -D <flag> -p gui-apps/waylock

Global/Standard Flags

man

Inherited Eclasses

zig

Dependencies

DEPEND

	dev-libs/wayland
	sys-libs/pam
	x11-libs/libxkbcommon[wayland]

RDEPEND

	dev-libs/wayland
	sys-libs/pam
	x11-libs/libxkbcommon[wayland]

BDEPEND

	dev-libs/wayland-protocols
	dev-util/wayland-scanner
	man? ( app-text/scdoc )

Manifest for 1.5.0

Type File Size Source URLs
DIST waylock-1.5.0.tar.gz 20695 bytes https://codeberg.org/ifreund/waylock/releases/download/v1.5.0/waylock-1.5.0.tar.gz