packaging: use libva if available
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 1 Dec 2014 14:20:12 +0000 (15:20 +0100)
committerBoram Park <boram1288.park@samsung.com>
Fri, 6 Nov 2015 05:06:48 +0000 (14:06 +0900)
Change-Id: I8fdc4ea28f89f31b935af98a831e70170afd3549
Bug-Tizen: TC-236/2of2
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/weston.spec

index 428b37b..90e2ee8 100644 (file)
@@ -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)