logo

overlay

My own overlay for experimentations, use with caution, no support is provided
commit: 53781e5d2dff446057ae1f97ab4314d6168550e7
parent: 1c233e3176349f3ecfe1e6bfca1e442325cab6f3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 15 Feb 2020 19:39:22 +0100

net-libs/webkit-gtk: Add IUSE=debug

Diffstat:

Mnet-libs/webkit-gtk/webkit-gtk-2.26.4.ebuild9+++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.26.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.26.4.ebuild @@ -3,7 +3,6 @@ EAPI=6 CMAKE_MAKEFILE_GENERATOR="ninja" -CMAKE_BUILD_TYPE="Release" PYTHON_COMPAT=( python{2_7,3_6,3_7} ) USE_RUBY="ruby24 ruby25 ruby26 ruby27" CMAKE_MIN_VERSION=3.10 @@ -19,7 +18,7 @@ LICENSE="LGPL-2+ BSD" SLOT="4/37" # soname version of libwebkit2gtk-4.0 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos" -IUSE="aqua coverage doc +egl examples +geolocation gles2-only gnome-keyring +gstreamer +introspection jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell wayland +wpe +X" +IUSE="aqua coverage debug doc +egl examples +geolocation gles2-only gnome-keyring +gstreamer +introspection jpeg2k +jumbo-build libnotify media-source +opengl seccomp spell wayland +wpe +X" # gstreamer with opengl/gles2-only needs egl REQUIRED_USE=" @@ -127,6 +126,12 @@ S="${WORKDIR}/${MY_P}" CHECKREQS_DISK_BUILD="18G" # and even this might not be enough, bug #417307 +if use debug; then + CMAKE_BUILD_TYPE="Debug" +else + CMAKE_BUILD_TYPE="Release" +end + pkg_pretend() { if [[ ${MERGE_TYPE} != "binary" ]] ; then if is-flagq "-g*" && ! is-flagq "-g*0" ; then