logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: aeda1094893b05b2edf2af2be05db83fd4196c38
parent a5da7de800d18a5c7e25fb5bc2521558206138c3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  9 Nov 2022 16:51:40 +0100

net-libs/wpewebkit: add 2.38.2, drop 2.32.3

Diffstat:

Mnet-libs/wpewebkit/Manifest2+-
Dnet-libs/wpewebkit/wpewebkit-2.32.3.ebuild111-------------------------------------------------------------------------------
Anet-libs/wpewebkit/wpewebkit-2.38.2.ebuild120+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 121 insertions(+), 112 deletions(-)

diff --git a/net-libs/wpewebkit/Manifest b/net-libs/wpewebkit/Manifest @@ -1 +1 @@ -DIST wpewebkit-2.32.3.tar.xz 21949308 BLAKE2B 72293e4e080f7c903e64172987439fe0c40eab40d9b811f5048ad0a097dbd06810930d7fe8d5ea1fd5951eecdce3681eaf5a044dc29ac4096dc46f46d4ba69d9 SHA512 1100eb0ecb0517b39908d42f624694c652f8100acc4f000f200e106a4c05d1d646f4614d2a38ae8f8b9916940d1cb689d7790383b17716c409ebfdd9affd7248 +DIST wpewebkit-2.38.2.tar.xz 31150916 BLAKE2B 8f83912755710afb5bd818aeec04635790ca0a6c27e87deb14e429c31c944f9df959b94ac039bbde1091a13f12f6e7dad5f6a0ef82eef4e3508623627a669214 SHA512 be86500d7d88df673f0b958aabc0c5270ca256bea8816cdbd2bf6eb3e81dee2754e748ff3c7046112a5c9941bb84a2f87a02636159412a2824c18ff3afd16770 diff --git a/net-libs/wpewebkit/wpewebkit-2.32.3.ebuild b/net-libs/wpewebkit/wpewebkit-2.32.3.ebuild @@ -1,111 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -CMAKE_MAKEFILE_GENERATOR="ninja" -PYTHON_COMPAT=( python3_{7..9} ) -USE_RUBY="ruby24 ruby25 ruby26 ruby27 ruby30" - -inherit cmake 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="~amd64" -IUSE="accessibility doc examples experimental jpeg2k qt +gstreamer sandbox systemd +webdriver +webcrypto X" - -RDEPEND=" - >=x11-libs/cairo-1.16.0:=[X?] - >=media-libs/fontconfig-2.13.0:= - >=media-libs/freetype-2.9.0:= - >=dev-libs/glib-2.44.0:= - >=media-libs/harfbuzz-1.4.2:=[icu(+)] - >=dev-libs/icu-60.2:= - virtual/jpeg:0= - >=media-libs/libepoxy-1.4.0:= - >=dev-libs/libgcrypt-1.7.0:= - >=net-libs/libsoup-2.54.0:= - >=dev-libs/libxml2-2.8.0:= - media-libs/libpng:= - dev-db/sqlite:3= - media-libs/libwebp:= - gui-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= - >=gui-libs/wpebackend-fdo-1.3.0:= - ) - gstreamer? ( - >=media-libs/gstreamer-1.16:1.0 - >=media-libs/gst-plugins-base-1.16:1.0[egl] - >=media-plugins/gst-plugins-opus-1.16:1.0 - >=media-libs/gst-plugins-bad-1.16:1.0 - ) - accessibility? ( - >=dev-libs/atk-2.16.0:= - app-accessibility/at-spi2-atk:= - ) - sandbox? ( sys-apps/bubblewrap ) - systemd? ( sys-apps/systemd:= ) -" -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 -b "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 - -DUSE_SYSTEMD=$(usex systemd) # Whether to enable journald logging - ${ruby_interpreter} - ) - - cmake_src_configure -} diff --git a/net-libs/wpewebkit/wpewebkit-2.38.2.ebuild b/net-libs/wpewebkit/wpewebkit-2.38.2.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CMAKE_MAKEFILE_GENERATOR="ninja" +PYTHON_COMPAT=( python3_{7..9} ) +USE_RUBY="ruby24 ruby25 ruby26 ruby27 ruby30" + +inherit cmake 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.1" # WPE_API_VERSION +KEYWORDS="~amd64" +IUSE="accessibility doc examples experimental gamepad jpeg2k qt +gstreamer sandbox systemd +webdriver +webcrypto webrtc X" + +REQUIRED_USE="webrtc? ( gstreamer )" + +RDEPEND=" + >=x11-libs/cairo-1.16.0:=[X?] + >=media-libs/fontconfig-2.13.0:= + >=media-libs/freetype-2.9.0:= + >=dev-libs/glib-2.44.0:= + >=media-libs/harfbuzz-1.4.2:=[icu(+)] + >=dev-libs/icu-60.2:= + virtual/jpeg:0= + >=media-libs/libepoxy-1.4.0:= + >=dev-libs/libgcrypt-1.7.0:= + net-libs/libsoup:3.0= + >=dev-libs/libxml2-2.8.0:= + media-libs/libpng:= + dev-db/sqlite:3= + media-libs/libwebp:= + gui-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= + >=gui-libs/wpebackend-fdo-1.3.0:= + ) + gstreamer? ( + >=media-libs/gstreamer-1.16:1.0 + >=media-libs/gst-plugins-base-1.16:1.0[egl] + >=media-plugins/gst-plugins-opus-1.16:1.0 + >=media-libs/gst-plugins-bad-1.16:1.0 + ) + webrtc? ( + media-plugins/gst-plugins-webrtc:1.0 + dev-libs/openssl:= + ) + accessibility? ( + >=dev-libs/atk-2.16.0:= + app-accessibility/at-spi2-atk:= + ) + sandbox? ( sys-apps/bubblewrap ) + systemd? ( sys-apps/systemd:= ) + gamepad? ( >=dev-libs/libmanette-0.2.4 ) +" +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 -b "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) + -DENABLE_GAMEPAD=$(usex gamepad) + -DUSE_WOFF2=ON + -DSHOULD_INSTALL_JS_SHELL=ON + -DENABLE_ENCRYPTED_MEDIA=OFF + -DENABLE_EXPERIMENTAL_FEATURES=$(usex experimental) + -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 + -DENABLE_JOURNALD_LOG=$(usex systemd) + -DENABLE_WEB_RTC=$(usex webrtc) + -DENABLE_MEDIA_STREAM=$(usex webrtc) + ${ruby_interpreter} + ) + + cmake_src_configure +}