summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-07-03 02:05:06 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-07-03 02:19:36 -0400
commit9fd06ea20b0b0696a879c25e4f59158b322bacc6 (patch)
tree4f046a2481c9c87e93fd0db2c2cf1abb68a8e917 /x11-terms
parentmedia-fonts/symbols-nerd-font: new package, add 3.2.1 (unkeyworded) (diff)
downloadgentoo-9fd06ea20b0b0696a879c25e4f59158b322bacc6.tar.gz
gentoo-9fd06ea20b0b0696a879c25e4f59158b322bacc6.tar.bz2
gentoo-9fd06ea20b0b0696a879c25e4f59158b322bacc6.zip
x11-terms/kitty: update live
Just a quick update so it keeps building, hoping that the handling will change upstream before release. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/kitty/kitty-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index 7656c827e9ed..f90f58f4b109 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -40,6 +40,7 @@ RDEPEND="
${PYTHON_DEPS}
dev-libs/openssl:=
dev-libs/xxhash
+ media-fonts/symbols-nerd-font
media-libs/fontconfig
media-libs/harfbuzz:=[truetype]
media-libs/lcms:2
@@ -180,6 +181,11 @@ src_test() {
src_install() {
edo mv linux-package "${ED}"/usr
+
+ # kitty currently detects and copies the system's nerd font at build
+ # time, then uses that rather than the system's at runtime
+ dosym -r /usr/share/fonts/symbols-nerd-font/SymbolsNerdFontMono-Regular.ttf \
+ /usr/"$(get_libdir)"/kitty/fonts/SymbolsNerdFontMono-Regular.ttf
}
pkg_postinst() {