diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-01-30 14:46:22 +0100 |
---|---|---|
committer | Zhao, Halley <halley.zhao@intel.com> | 2014-03-20 10:02:48 +0800 |
commit | 3a777e008d4a54587548437582bcd3aad05a7f8e (patch) | |
tree | 5a0b5bfc741a36d1d45b6790324e5fbcb511d5cf | |
parent | b560c8076da53c8611c34a1c867c62714b07be6a (diff) | |
download | libva-intel-driver-3a777e008d4a54587548437582bcd3aad05a7f8e.tar.gz libva-intel-driver-3a777e008d4a54587548437582bcd3aad05a7f8e.tar.bz2 libva-intel-driver-3a777e008d4a54587548437582bcd3aad05a7f8e.zip |
Allow "libva-intel-driver" to build into pure Wayland profile.submit/tizen/20140320.020341accepted/tizen/ivi/panda/20140321.020452accepted/tizen/ivi/20140321.181644accepted/tizen/generic/20140320.082030accepted/tizen_ivi_panda
Change-Id: I47b05a505e83f9bcf7840c95ec7bd369140a4ecf
-rw-r--r-- | packaging/libva-intel-driver.spec | 13 | ||||
-rw-r--r-- | src/i965_output_wayland.h | 1 |
2 files changed, 11 insertions, 3 deletions
diff --git a/packaging/libva-intel-driver.spec b/packaging/libva-intel-driver.spec index 0cf466b..57c115e 100644 --- a/packaging/libva-intel-driver.spec +++ b/packaging/libva-intel-driver.spec @@ -1,4 +1,6 @@ %bcond_with wayland +%bcond_with x + Name: libva-intel-driver Version: 1.2.2 Release: 0 @@ -7,8 +9,10 @@ Group: System/Libraries License: MIT URL: http://freedesktop.org/wiki/Software/vaapi Source0: %{name}-%{version}.tar.bz2 +%if %{with x} BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) +%endif BuildRequires: mesa-devel BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libva) @@ -22,15 +26,18 @@ BuildRequires: pkgconfig(wayland-client) Intel Driver for Libva is a library providing the VA API video acceleration API. %prep -%setup -q +%setup -q %build %autogen -%configure --enable-x11 \ +%configure \ +%if %{with x} +--enable-x11 \ +%endif %if %{with wayland} --enable-wayland \ %endif - --enable-drm + --enable-drm make %{?_smp_mflags} %install diff --git a/src/i965_output_wayland.h b/src/i965_output_wayland.h index 61ca39f..acea8d9 100644 --- a/src/i965_output_wayland.h +++ b/src/i965_output_wayland.h @@ -26,6 +26,7 @@ #define I965_OUTPUT_WAYLAND_H #include <stdbool.h> +#include <va/va_backend.h> bool i965_output_wayland_init(VADriverContextP ctx); |