# Copyright 2022-2024 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 CLAP_REF="refs/tags/0.9.1" ZIGINI_REF="0bba97a12582928e097f4074cc746c43351ba4c8" # From: https://github.com/Kawaii-Ash/zigini/blob//build.zig.zon INI_REF="e18d36665905c1e7ba0c1ce3e8780076b33e3002" DESCRIPTION="a TUI display manager" HOMEPAGE="https://github.com/fairyglade/ly" SRC_URI=" https://github.com/fairyglade/ly/archive/refs/tags/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 " LICENSE="WTFPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="openrc runit systemd" EZIG_MIN="0.12" EZIG_MAX_EXCLUSIVE="0.14" 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} ) || (