From 08a89d4b660033943dff377ec35c770e4cb48583 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:55:58 +0100 Subject: [PATCH] package created using the webbuild interface [release 23.2.3-1mamba;Sun Jun 04 2023] --- README.md | 2 ++ intel-media-driver.spec | 78 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 intel-media-driver.spec diff --git a/README.md b/README.md index c5b28cc..8c00d31 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # intel-media-driver +The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware. + diff --git a/intel-media-driver.spec b/intel-media-driver.spec new file mode 100644 index 0000000..1fd9e8b --- /dev/null +++ b/intel-media-driver.spec @@ -0,0 +1,78 @@ +%define libname libigfxcmrt +Name: intel-media-driver +Version: 23.2.3 +Release: 1mamba +Summary: VA-API (Video Acceleration API) user mode driver supporting Intel Broadwell+ iGPUs +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/intel/media-driver +Source: https://github.com/intel/media-driver.git/intel-media-%{version}/media-driver-%{version}.tar.bz2 +License: BSD, MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libigdgmm-devel +BuildRequires: libstdc++6-devel +BuildRequires: libva-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} + +%description +The Intel(R) Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware. + +%package -n %{libname} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n %{libname} +This package contains shared libraries for %{name}. + +%package -n %{libname}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n %{libname}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n media-driver-%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/libigfxcmrt.so.* +%{_libdir}/dri/iHD_drv_video.so +%doc LICENSE.md + +%files -n %{libname}-devel +%defattr(-,root,root) +%dir %{_includedir}/igfxcmrt +%{_includedir}/igfxcmrt/*.h +%{_libdir}/libigfxcmrt.so +%{_libdir}/pkgconfig/igfxcmrt.pc +%doc README.md + +%changelog +* Sun Jun 04 2023 Silvan Calarco 23.2.3-1mamba +- package created using the webbuild interface