File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-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+
47+ # If stack is heroku-24, install libasound2t64
48+ if [[ " $STACK " == " heroku-24" ]]; then
49+ cat << EOF >>$build_tmpdir /Aptfile
50+ libasound2t64
51+ EOF
52+ else
53+ cat << EOF >>$build_tmpdir /Aptfile
54+ libasound2
55+ EOF
56+ fi
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'"
110+
95111 esac
96112
97113 local cache_tmpdir=$( mktemp -d)
You can’t perform that action at this time.
0 commit comments