mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -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:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit edo pam systemd
|
inherit edo pam systemd prefix
|
||||||
|
|
||||||
DESCRIPTION="Ly - a TUI display manager"
|
DESCRIPTION="Ly - a TUI display manager"
|
||||||
HOMEPAGE="https://github.com/fairyglade/ly"
|
HOMEPAGE="https://github.com/fairyglade/ly"
|
||||||
@@ -30,6 +30,8 @@ DEPEND="
|
|||||||
|| ( dev-lang/zig-bin:${EZIG_MIN} dev-lang/zig:${EZIG_MIN} )
|
|| ( dev-lang/zig-bin:${EZIG_MIN} dev-lang/zig:${EZIG_MIN} )
|
||||||
sys-libs/pam
|
sys-libs/pam
|
||||||
x11-libs/libxcb
|
x11-libs/libxcb
|
||||||
|
x11-apps/xrdb
|
||||||
|
x11-apps/xmessage
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
x11-base/xorg-server
|
x11-base/xorg-server
|
||||||
@@ -115,8 +117,15 @@ src_unpack() {
|
|||||||
ezig fetch --global-cache-dir "${WORKDIR}/deps" "${DISTDIR}/ziglibini-${ZIGLIBINI}.tar.gz"
|
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() {
|
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() {
|
src_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user