2021-06-06 19:01:21 +02:00
|
|
|
SUMMARY = "A fast, lightweight and minimalistic Wayland terminal emulator."
|
|
|
|
HOMEPAGE = "https://codeberg.org/dnkl/foot"
|
|
|
|
BUGTRACKER = "https://codeberg.org/dnkl/foot/issues"
|
|
|
|
SECTION = "base/shell"
|
|
|
|
LICENSE = "MIT"
|
|
|
|
|
|
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=3a7351a597a91e763901f7c76f21e798"
|
|
|
|
|
|
|
|
REQUIRED_DISTRO_FEATURES = "wayland"
|
|
|
|
|
|
|
|
DEPENDS = " \
|
|
|
|
fcft \
|
|
|
|
fontconfig \
|
|
|
|
freetype \
|
|
|
|
libxkbcommon \
|
|
|
|
pixman \
|
|
|
|
wayland \
|
|
|
|
wayland-native \
|
|
|
|
"
|
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
RRECOMMENDS:${PN} = "xdg-utils"
|
2021-06-13 12:44:20 +02:00
|
|
|
|
2021-06-06 19:01:21 +02:00
|
|
|
SRC_URI = " \
|
|
|
|
git://codeberg.org/dnkl/foot.git;protocol=https \
|
|
|
|
"
|
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
2021-10-04 22:17:18 +02:00
|
|
|
PV = "1.9.2"
|
2021-06-06 19:01:21 +02:00
|
|
|
SRCREV = "${PV}"
|
|
|
|
|
2021-06-27 21:24:01 +02:00
|
|
|
PACKAGECONFIG[grapheme-clustering] = "-Dgrapheme-clustering=enabled,-Dgrapheme-clustering=disabled,utf8proc"
|
2021-08-29 07:17:08 +02:00
|
|
|
PACKAGECONFIG[docs] = "-Ddocs=enabled,-Ddocs=disabled,scdoc-native"
|
2021-06-06 19:01:21 +02:00
|
|
|
|
2021-06-13 12:44:20 +02:00
|
|
|
PACKAGECONFIG ?= " \
|
2021-06-27 21:24:01 +02:00
|
|
|
grapheme-clustering \
|
2021-06-13 12:44:20 +02:00
|
|
|
"
|
|
|
|
|
2021-09-07 15:52:55 +02:00
|
|
|
EXTRA_OEMESON += "--buildtype=release -Dterminfo=disabled"
|
|
|
|
|
2021-10-04 22:17:18 +02:00
|
|
|
|
2021-09-07 08:56:10 +02:00
|
|
|
# Hack! tic from ncurses-native fails to generate the terminfo files. Use hosts tic instead.
|
|
|
|
# ncurses-bin needs to be installed.
|
|
|
|
do_install:append() {
|
2021-10-04 22:17:18 +02:00
|
|
|
sed -i "s|@default_terminfo@|foot|" ${S}/foot.info
|
|
|
|
sed -i "s|@default_terminfo-direct@|foot-direct|" ${S}/foot.info
|
2021-09-07 15:52:55 +02:00
|
|
|
install -d ${D}${datadir}/terminfo
|
|
|
|
/usr/bin/tic -o ${D}${datadir}/terminfo -x -e foot,foot-direct ${S}/foot.info
|
2021-09-07 08:56:10 +02:00
|
|
|
}
|
|
|
|
|
2021-06-13 12:44:20 +02:00
|
|
|
inherit meson pkgconfig features_check
|
2021-06-06 19:01:21 +02:00
|
|
|
|
2021-08-07 06:23:26 +02:00
|
|
|
FILES:${PN} = " \
|
2021-06-06 19:01:21 +02:00
|
|
|
${bindir} \
|
|
|
|
${datadir} \
|
|
|
|
"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = ""
|
|
|
|
|