distribution/packages/virtual/image/package.mk

42 lines
1.4 KiB
Makefile
Raw Normal View History

2022-02-05 14:23:32 +00:00
# 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_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 corefonts network misc-packages debug usb-modeswitch unzip poppler jq socat p7zip file bluez splash initramfs jelos"
2022-02-05 14:23:32 +00:00
PKG_SECTION="virtual"
PKG_LONGDESC="Root package used to build and create complete image"
2022-09-03 10:59:08 +00:00
# Architecture specific tools
[ "${ARCH}" = "x86_64" ] && PKG_DEPENDS_TARGET+=" ryzenadj"
2022-02-05 14:23:32 +00:00
# Sound support
2022-09-03 10:59:08 +00:00
[ "${ALSA_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" alsa"
2022-02-05 14:23:32 +00:00
# Automounter support
2022-09-03 10:59:08 +00:00
[ "${UDEVIL}" = "yes" ] && PKG_DEPENDS_TARGET+=" udevil"
2022-02-05 14:23:32 +00:00
# EXFAT support
2022-09-03 10:59:08 +00:00
[ "${EXFAT}" = "yes" ] && PKG_DEPENDS_TARGET+=" exfat exfatprogs"
2022-02-05 14:23:32 +00:00
# NTFS 3G support
2022-09-03 10:59:08 +00:00
[ "${NTFS3G}" = "yes" ] && PKG_DEPENDS_TARGET+=" ntfs-3g_ntfsprogs"
2022-02-05 14:23:32 +00:00
# Virtual image creation support
2022-09-03 10:59:08 +00:00
[ "${PROJECT}" = "Generic" ] && PKG_DEPENDS_TARGET+=" virtual"
2022-02-05 14:23:32 +00:00
# Installer support
2022-09-03 10:59:08 +00:00
[ "${INSTALLER_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" installer"
2022-02-05 14:23:32 +00:00
# Devtools... (not for Release)
2022-09-03 10:59:08 +00:00
[ "${TESTING}" = "yes" ] && PKG_DEPENDS_TARGET+=" testing"
2022-02-05 14:23:32 +00:00
# OEM packages
2022-09-03 10:59:08 +00:00
[ "${OEM_SUPPORT}" = "yes" ] && PKG_DEPENDS_TARGET+=" oem"
2022-02-05 14:23:32 +00:00
# htop
2022-09-03 10:59:08 +00:00
[ "${HTOP_TOOL}" = "yes" ] && PKG_DEPENDS_TARGET+=" htop"
2022-02-05 14:23:32 +00:00
true