From: Philippe Coval Date: Mon, 1 Dec 2014 14:20:12 +0000 (+0100) Subject: packaging: use libva if available X-Git-Tag: submit/tizen/20151116.055554~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ac2af6c939404181ade03f97c481dc6655f3ee7a;p=platform%2Fupstream%2Fweston.git packaging: use libva if available Change-Id: I8fdc4ea28f89f31b935af98a831e70170afd3549 Bug-Tizen: TC-236/2of2 Signed-off-by: Philippe Coval --- diff --git a/packaging/weston.spec b/packaging/weston.spec index 428b37b2..90e2ee82 100644 --- a/packaging/weston.spec +++ b/packaging/weston.spec @@ -1,4 +1,5 @@ %bcond_with wayland +%bcond_with libva %bcond_with mobile %bcond_with rdp @@ -53,6 +54,9 @@ BuildRequires: pkgconfig(libffi) BuildRequires: pkgconfig(libinput) >= 0.6.0 BuildRequires: pkgconfig(libsystemd-login) BuildRequires: pkgconfig(libudev) >= 136 +%if %{with libva} +BuildRequires: pkgconfig(libva) +%endif BuildRequires: pkgconfig(mtdev) >= 1.1.0 BuildRequires: pkgconfig(pangocairo) BuildRequires: pkgconfig(pixman-1)