vulkan-headers/vulkan-headers.spec
Jan Engelhardt 67997dbfd9 Accepting request 827512 from home:dirkmueller:branches:X11:Wayland
- update to 1.2.151:
  * Fix enum order for backwards compatibility 
  * Update vk_icd.h with typedefs and prototypes
  * Add missing ifdef for extern "C"
  * Add a loader features interface

OBS-URL: https://build.opensuse.org/request/show/827512
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-headers?expand=0&rev=54
2020-08-19 07:29:30 +00:00

62 lines
1.8 KiB
RPMSpec

#
# spec file for package vulkan-headers
#
# Copyright (c) 2020 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: vulkan-headers
Version: 1.2.151
Release: 0
Summary: Vulkan C and C++ API header files
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/Vulkan-Headers
Source: https://github.com/KhronosGroup/Vulkan-Headers/archive/v%version.tar.gz
BuildRequires: cmake >= 2.8.11
BuildArch: noarch
Requires: pkgconfig(wayland-client)
Requires: pkgconfig(x11)
Requires: pkgconfig(xcb)
Requires: pkgconfig(xrandr)
Conflicts: vulkan-devel < 1.1.91
%description
Vulkan is a 3D graphics and compute API providing cross-platform
access to modern GPUs with low overhead and targeting realtime
graphics applications such as games and interactive media.
This package contains the development headers for packages wanting
to make use of Vulkan.
%prep
%autosetup -n Vulkan-Headers-%version
%build
%cmake \
-DCMAKE_INSTALL_SYSCONFDIR="%_sysconfdir" \
-DBUILD_WSI_MIR_SUPPORT=OFF \
-DBUILD_TESTS=OFF
make %{?_smp_mflags}
%install
%cmake_install
%files
%license LICENSE.txt
%_includedir/vulkan/
%_datadir/vulkan/
%changelog