diff --git a/ocaml-ffmpeg-1.1.9-ffmpeg-6.1.1.patch b/ocaml-ffmpeg-1.1.9-ffmpeg-6.1.1.patch new file mode 100644 index 0000000..a6c2ce9 --- /dev/null +++ b/ocaml-ffmpeg-1.1.9-ffmpeg-6.1.1.patch @@ -0,0 +1,10 @@ +--- ocaml-ffmpeg-1.1.9/examples/all_codecs.ml.orig 2024-01-10 10:51:37.935174153 +0100 ++++ ocaml-ffmpeg-1.1.9/examples/all_codecs.ml 2024-01-10 10:51:56.816206897 +0100 +@@ -5,6 +5,7 @@ + | `Reorder -> "Reorder" + | `Bitmap_sub -> "Bitmap sub" + | `Text_sub -> "Text sub" ++ | `Fields -> "Fields" + + let string_of_media_type = function + | `Unknown -> "unknown" diff --git a/ocaml-ffmpeg.spec b/ocaml-ffmpeg.spec index fe9c355..a06ae88 100644 --- a/ocaml-ffmpeg.spec +++ b/ocaml-ffmpeg.spec @@ -3,7 +3,7 @@ Name: ocaml-ffmpeg Version: 1.1.9 -Release: 1mamba +Release: 2mamba Summary: OCaml bindings to the FFmpeg library Group: Development/Bindings Vendor: openmamba @@ -11,6 +11,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/savonet/ocaml-ffmpeg Source: https://github.com/savonet/ocaml-ffmpeg.git/v%{version}/ocaml-ffmpeg-%{version}.tar.bz2 +Patch0: ocaml-ffmpeg-1.1.9-ffmpeg-6.1.1.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -24,6 +25,13 @@ BuildRequires: libswscale-ffmpeg-devel BuildRequires: ocaml-runtime ## AUTOBUILDREQ-END BuildRequires: ocaml >= 4.14.1 +BuildRequires: libavcodec-ffmpeg-devel >= 2:6.1.1 +BuildRequires: libavdevice-ffmpeg-devel >= 2:6.1.1 +BuildRequires: libavfilter-ffmpeg-devel >= 2:6.1.1 +BuildRequires: libavformat-ffmpeg-devel >= 2:6.1.1 +BuildRequires: libavutil-ffmpeg-devel >= 2:6.1.1 +BuildRequires: libswresample-ffmpeg-devel >= 2:6.1.1 +BuildRequires: libswscale-ffmpeg-devel >= 2:6.1.1 %description OCaml bindings to the FFmpeg library. @@ -40,6 +48,7 @@ This package contains libraries and signature files for developing applications %prep %setup -q +%patch 0 -p1 %build dune build @@ -78,6 +87,9 @@ rm -rf %{buildroot}/usr/doc %doc CHANGES README.md %changelog +* Wed Jan 10 2024 Silvan Calarco 1.1.9-2mamba +- rebuilt with ffmpeg 2:6.1.1 + * Tue Dec 26 2023 Silvan Calarco 1.1.9-1mamba - update to 1.1.9