packaging: use libva if available 15/31115/2
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 1 Dec 2014 14:20:12 +0000 (15:20 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 2 Dec 2014 16:20:15 +0000 (17:20 +0100)
Change-Id: I8fdc4ea28f89f31b935af98a831e70170afd3549
Bug-Tizen: TC-236/2of2
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/weston.spec

index 9781f10..4fd8385 100644 (file)
@@ -1,4 +1,5 @@
 %bcond_with wayland
+%bcond_with libva
 %bcond_with mobile
 %bcond_with rdp
 
@@ -56,6 +57,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)