diff --git a/x11-misc/ly/ly-1.0.2.ebuild b/x11-misc/ly/ly-1.0.2.ebuild index d46e48aa89..bd378ed693 100644 --- a/x11-misc/ly/ly-1.0.2.ebuild +++ b/x11-misc/ly/ly-1.0.2.ebuild @@ -30,12 +30,12 @@ DEPEND=" || ( dev-lang/zig-bin:${EZIG_MIN} dev-lang/zig:${EZIG_MIN} ) sys-libs/pam x11-libs/libxcb - x11-apps/xrdb - x11-apps/xmessage " RDEPEND=" x11-base/xorg-server x11-apps/xauth + x11-apps/xrdb + x11-apps/xmessage sys-libs/ncurses " diff --git a/x11-misc/ly/ly-9999.ebuild b/x11-misc/ly/ly-9999.ebuild index c6ff07ce3c..9b84da7ce4 100644 --- a/x11-misc/ly/ly-9999.ebuild +++ b/x11-misc/ly/ly-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit edo pam systemd git-r3 +inherit edo pam systemd git-r3 prefix DESCRIPTION="Ly - a TUI display manager (live ebuild)" HOMEPAGE="https://github.com/fairyglade/ly" @@ -13,8 +13,6 @@ EGIT_REPO_URI="https://github.com/fairyglade/ly.git" LICENSE="WTFPL-2" SLOT="0" -# KEYWORDS is omitted for live ebuilds - # Specify the required Zig version range EZIG_MIN="0.12" EZIG_MAX_EXCLUSIVE="0.13" @@ -28,6 +26,7 @@ RDEPEND=" x11-base/xorg-server x11-apps/xauth sys-libs/ncurses + x11-apps/xrdb " # Ignore QA warnings about missing build-id for Zig binaries @@ -172,8 +171,15 @@ src_unpack() { ezig fetch --global-cache-dir "${WORKDIR}/deps" "https://github.com/ziglibs/ini/archive/${ZIGLIBINI}.tar.gz" } -# Compile the project + +src_prepare(){ + default + # Adjusting absolute paths in the following files to use Gentoo's ${EPREFIX} + hprefixify "${RES}/config.ini" "${RES}/xsetup.sh" "${RES}/wsetup.sh" +} + src_compile() { + # Building ly & accomodate for prefixed environment ezig build --system "${WORKDIR}/deps/p" -Doptimize=ReleaseSafe }