commit:     2c2ffc6b7f5f6117d81a954730f50d67d5c5db1e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  3 14:38:34 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jul  3 14:44:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=2c2ffc6b

dev-qt/qtwebengine: Sync with Gentoo ebuild repo

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild | 28 +++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

diff --git a/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild 
b/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild
index a4468ac7..063e73c3 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.15.9999.ebuild
@@ -5,9 +5,10 @@ EAPI=7
 
 PYTHON_COMPAT=( python2_7 )
 QTVER=$(ver_cut 1-3)
-inherit multiprocessing python-any-r1 qt5-build
+inherit estack flag-o-matic multiprocessing python-any-r1 qt5-build
 
 DESCRIPTION="Library for rendering dynamic web content in Qt5 C++ and QML 
applications"
+HOMEPAGE="https://www.qt.io/";
 
 if [[ ${QT5_BUILD_TYPE} == release ]]; then
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
@@ -22,6 +23,7 @@ else
                "https://code.qt.io/qt/${QT5_MODULE}.git";
                "https://github.com/qt/${QT5_MODULE}.git";
        )
+       inherit git-r3
 fi
 
 # patchset based on https://github.com/chromium-ppc64le releases
@@ -68,6 +70,7 @@ RDEPEND="
        x11-libs/libXext
        x11-libs/libXfixes
        x11-libs/libXi
+       x11-libs/libxkbfile
        x11-libs/libXrandr
        x11-libs/libXrender
        x11-libs/libXScrnSaver
@@ -78,15 +81,14 @@ RDEPEND="
        kerberos? ( virtual/krb5 )
        pulseaudio? ( media-sound/pulseaudio:= )
        system-ffmpeg? ( media-video/ffmpeg:0= )
-       system-icu? ( >=dev-libs/icu-68.2:= )
+       system-icu? ( >=dev-libs/icu-69.1:= )
        widgets? (
                ~dev-qt/qtdeclarative-${QTVER}[widgets]
                ~dev-qt/qtwidgets-${QTVER}
        )
 "
 DEPEND="${RDEPEND}"
-BDEPEND="
-       ${PYTHON_DEPS}
+BDEPEND="${PYTHON_DEPS}
        dev-util/gperf
        dev-util/ninja
        dev-util/re2c
@@ -111,6 +113,24 @@ pkg_preinst() {
        elog "tldr: Your web browsing experience will be compromised."
 }
 
+src_unpack() {
+       # bug 307861
+       eshopts_push -s extglob
+       if is-flagq '-g?(gdb)?([1-9])'; then
+               ewarn
+               ewarn "You have enabled debug info (probably have -g or -ggdb 
in your CFLAGS/CXXFLAGS)."
+               ewarn "You may experience really long compilation times and/or 
increased memory usage."
+               ewarn "If compilation fails, please try removing -g/-ggdb 
before reporting a bug."
+               ewarn
+       fi
+       eshopts_pop
+
+       case ${QT5_BUILD_TYPE} in
+               live)    git-r3_src_unpack ;&
+               release) default ;;
+       esac
+}
+
 src_prepare() {
        if [[ ${PV} == ${QTVER}_p* ]]; then
                # This is made from git, and for some reason will fail w/o .git 
directories.

Reply via email to