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
|
|
|
|
|
|
|
|
# RPCS3 often needs recent Qt5 and Vulkan-Headers
|
|
|
|
sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
|
|
|
|
|
|
|
|
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)
|
2021-11-30 17:12:37 +01:00
|
|
|
pkg install llvm13
|
2020-12-22 04:37:14 +01:00
|
|
|
|
2020-05-22 23:54:28 +02:00
|
|
|
# Mandatory dependencies (qt5-dbus and qt5-gui are pulled via qt5-widgets)
|
2021-10-27 23:43:32 +02:00
|
|
|
pkg install git ccache cmake ninja qt5-qmake qt5-buildtools qt5-widgets qt5-concurrent qt5-multimedia qt5-svg glew openal-soft ffmpeg
|
2020-05-22 23:54:28 +02:00
|
|
|
|
|
|
|
# Optional dependencies (libevdev is pulled by qt5-gui)
|
|
|
|
pkg install pkgconf alsa-lib pulseaudio sdl2 evdev-proto vulkan-headers vulkan-loader
|