]> git.pld-linux.org Git - SPECS.git/blob - libvdpau-va-gl.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / libvdpau-va-gl.spec
1 Summary:        VDPAU driver with OpenGL/VAAPI backend
2 Summary(pl.UTF-8):      Sterownik VDPAU z backendem OpenGL/VAAPI
3 Name:           libvdpau-va-gl
4 Version:        0.4.2
5 Release:        1
6 License:        MIT
7 Group:          X11/Libraries
8 Source0:        https://github.com/i-rinat/libvdpau-va-gl/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  8db21dcfd5cd14c6ec51b992e20369dc
10 URL:            https://github.com/i-rinat/libvdpau-va-gl
11 BuildRequires:  OpenGL-devel
12 BuildRequires:  OpenGL-GLX-devel
13 BuildRequires:  cmake >= 2.8.8
14 BuildRequires:  libstdc++-devel >= 6:4.7
15 BuildRequires:  libva-x11-devel
16 BuildRequires:  libvdpau-devel
17 BuildRequires:  pkgconfig
18 BuildRequires:  xorg-lib-libX11-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 VDPAU driver with OpenGL/VAAPI backend.
23
24 %description -l pl.UTF-8
25 Sterownik VDPAU z backendem OpenGL/VAAPI.
26
27 %prep
28 %setup -q
29
30 %build
31 install -d build
32 cd build
33 %cmake .. \
34         -DLIB_INSTALL_DIR:PATH=%{_libdir}/vdpau
35
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} -C build install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %{__rm} $RPM_BUILD_ROOT%{_libdir}/vdpau/libvdpau_va_gl.so
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc ChangeLog LICENSE README.md doc/known-issues.md
51 %attr(755,root,root) %{_libdir}/vdpau/libvdpau_va_gl.so.1
This page took 0.53833 seconds and 3 git commands to generate.