Sisyphus repositório
Última atualização: 18 setembro 2019 | SRPMs: 17447 | Visitas: 15125543
en ru br
ALT Linux repositórios
S:19.2.1-alt1

Group :: Sistema/Bibliotecas
RPM: libva-intel-media-driver

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libva-intel-media-driver-19.2.1-alt1.patch
Download


 .gear/libva-intel-media-driver.spec | 81 +++++++++++++++++++++++++++++++++++++
 .gear/rules                         |  3 ++
 .gear/tags/list                     |  1 +
 cmrtlib/linux/hardware/cm_device.h  |  4 +-
 4 files changed, 88 insertions(+), 1 deletion(-)
diff --git a/.gear/libva-intel-media-driver.spec b/.gear/libva-intel-media-driver.spec
new file mode 100644
index 0000000..f1fb9f3
--- /dev/null
+++ b/.gear/libva-intel-media-driver.spec
@@ -0,0 +1,81 @@
+%define soname 7
+Name: libva-intel-media-driver
+Version: 19.2.1
+Release: alt1
+
+Summary: Intel(R) Media Driver for VAAPI
+License: MIT
+Group: System/Libraries
+Url: https://github.com/intel/media-driver/
+
+Source: %name-%version.tar
+Patch0: %name-%version-%release.patch
+
+BuildRequires: libdrm-devel libX11-devel libGL-devel libEGL-devel gcc-c++ libpciaccess-devel
+BuildRequires: libva-devel >= 2.3.0
+BuildRequires: cmake rpm-macros-cmake
+BuildRequires: intel-gmmlib-devel >= 18.3.0
+ExclusiveArch: x86_64
+
+%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 libigfxcmrt%soname
+Group: System/Libraries
+Summary: C bindings for media runtime
+
+%description -n libigfxcmrt%soname
+cmrtlib is a runtime library needed when user wants to execute their own GPU 
+kernels on render engine. It calls iHD media driver to load the kernels and
+allocate the resources. It provides a set of APIs for user to call directly from application.
+
+%package -n libigfxcmrt-devel
+Summary: Development files for libigfxcmrt%soname
+Group: Development/C
+Requires: libigfxcmrt%soname = %EVR
+
+%description -n libigfxcmrt-devel
+This package provides the development environment for libigfxcmrt
+
+%prep
+%setup
+%patch0 -p1
+
+%build
+%cmake
+%cmake_build
+
+%install
+%cmakeinstall_std
+
+%files
+%doc LICENSE.md README.md
+%_libdir/dri/*.so
+
+%files -n libigfxcmrt%soname
+%_libdir/libigfxcmrt.so.%soname
+%_libdir/libigfxcmrt.so.%soname.*
+
+%files -n libigfxcmrt-devel
+%_libdir/libigfxcmrt.so
+%_includedir/igfxcmrt
+%_pkgconfigdir/igfxcmrt.pc
+
+%changelog
+* Thu Aug 15 2019 Anton Farygin <rider@altlinux.ru> 19.2.1-alt1
+- 19.2.1
+
+* Sun Jun 23 2019 Igor Vlasenko <viy@altlinux.ru> 19.1.0-alt2
+- NMU: remove rpm-build-ubt from BR:
+
+* Fri Apr 26 2019 Anton Farygin <rider@altlinux.ru> 19.1.0-alt1
+- 19.1.0
+
+* Mon Feb 18 2019 Anton Farygin <rider@altlinux.ru> 18.4.1-alt1
+- 18.4.1
+
+* Mon Oct 08 2018 Anton Farygin <rider@altlinux.ru> 18.3.0-alt1
+- first build for ALT
+
diff --git a/.gear/rules b/.gear/rules
new file mode 100644
index 0000000..faff9db
--- /dev/null
+++ b/.gear/rules
@@ -0,0 +1,3 @@
+tar: intel-media-@version@:.
+diff: intel-media-@version@:. .
+spec: .gear/libva-intel-media-driver.spec
diff --git a/.gear/tags/list b/.gear/tags/list
new file mode 100644
index 0000000..241e1ea
--- /dev/null
+++ b/.gear/tags/list
@@ -0,0 +1 @@
+9b648d81fb43f70c49304011371279713cb13ccc intel-media-19.2.1
diff --git a/cmrtlib/linux/hardware/cm_device.h b/cmrtlib/linux/hardware/cm_device.h
index ff38d83..9d623c7 100644
--- a/cmrtlib/linux/hardware/cm_device.h
+++ b/cmrtlib/linux/hardware/cm_device.h
@@ -181,7 +181,6 @@ protected:
 #if !defined(ANDROID)
     static uint32_t m_vaReferenceCount;
     static CSync m_vaReferenceCountCriticalSection;
-    int32_t m_driFileDescriptor;
     static void  *m_vaDrm;
     static pfVAGetDisplayDRM m_vaGetDisplayDrm;
 #else
@@ -202,6 +201,9 @@ protected:
 
     uint32_t       m_createOption;
     uint32_t       m_driverStoreEnabled;
+#if !defined(ANDROID)
+    int32_t m_driFileDescriptor;
+#endif
 
     // Kernel debugger
     CmKernelDebugger *m_kernelDebugger;
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009