SHA256
15
0
forked from pool/python-av

Accepting request 994510 from home:badshah400:branches:home:dimstar:ffmpeg5

Add python-av-ffmpeg5-compatibility.patch to drop references to symbols in ffmpeg4 and dropped from ffmpeg5 to allow building against ffmpeg5; patch taken from upstream git commit.

OBS-URL: https://build.opensuse.org/request/show/994510
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-av?expand=0&rev=21
This commit is contained in:
2022-08-15 07:14:29 +00:00
committed by Git OBS Bridge
parent 6ac2bf5823
commit c606411153
3 changed files with 756 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ Summary: Python bindings for FFmpeg's libraries
License: BSD-3-Clause
URL: https://github.com/PyAV-Org/PyAV
Source: https://files.pythonhosted.org/packages/source/a/av/av-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#PyAV-Org/PyAV#817 badshah400@gmail.com -- Add ffmpeg5 support, patch taken from upstream git
Patch0: https://github.com/PyAV-Org/PyAV/commit/18704658487ea25e5202ac18438d836dfe65b9d0.patch#/python-av-ffmpeg5-compatibility.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}
@@ -46,7 +48,7 @@ Requires(postun):update-alternatives
Pythonic bindings for FFmpeg's libraries.
%prep
%setup -q -n av-%{version}
%autosetup -p1 -n av-%{version}
# doctests and timeout require network to setup tests
rm tests/test_doctests.py tests/test_timeout.py