openbsd-ports/x11/alacritty/Makefile

61 lines
1.8 KiB
Makefile
Raw Normal View History

COMMENT = cross-platform, GPU-accelerated terminal emulator
CATEGORIES = x11
MAINTAINER = Eric Auge <eau+obsd@unix4fun.net>
GH_ACCOUNT = alacritty
GH_PROJECT = alacritty
Update alacritty v0.9.0 => v0.10.0 Changes: # Added * Option colors.transparent_background_colors to allow applying opacity to all background colors * Support for running multiple windows from a single Alacritty instance (see docs/features.md) * Urgency support on Wayland via xdg_activation_v1 # Changed * ExpandSelection is now a configurable mouse binding action * Config option background_opacity, you should use window.opacity instead * Reload configuration files when their symbolic link is replaced * Strip trailing whitespaces when yanking from a block selection * Display area keeps history position when viewport is cleared * Commands spawn from the current directory of the foreground shell in Unix-like systems * Remove trailing newline from strings taken from hints or simple/semantic selections * Builtin font is now used for box drawing characters from U+2500 to U+259f * Logs now print the time since startup instead of the local time # Fixed * Line indicator obstructing vi mode cursor when scrolled into history * Vi mode search starting in the line below the vi cursor * Invisible cursor with matching foreground/background colors * Crash when hovering over a match emptied by post-processing * Crash when the vi cursor is on the scrollback and viewport clear is invoked * Freeze when the vi cursor is on the scrollback and scrollback clear is invoked * Vi cursor on topmost of the display moving downward when scrolled into history with active output * Input lag on Wayland with Nvidia binary driver * Crash when hovering the mouse over fullwidth characters * Do not create logfile if the file already exists # Removed * Wayland client side decorations were simplified from Eric Auge Committed with tweaks: * Revision removed (instead of =0) * Added comment about failing test
2022-01-29 12:11:51 +00:00
GH_TAGNAME = v0.10.0
2023-01-25 10:54:32 +00:00
REVISION = 4
# Apache 2.0
PERMIT_PACKAGE = Yes
WANTLIB += c c++abi fontconfig freetype m pthread util xcb
MODULES = devel/cargo \
lang/python
# for riscv64 and powerpc64, please keep: cc >= 1.0.73 and libc >= 0.2.113
MODCARGO_CRATES_UPDATE = cc libc
MODCARGO_RUSTFLAGS += -L${PREFIX}/lib
# Disable wayland feature. Breaks the build if libxkbcommon is absent
# copypasta/wayland -> smithay-client-toolkit, glutin.
# ld: error: unable to find library -lxkbcommon
MODCARGO_NO_DEFAULT_FEATURES = Yes
MODCARGO_FEATURES = x11
MAKE_ENV = ${MODCARGO_ENV}
CONFIGURE_STYLE = cargo
SEPARATE_BUILD = Yes
RELEASE_DIR = ${MODCARGO_TARGET_DIR}/release
EXTRA_DIR= ${WRKSRC}/extra
Update alacritty v0.9.0 => v0.10.0 Changes: # Added * Option colors.transparent_background_colors to allow applying opacity to all background colors * Support for running multiple windows from a single Alacritty instance (see docs/features.md) * Urgency support on Wayland via xdg_activation_v1 # Changed * ExpandSelection is now a configurable mouse binding action * Config option background_opacity, you should use window.opacity instead * Reload configuration files when their symbolic link is replaced * Strip trailing whitespaces when yanking from a block selection * Display area keeps history position when viewport is cleared * Commands spawn from the current directory of the foreground shell in Unix-like systems * Remove trailing newline from strings taken from hints or simple/semantic selections * Builtin font is now used for box drawing characters from U+2500 to U+259f * Logs now print the time since startup instead of the local time # Fixed * Line indicator obstructing vi mode cursor when scrolled into history * Vi mode search starting in the line below the vi cursor * Invisible cursor with matching foreground/background colors * Crash when hovering over a match emptied by post-processing * Crash when the vi cursor is on the scrollback and viewport clear is invoked * Freeze when the vi cursor is on the scrollback and scrollback clear is invoked * Vi cursor on topmost of the display moving downward when scrolled into history with active output * Input lag on Wayland with Nvidia binary driver * Crash when hovering the mouse over fullwidth characters * Do not create logfile if the file already exists # Removed * Wayland client side decorations were simplified from Eric Auge Committed with tweaks: * Revision removed (instead of =0) * Added comment about failing test
2022-01-29 12:11:51 +00:00
# test result: FAILED. 60 passed; 1 failed;
# failed test: config::tests::config_read_eof
do-install:
${INSTALL_PROGRAM} ${RELEASE_DIR}/alacritty ${PREFIX}/bin/
${INSTALL_MAN} ${EXTRA_DIR}/alacritty.man ${PREFIX}/man/man1/alacritty.1
${INSTALL_DATA_DIR} ${PREFIX}/share/bash-completion/completions
${INSTALL_DATA} ${EXTRA_DIR}/completions/alacritty.bash \
${PREFIX}/share/bash-completion/completions/alacritty
${INSTALL_DATA_DIR} ${PREFIX}/share/fish/completions
${INSTALL_DATA} ${EXTRA_DIR}/completions/alacritty.fish \
${PREFIX}/share/fish/completions/
${INSTALL_DATA_DIR} ${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${EXTRA_DIR}/completions/_alacritty \
${PREFIX}/share/zsh/site-functions/_alacritty
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/alacritty
${INSTALL_DATA} ${WRKSRC}/alacritty.yml \
${PREFIX}/share/examples/alacritty/alacritty.yml
tic -s -x -o ${PREFIX}/share/terminfo ${EXTRA_DIR}/alacritty.info
.include "crates.inc"
.include <bsd.port.mk>