35 lines
795 B
BlitzBasic
Raw Normal View History

2025-05-10 21:49:39 +08:00
require chromium-gn.inc
REQUIRED_DISTRO_FEATURES = "x11"
DEPENDS += "\
libx11 \
libxcomposite \
libxcursor \
libxdamage \
libxext \
libxfixes \
libxi \
libxrandr \
libxrender \
libxscrnsaver \
libxtst \
"
# Loaded at runtime.
# https://source.chromium.org/chromium/chromium/src/+/main:ui/gfx/x/xlib_support.cc
RDEPENDS:${PN} += "libx11-xcb"
# Ozone is default path on Linux since M95.
# Disable all backends except x11 to ensure this is
# x11 only recipe.
GN_ARGS += "\
ozone_auto_platforms=false \
ozone_platform_x11=true \
"
# Compatibility glue while we have both chromium-x11 and
# chromium-wayland recipes, and the former used to be called just
# "chromium".
PROVIDES = "chromium"