[Tizen-submit] 20928: Changes to Tizen:Mobile/libva

noreply at tizen.org noreply at tizen.org
Mon Feb 10 03:28:55 GMT 2014


Hi,
Zhao, Halley have made the following changes to libva in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #20928

  submit:       Tizen:Mobile:build/libva(cleanup) -> Tizen:Mobile


Message:
Submitter: Zhao, Halley <halley.zhao at intel.com>
Comments: add vaapi buffer export: TIVI-2315
Git project: platform/upstream/libva
Tag: submit/tizen/20140209.202717
Commit: 2f4844387b367befc3a58d85cebe00c1f7f8dd2a temp: test: not sure why putsurface_wayland is not installed

State:   new        2014-02-10T03:30:42 tizenrobot
Comment: <no comment>
changes files:
--------------

new:
----
  0001-API-add-support-for-buffer-exports.patch
  0002-add-VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM_BO-in-va_d.patch
  0003-test-add-example-code-of-buffer-exports-in-putsurfac.patch

spec files:
-----------
--- libva.spec
+++ libva.spec
@@ -1,9 +1,9 @@
 %bcond_with wayland 
 %bcond_with mesa
-%bcond_without x
+%bcond_with x
 
 Name:           libva
-VCS:            platform/upstream/libva#89a1d52ed2db807a6eaa7c02220e2618c730ec0b
+VCS:            platform/upstream/libva#2f4844387b367befc3a58d85cebe00c1f7f8dd2a
 Version:        1.2.1
 Release:        0
 License:        MIT
@@ -11,6 +11,10 @@
 Url:            http://freedesktop.org/wiki/Software/vaapi
 Group:          Multimedia/Video
 Source:         %{name}-%{version}.tar.bz2
+# Patches auto-generated by git-buildpackage:
+Patch0:         0001-API-add-support-for-buffer-exports.patch
+Patch1:         0002-add-VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM_BO-in-va_d.patch
+Patch2:         0003-test-add-example-code-of-buffer-exports-in-putsurfac.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
 BuildRequires:  pkg-config
@@ -23,7 +27,7 @@
 %endif
 BuildRequires:  pkgconfig(libdrm)
 BuildRequires:  pkgconfig(libudev)
-%if !%{without x}
+%if %{with x}
 BuildRequires:  pkgconfig(x11)
 BuildRequires:  pkgconfig(xext)
 BuildRequires:  pkgconfig(xfixes)
@@ -46,7 +50,7 @@
 Requires:       libva = %{version}
 Requires:       pkgconfig(gl)
 Requires:       pkgconfig(libdrm)
-%if !%{without x}
+%if %{with x}
 Requires:       pkgconfig(x11)
 Requires:       pkgconfig(xfixes)
 %endif
@@ -79,20 +83,26 @@
 
 %prep
 %setup -q
+# 0001-API-add-support-for-buffer-exports.patch
+%patch0 -p1
+# 0002-add-VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM_BO-in-va_d.patch
+%patch1 -p1
+# 0003-test-add-example-code-of-buffer-exports-in-putsurfac.patch
+%patch2 -p1
 
 %build
 # --enable-x11 set to no explicitly, otherwise it will mislead libva build when other package brings in X11 lib
 %autogen
 %configure --enable-dummy-driver \
            --enable-dummy-backend \
-%if %{with mesa} && !%{without x}
+%if %{with mesa} && %{with x}
            --enable-glx \
 %endif
            --enable-egl \
 %if %{with wayland}
            --enable-wayland \
 %endif
-%if %{without x}
+%if !%{with x}
         --enable-x11=no \
 %endif
            --with-drivers-path=%{_libdir}/dri
@@ -113,10 +123,12 @@
 %{_bindir}/h264encode
 %{_bindir}/mpeg2vldemo

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list