Build with wayland support (rhbz 1383115)
This commit is contained in:
parent
cba7e8bf2b
commit
eba641d00e
1 changed files with 16 additions and 8 deletions
24
vulkan.spec
24
vulkan.spec
|
|
@ -19,9 +19,9 @@
|
|||
Name: vulkan
|
||||
Version: 1.0.26.0
|
||||
%if 0%{?use_git}
|
||||
Release: 0.6.git%{shortcommit}%{?dist}
|
||||
Release: 0.7.git%{shortcommit}%{?dist}
|
||||
%else
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
%endif
|
||||
Summary: Vulkan loader and validation layers
|
||||
|
||||
|
|
@ -54,12 +54,16 @@ BuildRequires: gcc
|
|||
BuildRequires: gcc-c++
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libpciaccess-devel
|
||||
BuildRequires: python3
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: /usr/bin/chrpath
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(pciaccess)
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-cursor)
|
||||
BuildRequires: pkgconfig(wayland-server)
|
||||
BuildRequires: pkgconfig(wayland-egl)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
|
||||
Requires: vulkan-filesystem
|
||||
|
||||
|
|
@ -127,11 +131,12 @@ popd
|
|||
pushd build/
|
||||
%cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes -DCMAKE_SKIP_RPATH:BOOL=yes \
|
||||
-DBUILD_VKJSON=OFF \
|
||||
-DBUILD_VKJSON=OFF -DBUILD_WSI_WAYLAND_SUPPORT=ON \
|
||||
%if 0%{?use_layers}
|
||||
..
|
||||
%else
|
||||
-DGLSLANG_SPIRV_INCLUDE_DIR=./ -DBUILD_TESTS=OFF -DBUILD_LAYERS=OFF ..
|
||||
-DGLSLANG_SPIRV_INCLUDE_DIR=./ -DBUILD_TESTS=OFF -DBUILD_LAYERS=OFF \
|
||||
-DBUILD_WSI_WAYLAND_SUPPORT=ON -DBUILD_VKJSON=OFF ..
|
||||
%endif
|
||||
%make_build
|
||||
popd
|
||||
|
|
@ -193,6 +198,9 @@ mkdir -p %{buildroot}%{_sysconfdir}/vulkan/icd.d
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Oct 10 2016 Leigh Scott <leigh123linux@googlemail.com> - 1.0.26.0-4
|
||||
- Build with wayland support (rhbz 1383115)
|
||||
|
||||
* Tue Sep 27 2016 Leigh Scott <leigh123linux@googlemail.com> - 1.0.26.0-3
|
||||
- Move unversioned libraries
|
||||
- Disable vkjson build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue