Add Gentoo support to Linux dependency script (#11141)

This PR adds dependencies for Gentoo Linux.

Release Notes:

- N/A
This commit is contained in:
shimataro 2024-04-30 08:08:22 +09:00 committed by GitHub
parent 6ab9c3c3ab
commit ce643e6bef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,4 +102,22 @@ if [[ -n $xbps ]]; then
exit 0
fi
# Gentoo
# https://packages.gentoo.org/
emerge=$(command -v emerge || true)
if [[ -n $emerge ]]; then
deps=(
app-arch/zstd
dev-libs/openssl
dev-libs/wayland
media-libs/alsa-lib
media-libs/fontconfig
media-libs/vulkan-loader
x11-libs/libxcb
x11-libs/libxkbcommon
)
$maysudo "$emerge" -u "${deps[@]}"
exit 0
fi
echo "Unsupported Linux distribution in script/linux"