foot: remove unneeded terminfo hack

This commit is contained in:
MarkusVolk 2021-11-23 17:15:51 +01:00
parent a25218eea1
commit a085eda094

View File

@ -19,7 +19,7 @@ DEPENDS = " \
RRECOMMENDS:${PN} = "xdg-utils"
SRC_URI = " \
git://codeberg.org/dnkl/foot.git;protocol=https \
git://codeberg.org/dnkl/foot.git;protocol=https;branch=master \
"
S = "${WORKDIR}/git"
@ -37,17 +37,6 @@ PACKAGECONFIG ?= " \
EXTRA_OEMESON += "--buildtype=release -Dterminfo=disabled"
# Hack! tic from ncurses-native fails to generate the terminfo files. Use hosts tic instead.
# ncurses-bin needs to be installed.
# TODO: ncurses 6.3 has included foot terminfo files. Remove Hack for builds newer than honister.
do_install:append() {
sed -i "s|@default_terminfo@|foot|" ${S}/foot.info
sed -i "s|@default_terminfo-direct@|foot-direct|" ${S}/foot.info
install -d ${D}${datadir}/terminfo
/usr/bin/tic -o ${D}${datadir}/terminfo -x -e foot,foot-direct ${S}/foot.info
}
inherit meson pkgconfig
FILES:${PN} = " \