0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-20 22:45:25 +00:00
2024-12-08 17:18:55 +02:00

50 lines
1.4 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|i915|iris)"; then
PKG_DEPENDS_TARGET+=" intel-vaapi-driver media-driver"
fi
if listcontains "${GRAPHIC_DRIVERS}" "nvidia-ng"; then
PKG_DEPENDS_TARGET+=" nvidia-vaapi-driver"
fi
fi