Bring back rkmpp for moonlight.
This commit is contained in:
parent
e762315448
commit
d6f9dbe2f4
2 changed files with 25 additions and 0 deletions
|
@ -13,6 +13,11 @@ PKG_TOOLCHAIN="cmake"
|
|||
GET_HANDLER_SUPPORT="git"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
if [ "${PROJECT}" = "Rockchip" ]
|
||||
then
|
||||
PKG_DEPENDS_TARGET+=" librga rkmpp"
|
||||
fi
|
||||
|
||||
if [ ! "${OPENGL}" = "no" ]; then
|
||||
PKG_DEPENDS_TARGET+=" ${OPENGL} glu libglvnd"
|
||||
fi
|
||||
|
|
20
packages/multimedia/rkmpp/package.mk
Normal file
20
packages/multimedia/rkmpp/package.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="rkmpp"
|
||||
PKG_VERSION="e025b079a2b01aadc09b0da118b9509c2f02dc6c"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_LICENSE="APL"
|
||||
PKG_SITE="https://github.com/rockchip-linux/mpp"
|
||||
PKG_URL="https://github.com/rockchip-linux/mpp/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_DEPENDS_TARGET="toolchain libdrm"
|
||||
PKG_LONGDESC="rkmpp: Rockchip Media Process Platform (MPP) module"
|
||||
|
||||
case ${DEVICE} in
|
||||
RK3326|RK3566*)
|
||||
PKG_ENABLE_VP9D="ON"
|
||||
;;
|
||||
esac
|
||||
|
||||
PKG_CMAKE_OPTS_TARGET="-DENABLE_VP9D=${PKG_ENABLE_VP9D} \
|
||||
-DHAVE_DRM=ON"
|
Loading…
Reference in a new issue