summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebkit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-19 16:48:16 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-19 16:48:16 +0000
commit1e149f98af7b59918430e8f68bdfa8963d41a84e (patch)
tree1bad82e78913233242913ab32a870a7e55d840a6 /dev-qt/qtwebkit
parenta8c62edcbf365935a4882c82373da890c501c9ef (diff)
dev-qt/qtwebkit : adjust to gentoo's changes
Diffstat (limited to 'dev-qt/qtwebkit')
-rw-r--r--dev-qt/qtwebkit/qtwebkit-5.212.0_pre20190629-r10.ebuild (renamed from dev-qt/qtwebkit/qtwebkit-5.212.0_pre20190629-r314.ebuild)22
1 files changed, 12 insertions, 10 deletions
diff --git a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20190629-r314.ebuild b/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20190629-r10.ebuild
index e48aa1b3..25f37123 100644
--- a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20190629-r314.ebuild
+++ b/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20190629-r10.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 )
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
MY_P="${PN}-${PV/_pre20190629/-alpha3}" # present as upgrade over previous snapshot
-inherit check-reqs cmake-utils flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs
+inherit check-reqs cmake flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs
DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)"
HOMEPAGE="https://www.qt.io/"
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/annulen/webkit/releases/download/${MY_P}/${MY_P}.tar
LICENSE="BSD LGPL-2+"
SLOT="5/5.212"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86"
IUSE="geolocation gles2 +gstreamer +hyphen +jit multimedia nsplugin opengl orientation +printsupport qml webp X"
REQUIRED_USE="
@@ -76,10 +76,10 @@ RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
-PATCHES=( "${FILESDIR}/${P}-icu-65.patch" )
-
CHECKREQS_DISK_BUILD="16G" # bug 417307
+PATCHES=( "${FILESDIR}/${P}-icu-65.patch" )
+
_check_reqs() {
if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0"; then
einfo "Checking for sufficient disk space to build ${PN} with debugging flags"
@@ -117,11 +117,13 @@ src_configure() {
-DENABLE_PRINT_SUPPORT=$(usex printsupport)
-DENABLE_DEVICE_ORIENTATION=$(usex orientation)
-DENABLE_WEBKIT2=$(usex qml)
- $(cmake-utils_use_find_package webp WebP)
+ $(cmake_use_find_package webp WebP)
-DENABLE_X11_TARGET=$(usex X)
)
- if has_version "virtual/rubygems[ruby_targets_ruby26]"; then
+ if has_version "virtual/rubygems[ruby_targets_ruby27]"; then
+ mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby27) )
+ elif has_version "virtual/rubygems[ruby_targets_ruby26]"; then
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby26) )
elif has_version "virtual/rubygems[ruby_targets_ruby25]"; then
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby25) )
@@ -129,11 +131,11 @@ src_configure() {
mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby24) )
fi
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# bug 572056
if [[ ! -f ${ED}$(qt5_get_libdir)/libQt5WebKit.so ]]; then