Update to 2.16.0

This commit is contained in:
Leigh Scott 2022-10-09 13:51:39 +00:00 committed by Nicolas Chauvet
parent 6081ae4f1c
commit 266d3629e8
2 changed files with 13 additions and 16 deletions

View File

@ -1,15 +1,14 @@
#global pre_release .pre1
Name: libva
Version: 2.15.0
Release: 2%{?dist}
Version: 2.16.0
Release: 1%{?dist}
Summary: Video Acceleration (VA) API for Linux
License: MIT
URL: https://github.com/intel/libva
Source0: %{url}/archive/%{version}%{?pre_release}/%{name}-%{version}%{?pre_release}.tar.gz
BuildRequires: libtool
BuildRequires: make
BuildRequires: meson
BuildRequires: gcc
BuildRequires: libudev-devel
@ -44,22 +43,16 @@ developing applications that use %{name}.
%prep
%autosetup -p1 -n %{name}-%{version}%{?pre_release}
autoreconf -vif
%build
%configure --disable-static \
%{?_without_xorg: --disable-glx --disable-x11} \
%{?_without_wayland:--disable-wayland}
%meson \
%{?_without_xorg: -Dwith_glx=no -Dwith_x11=no} \
%{?_without_wayland: -Dwith_wayland=no}
# remove rpath from libtool
sed -i.rpath 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i.rpath 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%meson_build
%install
%make_install
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
%meson_install
%ldconfig_scriptlets
@ -83,6 +76,10 @@ find %{buildroot} -regex ".*\.la$" | xargs rm -f --
%{_libdir}/pkgconfig/libva*.pc
%changelog
* Sun Oct 09 2022 Leigh Scott <leigh123linux@gmail.com> - 2.16.0-1
- Update to 2.16.0
- Use meson to build
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.15.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libva-2.15.0.tar.gz) = fd96da76db6e6a80bb83d74a6f736e168d3a27cd200e77553d8ca9a19b9766b101b2e550953ca50445e1874f7ad59bf6c3a166eee6c83fe66c924b5a3494be9d
SHA512 (libva-2.16.0.tar.gz) = 08a1481ac693ee9de639f2abd483e1fabfee87f9c04ead066dfce5c24cc7f1d1a29d8664707bb534ce4cc25e52086c5e4a0ecfe704ca59590ce41353fda31c2a