From 4ad6cf3e574cad95174040df0b0d68764626d46d Mon Sep 17 00:00:00 2001 From: Daniel Hopkins Date: Fri, 21 Feb 2025 15:13:34 -0800 Subject: [PATCH] Add heroku-24 --- bin/compile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index 1336846..af0d0c1 100755 --- a/bin/compile +++ b/bin/compile @@ -35,7 +35,6 @@ install_system_deps() { libnspr4 libnss3 libxss1 -libasound2 fonts-noto-color-emoji libgbm1 libatk-bridge2.0-0 @@ -44,6 +43,17 @@ libxrandr2 libatspi2.0-0 libxshmfence-dev EOF + + # If stack is heroku-24, install libasound2t64 + if [[ "$STACK" == "heroku-24" ]]; then + cat << EOF >>$build_tmpdir/Aptfile +libasound2t64 +EOF + else + cat << EOF >>$build_tmpdir/Aptfile +libasound2 +EOF + fi fi if [[ "$SUPPORTED_BROWSERS" == *"firefox"* ]]; then @@ -88,10 +98,16 @@ EOF "heroku-22") cat << EOF >>$build_tmpdir/Aptfile libvpx7 +EOF + ;; + "heroku-24") + cat << EOF >>$build_tmpdir/Aptfile +libvpx9 EOF ;; *) - error "STACK must be 'heroku-18', 'heroku-20', or 'heroku-22'" + error "STACK must be 'heroku-18', 'heroku-20', 'heroku-22', or 'heroku-24'" + esac local cache_tmpdir=$(mktemp -d)