1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/virtual/mediacenter/package.mk
2022-10-04 14:43:47 +03:00

47 lines
1.3 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="mediacenter"
PKG_VERSION=""
PKG_LICENSE="GPL"
PKG_SITE="https://libreelec.tv"
PKG_URL=""
PKG_DEPENDS_TARGET="toolchain ${MEDIACENTER}"
PKG_SECTION="virtual"
PKG_LONGDESC="Mediacenter: Metapackage"
if [ "${MEDIACENTER}" = "kodi" ]; then
PKG_DEPENDS_TARGET+=" ${MEDIACENTER}-theme-${SKIN_DEFAULT}"
for i in ${SKINS}; do
PKG_DEPENDS_TARGET+=" ${MEDIACENTER}-theme-${i}"
done
# python-based tool for kodi management
PKG_DEPENDS_TARGET+=" texturecache.py"
# some python stuff needed for various addons
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} Pillow \
simplejson \
pycryptodome"
# settings addon
if [ -n "${DISTRO_PKG_SETTINGS}" ]; then
PKG_DEPENDS_TARGET+=" ${DISTRO_PKG_SETTINGS}"
fi
# other packages
PKG_DEPENDS_TARGET+=" xmlstarlet"
if [ "${JOYSTICK_SUPPORT}" = "yes" ]; then
PKG_DEPENDS_TARGET+=" peripheral.joystick"
fi
get_graphicdrivers
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915)"; then
PKG_DEPENDS_TARGET+=" intel-vaapi-driver media-driver"
fi
fi