summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-12-01 15:20:12 +0100
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2014-12-01 15:20:12 +0100
commiteb179435e0562e2588861806fb9e8ae33c087654 (patch)
tree2b305c8686b309c421c61103ad8de7fd60381866
parentf5ccc1464f9dfa2b20afa477e42702b59a65d1dd (diff)
downloadweston-eb179435e0562e2588861806fb9e8ae33c087654.tar.gz
weston-eb179435e0562e2588861806fb9e8ae33c087654.tar.bz2
weston-eb179435e0562e2588861806fb9e8ae33c087654.zip
packaging: use libva if availablesandbox/pcoval/tizen
Change-Id: I8fdc4ea28f89f31b935af98a831e70170afd3549 Bug-Tizen: TC-236/2of2 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--packaging/weston.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/weston.spec b/packaging/weston.spec
index 9781f100..f662aac0 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
@@ -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)