Accepting request 539812 from home:alarrosa:branches:X11:XOrg

- Update to 2.0.0
  * Bump VA-API version to 1.0.0 and libva to 2.0.0
  * Add new API for H264 FEI support
  * Add definition of VA_FOURCC_I420
  * Add functions for converting common enums to strings
  * Deprecate H.264 baseline profile and FMO support
  * Deprecate packed misc packed header flag
  * Delete libva-tpi and libva-egl backends
  * Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
  * Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
  * Fix race condition in wayland support
  * Rename vaMessageCallback to VAMessageCallback
  * Make logging callbacks library-safe
- Note libva 2.0.0 is not compatible with the old version of libva, but for
  most users, what you need to do is to rebuild your VA-API based application
  against libva 2.0.0.
- The soversion of the generated packages is increased to 2.
- Subpackage libva-egl1 is no longer generated since upstream removed support
  for the libva-egl backend.
- The libva2 package no longer includes the libva-tpi library since upstream
  removed support for the libva-tpi backend.

- Update to 2.0.0
  * Bump VA-API version to 1.0.0 and libva to 2.0.0
  * Add new API for H264 FEI support
  * Add definition of VA_FOURCC_I420
  * Add functions for converting common enums to strings
  * Deprecate H.264 baseline profile and FMO support
  * Deprecate packed misc packed header flag
  * Delete libva-tpi and libva-egl backends

OBS-URL: https://build.opensuse.org/request/show/539812
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=98
This commit is contained in:
Jimmy Berry 2017-11-08 23:12:10 +00:00 committed by Git OBS Bridge
parent 0ef1fbe56f
commit 4016a3e3df
9 changed files with 146 additions and 148 deletions

View File

@ -1,14 +1,12 @@
libva1
libva-drm1
libva-egl1
libva-glx1
libva-x11-1
libva2
libva-drm2
libva-glx2
libva-x11-2
libva-devel
requires -libva-<targettype>
requires "libva1-<targettype> = <version>"
requires "libva-drm1-<targettype> = <version>"
requires "libva-x11-1-<targettype> = <version>"
requires "libva2-<targettype> = <version>"
requires "libva-drm2-<targettype> = <version>"
requires "libva-x11-2-<targettype> = <version>"
libva-gl-devel
requires -libva-gl-<targettype>
requires "libva-egl1-<targettype> = <version>"
requires "libva-glx1-<targettype> = <version>"
requires "libva-glx2-<targettype> = <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56ee129deba99b06eb4a8d4f746b117c5d1dc2ec5b7a0bfc06971fca1598ab9b
size 453242

View File

@ -1 +0,0 @@
8eee9e28b0ae3bfbe8cd44a91396207714967204 libva-1.8.3.tar.bz2

3
libva-2.0.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb0601f9a209e60d8d0b867067323661a7816ff429021441b775452b8589e533
size 427916

View File

@ -0,0 +1 @@
762a49f8925ca1d0531c5071afbd629ffea93b90 libva-2.0.0.tar.bz2

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Nov 8 09:07:04 UTC 2017 - alarrosa@suse.com
- Update to 2.0.0
* Bump VA-API version to 1.0.0 and libva to 2.0.0
* Add new API for H264 FEI support
* Add definition of VA_FOURCC_I420
* Add functions for converting common enums to strings
* Deprecate H.264 baseline profile and FMO support
* Deprecate packed misc packed header flag
* Delete libva-tpi and libva-egl backends
* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
* Fix race condition in wayland support
* Rename vaMessageCallback to VAMessageCallback
* Make logging callbacks library-safe
- Note libva 2.0.0 is not compatible with the old version of libva, but for
most users, what you need to do is to rebuild your VA-API based application
against libva 2.0.0.
- The soversion of the generated packages is increased to 2.
- Subpackage libva-egl1 is no longer generated since upstream removed support
for the libva-egl backend.
- The libva2 package no longer includes the libva-tpi library since upstream
removed support for the libva-tpi backend.
-------------------------------------------------------------------
Tue Aug 29 22:28:49 UTC 2017 - jengelh@inai.de

View File

@ -25,10 +25,11 @@
%endif
%define build_gl 1
%define sover 2
Name: libva-gl
%define _name libva
Version: 1.8.3
Version: 2.0.0
Release: 0
Summary: Video Acceleration (VA) API
License: MIT
@ -50,7 +51,6 @@ BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xv)
%if %{build_gl}
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
%if %{with wayland}
BuildRequires: pkgconfig(wayland-client) >= 1.0.0
@ -62,33 +62,22 @@ BuildRequires: pkgconfig(wayland-scanner) >= 1.0.0
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
%package -n libva-egl1
Summary: EGL backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
%description -n libva-egl1
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/EGL runtime library.
%package -n libva-glx1
%package -n libva-glx%{sover}
Summary: GLX backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
Supplements: libva%{sover}
%description -n libva-glx1
%description -n libva-glx%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/GLX runtime library.
%package -n libva-wayland1
%package -n libva-wayland%{sover}
Summary: Wayland backend for the Video Acceleration API
Group: System/Libraries
%description -n libva-wayland1
%description -n libva-wayland%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
@ -105,17 +94,15 @@ Summary: Development files for the Video Acceleration API
Group: Development/Languages/C and C++
%if 0%{?build_gl}
BuildRequires: libva-devel = %{version}
Requires: libva-egl1 = %{version}
Requires: libva-glx1 = %{version}
Requires: libva-glx%{sover} = %{version}
%if %{with wayland}
Requires: libva-wayland1 = %{version}
Requires: libva-wayland%{sover} = %{version}
%endif
Requires: pkgconfig(egl)
Requires: pkgconfig(gl)
%else
Requires: libva-drm1 = %{version}
Requires: libva-x11-1 = %{version}
Requires: libva1 = %{version}
Requires: libva%{sover} = %{version}
Requires: libva-drm%{sover} = %{version}
Requires: libva-x11-%{sover} = %{version}
Requires: pkgconfig(libdrm)
Requires: pkgconfig(x11)
Requires: pkgconfig(xfixes)
@ -132,33 +119,33 @@ This package provides the development environment for libva gl packages.
This package provides the development environment for libva packages.
%endif
%package -n libva1
%package -n libva%{sover}
Summary: Video Acceleration API
Group: System/Libraries
%description -n libva1
%description -n libva%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the core runtime library.
%package -n libva-drm1
%package -n libva-drm%{sover}
Summary: DRM backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
Supplements: libva%{sover}
%description -n libva-drm1
%description -n libva-drm%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/DRM runtime library.
%package -n libva-x11-1
%package -n libva-x11-%{sover}
Summary: X11 backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
Supplements: libva%{sover}
%description -n libva-x11-1
%description -n libva-x11-%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
@ -166,14 +153,14 @@ This is the VA/X11 runtime library.
%prep
%setup -q -n %{_name}-%{version}
# Add "libva-wayland1" to baselibs.conf when enabling wayland build;
# Add "libva-wayland%%{sover}" to baselibs.conf when enabling wayland build;
# ugly I know ...This is needed since otherwise source validator
#
# osc service run source_validator
#
# fails on sle
%if %{with wayland}
echo libva-wayland1 >> $RPM_SOURCE_DIR/baselibs.conf
echo libva-wayland%{sover} >> $RPM_SOURCE_DIR/baselibs.conf
%endif
%build
@ -182,7 +169,6 @@ autoreconf -v --install
%configure \
%if %{build_gl}
--enable-glx \
--enable-egl \
--disable-wayland \
%if %{with wayland}
--enable-wayland \
@ -200,57 +186,48 @@ find %{buildroot} -name '*.la' -delete -print
%if %{build_gl}
# remove all files packaged during without gl mode
rm -rf %{buildroot}%{_bindir}/{avcenc,h264encode,jpegenc,loadjpeg,mpeg2vaenc,mpeg2vldemo,putsurface,vainfo}
rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "egl\|glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "egl\|glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "egl\|glx\|wayland"`
rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "glx\|wayland"`
%endif
%post -n libva-egl1 -p /sbin/ldconfig
%post -n libva-glx%{sover} -p /sbin/ldconfig
%postun -n libva-egl1 -p /sbin/ldconfig
%postun -n libva-glx%{sover} -p /sbin/ldconfig
%post -n libva-glx1 -p /sbin/ldconfig
%post -n libva-wayland%{sover} -p /sbin/ldconfig
%postun -n libva-glx1 -p /sbin/ldconfig
%postun -n libva-wayland%{sover} -p /sbin/ldconfig
%post -n libva-wayland1 -p /sbin/ldconfig
%post -n libva%{sover} -p /sbin/ldconfig
%postun -n libva-wayland1 -p /sbin/ldconfig
%postun -n libva%{sover} -p /sbin/ldconfig
%post -n libva1 -p /sbin/ldconfig
%post -n libva-drm%{sover} -p /sbin/ldconfig
%postun -n libva1 -p /sbin/ldconfig
%postun -n libva-drm%{sover} -p /sbin/ldconfig
%post -n libva-drm1 -p /sbin/ldconfig
%post -n libva-x11-%{sover} -p /sbin/ldconfig
%postun -n libva-drm1 -p /sbin/ldconfig
%post -n libva-x11-1 -p /sbin/ldconfig
%postun -n libva-x11-1 -p /sbin/ldconfig
%postun -n libva-x11-%{sover} -p /sbin/ldconfig
%if %{build_gl}
%files -n libva-glx1
%files -n libva-glx%{sover}
%defattr(-, root, root)
%{_libdir}/libva-glx.so.*
%files -n libva-egl1
%defattr(-, root, root)
%{_libdir}/libva-egl.so.*
%{_libdir}/libva-glx.so.%{sover}*
%if %{with wayland}
%files -n vaapi-wayland-tools
%defattr(-,root,root)
%files -n libva-wayland1
%files -n libva-wayland%{sover}
%defattr(-, root, root)
%{_libdir}/libva-wayland.so.*
%{_libdir}/libva-wayland.so.%{sover}*
%endif
%files devel
%defattr(-,root,root,-)
%{_libdir}/libva-glx.so
%{_libdir}/libva-egl.so
%{_includedir}/va
%{_libdir}/pkgconfig/libva*.pc
%if %{with wayland}
@ -259,24 +236,22 @@ rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "egl\|glx\|way
%else
%files -n libva1
%files -n libva%{sover}
%defattr(-, root, root)
%doc COPYING
%{_libdir}/libva.so.*
%{_libdir}/libva-tpi.so.*
%files -n libva-x11-1
%files -n libva-x11-%{sover}
%defattr(-, root, root)
%{_libdir}/libva-x11.so.*
%files -n libva-drm1
%files -n libva-drm%{sover}
%defattr(-, root, root)
%{_libdir}/libva-drm.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/libva.so
%{_libdir}/libva-tpi.so
%{_libdir}/libva-x11.so
%{_libdir}/libva-drm.so
%{_includedir}/va

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Nov 8 09:07:04 UTC 2017 - alarrosa@suse.com
- Update to 2.0.0
* Bump VA-API version to 1.0.0 and libva to 2.0.0
* Add new API for H264 FEI support
* Add definition of VA_FOURCC_I420
* Add functions for converting common enums to strings
* Deprecate H.264 baseline profile and FMO support
* Deprecate packed misc packed header flag
* Delete libva-tpi and libva-egl backends
* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer
* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264
* Fix race condition in wayland support
* Rename vaMessageCallback to VAMessageCallback
* Make logging callbacks library-safe
- Note libva 2.0.0 is not compatible with the old version of libva, but for
most users, what you need to do is to rebuild your VA-API based application
against libva 2.0.0.
- The soversion of the generated packages is increased to 2.
- Subpackage libva-egl1 is no longer generated since upstream removed support
for the libva-egl backend.
- The libva2 package no longer includes the libva-tpi library since upstream
removed support for the libva-tpi backend.
-------------------------------------------------------------------
Tue Aug 29 22:28:49 UTC 2017 - jengelh@inai.de

View File

@ -25,10 +25,11 @@
%endif
%define build_gl 0
%define sover 2
Name: libva
%define _name libva
Version: 1.8.3
Version: 2.0.0
Release: 0
Summary: Video Acceleration (VA) API
License: MIT
@ -50,7 +51,6 @@ BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xv)
%if %{build_gl}
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(gl)
%if %{with wayland}
BuildRequires: pkgconfig(wayland-client) >= 1.0.0
@ -62,33 +62,22 @@ BuildRequires: pkgconfig(wayland-scanner) >= 1.0.0
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
%package -n libva-egl1
Summary: EGL backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
%description -n libva-egl1
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/EGL runtime library.
%package -n libva-glx1
%package -n libva-glx%{sover}
Summary: GLX backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
Supplements: libva%{sover}
%description -n libva-glx1
%description -n libva-glx%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/GLX runtime library.
%package -n libva-wayland1
%package -n libva-wayland%{sover}
Summary: Wayland backend for the Video Acceleration API
Group: System/Libraries
%description -n libva-wayland1
%description -n libva-wayland%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
@ -105,17 +94,15 @@ Summary: Development files for the Video Acceleration API
Group: Development/Languages/C and C++
%if 0%{?build_gl}
BuildRequires: libva-devel = %{version}
Requires: libva-egl1 = %{version}
Requires: libva-glx1 = %{version}
Requires: libva-glx%{sover} = %{version}
%if %{with wayland}
Requires: libva-wayland1 = %{version}
Requires: libva-wayland%{sover} = %{version}
%endif
Requires: pkgconfig(egl)
Requires: pkgconfig(gl)
%else
Requires: libva-drm1 = %{version}
Requires: libva-x11-1 = %{version}
Requires: libva1 = %{version}
Requires: libva%{sover} = %{version}
Requires: libva-drm%{sover} = %{version}
Requires: libva-x11-%{sover} = %{version}
Requires: pkgconfig(libdrm)
Requires: pkgconfig(x11)
Requires: pkgconfig(xfixes)
@ -132,33 +119,33 @@ This package provides the development environment for libva gl packages.
This package provides the development environment for libva packages.
%endif
%package -n libva1
%package -n libva%{sover}
Summary: Video Acceleration API
Group: System/Libraries
%description -n libva1
%description -n libva%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the core runtime library.
%package -n libva-drm1
%package -n libva-drm%{sover}
Summary: DRM backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
Supplements: libva%{sover}
%description -n libva-drm1
%description -n libva-drm%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/DRM runtime library.
%package -n libva-x11-1
%package -n libva-x11-%{sover}
Summary: X11 backend for the Video Acceleration API
Group: System/Libraries
Supplements: libva1
Supplements: libva%{sover}
%description -n libva-x11-1
%description -n libva-x11-%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
@ -166,14 +153,14 @@ This is the VA/X11 runtime library.
%prep
%setup -q -n %{_name}-%{version}
# Add "libva-wayland1" to baselibs.conf when enabling wayland build;
# Add "libva-wayland%%{sover}" to baselibs.conf when enabling wayland build;
# ugly I know ...This is needed since otherwise source validator
#
# osc service run source_validator
#
# fails on sle
%if %{with wayland}
echo libva-wayland1 >> $RPM_SOURCE_DIR/baselibs.conf
echo libva-wayland%{sover} >> $RPM_SOURCE_DIR/baselibs.conf
%endif
%build
@ -182,7 +169,6 @@ autoreconf -v --install
%configure \
%if %{build_gl}
--enable-glx \
--enable-egl \
--disable-wayland \
%if %{with wayland}
--enable-wayland \
@ -200,57 +186,48 @@ find %{buildroot} -name '*.la' -delete -print
%if %{build_gl}
# remove all files packaged during without gl mode
rm -rf %{buildroot}%{_bindir}/{avcenc,h264encode,jpegenc,loadjpeg,mpeg2vaenc,mpeg2vldemo,putsurface,vainfo}
rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "egl\|glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "egl\|glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "egl\|glx\|wayland"`
rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "glx\|wayland"`
rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "glx\|wayland"`
%endif
%post -n libva-egl1 -p /sbin/ldconfig
%post -n libva-glx%{sover} -p /sbin/ldconfig
%postun -n libva-egl1 -p /sbin/ldconfig
%postun -n libva-glx%{sover} -p /sbin/ldconfig
%post -n libva-glx1 -p /sbin/ldconfig
%post -n libva-wayland%{sover} -p /sbin/ldconfig
%postun -n libva-glx1 -p /sbin/ldconfig
%postun -n libva-wayland%{sover} -p /sbin/ldconfig
%post -n libva-wayland1 -p /sbin/ldconfig
%post -n libva%{sover} -p /sbin/ldconfig
%postun -n libva-wayland1 -p /sbin/ldconfig
%postun -n libva%{sover} -p /sbin/ldconfig
%post -n libva1 -p /sbin/ldconfig
%post -n libva-drm%{sover} -p /sbin/ldconfig
%postun -n libva1 -p /sbin/ldconfig
%postun -n libva-drm%{sover} -p /sbin/ldconfig
%post -n libva-drm1 -p /sbin/ldconfig
%post -n libva-x11-%{sover} -p /sbin/ldconfig
%postun -n libva-drm1 -p /sbin/ldconfig
%post -n libva-x11-1 -p /sbin/ldconfig
%postun -n libva-x11-1 -p /sbin/ldconfig
%postun -n libva-x11-%{sover} -p /sbin/ldconfig
%if %{build_gl}
%files -n libva-glx1
%files -n libva-glx%{sover}
%defattr(-, root, root)
%{_libdir}/libva-glx.so.*
%files -n libva-egl1
%defattr(-, root, root)
%{_libdir}/libva-egl.so.*
%{_libdir}/libva-glx.so.%{sover}*
%if %{with wayland}
%files -n vaapi-wayland-tools
%defattr(-,root,root)
%files -n libva-wayland1
%files -n libva-wayland%{sover}
%defattr(-, root, root)
%{_libdir}/libva-wayland.so.*
%{_libdir}/libva-wayland.so.%{sover}*
%endif
%files devel
%defattr(-,root,root,-)
%{_libdir}/libva-glx.so
%{_libdir}/libva-egl.so
%{_includedir}/va
%{_libdir}/pkgconfig/libva*.pc
%if %{with wayland}
@ -259,24 +236,22 @@ rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "egl\|glx\|way
%else
%files -n libva1
%files -n libva%{sover}
%defattr(-, root, root)
%doc COPYING
%{_libdir}/libva.so.*
%{_libdir}/libva-tpi.so.*
%files -n libva-x11-1
%files -n libva-x11-%{sover}
%defattr(-, root, root)
%{_libdir}/libva-x11.so.*
%files -n libva-drm1
%files -n libva-drm%{sover}
%defattr(-, root, root)
%{_libdir}/libva-drm.so.*
%files devel
%defattr(-,root,root,-)
%{_libdir}/libva.so
%{_libdir}/libva-tpi.so
%{_libdir}/libva-x11.so
%{_libdir}/libva-drm.so
%{_includedir}/va