File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ install_system_deps() {
3535libnspr4
3636libnss3
3737libxss1
38- libasound2
3938fonts-noto-color-emoji
4039libgbm1
4140libatk-bridge2.0-0
@@ -44,6 +43,17 @@ libxrandr2
4443libatspi2.0-0
4544libxshmfence-dev
4645EOF
46+ # If stack is heroku-24, install libasound2t64
47+ if [[ " $STACK " == " heroku-24" ]]; then
48+ cat << EOF >>$build_tmpdir /Aptfile
49+ libasound2t64
50+ EOF
51+ else
52+ cat << EOF >>$build_tmpdir /Aptfile
53+ libasound2
54+ EOF
55+ fi
56+
4757 fi
4858
4959 if [[ " $SUPPORTED_BROWSERS " == * " firefox" * ]]; then
8898 " heroku-22" )
8999 cat << EOF >>$build_tmpdir /Aptfile
90100libvpx7
101+ EOF
102+ ;;
103+ " heroku-24" )
104+ cat << EOF >>$build_tmpdir /Aptfile
105+ libvpx9
91106EOF
92107 ;;
93108 * )
94- error " STACK must be 'heroku-18', 'heroku-20', or 'heroku-22 '"
109+ error " STACK must be 'heroku-18', 'heroku-20', 'heroku-22', or 'heroku-24 '"
95110 esac
96111
97112 local cache_tmpdir=$( mktemp -d)
You can’t perform that action at this time.
0 commit comments