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() {
35
35
libnspr4
36
36
libnss3
37
37
libxss1
38
- libasound2
39
38
fonts-noto-color-emoji
40
39
libgbm1
41
40
libatk-bridge2.0-0
@@ -44,6 +43,17 @@ libxrandr2
44
43
libatspi2.0-0
45
44
libxshmfence-dev
46
45
EOF
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
+
47
57
fi
48
58
49
59
if [[ " $SUPPORTED_BROWSERS " == * " firefox" * ]]; then
88
98
" heroku-22" )
89
99
cat << EOF >>$build_tmpdir /Aptfile
90
100
libvpx7
101
+ EOF
102
+ ;;
103
+ " heroku-24" )
104
+ cat << EOF >>$build_tmpdir /Aptfile
105
+ libvpx9
91
106
EOF
92
107
;;
93
108
* )
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 '"
95
110
esac
96
111
97
112
local cache_tmpdir=$( mktemp -d)
You can’t perform that action at this time.
0 commit comments