chore: Remove setuptools from glad dependencies (#5392)

This commit is contained in:
Dave Lane
2026-07-08 16:04:52 -04:00
committed by GitHub
parent 0131793f96
commit dc419367f3
7 changed files with 11 additions and 40 deletions

View File

@@ -69,7 +69,6 @@ makedepends=(
'nodejs'
'npm'
'python-jinja' # required by the glad OpenGL/EGL loader generator
'python-setuptools' # required for glad OpenGL/EGL loader generated, v2.0.0
'shaderc'
)

View File

@@ -92,7 +92,6 @@ BuildRequires: libpulse-devel
BuildRequires: npm
BuildRequires: python311
BuildRequires: python311-Jinja2
BuildRequires: python311-setuptools
%if !0%{?sle_version}
BuildRequires: shaderc
%endif
@@ -250,7 +249,7 @@ cmake_args+=("-DPython_EXECUTABLE=%{_builddir}/Sunshine/.venv/bin/python")
%endif
%if 0%{?suse_version}
# Use the Python interpreter that owns the python311-Jinja2/python311-setuptools BuildRequires.
# Use the Python interpreter that owns the python311-Jinja2 BuildRequires.
cmake_args+=("-DGLAD_SKIP_PIP_INSTALL=ON")
cmake_args+=("-DPython_EXECUTABLE=/usr/bin/python3.11")
%endif