mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
Ports: Update ffmpeg to 9.0.2
This commit is contained in:
1 parent
ee93e209ed
commit
ef912c3e72
6 files changed
+41
-5
No files matched your search
@@ -74,7 +74,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`epsilon`](epsilon/) | graphical calculator simulator | 15.5.0 | https://github.com/numworks/epsilon |
|
||||
| [`expat`](expat/) | Expat XML parser | 2.8.4 | https://libexpat.github.io/ |
|
||||
| [`FAudio`](FAudio/) | FAudio | 26.09 | https://fna-xna.github.io/ |
|
||||
| [`ffmpeg`](ffmpeg/) | ffmpeg | 8.1.1 | https://ffmpeg.org |
|
||||
| [`ffmpeg`](ffmpeg/) | ffmpeg | 9.0.2 | https://ffmpeg.org |
|
||||
| [`figlet`](figlet/) | FIGlet | 2.2.5 | http://www.figlet.org/ |
|
||||
| [`file`](file/) | file (determine file type) | 5.48 | https://www.darwinsys.com/file/ |
|
||||
| [`findutils`](findutils/) | GNU findutils | 4.11.0 | https://www.gnu.org/software/findutils/ |
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='ffmpeg'
|
||||
version='8.1.1'
|
||||
version='9.0.2'
|
||||
useconfigure='true'
|
||||
depends=(
|
||||
'bzip2'
|
||||
@@ -12,7 +12,7 @@ depends=(
|
||||
'xz'
|
||||
)
|
||||
files=(
|
||||
"https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz#1b856f26a07082b6879f3e5300d81e8c7ce3b410ade5898b14382d90c2904634"
|
||||
"https://ffmpeg.org/releases/ffmpeg-${version}.tar.gz#84960df915059e8754fef2cd7c9afeb614062b1b5458ec471eecee619ee04e98"
|
||||
)
|
||||
installopts=(
|
||||
"INSTALL_TOP=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
|
||||
@@ -10,7 +10,7 @@ work in cpp, assume that it exists.
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libavutil/error.h b/libavutil/error.h
|
||||
index 0d3269aa6da136e849faa7f810ae36748659a2e0..a54d80d0f2d7be91e617cb0ed0640568bffdd693 100644
|
||||
index 1efa86c4c106cb7e4fd65282d60dce49fca01e55..b2cc6c17702d4a93da0adb5ad27721f9712fd71c 100644
|
||||
--- a/libavutil/error.h
|
||||
+++ b/libavutil/error.h
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
@@ -8,7 +8,7 @@ Subject: [PATCH] Adapt to the Serenity thread name interface
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libavutil/thread.h b/libavutil/thread.h
|
||||
index 2c00c7cc35ada4209ab15ce612fdd61239f96bca..bf69b9ee0dd600296b129955bf9ca2dff0830a13 100644
|
||||
index 184e2d8c5f68a5f664bde06d8640d40bff21878c..9201793a6e991a3d980060a89a4eac0dea55c499 100644
|
||||
--- a/libavutil/thread.h
|
||||
+++ b/libavutil/thread.h
|
||||
@@ -24,7 +24,9 @@
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Linus Groh <[email protected]>
|
||||
Date: Tue, 22 Sep 2026 18:11:32 +0100
|
||||
Subject: [PATCH] Patch out libswscale jinc filter on SerenityOS
|
||||
|
||||
We don't have j1(), but this function is not used in ffmpeg anyway.
|
||||
---
|
||||
libswscale/filters.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/libswscale/filters.c b/libswscale/filters.c
|
||||
index fb54d2bbd8bb065afd4a0925f18b35cf3f8b3aa5..2aed6f263174f47b80fbd48ecacb3aeda904d416 100644
|
||||
--- a/libswscale/filters.c
|
||||
+++ b/libswscale/filters.c
|
||||
@@ -404,6 +404,7 @@ av_unused static double sinc(double x, const double *params)
|
||||
return sin(x) / x;
|
||||
}
|
||||
|
||||
+#ifndef __serenity__
|
||||
av_unused static double jinc(double x, const double *params)
|
||||
{
|
||||
if (x < 1e-8)
|
||||
@@ -411,6 +412,7 @@ av_unused static double jinc(double x, const double *params)
|
||||
x *= M_PI;
|
||||
return 2.0 * j1(x) / x;
|
||||
}
|
||||
+#endif
|
||||
|
||||
av_unused static double sphinx(double x, const double *params)
|
||||
{
|
||||
@@ -12,3 +12,9 @@ work in cpp, assume that it exists.
|
||||
Adapt to the Serenity thread name interface
|
||||
|
||||
|
||||
## `0003-Patch-out-libswscale-jinc-filter-on-SerenityOS.patch`
|
||||
|
||||
Patch out libswscale jinc filter on SerenityOS
|
||||
|
||||
We don't have j1(), but this function is not used in ffmpeg anyway.
|
||||
|
||||
Reference in new issue
Block a user