mirror of
https://codeberg.org/flk/meta-wayland.git
synced 2024-12-26 13:38:22 +01:00
foot: remove unneeded terminfo hack
This commit is contained in:
parent
a25218eea1
commit
a085eda094
@ -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} = " \
|
||||
|
Loading…
Reference in New Issue
Block a user