Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
hardware:xr
OpenXR-SDK
OpenXR-SDK.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File OpenXR-SDK.spec of Package OpenXR-SDK
# # spec file for package OpenXR-SDK # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define so_ver 1 Name: OpenXR-SDK Version: 1.1.36 Release: 0 Summary: Generated headers and sources for OpenXR loader License: Apache-2.0 Group: System/Libraries URL: https://github.com/KhronosGroup/OpenXR-SDK Source: OpenXR-SDK-release-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(vulkan) BuildRequires: vulkan-headers BuildRequires: Mesa-libGL-devel %description OpenXR headers, as well as source code, build scripts and the runtime component for the OpenXR loader. It contains all generated source files and headers pre-generated for minimum dependencies. %package -n libopenxr_loader%{so_ver} Summary: Shared libraries for OpenXR SDK Group: System/Libraries %description -n libopenxr_loader%{so_ver} This package provides the runtime component for %{name}. %package devel Summary: Development files for OpenXR SDK Group: Development/Libraries/C and C++ Provides: openxr-devel = %{version} Requires: libopenxr_loader%{so_ver} = %{version} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n OpenXR-SDK-release-%{version} %build export CXXFLAGS="-std=c++11 -lstdc++fs -I/usr/include/wayland" export CFLAGS="-I/usr/include/wayland" %cmake %cmake_build %install export CXXFLAGS="-std=c++11 -lstdc++fs -I/usr/include/wayland" export CFLAGS="-I/usr/include/wayland" %cmake_install %post -n libopenxr_loader%{so_ver} -p /sbin/ldconfig %postun -n libopenxr_loader%{so_ver} -p /sbin/ldconfig %files -n libopenxr_loader%{so_ver} %license %{_datadir}/doc/openxr/LICENSE %{_libdir}/libopenxr_loader.so.* %files devel %dir %{_includedir}/openxr %{_includedir}/openxr/* %{_libdir}/libopenxr_loader.so %{_libdir}/pkgconfig/openxr.pc %dir %{_libdir}/cmake/openxr %{_libdir}/cmake/openxr/* %dir %{_datadir}/doc/openxr %{_datadir}/doc/openxr/* %exclude %{_datadir}/doc/openxr/LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor