| Name |
glslang |
| Description |
OpenGL and OpenGL ES shader front end and validator |
| Version |
15.3.0-1.fc42 |
| Package Base |
glslang |
| Homepage |
https://github.com/KhronosGroup/glslang |
| Maintainers |
['airlied', 'ajax', 'asrivats', 'jexposit', 'jfalempe'] |
| Contributors |
[] |
| Distro-repo |
https://src.fedoraproject.org/rpms/glslang/tree/f42 |
| Sources |
['%url/archive/vulkan-sdk-%{sdkver}.tar.gz#/%{name}-sdk-%{sdkver}.tar.gz', '0001-pkg-config-compatibility.patch'] |
| Dependencies |
['libSPIRV-Tools-opt.so', 'libSPIRV-Tools.so', 'libc.so.6', 'libm.so.6', 'libstdc++.so.6', 'rtld'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['cmake3', 'gcc-c++', 'ninja-build', 'spirv-tools-devel'] |
| Provides |
['glslang', 'glslang(x86-64)'] |
| Builddate |
14-05-2025 22:56:08 |
| Architecture |
x86_64 |
| Distro-Version |
42 |
| Licenses |
['BSD-2-Clause AND BSD-3-Clause AND GPL-3.0-or-later AND Apache-2.0'] |
| Hash |
4e28b271115fc7f4b39f89b0a4971134a7a7ea9260d1f84268a4ac12fe493f01 |
%global sdkver 1.4.321.0
Name: glslang
Version: 15.4.0
Release: %autorelease
Summary: OpenGL and OpenGL ES shader front end and validator
License: BSD-2-Clause AND BSD-3-Clause AND GPL-3.0-or-later AND Apache-2.0
URL: https://github.com/KhronosGroup/%{name}
Source0: %url/archive/vulkan-sdk-%{sdkver}.tar.gz#/%{name}-sdk-%{sdkver}.tar.gz
# Patch to build against system spirv-tools (rebased locally)
#Patch3: https://patch-diff.githubusercontent.com/raw/KhronosGroup/glslang/pull/1722.patch#/0001-pkg-config-compatibility.patch
Patch3: 0001-pkg-config-compatibility.patch
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: ninja-build
BuildRequires: spirv-tools-devel
%description
%{name} is the official reference compiler front end for the OpenGL
ES and OpenGL shading languages. It implements a strict
interpretation of the specifications for these languages.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%{name} is the official reference compiler front end for the OpenGL
ES and OpenGL shading languages. It implements a strict
interpretation of the specifications for these languages.
%prep
%autosetup -p1 -n %{name}-vulkan-sdk-%{sdkver}
# Fix rpmlint warning on debuginfo
find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp'| xargs chmod a-x
%build
%cmake3 -DBUILD_SHARED_LIBS=OFF
%cmake_build
%install
%{cmake_install}
# we don't want them in here
rm -rf %{buildroot}%{_includedir}/SPIRV
%ifnarch s390x ppc64
%check
pushd Test
./runtests localResults ../%{_vpath_builddir}/StandAlone/glslangValidator ../%{_vpath_builddir}/StandAlone/spirv-remap
popd
%endif
%files
%doc README.md README-spirv-remap.txt
%{_bindir}/glslang
%{_bindir}/glslangValidator
%{_bindir}/spirv-remap
%files devel
%{_includedir}/glslang/
%{_libdir}/libOSDependent.a
%{_libdir}/libSPIRV.a
%{_libdir}/libSPVRemapper.a
%{_libdir}/libglslang.a
%{_libdir}/libGenericCodeGen.a
%{_libdir}/libMachineIndependent.a
%{_libdir}/libglslang-default-resource-limits.a
%{_libdir}/pkgconfig/glslang.pc
%{_libdir}/pkgconfig/spirv.pc
%{_libdir}/cmake/*
%changelog
%autochangelog