1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
11 MY_P="${MY_PN}-${MY_PV}"
13 DESCRIPTION="A terminal emulator and multiplexer implemented in Rust"
14 HOMEPAGE="https://wezfurlong.org/wezterm"
16 SRC_URI="https://github.com/wez/wezterm/releases/download/${MY_PV}/${MY_PN}-${MY_PV}.Ubuntu20.04.tar.xz"
23 REQUIRED_USE="|| ( wayland X )"
27 >=media-libs/fontconfig-2.12
28 >=dev-libs/openssl-1.1
31 dev-libs/wayland-protocols
34 >=x11-libs/libX11-1.7.5
36 >=x11-libs/xcb-util-0.4
37 >=x11-libs/xcb-util-wm-0.4.1
38 >=x11-libs/xcb-util-image-0.2.1
39 >=x11-libs/xcb-util-keysyms-0.4
40 x11-libs/libxkbcommon[X]
42 x11-themes/hicolor-icon-theme
46 S="${WORKDIR}/${MY_PN}"
52 fperms 0755 /usr/bin/{open-wezterm-here,strip-ansi-escapes,wezterm,wezterm-gui,wezterm-mux-server}
53 fperms 0755 /etc/profile.d/${MY_PN}.sh