1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:47:35 +00:00

Ports: Upgrade to FFmpeg 5.0 release; enable SDL and networking

This commit is contained in:
Peter Ross 2022-03-01 19:50:19 +11:00 committed by Andreas Kling
parent 34108547b6
commit 451fee8fd7
4 changed files with 31 additions and 7 deletions

View file

@ -1,20 +1,22 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ffmpeg
version=4.4
version=5.0
useconfigure=true
depends=("libiconv" "libtiff" "xz" "bzip2")
files="https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz ffmpeg-${version}.tar.gz a4abede145de22eaf233baa1726e38e137f5698d9edd61b5763cd02b883f3c7c"
depends=("libiconv" "libtiff" "xz" "bzip2" "SDL2")
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")
configopts=("SRC_PATH=.")
configure() {
run ./configure \
--arch="x86_32" \
--target-os=none \
--arch="${SERENITY_ARCH}" \
--cc="${CC} -std=gnu99" \
--cxx="${CXX} -std=gnu99" \
--disable-network \
--enable-cross-compile
--enable-cross-compile \
--disable-stripping \
--disable-avx
}
install() {