File: 10_install_system_dependencies.sh

package info (click to toggle)
psychopy 2020.2.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 44,056 kB
  • sloc: python: 119,649; javascript: 3,022; makefile: 148; sh: 125; xml: 9
file content (25 lines) | stat: -rwxr-xr-x 897 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash

# Fail script immediately on any errors in external commands,
# and display each line as it gets executed.
set -ev

source ./travis/travis_retry.bash

# This might come in handy once we switch to Trusty, as its Xvfb
# doesn't properly support the RANDR extension
# - travis_retry sudo apt-get install -qq xpra xserver-xorg-video-dummy

travis_retry sudo apt-get install -qq xvfb xauth libgl1-mesa-dri libavbin0
travis_retry sudo apt-get install -qq libportaudio2
travis_retry sudo apt-get install -qq libwebkitgtk-1.0-0

# Locales
# - travis_retry sudo apt-get install -qq language-pack-en-base  # English locales
travis_retry sudo apt-get install -qq language-pack-ja-base  # Japanese locale
# - sudo dpkg-reconfigure locales
# - locale -a  # list available locales

travis_retry sudo apt-get install -qq libasound2-dev alsa-utils alsa-oss
sudo modprobe snd-dummy
sudo lsmod