commit:     e9c83fdc1a992d599593e963f44ef44dccfa4090
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  1 15:25:23 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Apr  1 15:25:51 2016 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=e9c83fdc

dev-qt/qtwebkit: manually run syncqt.pl to solve build failure

This is normally done by upstream before creating the release tarball, but they
forgot.

Gentoo-bug: 577574

Package-Manager: portage-2.2.28

 dev-qt/qtwebkit/qtwebkit-5.6.0.ebuild       | 5 ++++-
 dev-qt/qtwebkit/qtwebkit-5.7.0_alpha.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-qt/qtwebkit/qtwebkit-5.6.0.ebuild 
b/dev-qt/qtwebkit/qtwebkit-5.6.0.ebuild
index 58876f1..a3a0f0f 100644
--- a/dev-qt/qtwebkit/qtwebkit-5.6.0.ebuild
+++ b/dev-qt/qtwebkit/qtwebkit-5.6.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1 qt5-build
+inherit python-any-r1 qmake-utils qt5-build
 
 DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
 
SRC_URI="https://download.qt.io/community_releases/${PV%.*}/${PV}/${PN}-opensource-src-${PV}.tar.xz";
@@ -105,5 +105,8 @@ src_prepare() {
        # bug 458222
        sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
 
+       # bug 577574
+       "$(qt5_get_bindir)"/syncqt.pl -version ${PV} Source/sync.profile
+
        qt5-build_src_prepare
 }

diff --git a/dev-qt/qtwebkit/qtwebkit-5.7.0_alpha.ebuild 
b/dev-qt/qtwebkit/qtwebkit-5.7.0_alpha.ebuild
index 6f84eba..8a1ac2e 100644
--- a/dev-qt/qtwebkit/qtwebkit-5.7.0_alpha.ebuild
+++ b/dev-qt/qtwebkit/qtwebkit-5.7.0_alpha.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1 qt5-build
+inherit python-any-r1 qmake-utils qt5-build
 
 DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
 
@@ -104,5 +104,8 @@ src_prepare() {
        # bug 458222
        sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
 
+       # bug 577574
+       "$(qt5_get_bindir)"/syncqt.pl -version ${PV} Source/sync.profile
+
        qt5-build_src_prepare
 }

Reply via email to