2020-05-22 21:54:28 +00:00
|
|
|
#!/usr/bin/env -S su -m root -ex
|
|
|
|
# NOTE: this script is run under root permissions
|
|
|
|
# shellcheck shell=sh disable=SC2096
|
|
|
|
|
2021-05-22 08:42:05 +00:00
|
|
|
# RPCS3 often needs recent Qt and Vulkan-Headers
|
2023-06-10 01:13:53 +00:00
|
|
|
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
2020-05-22 21:54:28 +00:00
|
|
|
|
|
|
|
export ASSUME_ALWAYS_YES=true
|
|
|
|
pkg info # debug
|
|
|
|
|
2020-12-22 03:37:14 +00:00
|
|
|
# Prefer newer Clang than in base system (see also .ci/build-freebsd.sh)
|
2023-03-11 19:08:27 +00:00
|
|
|
pkg install llvm16
|
2020-12-22 03:37:14 +00:00
|
|
|
|
2023-11-27 21:17:00 +00:00
|
|
|
# Mandatory dependencies (qt6-base is pulled via qt6-multimedia)
|
|
|
|
pkg install git ccache cmake ninja qt6-multimedia qt6-svg glew openal-soft ffmpeg
|
2020-05-22 21:54:28 +00:00
|
|
|
|
2021-05-22 08:42:05 +00:00
|
|
|
# Optional dependencies (libevdev is pulled by qt6-base)
|
2020-05-22 21:54:28 +00:00
|
|
|
pkg install pkgconf alsa-lib pulseaudio sdl2 evdev-proto vulkan-headers vulkan-loader
|