diff --git a/libvdpau-1.2.tar.bz2 b/libvdpau-1.2.tar.bz2 deleted file mode 100644 index 47a966c..0000000 Binary files a/libvdpau-1.2.tar.bz2 and /dev/null differ diff --git a/libvdpau-1.5.tar.bz2 b/libvdpau-1.5.tar.bz2 new file mode 100644 index 0000000..e1c8f6d Binary files /dev/null and b/libvdpau-1.5.tar.bz2 differ diff --git a/libvdpau.spec b/libvdpau.spec index 8e17b74..8d6b7ae 100644 --- a/libvdpau.spec +++ b/libvdpau.spec @@ -1,12 +1,12 @@ Name: libvdpau -Version: 1.2 +Version: 1.5 Release: 1 Summary: Wrapper library for the Video Decode and Presentation API for UNIX License: MIT URL: http://freedesktop.org/wiki/Software/VDPAU -Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/uploads/14b620084c027d546fa0b3f083b800c6/%{name}-%{version}.tar.bz2 +Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/%{version}/libvdpau-%{version}.tar.bz2 -BuildRequires: autoconf, automake, doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel +BuildRequires: doxygen, gcc-c++, graphviz, libtool, libX11-devel, libXext-devel, meson BuildRequires: tex(latex), xorg-x11-proto-devel Provides: %{name}-trace%{?_isa} %{name}-trace Obsoletes: %{name}-trace @@ -29,15 +29,14 @@ This package includes header files for development. %autosetup -p1 %build -autoreconf -vif -%configure --disable-static -%make_build +%meson +%meson_build %install -%make_install INSTALL="install -p" -%delete_la -rm -rf $RPM_BUILD_ROOT%{_docdir} -mv doc/html-out html +%meson_install +find %{buildroot} -name '*.la' -delete +rm -fr %{buildroot}%{_docdir} +mv %{_vpath_builddir}/doc/html html %ldconfig_scriptlets @@ -58,6 +57,9 @@ mv doc/html-out html %changelog +* Wed Oct 11 2023 wulei - 1.5-1 +- Update to 1.5 + * Thu Jan 16 2020 yangjian - 1.2-1 - Change the Source to valid address