2019-12-14 18:57:13 +08:00
|
|
|
Name: libva
|
2023-10-12 16:14:50 +08:00
|
|
|
Version: 2.20.0
|
|
|
|
|
Release: 1
|
2019-12-14 18:57:13 +08:00
|
|
|
Summary: Libva is an implementation for VA-API (Video Acceleration API)
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/intel/libva
|
|
|
|
|
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
2023-10-12 16:14:50 +08:00
|
|
|
BuildRequires: libtool libudev-devel libdrm-devel
|
|
|
|
|
%{!?_without_xorg:
|
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
|
BuildRequires: libXfixes-devel
|
|
|
|
|
}
|
2019-12-14 18:57:13 +08:00
|
|
|
BuildRequires: libpciaccess-devel mesa-libEGL-devel mesa-libGL-devel mesa-libGLES-devel
|
2023-10-12 16:14:50 +08:00
|
|
|
%{!?_without_wayland:
|
|
|
|
|
BuildRequires: wayland-devel
|
|
|
|
|
BuildRequires: pkgconfig(wayland-client) >= 1
|
|
|
|
|
BuildRequires: pkgconfig(wayland-scanner) >= 1
|
|
|
|
|
}
|
|
|
|
|
BuildRequires: meson gcc
|
2019-12-14 18:57:13 +08:00
|
|
|
|
|
|
|
|
Requires: mesa-dri-filesystem
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Libva is an implementation for VA-API, which is an open-source library and API
|
|
|
|
|
specification, provides access to graphics hardware acceleration capabilities
|
|
|
|
|
for video processing. It consists of a main library and driver-specific
|
|
|
|
|
acceleration backends for each supported hardware vendor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 23:04:02 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-12-14 18:57:13 +08:00
|
|
|
|
|
|
|
|
%build
|
2023-10-12 16:14:50 +08:00
|
|
|
%meson \
|
|
|
|
|
%{?_without_xorg: -Dwith_glx=no -Dwith_x11=no} \
|
|
|
|
|
%{?_without_wayland: -Dwith_wayland=no}
|
2019-12-14 18:57:13 +08:00
|
|
|
|
2023-10-12 16:14:50 +08:00
|
|
|
%meson_build
|
2019-12-14 18:57:13 +08:00
|
|
|
|
|
|
|
|
%install
|
2023-10-12 16:14:50 +08:00
|
|
|
%meson_install
|
2019-12-14 18:57:13 +08:00
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
%ghost %{_sysconfdir}/libva.conf
|
|
|
|
|
%{_libdir}/libva*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/va
|
|
|
|
|
%{_libdir}/libva*.so
|
|
|
|
|
%{_libdir}/pkgconfig/libva*.pc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-10-12 16:14:50 +08:00
|
|
|
* Thu Oct 12 2023 yaoxin <yao_xin001@hoperun.com> - 2.20.0-1
|
|
|
|
|
- Upgrade to 2.20.0
|
|
|
|
|
|
2023-01-09 10:12:35 +08:00
|
|
|
* Mon Jan 9 2023 mengwenhua<mengwenhua@xfusion.com> - 2.13.0-2
|
|
|
|
|
- Add the missing trace log for the VA encoder API.
|
|
|
|
|
|
2021-12-14 11:00:42 +08:00
|
|
|
* Tue Sep 14 2021 hanhui<hanhui15@huawei> - 2.13.0-1
|
|
|
|
|
- upgrade to libva-2.13.0
|
|
|
|
|
|
2021-07-30 23:04:02 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2.5.0-2
|
|
|
|
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2019-12-30 12:56:06 +08:00
|
|
|
* Thu Nov 28 2019 openEuler BuildTeam<buildteam@openeuler.org> - 2.3.0-2
|
2019-12-14 18:57:13 +08:00
|
|
|
- Package Init
|