2020-05-22 23:54:28 +02: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 10:42:05 +02:00
|
|
|
# RPCS3 often needs recent Qt and Vulkan-Headers
|
2023-06-10 03:13:53 +02:00
|
|
|
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
2020-05-22 23:54:28 +02:00
|
|
|
|
|
|
|
export ASSUME_ALWAYS_YES=true
|
|
|
|
pkg info # debug
|
|
|
|
|
2020-12-22 04:37:14 +01:00
|
|
|
# Prefer newer Clang than in base system (see also .ci/build-freebsd.sh)
|
2023-03-11 20:08:27 +01:00
|
|
|
pkg install llvm16
|
2020-12-22 04:37:14 +01:00
|
|
|
|
2021-05-22 10:42:05 +02:00
|
|
|
# Mandatory dependencies (qt6-base and qt6-svg are pulled via qt6-multimedia)
|
|
|
|
pkg install git ccache cmake ninja qt6-multimedia glew openal-soft ffmpeg
|
2020-05-22 23:54:28 +02:00
|
|
|
|
2021-05-22 10:42:05 +02:00
|
|
|
# Optional dependencies (libevdev is pulled by qt6-base)
|
2020-05-22 23:54:28 +02:00
|
|
|
pkg install pkgconf alsa-lib pulseaudio sdl2 evdev-proto vulkan-headers vulkan-loader
|