joeylib2/installer/components/headless.sh
2026-10-13 14:01:46 -05:00

33 lines
798 B
Bash

# Part of JoeyLib, Copyright (c) 2026 Scott Duensing, under the MIT License.
# See LICENSE.md for license information.
# SPDX-License-Identifier: MIT
#
# What the test gates need to run the SDL/X11 emulators without a screen:
# a virtual X server, key injection, screenshots, and PulseAudio's
# capture tools for the audio gates.
compDescription="test gates: Xvfb, xdotool, ImageMagick, pactl/parec (headless runs)"
compGroups="emulator:amiga emulator:atarist emulator:dos"
compRequires="host"
compHostDeps="xvfb xdotool imagemagick pulse-utils"
compPin="distro"
compInstall() {
:
}
compInstalled() {
command -v Xvfb >/dev/null && command -v xdotool >/dev/null && command -v import >/dev/null && command -v parec >/dev/null
}
compVerify() {
compInstalled
}
compEnv() {
:
}