libva/libva.spec

213 lines
5.7 KiB
RPMSpec
Raw Normal View History

#
# spec file
#
Accepting request 1058619 from home:dirkmueller:Factory - update to 2.17.0: * win: Simplify signature for driver name loading * win: Rewrite driver registry query and fix some bugs/leaks/inefficiencies * win: Add missing null check after calloc * va: Update security disclaimer * dep:remove the file .cvsignore * pkgconfig: add 'with-legacy' for emgd, nvctrl and fglrx * meson: add 'with-legacy' for emgd, nvctrl and fglrx * x11: move all FGLRX code to va_fglrx.c * x11: move all NVCTRL code to va_nvctrl.c * meson: stop using deprecated meson.source_root() * meson: stop using configure_file copy=true * va: correctly include the win32 (local) headers * win: clean-up the coding style * va: dos2unix all the files * drm: remove unnecessary dri2 version/extension query * trace: annotate internal functions with DLL_HIDDEN * build/sysdeps: Remove HAVE_GNUC_VISIBILITY_ATTRIBUTE and use _GNUC_ support level attribute instead * meson: Check support for -Wl,-version-script and build link_args accordingly * meson: Set va_win32 soversion to '' and remove the install_data rename * fix: resouce check null * va_trace: Add Win32 memory types in va_TraceSurfaceAttributes * va_trace: va_TraceSurfaceAttributes should check the VASurfaceAttribMemoryType * va: Adds Win32 Node and Windows build support * va: Adds compat_win32 abstraction for Windows build and prepares va common code for windows build OBS-URL: https://build.opensuse.org/request/show/1058619 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=160
2023-01-16 11:42:41 +01:00
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define flavor @BUILD_FLAVOR@%nil
%define build_gl 0
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
2017-11-09 00:12:10 +01:00
%define sover 2
%if "%flavor" == "gl"
%define build_gl 1
%define name_suffix -%{flavor}
%else
%define name_suffix %{nil}
%endif
Name: libva%{name_suffix}
%define _name libva
Accepting request 1116440 from home:iznogood:factory - Update to version 2.20.0: * av1: Revise offsets comments for av1 encode * drm: - Limit the array size to avoid out of range - Remove no longer used helpers * jpeg: add support for crop and partial decode * trace: - Add trace for vaExportSurfaceHandle - Unlock mutex before return - Fix minor issue about printf data type and value range * va/backend: - Annotate vafool as deprecated - Document the vaGetDriver* APIs * va/x11/va_fglrx: Remove some dead code * va/x11/va_nvctrl: Remove some dead code * va: - Add new VADecodeErrorType to indicate the reset happended in the driver - Add vendor string on va_TraceInitialize - Added Q416 fourcc (three-plane 16-bit YUV 4:4:4) - Drop no longer applicable vaGetDriverNames check - Fix:don't leak driver names, when override is set - Fix:set driver number to be zero if vaGetDriverNames failed - Optimize code of getting driver name for all protocols/os (wayland,x11,drm,win32,android) - Remove legacy code paths - Remove unreachable "DRIVER BUG" * win32: - Only print win32 driver messages in DEBUG builds - Remove duplicate adapter_luid entry * x11/dri2: limit the array handling to avoid out of range access * x11: - Allow disabling DRI3 via LIBVA_DRI3_DISABLE env var - Implement vaGetDriverNames - Remove legacy code paths - Refresh propagate-dpy.patch with quilt. OBS-URL: https://build.opensuse.org/request/show/1116440 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=169
2023-10-09 14:05:03 +02:00
Version: 2.20.0
Release: 0
Summary: Video Acceleration (VA) API
License: MIT
Group: Development/Libraries/C and C++
Accepting request 880896 from home:dirkmueller:Factory - update to 2.11.0: * add: LibVA Protected Content API * add: Add a configuration attribute to advertise AV1d LST feature * fix: wayland: don't try to authenticate with render nodes * autotools: use shell grouping instead of sed to prepend a line * trace: Add details data dump for mpeg2 IQ matrix. * doc: update docs for VASurfaceAttribPixelFormat * doc: Libva documentation edit for AV1 reference frames * doc: Modify AV1 frame_width_minus1 and frame_height_minus1 comment * doc: Remove tile_rows and tile_cols restriction to match AV1 spec * doc: Format code for doxygen output * doc: AV1 decode documentation edit for superres_scale_denominator * ci: upgrade FreeBSD to 12.2 * ci: disable travis build * ci: update cache before attempting to install packages * ci: avoid running workloads on other workloads changes * ci: enable github actions - update to 2.9.1: * fix version mismatch between meson and autotools - update to 2.11.0: * add: LibVA Protected Content API * add: Add a configuration attribute to advertise AV1d LST feature * fix: wayland: don't try to authenticate with render nodes * autotools: use shell grouping instead of sed to prepend a line * trace: Add details data dump for mpeg2 IQ matrix. * doc: update docs for VASurfaceAttribPixelFormat * doc: Libva documentation edit for AV1 reference frames OBS-URL: https://build.opensuse.org/request/show/880896 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libva?expand=0&rev=135
2021-03-24 13:13:47 +01:00
URL: https://01.org/linuxmedia
Source0: https://github.com/intel/libva/archive/%{version}.tar.gz#/libva-%{version}.tar.gz
Source2: baselibs.conf
Patch0: propagate-dpy.patch
BuildRequires: c++_compiler
BuildRequires: meson
BuildRequires: pkg-config
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(wayland-client) >= 1.11.0
BuildRequires: pkgconfig(wayland-scanner) >= 1.11.0
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xv)
%if %{build_gl}
BuildRequires: pkgconfig(gl)
%endif
%description
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
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
2017-11-09 00:12:10 +01:00
%package -n libva-glx%{sover}
Summary: GLX backend for the Video Acceleration API
Group: System/Libraries
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
2017-11-09 00:12:10 +01:00
Supplements: libva%{sover}
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
2017-11-09 00:12:10 +01:00
%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.
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
2017-11-09 00:12:10 +01:00
%package -n libva-wayland%{sover}
Summary: Wayland backend for the Video Acceleration API
Group: System/Libraries
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
2017-11-09 00:12:10 +01:00
%description -n libva-wayland%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
%package devel
Summary: Development files for the Video Acceleration API
Group: Development/Languages/C and C++
%if 0%{?build_gl}
BuildRequires: libva-devel = %{version}
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
2017-11-09 00:12:10 +01:00
Requires: libva-glx%{sover} = %{version}
Requires: pkgconfig(gl)
%else
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
2017-11-09 00:12:10 +01:00
Requires: libva%{sover} = %{version}
Requires: libva-drm%{sover} = %{version}
Requires: libva-wayland%{sover} = %{version}
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
2017-11-09 00:12:10 +01:00
Requires: libva-x11-%{sover} = %{version}
Requires: pkgconfig(libdrm)
Requires: pkgconfig(x11)
Requires: pkgconfig(xfixes)
Recommends: libva-gl-devel
%endif
%description devel
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
%if 0%{?build_gl}
This package provides the development environment for libva gl packages.
%else
This package provides the development environment for libva packages.
%endif
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
2017-11-09 00:12:10 +01:00
%package -n libva%{sover}
Summary: Video Acceleration API
Group: System/Libraries
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
2017-11-09 00:12:10 +01:00
%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.
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
2017-11-09 00:12:10 +01:00
%package -n libva-drm%{sover}
Summary: DRM backend for the Video Acceleration API
Group: System/Libraries
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
2017-11-09 00:12:10 +01:00
Supplements: libva%{sover}
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
2017-11-09 00:12:10 +01:00
%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.
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
2017-11-09 00:12:10 +01:00
%package -n libva-x11-%{sover}
Summary: X11 backend for the Video Acceleration API
Group: System/Libraries
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
2017-11-09 00:12:10 +01:00
Supplements: libva%{sover}
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
2017-11-09 00:12:10 +01:00
%description -n libva-x11-%{sover}
The libva library implements the Video Acceleration API.
The library loads a hardware dependendent driver.
This is the VA/X11 runtime library.
%prep
%autosetup -n %{_name}-%{version} -p1
%build
%meson \
-D driverdir=%{_libdir}/dri \
%if %{build_gl}
-D with_glx=yes \
-D with_x11=yes \
-D disable_drm=true \
-D with_wayland=no \
-D with_win32=no \
%else
-D with_glx=no \
%endif
%{nil}
%meson_build
%install
%meson_install
%if %{build_gl}
# remove all files packaged during without gl mode
rm -rf `find %{buildroot}%{_includedir}/va/* | grep -v "glx"`
rm -rf `find %{buildroot}%{_libdir}/libva* | grep -v "glx"`
rm -rf `find %{buildroot}%{_libdir}/pkgconfig/libva*.pc | grep -v "glx"`
%endif
%ldconfig_scriptlets -n libva-glx%{sover}
%ldconfig_scriptlets -n libva-wayland%{sover}
%ldconfig_scriptlets -n libva%{sover}
%ldconfig_scriptlets -n libva-drm%{sover}
%ldconfig_scriptlets -n libva-x11-%{sover}
%if %{build_gl}
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
2017-11-09 00:12:10 +01:00
%files -n libva-glx%{sover}
%{_libdir}/libva-glx.so.%{sover}*
%files devel
%{_libdir}/libva-glx.so
%{_includedir}/va/va_glx.h
%{_includedir}/va/va_backend_glx.h
%{_libdir}/pkgconfig/libva-glx.pc
%else
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
2017-11-09 00:12:10 +01:00
%files -n libva%{sover}
%license COPYING
%{_libdir}/libva.so.*
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
2017-11-09 00:12:10 +01:00
%files -n libva-x11-%{sover}
%{_libdir}/libva-x11.so.*
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
2017-11-09 00:12:10 +01:00
%files -n libva-drm%{sover}
%{_libdir}/libva-drm.so.*
%files -n libva-wayland%{sover}
%{_libdir}/libva-wayland.so.%{sover}*
%files devel
%{_libdir}/libva.so
%{_libdir}/libva-x11.so
%{_libdir}/libva-drm.so
%{_libdir}/libva-wayland.so
%{_includedir}/va
%{_libdir}/pkgconfig/libva-drm.pc
%{_libdir}/pkgconfig/libva-x11.pc
%{_libdir}/pkgconfig/libva-wayland.pc
%{_libdir}/pkgconfig/libva.pc
%endif
%changelog