x11-terms/wezterm-bin: add 20240203-r1, drop 20240203
因为上游同一个 release 的 Ubuntu 20.04 构建链接 libssl.so.1.1,改用 Ubuntu 22.04 的 构建,RDEPEND 随之从 dev-libs/openssl-compat:1.1.1 换成 dev-libs/openssl:0/3。 因为 libX11 和 libwayland-client 都在 DT_NEEDED 里,关掉任一个 USE 也不会少链接一个 库,只会让程序起不来,所以去掉 IUSE 和 REQUIRED_USE。 因为 wezterm-gui 运行时 dlopen libdbus-1、libEGL 和 libxcb-keysyms,所以 RDEPEND 补上 media-libs/libglvnd,并保留 sys-apps/dbus 与 x11-libs/xcb-util-keysyms。 因为 x11-terms/wezterm 装的可执行文件、desktop 文件和图标与本包完全同路径,所以加 blocker。 因为 zsh 只搜索 site-functions,上游 tarball 里那份 Debian 路径下的补全从来没被加载 过,所以改用 shell-completion.eclass 装。 Signed-off-by: Zakk <zakk@gentoozh.org>
This commit is contained in:
1 parent
c6e2f7ef04
commit
2e5efe2a79
3 files changed
+54
-55
No files matched your search
@@ -1 +1 @@
|
||||
DIST wezterm-20240203-110809-5046fc22.Ubuntu20.04.tar.xz 30515256 BLAKE2B 44b07493a5063ebc58549dc24477609314789b9423c154557564f98e6a704550ab997fd08e59d9791fc1b5c2c28044eb7edb2798420449dd5e54ed32b337ef11 SHA512 be07001bd7191da6a2d572be9db8f695390208b2aef812c20ded40f0a9b3f2f501ff02bd8b362ed15690ae7b56d4f859b30993f779bcad758dc834d0e788da22
|
||||
DIST wezterm-20240203-110809-5046fc22.Ubuntu22.04.tar.xz 30508792 BLAKE2B 919b08a72270d20292f9fd3e479201e5a5c2619472936bd9cab79b5d10ebd1f0338b56f88acf8185255fd72815ca54054de5c5fdb2d936e7511e4e41e4db680c SHA512 ec73c10763766472ed9877e39a80ba7a21a7ee6f1fa1b3421d5cee1a2b6424f667e690f29541e00f372b5de2cfe1055351cfbe9a46f8b569735dd316c069ef9e
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit shell-completion xdg
|
||||
|
||||
MY_PN="${PN%-bin}"
|
||||
MY_PV="${PV}-110809-5046fc22"
|
||||
|
||||
DESCRIPTION="A GPU-accelerated cross-platform terminal emulator and multiplexer"
|
||||
HOMEPAGE="https://wezterm.org/ https://github.com/wezterm/wezterm"
|
||||
# The Ubuntu 20.04 build links libssl.so.1.1; the 22.04 one links libssl.so.3,
|
||||
# which is the openssl the tree ships.
|
||||
SRC_URI="https://github.com/wezterm/${MY_PN}/releases/download/${MY_PV}/${MY_PN}-${MY_PV}.Ubuntu22.04.tar.xz"
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
RESTRICT="strip"
|
||||
|
||||
# X and Wayland are both in DT_NEEDED, so neither can be a USE flag here.
|
||||
# libdbus-1, libEGL and libxcb-keysyms are dlopened by wezterm-gui.
|
||||
RDEPEND="
|
||||
!x11-terms/wezterm
|
||||
dev-libs/openssl:0/3
|
||||
dev-libs/wayland
|
||||
media-libs/fontconfig
|
||||
media-libs/libglvnd
|
||||
sys-apps/dbus
|
||||
virtual/zlib:=
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon[X]
|
||||
x11-libs/xcb-util
|
||||
x11-libs/xcb-util-image
|
||||
x11-libs/xcb-util-keysyms
|
||||
x11-themes/hicolor-icon-theme
|
||||
"
|
||||
|
||||
QA_PREBUILT="usr/bin/*"
|
||||
|
||||
src_install() {
|
||||
dozshcomp usr/share/zsh/functions/Completion/Unix/_${MY_PN}
|
||||
rm -r usr/share/zsh || die
|
||||
|
||||
insinto /
|
||||
doins -r etc usr
|
||||
|
||||
fperms 0755 /usr/bin/{open-wezterm-here,strip-ansi-escapes,${MY_PN},${MY_PN}-gui,${MY_PN}-mux-server}
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit xdg
|
||||
|
||||
MY_R="110809-5046fc22"
|
||||
MY_PV="${PV}-${MY_R}"
|
||||
MY_PN="${PN/-bin/}"
|
||||
MY_P="${MY_PN}-${MY_PV}"
|
||||
|
||||
DESCRIPTION="A terminal emulator and multiplexer implemented in Rust"
|
||||
HOMEPAGE="https://github.com/wezterm/wezterm https://wezterm.org"
|
||||
|
||||
SRC_URI="https://github.com/wezterm/wezterm/releases/download/${MY_PV}/${MY_PN}-${MY_PV}.Ubuntu20.04.tar.xz"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
IUSE="wayland +X"
|
||||
REQUIRED_USE="|| ( wayland X )"
|
||||
|
||||
RDEPEND="
|
||||
sys-apps/dbus
|
||||
>=media-libs/fontconfig-2.12
|
||||
dev-libs/openssl-compat:1.1.1
|
||||
wayland? (
|
||||
dev-libs/wayland
|
||||
dev-libs/wayland-protocols
|
||||
)
|
||||
X? (
|
||||
>=x11-libs/libX11-1.7.5
|
||||
>=x11-libs/libxcb-1.8
|
||||
>=x11-libs/xcb-util-0.4
|
||||
>=x11-libs/xcb-util-wm-0.4.1
|
||||
>=x11-libs/xcb-util-image-0.2.1
|
||||
>=x11-libs/xcb-util-keysyms-0.4
|
||||
x11-libs/libxkbcommon[X]
|
||||
)
|
||||
x11-themes/hicolor-icon-theme
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
insinto /
|
||||
doins -r etc usr
|
||||
|
||||
fperms 0755 /usr/bin/{open-wezterm-here,strip-ansi-escapes,wezterm,wezterm-gui,wezterm-mux-server}
|
||||
fperms 0755 /etc/profile.d/${MY_PN}.sh
|
||||
}
|
||||
Reference in new issue
Block a user