# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit edo # From: https://github.com/fairyglade/ly/blob/v/build.zig.zon # From: https://codeberg.org/fairyglade/ly/src/tag/v/build.zig.zon CLAP_REF="refs/tags/0.10.0" ZIGINI_REF="2ed3d417f17fab5b0ee8cad8a63c6d62d7ac1042" # From: https://github.com/Kawaii-Ash/zigini/blob//build.zig.zon INI_REF="e18d36665905c1e7ba0c1ce3e8780076b33e3002" DESCRIPTION="a TUI display manager" HOMEPAGE="https://codeberg.org/fairyglade/ly" SRC_URI=" https://codeberg.org/fairyglade/ly/archive/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/Hejsil/zig-clap/archive/${CLAP_REF}.tar.gz -> zig-clap-${CLAP_REF##*/}.gh.tar.gz https://github.com/Kawaii-Ash/zigini/archive/${ZIGINI_REF}.tar.gz -> zigini-${ZIGINI_REF##*/}.gh.tar.gz https://github.com/ziglibs/ini/archive/${INI_REF}.tar.gz -> ziglibs-ini-${INI_REF##*/}.gh.tar.gz " S="${WORKDIR}/${PN}" LICENSE="WTFPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="openrc runit systemd" EZIG_MIN="0.14" EZIG_MAX_EXCLUSIVE="0.15" DEPEND=" sys-libs/ncurses:= sys-libs/pam x11-libs/libxcb x11-base/xorg-server x11-apps/xauth " RDEPEND=" ${DEPEND} openrc? ( sys-apps/openrc ) runit? ( sys-process/runit ) systemd? ( sys-apps/systemd ) " BDEPEND=" || ( >=dev-lang/zig-${EZIG_MIN} >=dev-lang/zig-bin-${EZIG_MIN} ) || (