# SPDX-License-Identifier: GPL-2.0 # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="image" PKG_LICENSE="GPL" PKG_SITE="https://libreelec.tv" PKG_SECTION="virtual" PKG_LONGDESC="Root package used to build and create complete image" PKG_DEPENDS_TARGET="toolchain squashfs-tools:host dosfstools:host fakeroot:host kmod:host \ mtools:host populatefs:host libc gcc linux linux-drivers linux-firmware \ ${BOOTLOADER} busybox util-linux usb-modeswitch unzip poppler jq socat \ p7zip file splash initramfs plymouth-lite grep wget util-linux imagemagick \ bash coreutils modules system-utils autostart quirks powerstate gnupg \ gzip six xmlstarlet vim pyudev dialog dbus-python network libzip lzo \ zstd lz4 empty jelos" PKG_UI="emulationstation es-themes jslisten textviewer" PKG_UI_TOOLS="fileman fbgrab" PKG_FONTS="terminus-font corefonts" PKG_MULTIMEDIA="ffmpeg vlc mpv" PKG_BLUETOOTH="bluez pygobject" PKG_SOUND="libao" PKG_SYNC="synctools" PKG_TOOLS="patchelf git ectool make i2c-tools evtest powertop" PKG_DEBUG="debug" if [ "${BASE_ONLY}" = "true" ] then EMULATION_DEVICE=false PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} ${PKG_FONTS} ${PKG_DEBUG}" else PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} ${PKG_FONTS} ${PKG_SOUND} ${PKG_BLUETOOTH} ${PKG_SYNC} ${PKG_UI} ${PKG_UI_TOOLS} ${PKG_MULTIMEDIA} misc-packages" # GL demos and tools [ "${OPENGL_SUPPORT}" = "yes" ]&& PKG_DEPENDS_TARGET+=" mesa-demos glmark2" # Sound support [ "${ALSA_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" alsa" fi [ "${DISPLAYSERVER}" = "wl" ] && PKG_DEPENDS_TARGET+=" weston" # Device is an emulation focused device [ "${EMULATION_DEVICE}" = "yes" ] && PKG_DEPENDS_TARGET+=" emulators gamesupport" # Add support for containers [ "${CONTAINER_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" ${PKG_TOOLS} docker" # 32Bit package support [ "${ENABLE_32BIT}" == true ] && PKG_DEPENDS_TARGET+=" lib32" # Architecture specific tools [ "${ARCH}" = "x86_64" ] && PKG_DEPENDS_TARGET+=" ryzenadj lm_sensors dmidecode" # Automounter support [ "${UDEVIL}" = "yes" ] && PKG_DEPENDS_TARGET+=" udevil" # EXFAT support [ "${EXFAT}" = "yes" ] && PKG_DEPENDS_TARGET+=" exfat exfatprogs" # NTFS 3G support [ "${NTFS3G}" = "yes" ] && PKG_DEPENDS_TARGET+=" ntfs-3g_ntfsprogs" # Virtual image creation support [ "${PROJECT}" = "Generic" ] && PKG_DEPENDS_TARGET+=" virtual" # Installer support [ "${INSTALLER_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" installer" # Devtools... (not for Release) [ "${TESTING}" = "yes" ] && PKG_DEPENDS_TARGET+=" testing" # OEM packages [ "${OEM_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" oem" # htop [ "${HTOP_TOOL}" = "yes" ] && PKG_DEPENDS_TARGET+=" htop" true