[packages/libvdpau] - updated to 1.4
qboosh
qboosh at pld-linux.org
Thu May 21 06:32:57 CEST 2020
commit b46b10a2b3789da17a8ea1965999d92c63c2e659
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu May 21 06:33:32 2020 +0200
- updated to 1.4
libvdpau.spec | 24 ++++++------------------
1 file changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/libvdpau.spec b/libvdpau.spec
index e8c8e8a..634dee0 100644
--- a/libvdpau.spec
+++ b/libvdpau.spec
@@ -1,21 +1,17 @@
#
# Conditional build:
-%if "%{pld_release}" == "ac"
-%bcond_with apidocs # build and package API docs
-%else
%bcond_without apidocs # do not build and package API docs
-%endif
Summary: Wrapper library for the Video Decode and Presentation API
Summary(pl.UTF-8): Biblioteka pośrednia do API dekodowania i prezentacji video (Video Decode and Presentation API)
Name: libvdpau
-Version: 1.3
-Release: 2
+Version: 1.4
+Release: 1
License: MIT
Group: Libraries
#Source0Download: https://gitlab.freedesktop.org/vdpau/libvdpau/tags
Source0: https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/%{version}/libvdpau-%{version}.tar.bz2
-# Source0-md5: 817e44068cbf92bfa93308daaeef2280
+# Source0-md5: a664cc2cfe9c30536d2e11c928cbea35
URL: https://freedesktop.org/wiki/Software/VDPAU
%if %{with apidocs}
BuildRequires: doxygen
@@ -29,14 +25,10 @@ BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
BuildRequires: rpm >= 4.4.9-56
BuildRequires: rpmbuild(macros) >= 1.736
-%if "%{pld_release}" == "ac"
-BuildRequires: XFree86-devel
-%else
%{?with_apidocs:BuildRequires: texlive-pdftex}
BuildRequires: xorg-lib-libX11-devel >= 1.5
BuildRequires: xorg-lib-libXext-devel
BuildRequires: xorg-proto-dri2proto-devel >= 2.2
-%endif
Requires: xorg-lib-libX11 >= 1.5
# withdrawn (and never useful) Mesa drivers
Obsoletes: libvdpau-driver-mesa-r300 < 10
@@ -58,12 +50,8 @@ prezentacji video obecnej we współczesnych procesorach graficznych.
Summary: Header files for vdpau library
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki vdpau
Group: Development/Libraries
-%if "%{pld_release}" == "ac"
-Requires: XFree86-devel
-%else
-Requires: xorg-lib-libX11-devel
-%endif
Requires: %{name} = %{version}-%{release}
+Requires: xorg-lib-libX11-devel
Obsoletes: libvdpau-static
%description devel
@@ -76,7 +64,7 @@ Pliki nagłówkowe biblioteki vdpau.
Summary: vdpau API documentation
Summary(pl.UTF-8): Dokumentacja API biblioteki vdpau
Group: Documentation
-%if "%{_rpmversion}" >= "5"
+%if "%{_rpmversion}" >= "4.6"
BuildArch: noarch
%endif
@@ -102,7 +90,7 @@ rm -rf $RPM_BUILD_ROOT
%{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_trace.so
%if %{with apidocs}
-mv $RPM_BUILD_ROOT%{_docdir}/{%{name}/html,%{name}-apidocs}
+%{__mv} $RPM_BUILD_ROOT%{_docdir}/{%{name}/html,%{name}-apidocs}
%endif
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libvdpau.git/commitdiff/b46b10a2b3789da17a8ea1965999d92c63c2e659
More information about the pld-cvs-commit
mailing list