# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit edo # From: https://codeberg.org/fairyglade/ly/src/tag/v/build.zig.zon CLAP_REF="refs/tags/0.11.0" ZIGINI_REF="96ca1d9f1a7ec741f07ceb104dae2b3a7bdfd48a" TERMBOX2_REF="290ac6b8225aacfd16851224682b851b65fcb918" # From: https://github.com/Kawaii-Ash/zigini/blob//build.zig.zon INI_REF="ac6e656157b2ac6c98392283a139b47c44a85d54" 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/AnErrupTion/termbox2/archive/${TERMBOX2_REF}.tar.gz -> termbox2-${TERMBOX2_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.15" EZIG_MAX_EXCLUSIVE="0.16" 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} ) || (