mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
x11-misc/ly: Fixing Prefixes in ly-1.0.2 that were not properly handled in the previous ebuild version
Signed-off-by: Michal Vu <saigon-tech@tuta.io>
This commit is contained in:
parent
8a7b2d14eb
commit
60eed07046
@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo pam systemd
|
||||
inherit edo pam systemd prefix
|
||||
|
||||
DESCRIPTION="Ly - a TUI display manager"
|
||||
HOMEPAGE="https://github.com/fairyglade/ly"
|
||||
@ -30,6 +30,8 @@ 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
|
||||
@ -115,8 +117,15 @@ src_unpack() {
|
||||
ezig fetch --global-cache-dir "${WORKDIR}/deps" "${DISTDIR}/ziglibini-${ZIGLIBINI}.tar.gz"
|
||||
}
|
||||
|
||||
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() {
|
||||
ezig build --system "${WORKDIR}/deps/p" -Doptimize=ReleaseSafe
|
||||
# Building ly & accomodate for prefixed environment
|
||||
ezig build --system "${WORKDIR}/deps/p" -Doptimize=ReleaseSafe -Ddata_directory="${EPREFIX}/etc/ly"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user