From fc4478a5f345f12ed8955952529b36347b7dbe1dbb2cd0580f218dc16a7f507e Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sat, 17 Sep 2022 00:48:35 +0000 Subject: [PATCH] Accepting request 1001859 from home:iznogood:branches:multimedia:xine - Add xine-lib-ffmpeg5.patch: Fix build with ffmpeg-5. OBS-URL: https://build.opensuse.org/request/show/1001859 OBS-URL: https://build.opensuse.org/package/show/multimedia:xine/xine-lib?expand=0&rev=142 --- xine-lib-ffmpeg5.patch | 22 ++++++++++++++++++++++ xine-lib.changes | 5 +++++ xine-lib.spec | 1 + 3 files changed, 28 insertions(+) create mode 100644 xine-lib-ffmpeg5.patch diff --git a/xine-lib-ffmpeg5.patch b/xine-lib-ffmpeg5.patch new file mode 100644 index 0000000..6b942e6 --- /dev/null +++ b/xine-lib-ffmpeg5.patch @@ -0,0 +1,22 @@ +diff -Nur orig-xine-lib-1.2.12/src/combined/ffmpeg/demux_avformat.c xine-lib-1.2.12/src/combined/ffmpeg/demux_avformat.c +--- orig-xine-lib-1.2.12/src/combined/ffmpeg/demux_avformat.c 2022-03-06 17:31:23.000000000 +0100 ++++ xine-lib-1.2.12/src/combined/ffmpeg/demux_avformat.c 2022-09-08 08:02:04.756525710 +0200 +@@ -30,6 +30,7 @@ + #include + + #include ++#include + #include + + #define LOG_MODULE "libavformat" +diff -Nur orig-xine-lib-1.2.12/src/combined/ffmpeg/input_avio.c xine-lib-1.2.12/src/combined/ffmpeg/input_avio.c +--- orig-xine-lib-1.2.12/src/combined/ffmpeg/input_avio.c 2022-03-06 17:31:23.000000000 +0100 ++++ xine-lib-1.2.12/src/combined/ffmpeg/input_avio.c 2022-09-08 08:02:39.896994849 +0200 +@@ -29,6 +29,7 @@ + #include + + #include ++#include + + #define LOG_MODULE "libavio" + #define LOG_VERBOSE diff --git a/xine-lib.changes b/xine-lib.changes index bd189b4..df55165 100644 --- a/xine-lib.changes +++ b/xine-lib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 8 06:05:38 UTC 2022 - Bjørn Lie + +- Add xine-lib-ffmpeg5.patch: Fix build with ffmpeg-5. + ------------------------------------------------------------------- Tue May 17 07:08:56 UTC 2022 - Dominique Leuenberger diff --git a/xine-lib.spec b/xine-lib.spec index 0acb87d..62b0375 100644 --- a/xine-lib.spec +++ b/xine-lib.spec @@ -110,6 +110,7 @@ Patch0: xine-lib-libdvdread_udf.diff Patch1: xine-lib-v4l-2.6.38.patch # Add theora FOURCC to libxine I found an avi container that xine wouldn't play. Patch4: xine-lib-theora.patch +Patch5: xine-lib-ffmpeg5.patch %description

Great video and multimediaplayer, supports DVD, MPEG, AVI, DivX, VCD, Quicktime ...

You need a frontend for xine-lib like xine-ui, gxine, kaffeine or totem.

Since 1-rc6 the package number is reduced, all you may miss, is in the base package

If you want to play css encrypted Video-DVD's, you need to install libdvdcss.