Sync from SUSE:SLFO:Main DirectX-Headers revision 6b0996859a16aacc32b325b8a3fe84ec

This commit is contained in:
Adrian Schröter 2024-05-03 10:44:09 +02:00
commit f35c6cfe8b
5 changed files with 232 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
DirectX-Headers-1.611.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
# happens irrespective of LTO
addFilter("lto-no-text-in-archive .*");
addFilter("devel-file-in-non-devel-package .*");

143
DirectX-Headers.changes Normal file
View File

@ -0,0 +1,143 @@
-------------------------------------------------------------------
Tue Dec 5 15:26:41 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Update to 1.611.0:
* This release matches the content provided in the DirectX12
Agility SDK and the 1.611.0 NuGet package.
- https://devblogs.microsoft.com/directx/directx12agility/
- https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.611.0
-------------------------------------------------------------------
Fri Jun 16 08:56:56 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Install license
- Use -ffat-lto-objects for static libraries
-------------------------------------------------------------------
Thu Apr 13 19:49:05 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Update to 1.610.0:
* This release matches the content provided in the DirectX12
Agility SDK and the 1.610.0 NuGet package.
- https://devblogs.microsoft.com/directx/directx12agility/
- https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.610.0
-------------------------------------------------------------------
Thu Mar 30 20:17:57 UTC 2023 - Scott Bradnick <scott.bradnick@suse.com>
- Update to 1.608.2:
* This release matches the content provided in the DirectX12
Agility SDK and the 1.608.2 NuGet package.
- https://devblogs.microsoft.com/directx/directx12agility/
- https://www.nuget.org/packages/Microsoft.Direct3D.D3D12/1.608.2
-------------------------------------------------------------------
Mon Nov 21 16:04:47 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
- Update to 1.608.0:
* This release matches the content provided in the DirectX12
Agility SDK and the 1.608.0 NuGet package.
-------------------------------------------------------------------
Tue Aug 30 23:51:37 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
- Update to 1.606.4:
* Update D3DX12.H to support new ABI for MinGW (#73)
* dxguids: Add new GUIDs from the last several releases
-------------------------------------------------------------------
Tue Aug 16 18:42:14 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Update to 1.606.3:
* Support Shader Model 6.7
-------------------------------------------------------------------
Wed May 25 16:20:53 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Clean spec file
* Fix description
* Use %autosetup
* Use meson macros
* Use fdupes for duplicate files
* Use a better URL
-------------------------------------------------------------------
Wed May 25 13:28:44 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- added missing %changelog section to specfile
-------------------------------------------------------------------
Wed May 25 12:25:12 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- build exclusively on %{ix86} x86_64, since DirectX ia only
relevant on these platforms
-------------------------------------------------------------------
Wed May 25 12:14:37 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- fixed 32bit build
-------------------------------------------------------------------
Thu May 12 15:36:35 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
- Renamed project/file references from 'directx-headers' to
'DirectX-Headers' (as is upstream).
-------------------------------------------------------------------
Thu Apr 28 20:21:30 UTC 2022 - Scott Bradnick <scott.bradnick@suse.com>
- Update to upstream version 1.600.10
-------------------------------------------------------------------
Thu Nov 11 19:36:30 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
* Prepping for inclusion in X11:XOrg project:
- General cleanup of .spec file
- Adjusting to use proper naming of rpmlintrc.
- Pre-0.57.0 version of 'meson install' does not support
'--destdir', using ENV var for all but TW.
-------------------------------------------------------------------
Wed Aug 25 22:47:50 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Adding rpmlintrc for addFilter 'lto-no-text-in-archive'.
-------------------------------------------------------------------
Wed Aug 25 21:45:20 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Fixing file conflict for /usr/lib64/pkgconfig.
-------------------------------------------------------------------
Wed Aug 25 21:37:49 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Apparently pkgconf doesn't like /usr/local by default.
-------------------------------------------------------------------
Wed Aug 25 21:25:34 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Replacing hardcoded path in 'rm .../libDirectX-Guids.a' ...
-------------------------------------------------------------------
Wed Aug 25 21:18:11 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Seems to use /usr/local for generated .pc file vs. /usr
-------------------------------------------------------------------
Wed Aug 25 20:15:52 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Taking out 'libDirectX-Guids.a' and trying again.
-------------------------------------------------------------------
Wed Aug 25 20:03:16 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Trying to get 'libDirectX-Guids.a' added to resulting .rpm file.
-------------------------------------------------------------------
Wed Aug 25 15:50:16 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Some changes to get missing files added.
-------------------------------------------------------------------
Mon Aug 23 22:19:05 UTC 2021 - Scott Bradnick <scott.bradnick@suse.com>
- Initial package version as 'directx-headers'.

60
DirectX-Headers.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package DirectX-Headers
#
# Copyright (c) 2023 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/
#
Name: DirectX-Headers
Version: 1.611.0
Release: 0
Summary: DirectX Headers for Mesa
License: MIT
URL: https://github.com/microsoft/DirectX-Headers
# osc service runall download_files
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-rpmlintrc
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: meson
ExclusiveArch: %{ix86} x86_64
%description
This package contains the official Direct3D 12 headers.
These headers are made available under the MIT license rather than the traditional Windows SDK license.
Additionally, this package hosts several helpers for using these headers.
Make sure that you visit the DirectX Landing Page for more resources for DirectX developers.
%prep
%autosetup
%build
%global _lto_cflags %{?_lto_cflags} -ffat-lto-objects
%meson -Dbuild-test=false
%meson_build
%install
%meson_install
%fdupes -s %{buildroot}
%files
%license LICENSE
%{_includedir}/directx
%{_includedir}/dxguids
%{_includedir}/wsl
%{_libdir}/pkgconfig/DirectX-Headers.pc
%{_libdir}/libDirectX-Guids.a
%{_libdir}/libd3dx12-format-properties.a
%changelog