From 747a7104cc99e9b3f086dac4632f9bad959cf835 Mon Sep 17 00:00:00 2001 From: David Zuelke Date: Tue, 22 Aug 2023 12:34:12 +0200 Subject: [PATCH] Recommend official Heroku buildpack The heroku/heroku-buildpack-activestorage-preview buildpack is officially supported, and has builds of ffmpeg that dynamically link against libraries on the stack images, resulting in much smaller slug sizes. Sort-of addresses #71 --- README.md | 10 ++++++++++ bin/compile | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 731bdcd..c4e9298 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ +# :rotating_light: THIS BUILDPACK IS NO LONGER MAINTAINED :rotating_light: + +This buildpack is [no longer maintained](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest/issues/71#issuecomment-1687374864) by its original author. + +# :rotating_light: USE [`heroku/heroku-buildpack-activestorage-preview`](https://github.com/heroku/heroku-buildpack-activestorage-preview) instead :rotating_light: + +Heroku maintains an [official buildpack that installs `ffmpeg`](https://github.com/heroku/heroku-buildpack-activestorage-preview). + +While its original purpose is to provide `ffmpeg`, as well as several PDF conversion programs, for users of Ruby on Rails, it can be used with any application and any programming language that requires the `ffmpeg` command-line program. + # heroku-buildpack-ffmpeg-latest Push: [![Test](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest/workflows/Test/badge.svg?branch=master&event=push)](https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest/actions?query=workflow%3ATest+event%3Apush+branch%3Amaster) diff --git a/bin/compile b/bin/compile index e8f1cd3..d5bc029 100755 --- a/bin/compile +++ b/bin/compile @@ -17,6 +17,14 @@ output() { done } +echo "WARNING: THIS BUILDPACK IS NO LONGER MAINTAINED" +echo "WARNING: USE OF OFFICIAL HEROKU BUILDPACK RECOMMENDED INSTEAD" +echo "" | output +echo "This buildpack is no longer maintained." | output +echo "You may use the following buildpack to install 'ffmpeg' in your app:" | output +echo "https://github.com/heroku/heroku-buildpack-activestorage-preview" | output +echo "" | output + header "Installing ffmpeg" BUILD_DIR=${1:-}