diff options
author | Michal Vu <saigon-tech@tuta.io> | 2024-08-13 11:11:44 +0200 |
---|---|---|
committer | Michal Vu <saigon-tech@tuta.io> | 2024-08-13 11:11:44 +0200 |
commit | 09034012fe080a10d6ff6a2c34dfd863e7498f75 (patch) | |
tree | 8db410f670d5cca22b4fd25f65d1af8abeec6426 | |
parent | x11-misc/ly: Fixing Prefixes in ly-1.0.2 that were not properly handled in th... (diff) | |
download | guru-09034012fe080a10d6ff6a2c34dfd863e7498f75.tar.gz guru-09034012fe080a10d6ff6a2c34dfd863e7498f75.tar.bz2 guru-09034012fe080a10d6ff6a2c34dfd863e7498f75.zip |
x11-misc/ly: Fixing Prefixes in ly-9999 and adjusting X11 related dependencies in 1.0.2/9999
Signed-off-by: Michal Vu <saigon-tech@tuta.io>
-rw-r--r-- | x11-misc/ly/ly-1.0.2.ebuild | 4 | ||||
-rw-r--r-- | x11-misc/ly/ly-9999.ebuild | 14 |
2 files changed, 12 insertions, 6 deletions
diff --git a/x11-misc/ly/ly-1.0.2.ebuild b/x11-misc/ly/ly-1.0.2.ebuild index d46e48aa8..bd378ed69 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 c6ff07ce3..9b84da7ce 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 } |