commit: 5a186119f8fde6b9c3b027fa6a835a4680fb329c
parent: fd4ba19548a69554326ef20ba0a403aa09643971
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 8 Nov 2019 04:19:52 +0100
net-libs/wpewebkit: Version bump, 2.26.2
Diffstat:
2 files changed, 110 insertions(+), 0 deletions(-)
diff --git a/net-libs/wpewebkit/Manifest b/net-libs/wpewebkit/Manifest
@@ -1,2 +1,3 @@
DIST wpewebkit-2.26.1.tar.xz 18199112 BLAKE2B c2db37e512f0e03d344670d23baf3b3977a7e6f99645b4374ff06b5501ef8fd806dc95cd873a07967eb5f637fd74ec2c2d84e1f585ab9b7331a062d0a2231cfb SHA512 eabfa1ba4b98c7a37db51b94559c1251164988fba42a1df7872912e8a174d3ca0d04dad5e0191e16c417957c563eb18b1bd2a6722cb19a273e4e4b06bf906636
+DIST wpewebkit-2.26.2.tar.xz 18134812 BLAKE2B 8b8ee64592a1336284341ff8f1714d9c8f0a3ce052b4557d0d53b8e6e037a09645728c542a4edd7e78b41688e7c97e7217a2b6f323a0b1cebe22ac2e55e16fcc SHA512 aac7aa510b1bc8a2aeb6153df474f2466ab63646d55db2a77e8a4efc9e059716237ead398c24ed244764a691a423abad8bb1afaf4f0492d7777796a05e975513
DIST wpewebkit-2.27.2.tar.xz 19627324 BLAKE2B f3246f268ae5ae763695b6ed57b24ba7c6dc1ff3267fd528640acb39a846b384d3887e7269891ee28d9173d1c419996723b748ab84d9c580cd63003d9149d606 SHA512 8ad50f9a498423459cbd0bd8366ba1ab0b9c7a08e15eae16f401bafb1339ad1465f58ccd98bc3875bc8868c2394e660375ffb42321ad2050300097e1c4c060fd
diff --git a/net-libs/wpewebkit/wpewebkit-2.26.2.ebuild b/net-libs/wpewebkit/wpewebkit-2.26.2.ebuild
@@ -0,0 +1,109 @@
+# 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="accessibility doc examples experimental jpeg2k qt +gstreamer sandbox +webdriver +webcrypto"
+
+RDEPEND="
+ >=x11-libs/cairo-1.14.0:=
+ >=media-libs/fontconfig-2.8.0:=
+ >=media-libs/freetype-2.4.2:=
+ >=dev-libs/glib-2.44.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.54.0:=
+ >=dev-libs/libxml2-2.8.0:=
+ media-libs/libpng:=
+ dev-db/sqlite:=
+ media-libs/libwebp:=
+ net-libs/libwpe:=
+ sys-libs/zlib:=
+
+ >=dev-libs/libxslt-1.1.7
+ >=media-libs/woff2-1.0.2
+
+ jpeg2k? ( >=media-libs/openjpeg-2.2.0:2= )
+ webcrypto? (
+ dev-libs/libtasn1:=
+ >=dev-libs/libgcrypt-1.7.0:=
+ )
+ qt? (
+ dev-qt/qtcore:5=
+ dev-qt/qtquickcontrols:5=
+ dev-qt/qtgui:5=
+ dev-qt/qttest:5=
+ >=dev-libs/wpebackend-fdo-1.3.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
+ )
+ accessibility? (
+ >=dev-libs/atk-2.16.0:=
+ app-accessibility/at-spi2-atk:=
+ )
+ sandbox? ( sys-apps/bubblewrap )
+"
+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"
+ -DENABLE_ACCESSIBILITY=$(usex accessibility)
+ -DENABLE_BUBBLEWRAP_SANDBOX=$(usex sandbox)
+ -DUSE_WOFF2=ON
+ -DSHOULD_INSTALL_JS_SHELL=ON
+ -DENABLE_ENCRYPTED_MEDIA=OFF
+ -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)
+ -DENABLE_WEBDRIVER=$(usex webdriver)
+ -DENABLE_WEB_CRYPTO=$(usex webcrypto)
+ -DENABLE_XSLT=ON
+ ${ruby_interpreter}
+ )
+
+ cmake-utils_src_configure
+}