Lines 6-12
PYTHON_REQ_USE="xml(+)"
Link Here
|
6 |
PYTHON_COMPAT=( python3_{8..11} ) |
6 |
PYTHON_COMPAT=( python3_{8..11} ) |
7 |
USE_RUBY="ruby27 ruby30 ruby31" |
7 |
USE_RUBY="ruby27 ruby30 ruby31" |
8 |
|
8 |
|
9 |
inherit check-reqs flag-o-matic gnome2 python-any-r1 ruby-single toolchain-funcs cmake |
9 |
inherit check-reqs flag-o-matic gnome2 optfeature python-any-r1 ruby-single toolchain-funcs cmake |
10 |
|
10 |
|
11 |
MY_P="webkitgtk-${PV}" |
11 |
MY_P="webkitgtk-${PV}" |
12 |
DESCRIPTION="Open source web browser engine" |
12 |
DESCRIPTION="Open source web browser engine" |
Lines 17-23
LICENSE="LGPL-2+ BSD"
Link Here
|
17 |
SLOT="4/37" # soname version of libwebkit2gtk-4.0 |
17 |
SLOT="4/37" # soname version of libwebkit2gtk-4.0 |
18 |
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" |
18 |
KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 ~riscv ~sparc x86" |
19 |
|
19 |
|
20 |
IUSE="aqua avif +egl examples gamepad +geolocation gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify seccomp spell systemd test wayland X" |
20 |
IUSE="aqua avif +egl examples gamepad gles2-only gnome-keyring +gstreamer gtk-doc +introspection +jpeg2k +jumbo-build lcms libnotify seccomp spell systemd test wayland X" |
21 |
|
21 |
|
22 |
# gstreamer with opengl/gles2 needs egl |
22 |
# gstreamer with opengl/gles2 needs egl |
23 |
REQUIRED_USE=" |
23 |
REQUIRED_USE=" |
Lines 126-134
BDEPEND="
Link Here
|
126 |
# dev-python/pygobject:3[python_targets_python2_7] |
126 |
# dev-python/pygobject:3[python_targets_python2_7] |
127 |
# x11-themes/hicolor-icon-theme |
127 |
# x11-themes/hicolor-icon-theme |
128 |
# ) |
128 |
# ) |
129 |
RDEPEND="${RDEPEND} |
|
|
130 |
geolocation? ( >=app-misc/geoclue-2.1.5:2.0 ) |
131 |
" |
132 |
|
129 |
|
133 |
S="${WORKDIR}/${MY_P}" |
130 |
S="${WORKDIR}/${MY_P}" |
134 |
|
131 |
|
Lines 210-216
src_configure() {
Link Here
|
210 |
-DENABLE_API_TESTS=$(usex test) |
207 |
-DENABLE_API_TESTS=$(usex test) |
211 |
-DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) |
208 |
-DENABLE_BUBBLEWRAP_SANDBOX=$(usex seccomp) |
212 |
-DENABLE_GAMEPAD=$(usex gamepad) |
209 |
-DENABLE_GAMEPAD=$(usex gamepad) |
213 |
-DENABLE_GEOLOCATION=$(usex geolocation) # Runtime optional (talks over dbus service) |
210 |
-DENABLE_GEOLOCATION=ON # Runtime optional (talks over dbus service) |
214 |
-DENABLE_MINIBROWSER=$(usex examples) |
211 |
-DENABLE_MINIBROWSER=$(usex examples) |
215 |
-DENABLE_SPELLCHECK=$(usex spell) |
212 |
-DENABLE_SPELLCHECK=$(usex spell) |
216 |
-DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) |
213 |
-DENABLE_UNIFIED_BUILDS=$(usex jumbo-build) |
Lines 247-249
src_configure() {
Link Here
|
247 |
|
244 |
|
248 |
WK_USE_CCACHE=NO cmake_src_configure |
245 |
WK_USE_CCACHE=NO cmake_src_configure |
249 |
} |
246 |
} |
250 |
- |
247 |
|
|
|
248 |
pkg_postinst() { |
249 |
optfeature "geolocation service (used at runtime if available)" ">=app-misc/geoclue-2.1.5:2.0" |
250 |
} |