setup-packages-kernel-build:
	apt install -y flex bison dwarves libelf-dev

setup-packages-steam:
	dpkg --add-architecture i386
	apt update
	apt install -f mesa-utils
	apt install -f steam

setup-packages-desktop:
	@echo tasksel
	@echo make steam
	@echo make chrome
	@echo apt install xchat
	@echo apt install blender
	@echo apt install virt-manager
	@echo apt remove minissdpd --purge
	apt install remmina* synergy

setup-packages-laptop:
	apt install pm-utils

# https://looking-glass.io/docs/stable/build/
setup-kvm-windows-looking-glass:
	apt install binutils-dev cmake fonts-freefont-ttf libfontconfig1-dev libegl-dev libspice-protocol-dev nettle-dev libx11-dev libxi-dev libxinerama-dev libxss-dev libwayland-dev wayland-protocols
	git clone --recursive https://github.com/gnif/LookingGlass.git

setup-install-google-chrome:
	apt-key adv --keyserver keyserver.ubuntu.com --recv-keys  1397BC53640DB551
	cp google-chrome.list /etc/apt/sources.list.d/
	apt update
	apt install google-chrome-stable

# WARNING: Firmware can not be updated in legacy BIOS mode
#   See https://github.com/fwupd/fwupd/wiki/PluginFlag:legacy-bios for more information.
# No hardware detected with firmware update capability
# This warning can be ignored if UEFI firmware updates are not desired. It can be disabled by adding
# DisabledPlugins=test;invalid;uefi
# to /etc/fwupd/daemon.conf or by recompiling without UEFI support.
setup-firmware-fwupd:
	apt install fwupdate fwupd
	fwupdmgr get-devices
	fwupdmgr refresh
	fwupdmgr get-updates
