ffmpeg: Update deps to use sdl2 in place of sdl

Message ID 20210901202100.2872528-1-adolf.belka@ipfire.org
State Accepted
Commit fd0e08feb9510bd248034d24cad00e9d04da707c
Headers
Series ffmpeg: Update deps to use sdl2 in place of sdl |

Commit Message

Adolf Belka Sept. 1, 2021, 8:21 p.m. UTC
  - This patch needs to go together with the patch updating sdl to sdl2
   https://patchwork.ipfire.org/project/ipfire/patch/20210824212848.1311257-1-adolf.belka@ipfire.org/
- Update deps line in lfs to use sdl2 in place of sdl
- Update rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/ffmpeg | 5 +++++
 lfs/ffmpeg                       | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)
  

Comments

Adolf Belka Sept. 1, 2021, 9:06 p.m. UTC | #1
Hi All,

I forgot to add in the commit that I also ran ./make.sh find-dependencies on the old SDL libraries and nothing got flagged up so it looks like there is only ffmpeg that is using sdl.

Regards,

Adolf.

On 01/09/2021 22:21, Adolf Belka wrote:
> - This patch needs to go together with the patch updating sdl to sdl2
>     https://patchwork.ipfire.org/project/ipfire/patch/20210824212848.1311257-1-adolf.belka@ipfire.org/
> - Update deps line in lfs to use sdl2 in place of sdl
> - Update rootfile
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>   config/rootfiles/packages/ffmpeg | 5 +++++
>   lfs/ffmpeg                       | 4 ++--
>   2 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/config/rootfiles/packages/ffmpeg b/config/rootfiles/packages/ffmpeg
> index b388d18f1..65dd0d360 100644
> --- a/config/rootfiles/packages/ffmpeg
> +++ b/config/rootfiles/packages/ffmpeg
> @@ -1,4 +1,5 @@
>   usr/bin/ffmpeg
> +usr/bin/ffplay
>   usr/bin/ffprobe
>   #usr/include/libavcodec
>   #usr/include/libavcodec/ac3_parser.h
> @@ -188,6 +189,8 @@ usr/lib/libswscale.so.5.9.100
>   #usr/share/doc/ffmpeg/ffmpeg-scaler.html
>   #usr/share/doc/ffmpeg/ffmpeg-utils.html
>   #usr/share/doc/ffmpeg/ffmpeg.html
> +#usr/share/doc/ffmpeg/ffplay-all.html
> +#usr/share/doc/ffmpeg/ffplay.html
>   #usr/share/doc/ffmpeg/ffprobe-all.html
>   #usr/share/doc/ffmpeg/ffprobe.html
>   #usr/share/doc/ffmpeg/general.html
> @@ -246,6 +249,8 @@ usr/lib/libswscale.so.5.9.100
>   #usr/share/man/man1/ffmpeg-scaler.1
>   #usr/share/man/man1/ffmpeg-utils.1
>   #usr/share/man/man1/ffmpeg.1
> +#usr/share/man/man1/ffplay-all.1
> +#usr/share/man/man1/ffplay.1
>   #usr/share/man/man1/ffprobe-all.1
>   #usr/share/man/man1/ffprobe.1
>   #usr/share/man/man3/libavcodec.3
> diff --git a/lfs/ffmpeg b/lfs/ffmpeg
> index 1efa14a36..21c21cc88 100644
> --- a/lfs/ffmpeg
> +++ b/lfs/ffmpeg
> @@ -32,9 +32,9 @@ DL_FROM    = $(URL_IPFIRE)
>   DIR_APP    = $(DIR_SRC)/$(THISAPP)
>   TARGET     = $(DIR_INFO)/$(THISAPP)
>   PROG       = ffmpeg
> -PAK_VER    = 12
> +PAK_VER    = 13
>   
> -DEPS       = sdl lame libvorbis xvid
> +DEPS       = sdl2 lame libvorbis xvid
>   
>   ifeq "$(BUILD_ARCH)" "armv6l"
>   	LDFLAGS += -latomic
>
  

Patch

diff --git a/config/rootfiles/packages/ffmpeg b/config/rootfiles/packages/ffmpeg
index b388d18f1..65dd0d360 100644
--- a/config/rootfiles/packages/ffmpeg
+++ b/config/rootfiles/packages/ffmpeg
@@ -1,4 +1,5 @@ 
 usr/bin/ffmpeg
+usr/bin/ffplay
 usr/bin/ffprobe
 #usr/include/libavcodec
 #usr/include/libavcodec/ac3_parser.h
@@ -188,6 +189,8 @@  usr/lib/libswscale.so.5.9.100
 #usr/share/doc/ffmpeg/ffmpeg-scaler.html
 #usr/share/doc/ffmpeg/ffmpeg-utils.html
 #usr/share/doc/ffmpeg/ffmpeg.html
+#usr/share/doc/ffmpeg/ffplay-all.html
+#usr/share/doc/ffmpeg/ffplay.html
 #usr/share/doc/ffmpeg/ffprobe-all.html
 #usr/share/doc/ffmpeg/ffprobe.html
 #usr/share/doc/ffmpeg/general.html
@@ -246,6 +249,8 @@  usr/lib/libswscale.so.5.9.100
 #usr/share/man/man1/ffmpeg-scaler.1
 #usr/share/man/man1/ffmpeg-utils.1
 #usr/share/man/man1/ffmpeg.1
+#usr/share/man/man1/ffplay-all.1
+#usr/share/man/man1/ffplay.1
 #usr/share/man/man1/ffprobe-all.1
 #usr/share/man/man1/ffprobe.1
 #usr/share/man/man3/libavcodec.3
diff --git a/lfs/ffmpeg b/lfs/ffmpeg
index 1efa14a36..21c21cc88 100644
--- a/lfs/ffmpeg
+++ b/lfs/ffmpeg
@@ -32,9 +32,9 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = ffmpeg
-PAK_VER    = 12
+PAK_VER    = 13
 
-DEPS       = sdl lame libvorbis xvid
+DEPS       = sdl2 lame libvorbis xvid
 
 ifeq "$(BUILD_ARCH)" "armv6l"
 	LDFLAGS += -latomic