Skip to content

Commit

Permalink
enable harfbuzz (homebrew-ffmpeg#150)
Browse files Browse the repository at this point in the history
* enable harfbuzz

* update ReadMe
  • Loading branch information
retokromer authored Dec 6, 2023
1 parent 3b87c1a commit 89a91b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Formula/ffmpeg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ class Ffmpeg < Formula
version "6.1-with-options" # to distinguish from homebrew-core's ffmpeg
sha256 "488c76e57dd9b3bee901f71d5c95eaf1db4a5a31fe46a28654e837144207c270"
license "GPL-2.0-or-later"
revision 2
revision 3
head "https://github.com/FFmpeg/FFmpeg.git", branch: "master"

option "with-chromaprint", "Enable the Chromaprint audio fingerprinting library"
option "with-decklink", "Enable DeckLink support"
option "with-fdk-aac", "Enable the Fraunhofer FDK AAC library"
option "with-libflite", "Enable text to speech synthesis support via Flite"
option "with-game-music-emu", "Enable Game Music Emu (GME) support"
option "with-harfbuzz", "Enable OpenType text shaping engine"
option "with-jack", "Enable Jack support"
option "with-jpeg-xl", "Enable JPEG XL image format"
option "with-libaribb24", "Enable decoding ARIB/ISDB captions"
Expand Down Expand Up @@ -67,6 +68,7 @@ class Ffmpeg < Formula
depends_on "chromaprint" => :optional
depends_on "fdk-aac" => :optional
depends_on "game-music-emu" => :optional
depends_on "harfbuzz" => :optional
depends_on "jack" => :optional
depends_on "jpeg-xl" => :optional
depends_on "libaribcaption" => :optional
Expand Down Expand Up @@ -168,6 +170,7 @@ def install
args << "--enable-libflite" if build.with? "libflite"
args << "--enable-libgme" if build.with? "game-music-emu"
args << "--enable-libgsm" if build.with? "libgsm"
args << "--enable-libharfbuzz" if build.with? "harfbuzz"
args << "--enable-libjxl" if build.with? "jpeg-xl"
args << "--enable-libmodplug" if build.with? "libmodplug"
args << "--enable-libopenh264" if build.with? "openh264"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ This formula features the following libraries optionally:
| `decklink` | Enable DeckLink support | The DeckLink SDK has to be installed **before** running the FFmpeg formula. One possibility is to use:<br>```brew install amiaopensource/amiaos/decklinksdk```<br><br>In addition, if you experience difficulties on macOS, make sure you follow [these directions](https://forum.blackmagicdesign.com/viewtopic.php?f=4&t=121992#p699837). |
| `fdk-aac` | Fraunhofer FDK AAC library |
| `game-music-emu` | Enable Game Music Emu (GME) support |
| `harfbuzz` | Enable OpenType text shaping engine (libharfbuzz) |
| `jack` | Jack audio device support |
| `jpeg-xl` | JPEG XL support |
| `libaribcaption` | Enable handling of ARIB STD-B24 based broadcast captions |
Expand Down

0 comments on commit 89a91b7

Please sign in to comment.