[ffmpeg] enable a feature to support libpng (#33561)

This commit is contained in:
Sander Cox 2023-09-06 22:06:03 +02:00 committed by GitHub
parent 13da141b82
commit 8413fd7fc2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 2 deletions

View File

@ -346,6 +346,10 @@ else()
set(OPTIONS "${OPTIONS} --disable-lzma")
endif()
if("libpng" IN_LIST FEATURES)
set(OPTIONS "${OPTIONS} --enable-decoder=png --enable-encoder=png")
endif()
if("mp3lame" IN_LIST FEATURES)
set(OPTIONS "${OPTIONS} --enable-libmp3lame")
else()

View File

@ -1,7 +1,7 @@
{
"name": "ffmpeg",
"version": "5.1.2",
"port-version": 7,
"port-version": 8,
"description": [
"a library to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.",
"FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge. No matter if they were designed by some standards committee, the community or a corporation. It is also highly portable: FFmpeg compiles, runs, and passes our testing infrastructure FATE across Linux, Mac OS X, Microsoft Windows, the BSDs, Solaris, etc. under a wide variety of build environments, machine architectures, and configurations."
@ -42,6 +42,7 @@
"bzip2",
"freetype",
"iconv",
"libpng",
"lzma",
"mp3lame",
"openjpeg",
@ -443,6 +444,19 @@
"libilbc"
]
},
"libpng": {
"description": "PNG de/encoding via libpng",
"dependencies": [
{
"name": "ffmpeg",
"default-features": false,
"features": [
"zlib"
]
},
"libpng"
]
},
"lzma": {
"description": "lzma support",
"dependencies": [

View File

@ -2522,7 +2522,7 @@
},
"ffmpeg": {
"baseline": "5.1.2",
"port-version": 7
"port-version": 8
},
"ffnvcodec": {
"baseline": "11.1.5.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "3ee8d10aa504c74cfef80d47e1901afa3289a544",
"version": "5.1.2",
"port-version": 8
},
{
"git-tree": "1fcd248f6f655e6aecb94976680b1c537da6d918",
"version": "5.1.2",