Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 577574 | Differences between
and this patch

Collapse All | Expand All

(-)/var/lib/layman/qt/dev-qt/qtwebkit/qtwebkit-5.7.0_alpha.ebuild (+15 lines)
Lines 7-12 Link Here
7
inherit python-any-r1 qt5-build
7
inherit python-any-r1 qt5-build
8
8
9
DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
9
DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
10
MY_PV="${PV/_/-}"
11
REL_VER="${PV/_*/}"
12
SRC_URI="https://download.qt.io/development_releases/qt/${PV%.*}/${MY_PV}/submodules/${PN}-opensource-src-${MY_PV}.tar.xz"
10
13
11
if [[ ${QT5_BUILD_TYPE} == release ]]; then
14
if [[ ${QT5_BUILD_TYPE} == release ]]; then
12
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
15
	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
Lines 68-73 Link Here
68
	"${FILESDIR}/${PN}-5.4.2-system-leveldb.patch"
71
	"${FILESDIR}/${PN}-5.4.2-system-leveldb.patch"
69
)
72
)
70
73
74
S="${WORKDIR}/${PN}-opensource-src-${REL_VER}"
75
71
src_prepare() {
76
src_prepare() {
72
	# ensure bundled library cannot be used
77
	# ensure bundled library cannot be used
73
	rm -r Source/ThirdParty/leveldb || die
78
	rm -r Source/ThirdParty/leveldb || die
Lines 104-108 Link Here
104
	# bug 458222
109
	# bug 458222
105
	sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
110
	sed -i -e '/SUBDIRS += examples/d' Source/QtWebKit.pro || die
106
111
112
	echo "INCLUDEPATH += ../../../include/QtWebKit/${REL_VER}/QtWebKit ../../../include/QtWebKit/" >> Source/WebKit/qt/declarative/public.pri
113
	echo "INCLUDEPATH += ../../../../include/QtWebKit/${REL_VER}/QtWebKit ../../../../include/QtWebKit/" >> Source/WebKit/qt/declarative/experimental/experimental.pri
114
115
	/usr/lib/qt5/bin/syncqt.pl -private -version ${REL_VER} Source
107
	qt5-build_src_prepare
116
	qt5-build_src_prepare
108
}
117
}
118
119
src_install(){
120
	qt5_foreach_target_subdir emake INSTALL_ROOT="${D}" install_subtargets
121
	qt5-build_src_install
122
}
123

Return to bug 577574