diff --git a/x11/foot/Makefile b/x11/foot/Makefile index 3bf6ffce4b77..ddd9709d1ae5 100644 --- a/x11/foot/Makefile +++ b/x11/foot/Makefile @@ -1,5 +1,5 @@ PORTNAME= foot -DISTVERSION= 1.7.2 +DISTVERSION= 1.8.0 CATEGORIES= x11 MASTER_SITES= https://codeberg.org/dnkl/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/ @@ -23,15 +23,21 @@ USES= compiler:c11 meson pkgconfig xorg USE_XORG= pixman WRKSRC= ${WRKDIR}/${PORTNAME} -OPTIONS_DEFINE= NOTIFY XDG -OPTIONS_DEFAULT=NOTIFY XDG +OPTIONS_DEFINE= NOTIFY UTF8PROC XDG +OPTIONS_DEFAULT=NOTIFY UTF8PROC XDG NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify +UTF8PROC_DESC= Grapheme clustering using libutf8proc +UTF8PROC_LIB_DEPENDS= libutf8proc.so:textproc/utf8proc +UTF8PROC_MESON_ENABLED= grapheme-clustering + XDG_DESC= Open files with xdg-open XDG_RUN_DEPENDS= xdg-open:devel/xdg-utils .if exists(/usr/bin/tic) +# Add site- suffix to avoid conflict with terminfo-db (part of ncurses) +MESON_ARGS+= -Dterminfo-install-location="${PLIST_FILES:M*terminfo*:[1]:H:H}" PKGMESSAGE= ${NONEXISTENT} PLIST_FILES+= share/site-terminfo/f/${PORTNAME} \ share/site-terminfo/f/${PORTNAME}-direct @@ -39,8 +45,4 @@ PLIST_FILES+= share/site-terminfo/f/${PORTNAME} \ MESON_ARGS+= -Dterminfo=disabled .endif -post-patch: -# Chase default TERMINFO_DIRS on FreeBSD, see lib/ncurses/ncurses/ncurses_cfg.h - @${REINPLACE_CMD} '/datadir/s/terminfo/site-&/' ${WRKSRC}/meson.build - .include diff --git a/x11/foot/distinfo b/x11/foot/distinfo index 1c6e1b9f40f4..9a299d102b21 100644 --- a/x11/foot/distinfo +++ b/x11/foot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618769560 -SHA256 (foot-1.7.2.tar.gz) = 0c5fa72a315b65100dfb8b7343212535e75e990b2a9500e028c6078c7915eb8a -SIZE (foot-1.7.2.tar.gz) = 392748 +TIMESTAMP = 1624602941 +SHA256 (foot-1.8.0.tar.gz) = 9269acfbef40cb284590de3bf70fc67997ffb6361dec4b4dddae7cdbf4ad6490 +SIZE (foot-1.8.0.tar.gz) = 415924 diff --git a/x11/foot/pkg-descr b/x11/foot/pkg-descr index ede402ce5a1d..ece3414e5490 100644 --- a/x11/foot/pkg-descr +++ b/x11/foot/pkg-descr @@ -14,6 +14,7 @@ Features: - Color emoji support - IME (via text-input-v3) - Multi-seat +- TrueColors (32bpp) - Synchronized Updates - Sixel image support