packaging: Bump to 1.4.1
[platform/upstream/libva.git] / packaging / libva.spec
index f012e16..b395836 100644 (file)
@@ -3,11 +3,12 @@
 %bcond_with x
 
 Name:           libva
-Version:        1.2.1
+Version:        1.4.1
 Release:        0
 License:        MIT
 Summary:        Video Acceleration (VA) API for Linux
 Url:            http://freedesktop.org/wiki/Software/vaapi
+#X-Vc-Url:      git://anongit.freedesktop.org/libva
 Group:          Multimedia/Video
 Source:         %{name}-%{version}.tar.bz2
 BuildRequires:  gcc-c++
@@ -88,16 +89,17 @@ This contains the dummy driver.
 %autogen
 %configure --enable-dummy-driver \
            --enable-dummy-backend \
-%if %{with mesa} && %{with x}
+%if %{with x}
+%if %{with mesa}
            --enable-glx \
 %endif
+%else
+        --enable-x11=no \
+%endif
            --enable-egl \
 %if %{with wayland}
            --enable-wayland \
 %endif
-%if !%{with x}
-        --enable-x11=no \
-%endif
            --with-drivers-path=%{_libdir}/dri
 make %{?_smp_mflags}
 
@@ -118,7 +120,6 @@ grep -r include %{buildroot}%{_includedir}
 %{_bindir}/mpeg2vaenc
 %if %{with x}
 %{_bindir}/putsurface
-%{_bindir}/mpeg2transcode
 %endif
 %{_bindir}/loadjpeg
 %if %{with wayland}