Accepting request 887984 from home:alois:branches:X11:Utilities

- Fix build with ffmpeg 4.4 on Leap

OBS-URL: https://build.opensuse.org/request/show/887984
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xpra?expand=0&rev=78
This commit is contained in:
Luigi Baldoni 2021-04-23 09:20:44 +00:00 committed by Git OBS Bridge
parent 179a4d65dc
commit 9ca626f159
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 23 09:09:12 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
- Fix build with ffmpeg 4.4 on Leap
-------------------------------------------------------------------
Wed Apr 21 10:40:46 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>

View File

@ -142,6 +142,10 @@ sed -e 's|__FILLUPDIR__|%{_fillupdir}|' \
sed -i '/install_html5/s/verbose=False/verbose=True/' %{name}-html5-%{html5_ver}/setup.py
%build
export CFLAGS="%{optflags}"
%if 0%{?suse_version} <= 1500
export CFLAGS="$CFLAGS -Wno-error=deprecated-declarations"
%endif
python3 setup.py clean
python3 setup.py build \