gui-apps/waylock - 1.2.1 (yellow)

Search

Package Information

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

Ebuild Details

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

EAPI=8

inherit verify-sig zig

DESCRIPTION="Small screenlocker for Wayland compositors"
HOMEPAGE="https://codeberg.org/ifreund/waylock"
SRC_URI="
	https://codeberg.org/ifreund/waylock/releases/download/v${PV}/${P}.tar.gz
	verify-sig? ( https://codeberg.org/ifreund/waylock/releases/download/v${PV}/${P}.tar.gz.sig )
	https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz -> zig-wayland-0.2.0.tar.gz
	https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.2.0.tar.gz -> zig-xkbcommon-0.2.0.tar.gz
	"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"

IUSE="+man pie"
RESTRICT="test"
DEPEND="
	dev-libs/wayland
	dev-libs/wayland-protocols
	sys-libs/pam
	x11-libs/libxkbcommon
	"
RDEPEND="${DEPEND}"
BDEPEND="
	man? ( app-text/scdoc )
	virtual/pkgconfig
	verify-sig? ( sec-keys/openpgp-keys-ifreund )
	"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/ifreund.asc

src_unpack() {
	verify-sig_verify_detached "${DISTDIR}/${P}.tar.gz" "${DISTDIR}/${P}.tar.gz.sig"
	default_src_unpack
}

src_configure(){
	EZIG_FLAGS=(
		-Dpie=$(usex pie true false)
		-Dstrip=false
		-Dman-pages=$(usex man true false)
	)
}

USE Flags

man
Default: Enabled (+)
pie

Dependencies

DEPEND

	dev-libs/wayland
	dev-libs/wayland-protocols
	sys-libs/pam
	x11-libs/libxkbcommon
	

RDEPEND

	dev-libs/wayland
	dev-libs/wayland-protocols
	sys-libs/pam
	x11-libs/libxkbcommon
	

BDEPEND

	man? ( app-text/scdoc )
	virtual/pkgconfig
	verify-sig? ( sec-keys/openpgp-keys-ifreund )
	

Manifest for 1.2.1

Type File Size Source URLs
DIST waylock-1.2.1.tar.gz 20871 bytes https://codeberg.org/ifreund/waylock/releases/download/v1.2.1/waylock-1.2.1.tar.gz
DIST waylock-1.2.1.tar.gz.sig 310 bytes https://codeberg.org/ifreund/waylock/releases/download/v1.2.1/waylock-1.2.1.tar.gz.sig
DIST zig-wayland-0.2.0.tar.gz 56543 bytes https://codeberg.org/ifreund/zig-wayland/archive/v0.2.0.tar.gz
DIST zig-xkbcommon-0.2.0.tar.gz 22700 bytes https://codeberg.org/ifreund/zig-xkbcommon/archive/v0.2.0.tar.gz