1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
%def_enable glx %def_disable valgrind %def_disable tracer Name: xvba-video Version: 0.8.0 Release: alt2 Summary: XvBA-based backend for VA-API Group: System/Libraries License: GPLv2+ Url: http://www.splitted-desktop.com/~gbeauchesne/%name/ Source: %name.tar Patch1: %name-h264-level51.patch Patch2: %name-GL_GLEXT_VERSION-85-fix.patch Patch3: %name-%version-glx-fix.patch Patch4: %name-%version-va-0.34.0.patch BuildRequires: pkgconfig(libva) libX11-devel libXext-devel libGL-devel libxvba-devel python-base %{?_enable_valgrind:BuildRequires: pkgconfig(valgrind)} %description This is the XvBA-based backend for VA-API to use the hardware acceleration. %prep %setup -q -n %name %patch1 -p1 %patch2 -p0 %patch3 -p1 %patch4 -p1 %build ./autogen.sh %configure \ %{subst_enable glx} \ %{subst_enable valgrind} \ %{subst_enable tracer} \ --disable-debug \ --with-gnu-ld %make_build %install %makeinstall_std %define driverdir %(pkg-config libva --variable driverdir) %files %doc AUTHORS NEWS README %driverdir/*.so %exclude %driverdir/*.la %changelog * Tue Feb 04 2014 Led <led@altlinux.ru> 0.8.0-alt2 - add compat to va 0.34.0 API * Tue Jun 25 2013 Led <led@altlinux.ru> 0.8.0-alt1 - initial build