mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
Merge pull request #4151 from lrusak/intel-media-driver-update
media-driver: update and include in build
This commit is contained in:
commit
be02e127f9
@ -2,12 +2,12 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="gmmlib"
|
||||
PKG_VERSION="50707fb182bc8fc8f9711d2c0da96f6ded1b8ef4"
|
||||
PKG_SHA256="73c8895e3d5c54c8a44682c69db5c1a40da5500dacc07c89cb520d2b21626b05"
|
||||
PKG_VERSION="19.4.1"
|
||||
PKG_SHA256="bb874b41c499abb8f6253b1834e93a02ed9744de71f2503ee9cd4100af7c1860"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://01.org/linuxmedia"
|
||||
PKG_URL="https://github.com/intel/gmmlib/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/intel/gmmlib/archive/intel-gmmlib-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="gmmlib: The Intel(R) Graphics Memory Management Library provides device specific and buffer management for the Intel(R) Graphics Compute Runtime for OpenCL(TM) and the Intel(R) Media Driver for VAAPI."
|
||||
|
||||
|
@ -2,13 +2,13 @@
|
||||
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="media-driver"
|
||||
PKG_VERSION="82c0e6f7f6fd920218031a1d202b4ae06e3cf148"
|
||||
PKG_SHA256="6f689d174a7a9597bc1d4b368530f822f29c2a26200c44bead6d885754b0e4b8"
|
||||
PKG_VERSION="19.4.0r"
|
||||
PKG_SHA256="a03bd75eefe9cb0245e3aab2723b3fef555d9f180a180b2c29d7b12d483d9ec2"
|
||||
PKG_ARCH="x86_64"
|
||||
PKG_LICENSE="MIT"
|
||||
PKG_SITE="https://01.org/linuxmedia"
|
||||
PKG_URL="https://github.com/intel/media-driver/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_URL="https://github.com/intel/media-driver/archive/intel-media-$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libva libdrm gmmlib"
|
||||
PKG_LONGDESC="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."
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DENABLE_NONFREE_KERNELS=OFF -DBUILD_KERNELS=OFF"
|
||||
PKG_CMAKE_OPTS_TARGET="-DBUILD_CMRTLIB=OFF -DENABLE_NONFREE_KERNELS=OFF -DBUILD_KERNELS=OFF"
|
||||
|
@ -1,14 +0,0 @@
|
||||
diff -Naur a/media_driver/linux/common/codec/ddi/media_libva_decoder.cpp b/media_driver/linux/common/codec/ddi/media_libva_decoder.cpp
|
||||
--- a/media_driver/linux/common/codec/ddi/media_libva_decoder.cpp 2019-04-12 00:30:46.000000000 -0700
|
||||
+++ b/media_driver/linux/common/codec/ddi/media_libva_decoder.cpp 2019-04-12 22:55:05.146368984 -0700
|
||||
@@ -41,10 +41,6 @@
|
||||
#include "media_interfaces.h"
|
||||
#include "media_ddi_decode_const.h"
|
||||
|
||||
-#ifndef ANDROID
|
||||
-#include <X11/Xutil.h>
|
||||
-#endif
|
||||
-
|
||||
#include <linux/fb.h>
|
||||
|
||||
typedef MediaDdiFactory<DdiMediaDecode, DDI_DECODE_CONFIG_ATTR> DdiDecodeFactory;
|
@ -40,7 +40,7 @@ if [ "$MEDIACENTER" = "kodi" ]; then
|
||||
|
||||
get_graphicdrivers
|
||||
if listcontains "$GRAPHIC_DRIVERS" "(iris|i915|i965)"; then
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-vaapi-driver"
|
||||
PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET intel-vaapi-driver media-driver"
|
||||
fi
|
||||
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user