From 11867f870bc57232844ba4c9ad4ca7536781084a Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Jan 31 2021 00:24:52 +0000 Subject: Update to 1.0.14 Use pkgconfig for vulkan-loader-devel as build requirement Drop .so versioning patch as suggested by upstream --- diff --git a/.gitignore b/.gitignore index 510183f..6b0ad33 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /OpenXR-SDK-Source-release-1.0.12.tar.gz /OpenXR-SDK-Source-release-1.0.13.tar.gz +/OpenXR-SDK-Source-release-1.0.14.tar.gz diff --git a/openxr.spec b/openxr.spec index 396dba7..d5ef7a9 100644 --- a/openxr.spec +++ b/openxr.spec @@ -2,26 +2,27 @@ %global libmajor 1 Name: openxr -Version: 1.0.13 -Release: 2%{?dist} +Version: 1.0.14 +Release: 1%{?dist} Summary: An API for writing VR and AR software License: ASL 2.0 URL: https://github.com/KhronosGroup/%{pkgname} -Source: https://github.com/KhronosGroup/%{pkgname}/releases/download/release-%{version}/%{pkgname}-release-%{version}.tar.gz +Source: https://github.com/KhronosGroup/%{pkgname}/archive/%{pkgname}-release-%{version}.tar.gz # Patch addressing .so versioning # https://github.com/KhronosGroup/OpenXR-SDK-Source/issues/221 -Patch: %{name}-1.0.12-soversion.patch +# Patch: %%{name}-1.0.14-soversion.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: glslang BuildRequires: glslang-devel -BuildRequires: vulkan-devel BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(jsoncpp) +BuildRequires: pkgconfig(vulkan) +BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(xcb-icccm) BuildRequires: pkgconfig(xcb-keysyms) @@ -39,7 +40,6 @@ virtual reality (VR) and augmented reality (AR) software. %package libs Summary: Libraries for writing VR and AR software - %description libs This package contains the library needed to run programs dynamically linked with OpenXR. @@ -50,11 +50,11 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description devel -Development files for the USD library. Install this package if you +Development files for the OpenXR library. Install this package if you want to compile applications using the OpenXR library. %prep -%autosetup -p1 -n %{pkgname}-release-%{version} +%autosetup -n %{pkgname}-release-%{version} %build %cmake \ @@ -62,9 +62,10 @@ want to compile applications using the OpenXR library. -DBUILD_LOADER=ON \ -DBUILD_TESTS=ON \ -DBUILD_WITH_WAYLAND_HEADERS=ON \ + -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="%{optflags} -Wl,--as-needed" \ -DCMAKE_CXX_FLAGS="%{optflags} -Wl,--as-needed" \ - -DPRESENTATION_BACKEND=xlib \ + -DCMAKE_CXX_STANDARD=14 \ -DDYNAMIC_LOADER=ON %cmake_build @@ -74,7 +75,7 @@ want to compile applications using the OpenXR library. %files %license LICENSE # Include license in doc otherwise build complains -%doc BUILDING.md CHANGELOG.SDK.md LICENSE README.md +%doc CHANGELOG.SDK.md LICENSE README.md README_api_dump.md README_core_validation.md %{_bindir}/* %{_datadir}/%{name} %{_mandir}/man1/*.1* @@ -89,6 +90,11 @@ want to compile applications using the OpenXR library. %{_libdir}/pkgconfig/*.pc %changelog +* Thu Jan 28 2021 Luya Tshimbalanga 1.0.14-1 +- Update to 1.0.14 +- Use pkgconfig for vulkan-loader-devel as build requirement +- Drop .so versioning patch as suggested by upstream + * Tue Jan 26 2021 Fedora Release Engineering - 1.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index 5191051..f8c26d0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (OpenXR-SDK-Source-release-1.0.13.tar.gz) = 279314ca3a5e370c08fb2abfe2b8c787d1118c792a11d0d11e1a4fa6089bd3c7b8395525586d7b8abffdc9b7fcad82ddd65954fcf1ab779f64e496f328a56ab4 +SHA512 (OpenXR-SDK-Source-release-1.0.14.tar.gz) = 2d0c15e9b855f2f2ac174ff8649ddd7fce01b443eae1441079a8b0fba5a00a96c3fd38c3aea923df30b708bbb98f6a9fee3b22c58e3a45125ea80308a181ef57