Accepting request 731899 from KDE:Qt:5.13

- Add gn_args+=link_pulseaudio=true to work around incompatibility
  with PA 13 headers (QTBUG-77037)
- Enable kerberos support

OBS-URL: https://build.opensuse.org/request/show/731899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtwebengine?expand=0&rev=50
This commit is contained in:
Yuchen Lin 2019-09-21 15:29:00 +00:00 committed by Git OBS Bridge
commit 3ecf206e26
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Sep 19 07:48:11 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Add gn_args+=link_pulseaudio=true to work around incompatibility
with PA 13 headers (QTBUG-77037)
- Enable kerberos support
-------------------------------------------------------------------
Fri Sep 6 08:04:49 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libqt5-qtwebengine
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright © 2017 Kevin Kofler <Kevin@tigcc.ticalc.org>
#
# All modifications and additions to the file contributed by third parties
@ -276,13 +276,15 @@ RPM_OPT_FLAGS="$RPM_OPT_FLAGS "
export RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-g / }
%endif
# It does not actually include proprietary codecs, it only makes it attempt to use ffmpeg
# Link pulseaudio to work around QTBUG-77037
%qmake5 QMAKE_CFLAGS="$RPM_OPT_FLAGS" \
QMAKE_LFLAGS+="-Wl,--no-keep-memory -Wl,--hash-size=31 -Wl,--reduce-memory-overheads" \
gn_args+="link_pulseaudio=true" \
%if 0%{?suse_version} < 1330
QMAKE_CC=gcc-7 QMAKE_CXX=g++-7 CONFIG+=c++14 \
%endif
qtwebengine.pro -- \
-webengine-alsa -no-webengine-embedded-build \
-webengine-alsa -webengine-kerberos -no-webengine-embedded-build \
%if %{with system_icu}
-system-webengine-icu \
%endif