logo

overlay

My (experimental) gentoo overlay
commit: 45cef10c4170ca14eb3d771b265e69a3def541f8
parent: cf2ea4639d5bf83df2106a9453aaf260125bc0dd
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Mon, 23 Sep 2019 03:00:53 +0200

net-libs/wpewebkit: Version Bump, 2.26.0

Diffstat:

Mnet-libs/wpewebkit/Manifest1+
Anet-libs/wpewebkit/wpewebkit-2.26.0.ebuild89+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)

diff --git a/net-libs/wpewebkit/Manifest b/net-libs/wpewebkit/Manifest @@ -1 +1,2 @@ DIST wpewebkit-2.24.3.tar.xz 16838036 BLAKE2B 892f06603ea60f4c5f758db0a072f619343543010abf6d4d2c8facf7e6b85687a2f152d0bd6f06ec6485f691223115722e843632d919f2f8fe90eafc5936371a SHA512 4f1cfc33fbb769ead83911b3bd3e2c73168ec0de35d9f9d6b74270b2b4771c7254e54bbcccf95491a39989293aa4e534e805923feaa030897ceed982d20c2800 +DIST wpewebkit-2.26.0.tar.xz 18190588 BLAKE2B cdb45013a42248473f45832304330fe655d6806c4e4d2f443c829ec0849e69876769245762a5ab7bdc69cfeba2b5dac9612da65fdc52588dab62d07b302c695c SHA512 a783fedb878a66251d77c51f6f5c6e55ac8ee285ad395ce1f4935f397ddf776b50359757d2d418ae07f9aa11d2eccdb699920d7cc377dc04df389b18b22985a2 diff --git a/net-libs/wpewebkit/wpewebkit-2.26.0.ebuild b/net-libs/wpewebkit/wpewebkit-2.26.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CMAKE_MAKEFILE_GENERATOR="ninja" +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) +USE_RUBY="ruby24 ruby25 ruby26" + +inherit cmake-utils python-any-r1 ruby-single + +DESCRIPTION="WebKit port optimized for embedded devices" +HOMEPAGE="https://wpewebkit.org/" +LICENSE="LGPL-2+ BSD" +SRC_URI="https://wpewebkit.org/releases/${P}.tar.xz" +SLOT="1.0" # WPE_API_VERSION +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="doc examples experimental jpeg2k qt +gstreamer" + +RDEPEND=" + >=x11-libs/cairo-1.10.2:= + >=media-libs/fontconfig-2.8.0:= + >=media-libs/freetype-2.4.2:= + >=dev-libs/glib-2.40.0:= + >=media-libs/harfbuzz-0.9.18:= + dev-libs/icu + virtual/jpeg:= + >=media-libs/libepoxy-1.4.0:= + >=dev-libs/libgcrypt-1.6.0:= + >=net-libs/libsoup-2.42.0:= + >=dev-libs/libxml2-2.8.0:= + media-libs/libpng:= + dev-db/sqlite:= + media-libs/libwebp:= + net-libs/libwpe:= + sys-libs/zlib:= + + jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= ) + qt? ( + dev-qt/qtcore:5= + dev-qt/qtquickcontrols:5= + dev-qt/qtgui:5= + >=dev-libs/wpebackend-fdo-1.0:= + ) + gstreamer? ( + >=media-libs/gstreamer-1.14:1.0 + >=media-libs/gst-plugins-base-1.14:1.0[egl] + >=media-plugins/gst-plugins-opus-1.14.4-r1:1.0 + >=media-libs/gst-plugins-bad-1.14:1.0 + ) +" +DEPEND=" + ${RDEPEND} + ${PYTHON_DEPS} + ${RUBY_DEPS} + + >=dev-lang/perl-5.10 + virtual/perl-JSON-PP + + doc? ( >=dev-util/gtk-doc-1.10 ) +" + +src_configure() { + # Ruby situation is a bit complicated. See bug 513888 + local rubyimpl + local ruby_interpreter="" + for rubyimpl in ${USE_RUBY}; do + if has_version "virtual/rubygems[ruby_targets_${rubyimpl}]"; then + ruby_interpreter="-DRUBY_EXECUTABLE=$(type -P ${rubyimpl})" + fi + done + # This will rarely occur. Only a couple of corner cases could lead us to + # that failure. See bug 513888 + [[ -z $ruby_interpreter ]] && die "No suitable ruby interpreter found" + + local mycmakeargs=( + "-DPORT=WPE" + -DSHOULD_INSTALL_JS_SHELL=ON + -DENABLE_EXPERIMENTAL_FEATURES=$(usex experimental) + -DENABLE_GTKDOC=$(usex doc) + -DUSE_OPENJPEG=$(usex jpeg2k) + -DENABLE_WPE_QT_API=$(usex qt) + -DENABLE_MINIBROWSER=$(usex examples) + -DENABLE_VIDEO=$(usex gstreamer) + -DENABLE_WEB_AUDIO=$(usex gstreamer) + ${ruby_interpreter} + ) + + cmake-utils_src_configure +}