summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/libva-intel-driver.changes3
-rw-r--r--packaging/libva-intel-driver.spec9
2 files changed, 11 insertions, 1 deletions
diff --git a/packaging/libva-intel-driver.changes b/packaging/libva-intel-driver.changes
index 36edf00..e1531eb 100644
--- a/packaging/libva-intel-driver.changes
+++ b/packaging/libva-intel-driver.changes
@@ -1,3 +1,6 @@
+* Wed Jun 19 2013 Anas Nashif <anas.nashif@intel.com> accepted/tizen/20130520.100021@21f51de
+- make wayland support conditional
+
* Sat May 11 2013 Anas Nashif <anas.nashif@intel.com> submit/tizen/20130509.181405@fdc6f8a
- Set license using %license
diff --git a/packaging/libva-intel-driver.spec b/packaging/libva-intel-driver.spec
index ecb74b6..899daab 100644
--- a/packaging/libva-intel-driver.spec
+++ b/packaging/libva-intel-driver.spec
@@ -1,3 +1,4 @@
+%bcond_with wayland
Name: libva-intel-driver
Version: 1.0.19
Release: 0
@@ -11,9 +12,11 @@ BuildRequires: pkgconfig(xfixes)
BuildRequires: mesa-devel
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libva)
+%if %{with wayland}
BuildRequires: pkgconfig(libva-wayland)
BuildRequires: pkgconfig(wayland-egl)
BuildRequires: pkgconfig(wayland-client)
+%endif
%description
Intel Driver for Libva is a library providing the VA API video acceleration API.
@@ -23,7 +26,11 @@ Intel Driver for Libva is a library providing the VA API video acceleration API.
%build
%autogen
-%configure --enable-x11 --enable-drm --enable-wayland
+%configure --enable-x11 \
+%if %{with wayland}
+ --enable-wayland \
+%endif
+ --enable-drm
make %{?_smp_mflags}
%install