# LTO (Link Time Optimization) support
  LTO_SUPPORT="yes"

# GOLD (Google Linker) support
  GOLD_SUPPORT="yes"

# HARDENING (security relevant linker and compiler flags) support
  HARDENING_SUPPORT="no"

# The name of the parent organization for updates
  GIT_ORGANIZATION="archr-linux"

# The name of the github project for updates
  GIT_REPO="Arch-R"

# Name of the Distro to build (full name, without special characters)
  DISTRONAME="ArchR"

# Name of the OS to build (full name, lower case, without special characters)
  OSNAME="archr"

# short project description
  DESCRIPTION="Arch R - Gaming OS for R36S"

# Distribution Home URL
  HOME_URL="https://arch-r.io"

# Documentation URL
  WIKI_URL="https://arch-r.io/docs/guide/"

# Where to report bugs
  BUG_REPORT_URL="https://github.com/archr-linux/Arch-R/issues"

# Root password to integrate in the target system
  ROOT_PASSWORD="archr"

# Install glibc locales to the build (yes / no)
  GLIBC_LOCALES="yes"

# build and install pipewire support (yes / no)
  PIPEWIRE_SUPPORT="yes"

# Define package sets to clean based on the type of build being executed.
# This should be updated to be more dynamic in the future.
  CLEAN_OS_BASE="emulators system-utils modules quirks autostart archr kernel-firmware"
  CLEAN_NETWORK=""
  CLEAN_EMU_32BIT="lib32 box86 pcsx_rearmed-lr arm"
  # Sway depends on it, weston will use it if it's built but we don't want that.
  CLEAN_WESTON="libdisplay-info sway"

# build and install archr joypad driver (yes / no)
  ARCHR_JOYPAD="yes"

# additional drivers to install:
# for a list of additional drivers see packages/linux-drivers
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
  ADDITIONAL_DRIVERS=""

# build and install driver addons (yes / no)
  DRIVER_ADDONS_SUPPORT="no"

# driver addons to install:
# for a list of additinoal drivers see packages/linux-driver-addons
# Space separated list is supported,
  DRIVER_ADDONS=""

# Disable 32BIT support
  ENABLE_32BIT="${ENABLE_32BIT-true}"

# build and install bluetooth support (yes / no)
  BLUETOOTH_SUPPORT="yes"

# build and install Avahi (Zeroconf) daemon (yes / no)
  AVAHI_DAEMON="yes"

# build with NFS support (mounting nfs shares via the OS) (yes / no)
  NFS_SUPPORT="yes"

# build with Samba Client support (mounting samba shares via the OS) (yes / no)
  SAMBA_SUPPORT="no"

# build and install Samba Server (yes / no)
  SAMBA_SERVER="yes"

# build and install SFTP Server (yes / no)
  SFTP_SERVER="yes"

# build and install Simple HTTP Server (yes / no)
  SIMPLE_HTTP_SERVER="yes"

# build and install OpenVPN support (yes / no)
  OPENVPN_SUPPORT="no"

# build and install ZeroTier support (yes / no)
  ZEROTIER_SUPPORT="yes"

# build and install WireGuard support (yes / no)
  WIREGUARD_SUPPORT="yes"

# build and install diskmounter support (udevil)
# this service provide auto mounting support for external drives in the
# mediacenter also automount internally drives at boottime via udev (yes / no)
  UDEVIL="yes"

# build and install exFAT fuse support (yes / no)
  EXFAT="yes"

# build and install NTFS-3G fuse support (yes / no)
  NTFS3G="yes"

# build and install hfs filesystem utilities (yes / no)
  HFSTOOLS="no"

# Target an emulation device
  EMULATION_DEVICE="${EMULATION_DEVICE:-yes}"

# Add support for containers
  CONTAINER_SUPPORT="${CONTAINER_SUPPORT:-no}"

# Build modules packages
  MODULES_PKG="${MODULES_PKG:-yes}"

# Support for debug tools such as strace
  DEBUG_PACKAGES="${DEBUG_PACKAGES:-yes}"

# Windowmanager to use (weston / swaywm-env / no)
  WINDOWMANAGER="none"

# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
# Space separated list is supported,
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
  GRAPHIC_DRIVERS=""

# build and install remote support (yes / no)
  REMOTE_SUPPORT="yes"

# build and install Joystick support (yes / no)
  JOYSTICK_SUPPORT="yes"

# Support for partitioning and formating disks in initramfs (yes / no)
# This adds support for parted and mkfs.ext3/4 to initramfs for OEM usage
  INITRAMFS_PARTED_SUPPORT="no"

# build with swap support (yes / no)
  SWAP_SUPPORT="yes"

# swap support enabled per default (yes / no)
  SWAP_ENABLED_DEFAULT="yes"

# Vestigial LibreELEC vars: SWAPSIZE and SWAP_TYPE are NOT read by
# ArchR's util-linux package.mk (it uses ZRAM_SWAP_SIZE / SWAP_FILE_SIZE
# / ZRAM_COMPRESSION_ALGO from device options). Swap policy on each
# device is zram-only when SWAP_FILE_SIZE=0; see RK3326/options.

# Default weston terminal font size
  WESTONFONTSIZE="14"

# additional packages to install:
# Space separated list is supported,
# e.g. ADDITIONAL_PACKAGES="PACKAGE1 PACKAGE2"

# build with installer (yes / no)
  INSTALLER_SUPPORT="no"

# Testpackages for development (yes / no)
  TESTING="no"

# OEM packages for OEM's (yes / no)
  OEM_SUPPORT="no"

# build and install nano text editor (yes / no)
  NANO_EDITOR="yes"

# cron support (yes / no)
  CRON_SUPPORT="no"

# htop tool (yes / no)
  HTOP_TOOL="yes"

# btop tool (yes / no)
  BTOP_TOOL="yes"

# Distribution Specific source location
  DISTRO_MIRROR="https://github.com/ROCKNIX/distribution-sources/releases/download/sources"

# Root filesystem type (squashfs / ext4)
  ROOTFS_TYPE="ext4"

# Boot partition size (FAT32, kernel + DTBs + bootloader), in MB.
  BOOT_SIZE=256

# Root partition size (ext4 rootfs), in MB
  ROOT_SIZE=4608

# Default system partition offset, in sectors, eg. 2048
  SYSTEM_PART_START=32768

# Legacy SYSTEM_SIZE (used when ROOTFS_TYPE=squashfs, or as fallback)
  SYSTEM_SIZE=${BOOT_SIZE}

# Size of storage partition, in MB. Must be >=32
  STORAGE_SIZE=32

# Default supported get handlers (archive, git, file etc.)
  GET_HANDLER_SUPPORT="archive git file"

# Partition labels for USB/SD installation media
  DISTRO_BOOTLABEL="ARCHR"
  DISTRO_ROOTLABEL="ARCHR_ROOT"
  DISTRO_DISKLABEL="STORAGE"

# Settings package name - blank if not required
  DISTRO_PKG_SETTINGS=""

# Enable Updates
  ENABLE_UPDATES="yes"

# defines the born on date of a build
  BUILD_DATE=$(date)

# Define supported systems documentation path
  SYSDOCROOT="${ROOT}/documentation/PER_DEVICE_DOCUMENTATION/${DEVICE}"
  SYSDOC="${SYSDOCROOT}/SUPPORTED_EMULATORS_AND_CORES"
