summaryrefslogtreecommitdiff
path: root/Ports
diff options
context:
space:
mode:
authorHunter Kvalevog <hunterkva@protonmail.com>2022-04-02 19:14:23 -0500
committerLinus Groh <mail@linusgroh.de>2022-04-03 14:45:13 +0100
commit85ed64b99cc46216bfce5245921627488c06e554 (patch)
treeb8007e51ceca04962ac7dcc065fd8e83c786c1bc /Ports
parenta0bbadac14e9c745f0c31a71cfe82a4bb7a1b586 (diff)
downloadserenity-85ed64b99cc46216bfce5245921627488c06e554.zip
Ports: Enable libx264 support in FFmpeg
Diffstat (limited to 'Ports')
-rwxr-xr-xPorts/ffmpeg/package.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/Ports/ffmpeg/package.sh b/Ports/ffmpeg/package.sh
index d7db997bc1..b1b9bd66c0 100755
--- a/Ports/ffmpeg/package.sh
+++ b/Ports/ffmpeg/package.sh
@@ -2,7 +2,7 @@
port=ffmpeg
version=5.0
useconfigure=true
-depends=("libiconv" "libtiff" "xz" "bzip2" "SDL2")
+depends=("libiconv" "libtiff" "xz" "bzip2" "SDL2" "x264")
files="https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz 7bf52bc242b5db8df67c62cb826df134d917dedcf6abf1289e15e4057bcc1750"
auth_type="sha256"
installopts=("INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local")
@@ -15,8 +15,10 @@ configure() {
--cc="${CC} -std=gnu99" \
--cxx="${CXX} -std=gnu99" \
--enable-cross-compile \
- --disable-stripping \
- --disable-avx
+ --enable-gpl \
+ --enable-libx264 \
+ --disable-stripping \
+ --disable-avx
}
install() {