From ebd4946140a7ebe5647efe27c536c2c7bfde2b2f Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Sun, 27 Jun 2021 21:24:01 +0200 Subject: [PATCH] foot: enable grapheme-cluster shaping --- recipes-support/foot/foot_git.bb | 2 ++ recipes-support/foot/utf8proc_git.bb | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 recipes-support/foot/utf8proc_git.bb diff --git a/recipes-support/foot/foot_git.bb b/recipes-support/foot/foot_git.bb index bbf6eb7..5dd6390 100644 --- a/recipes-support/foot/foot_git.bb +++ b/recipes-support/foot/foot_git.bb @@ -30,8 +30,10 @@ PV = "1.8.0" SRCREV = "${PV}" PACKAGECONFIG[terminfo] = "-Dterminfo=enabled,-Dterminfo=disabled,ncurses-native" +PACKAGECONFIG[grapheme-clustering] = "-Dgrapheme-clustering=enabled,-Dgrapheme-clustering=disabled,utf8proc" PACKAGECONFIG ?= " \ + grapheme-clustering \ " inherit meson pkgconfig features_check diff --git a/recipes-support/foot/utf8proc_git.bb b/recipes-support/foot/utf8proc_git.bb new file mode 100644 index 0000000..b3e441a --- /dev/null +++ b/recipes-support/foot/utf8proc_git.bb @@ -0,0 +1,21 @@ +SUMMARY = "A small, clean C library that provides Unicode normalization, case-folding, and other operations for data in the UTF-8 encoding." +HOMEPAGE = "https://github.com/JuliaStrings/utf8proc" +BUGTRACKER = "https://github.com/JuliaStrings/utf8proc/issues" +SECTION = "base/shell" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=97fe1c51de5d175e7564531e7955381d" + +SRC_URI = " \ + git://github.com/JuliaStrings/utf8proc.git;protocol=https \ +" + +S = "${WORKDIR}/git" +PV = "2.6.1" +SRCREV = "v${PV}" + +EXTRA_OEMAKE = "prefix=${prefix}" + +inherit autotools-brokensep pkgconfig + +BBCLASSEXTEND = "" +