From 5f9405ba696ad79a0e05150430fe69e874f8280d Mon Sep 17 00:00:00 2001 From: DaeKwang Ryu Date: Wed, 12 Oct 2016 11:27:59 +0900 Subject: [PATCH] [SDL_tizen] Vulkan is supported on only Mobile profile Change-Id: I1b075b511081843ecc14e163362bab1096119088 --- packaging/SDL2.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/packaging/SDL2.spec b/packaging/SDL2.spec index 764f482..3a21800 100755 --- a/packaging/SDL2.spec +++ b/packaging/SDL2.spec @@ -42,9 +42,6 @@ BuildRequires: pkgconfig(libdrm) BuildRequires: binutils-devel BuildRequires: which BuildRequires: autoconf -BuildRequires: Vulkan-LoaderAndValidationLayers -BuildRequires: Vulkan-LoaderAndValidationLayers-devel - BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(ecore-wayland) BuildRequires: pkgconfig(capi-appfw-application) @@ -52,6 +49,11 @@ BuildRequires: pkgconfig(capi-system-system-settings) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(ecore-imf) +%if "%{profile}" == "mobile" +BuildRequires: Vulkan-LoaderAndValidationLayers +BuildRequires: Vulkan-LoaderAndValidationLayers-devel +%endif + %description This is the Simple DirectMedia Layer, a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across -- 2.7.4