73 lines
1.6 KiB
RPMSpec
73 lines
1.6 KiB
RPMSpec
#global _with_gen4asm 1
|
|
|
|
Name: libva-intel-driver
|
|
Version: 1.7.3
|
|
Release: 1%{?dist}
|
|
Summary: HW video decode support for Intel integrated graphics
|
|
Group: System Environment/Libraries
|
|
License: MIT and EPL
|
|
URL: http://freedesktop.org/wiki/Software/vaapi
|
|
Source0: http://www.freedesktop.org/software/vaapi/releases/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
ExclusiveArch: %{ix86} x86_64 ia64
|
|
|
|
#BuildRequires: libtool
|
|
|
|
%{?_with_gen4asm:BuildRequires: pkgconfig(intel-gen4asm)}
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: libXext-devel
|
|
BuildRequires: libXfixes-devel
|
|
BuildRequires: libdrm-devel >= 2.4.23
|
|
BuildRequires: libpciaccess-devel
|
|
BuildRequires: libva-devel >= 1.3.0
|
|
BuildRequires: mesa-libGL-devel
|
|
BuildRequires: mesa-libEGL-devel
|
|
%{!?_without_wayland:
|
|
BuildRequires: wayland-devel
|
|
BuildRequires: pkgconfig(wayland-client) >= 1
|
|
BuildRequires: pkgconfig(wayland-scanner) >= 1
|
|
}
|
|
|
|
|
|
%description
|
|
HW video decode support for Intel integrated graphics.
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%{?_with_gen4asm:
|
|
#Move pre-built (binary) asm code
|
|
for f in src/shaders/vme/*.g?b ; do
|
|
mv ${f} ${f}.prebuilt
|
|
done
|
|
for f in src/shaders/h264/mc/*.g?b* ; do
|
|
mv ${f} ${f}.prebuilt
|
|
done
|
|
}
|
|
|
|
|
|
%build
|
|
#autoreconf -vif
|
|
%configure --disable-static
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
find %{buildroot} -regex ".*\.la$" | xargs rm -f --
|
|
|
|
%{?_with_gen4asm:
|
|
#Display a diff between prebuit ASM and our generation
|
|
gendiff . .prebuilt
|
|
}
|
|
|
|
|
|
%files
|
|
%doc AUTHORS COPYING NEWS README
|
|
%{_libdir}/dri/i965_drv_video.so
|
|
|
|
|
|
%changelog
|
|
* Sat Dec 9 2017 Daniel Steiner <daniel.steiner@greenmail.ch> - 1.7.3-1
|
|
- Update to 1.7.3
|
|
|