logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 4c314287c05a763054c2b6c67f6f61d0121350f6
parent 6891c2bb454955d89606c9ceb8e9c97ce35f7df3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 14 Jan 2021 14:52:00 +0100

media-libs/gst-plugins-*: Version bump, 1.18.3

Diffstat:

Mmedia-libs/gst-plugins-bad/Manifest1+
Amedia-libs/gst-plugins-bad/gst-plugins-bad-1.18.3.ebuild78++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mmedia-libs/gst-plugins-base/Manifest1+
Amedia-libs/gst-plugins-base/gst-plugins-base-1.18.3.ebuild143+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Mmedia-libs/gst-plugins-good/Manifest1+
Amedia-libs/gst-plugins-good/gst-plugins-good-1.18.3.ebuild39+++++++++++++++++++++++++++++++++++++++
Mmedia-libs/gst-plugins-ugly/Manifest1+
Amedia-libs/gst-plugins-ugly/gst-plugins-ugly-1.18.3.ebuild29+++++++++++++++++++++++++++++
8 files changed, 293 insertions(+), 0 deletions(-)

diff --git a/media-libs/gst-plugins-bad/Manifest b/media-libs/gst-plugins-bad/Manifest @@ -1,2 +1,3 @@ DIST gst-plugins-bad-1.16.2.tar.xz 4887812 BLAKE2B edf10aeb365d9a7cf4b5172af29b46cff4c7a49a3e4dde881469f5738b5a525eb51a6f70bb1dd6f680e4e48977d65769ac8e8f41d914b7ce7719b9fa260a7bd4 SHA512 aeaf3388156fe7317e193a3f940d391a6d8a1187f93e6925cee4cb02c4e78d9b456c22c27c318f0f9b2212ca68887c5cdcc256adaf068bfab8ec5c091a1e8805 DIST gst-plugins-bad-1.18.1.tar.xz 5630688 BLAKE2B 12d87f9bd2a251dc1027419a4234248640b2378a1570650d8ddf4fc0c5e7e7da8bfacc2a34a4a608ab27c240a671b6ed8cf682440f1289a5a0c97be3fb00eed4 SHA512 54fa5287dd8259661711dee314f0025f0c24d97ea925ab5fa319358b2d6d45f2ef3c2bc9e62cd922a378501e85be1b64aa5915209c01bb8b91851aabb20eddd9 +DIST gst-plugins-bad-1.18.3.tar.xz 5637764 BLAKE2B 637a5e8da9b832495574c26c55dc6c4977a796e9046f042d9579e7d45d16ccabb364a5c766d2678d19da1771fde089d1fab63ac6b9389d237d58a2f903a96bd1 SHA512 ce720fca0a8131a278c7bd1d2dfd85eb1020fba3b96229693f35e18aef95a3c01a2cc72eec44db4c8df01d379b548485604889aec1c377b8cce2d0159d9c6af4 diff --git a/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.3.ebuild b/media-libs/gst-plugins-bad/gst-plugins-bad-1.18.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-bad" + +GST_PLUGINS_ENABLED="accurip adpcmdec adpcmenc aiff asfmux audiobuffersplit audiofxbad audiolatency audiomixmatrix audiovisualizers autoconvert bayer camerabin2 coloreffects deb ugutils dvbsubenc dvbsuboverlay dvdspu faceoverlay festival fieldanalysis freeverb frei0r gaudieffects gdp geometrictransform id3tag inter interlace ivfpars e ivtc jp2kdecimator jpegformat librfb midi mpegdemux mpegpsmux mpegtsdemux mpegtsmux mxf netsim onvif pcapparse pnm proxy rawparse removesilence rist rtmp2 rtp sdp segmentclip siren smooth speed subenc switchbin timecode videofilters videoframe_audiolevel videoparsers videosignal vmnc y4m" + +inherit flag-o-matic gstreamer-meson virtualx + +DESCRIPTION="Less plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2" + +# TODO: egl and gtk IUSE only for transition +IUSE="X bzip2 +egl gles2 gtk +introspection +opengl +orc vnc wayland" # Keep default IUSE mirrored with gst-plugins-base where relevant + +# X11 is automagic for now, upstream #709530 - only used by librfb USE=vnc plugin +# We mirror opengl/gles2 from -base to ensure no automagic openglmixers plugin (with "opengl?" it'd still get built with USE=-opengl here) +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP},introspection?] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl?,introspection?,gles2=,opengl=] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + + bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] ) + vnc? ( X? ( x11-libs/libX11[${MULTILIB_USEDEP}] ) ) + wayland? ( + >=dev-libs/wayland-1.4.0[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + >=dev-libs/wayland-protocols-1.4 + ) + + gtk? ( >=media-plugins/gst-plugins-gtk-${PV}:${SLOT}[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" + +DEPEND="${RDEPEND} + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.12 +" + +RESTRICT="test" + +src_prepare() { + default + addpredict /dev # Prevent sandbox violations bug #570624 +} + +multilib_src_configure() { + local emesonargs=( + -Dshm=enabled + -Dipcpipeline=enabled + $(meson_feature vnc librfb) + $(meson_feature wayland) + ) + + if use opengl || use gles2; then + myconf+=( -Dgl=enabled ) + else + myconf+=( -Dgl=disabled ) + fi + + gstreamer_multilib_src_configure +} + +multilib_src_test() { + unset DISPLAY + # Tests are slower than upstream expects + CK_DEFAULT_TIMEOUT=300 virtx eninja check +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-base/Manifest b/media-libs/gst-plugins-base/Manifest @@ -1,2 +1,3 @@ DIST gst-plugins-base-1.16.2.tar.xz 3939868 BLAKE2B 7313e50dc0842f02cde0113462c8d4b393dafe271da6e2a1af89dc997f2ec77a9f06bc467516c607c8b7b822e49efd1af829440a28a9af8356ef07e7fa899968 SHA512 f28e71bba8ba25d4f18ba3a196f057721151f1ebf1309d808bd6771a3f9a68facfa1970dc4353b6f2fd1e8945edf5272854d328ea11ef399544f8b330f754a42 DIST gst-plugins-base-1.18.1.tar.xz 3157952 BLAKE2B 38c2f25e63e8ff47f7c07ef4ec463397e82a0bbfcd371c2ccaadd8b297cdc6911c98469f455f370ab52b0951ed50d6724347c7c75544913732e1cff9f0f2e622 SHA512 2043e78bb5fc564eb69853155a1eb73647bcd2f1867edb486043e3f999c4ff98544c7712759e56443388a2992320a10025270bea733bd8ca84990142af5488b3 +DIST gst-plugins-base-1.18.3.tar.xz 3166548 BLAKE2B 207d0036cb48291bf1eb70bef5b84fbd1e529432e14e09dc088296c56bcfdc686edd34081d4695fb4027d9b8e1eb323b09fb4702fc4e318b81e8bcadbecaff6e SHA512 5b1850c82d6c29e260cadcde6a412a75eac47b14a1778aa969b0a33540eb843f6cef2209c91a1d7230468ec9fbf00b53ca890b8c336378d39ea3cec0512f8e7f diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.18.3.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.18.3.ebuild @@ -0,0 +1,143 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-base" +GST_PLUGINS_ENABLED="adder app audioconvert audiomixer audiorate audioresample audiotestsrc compositor encoding gio gio-typefinder overlaycomposition pbtypes playback rawparse subparse tcp typefind videoconvert videorate videoscale videotestsrc volume" + +inherit flag-o-matic gstreamer-meson + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="GPL-2+ LGPL-2+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +# For OpenGL we have three separate concepts, with a list of possibilities in each: +# * opengl APIs - opengl and/or gles2; USE=opengl and USE=gles2 enable these accordingly; if neither is enabled, OpenGL helper library and elements are not built at all and all the other options aren't relevant +# * opengl platforms - glx and/or egl; also cgl, wgl, eagl for non-linux; USE="X opengl" enables glx platform; USE="egl" enables egl platform. Rest is up for relevant prefix teams. +# * opengl windowing system - x11, wayland, win32, cocoa, android, viv_fb, gbm and/or dispmanx; USE=X enables x11 (but for WSI it's automagic - FIXME), USE=wayland enables wayland, USE=gbm enables gbm (automagic upstream - FIXME); rest is up for relevant prefix/arch teams/contributors to test and provide patches +# With the following limitations: +# * If opengl and/or gles2 is enabled, a platform has to be enabled - x11 or egl in our case, but x11 (glx) is acceptable only with opengl +# * If opengl and/or gles2 is enabled, a windowing system has to be enabled - x11, wayland or gbm in our case +# * glx platform requires opengl API +# * wayland, gbm and most other non-glx WSIs require egl platform +# Additionally there is optional dmabuf support with egl for additional dmabuf based upload/download/eglimage options; +# and optional graphene usage for gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; +# and libpng/jpeg are required for gloverlay element; + +# Keep default IUSE options for relevant ones mirrored with gst-plugins-gtk and gst-plugins-bad +IUSE="alsa +egl gbm gles2 +introspection ivorbis +ogg +opengl +orc +pango theora +vorbis wayland +X" +GL_REQUIRED_USE=" + || ( gbm wayland X ) + wayland? ( egl ) + gbm? ( egl ) +" +REQUIRED_USE=" + ivorbis? ( ogg ) + theora? ( ogg ) + vorbis? ( ogg ) + opengl? ( || ( egl X ) ${GL_REQUIRED_USE} ) + gles2? ( egl ${GL_REQUIRED_USE} ) +" + +# Dependencies needed by opengl library and plugin (enabled via USE gles2 and/or opengl) +# dmabuf automagic from libdrm headers (drm_fourcc.h) and EGL, so ensure it with USE=egl (platform independent header used only, thus no MULTILIB_USEDEP); provides dmabuf based upload/download/eglimage options +GL_DEPS=" + >=media-libs/mesa-9.0[egl?,gbm?,gles2?,wayland?,${MULTILIB_USEDEP}] + egl? ( + x11-libs/libdrm + ) + gbm? ( + >=dev-libs/libgudev-147[${MULTILIB_USEDEP}] + >=x11-libs/libdrm-2.4.55[${MULTILIB_USEDEP}] + ) + wayland? ( + dev-libs/wayland[${MULTILIB_USEDEP}] + ) + + media-libs/libpng:0[${MULTILIB_USEDEP}] + virtual/jpeg:0[${MULTILIB_USEDEP}] +" # graphene for optional gltransformation and glvideoflip elements and more GLSL Uniforms support in glshader; libpng/jpeg for gloverlay element +# >=media-libs/graphene-1.4.0[${MULTILIB_USEDEP}] + +RDEPEND=" + app-text/iso-codes + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) + ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) + ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) + orc? ( >=dev-lang/orc-0.4.24[${MULTILIB_USEDEP}] ) + pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) + theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) + vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) + X? ( + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] + >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] + ) + + gles2? ( ${GL_DEPS} ) + opengl? ( ${GL_DEPS} ) + + !<media-libs/gst-plugins-bad-1.15.0:1.0 +" +DEPEND="${RDEPEND} + dev-util/glib-utils + >=dev-util/gtk-doc-am-1.12 + X? ( x11-base/xorg-proto ) +" + +DOCS="AUTHORS NEWS README RELEASE" + +multilib_src_configure() { + filter-flags -mno-sse -mno-sse2 -mno-sse4.1 #610340 + + # opus: split to media-plugins/gst-plugins-opus + local emesonargs=( + -Dtools=enabled + + $(meson_feature alsa) + $(meson_feature ogg) + $(meson_feature orc) + $(meson_feature pango) + $(meson_feature theora) + $(meson_feature vorbis) + $(meson_feature X x11) + $(meson_feature X xshm) + $(meson_feature X xvideo) + ) + + if use opengl || use gles2; then + # because meson doesn't likes extraneous commas + local gl_platform=( $(use X && echo glx) $(use egl && echo egl) ) + local gl_winsys=( + $(use X && echo x11) + $(use wayland && echo wayland) + $(use egl && echo egl) + $(use gbm && echo gbm) + ) + + emesonargs+=( + -Dgl=enabled + -Dgl_api=opengl$(use gles2 && echo ,gles2) + -Dgl_platform=$(IFS=, ; echo "${gl_platform[*]}") + -Dgl_winsys=$(IFS=, ; echo "${gl_winsys[*]}") + ) + else + emesonargs+=( + -Dgl=disabled + -Dgl_api= + -Dgl_platform= + -Dgl_winsys= + ) + fi + + # Workaround EGL/eglplatform.h being built with X11 present + use X || export CFLAGS="${CFLAGS} -DEGL_NO_X11" + + gstreamer_multilib_src_configure +} diff --git a/media-libs/gst-plugins-good/Manifest b/media-libs/gst-plugins-good/Manifest @@ -1,2 +1,3 @@ DIST gst-plugins-good-1.16.2.tar.xz 3897172 BLAKE2B b6341bb2f2456e2c558f71e9f18726eced88cbc703fa017067415297cc7ccdf70b4ceb18e9e3c7c64fc7c55806c7373d9a05eac582067ab764a02c1bafef4b33 SHA512 ab0dfd51af3ea345db466618547c35c78b5f08e725096b66074a5a7e0a83ca25ac51d2d915b7a8c07b70f8e4c9fc65d51c1851f147a5a5a71fbca58e1eb5ffd4 DIST gst-plugins-good-1.18.1.tar.xz 3275700 BLAKE2B 7307f8abf4f7b595671d9eb21f375631b8867f0787aaa11efbbb619b3cd54e2b36d0c22754dda6da72ea735248c863cbda6ab4ac3fa5340ca8e2fe8df039fbc3 SHA512 aac93eec19ee6f167786cb0ede07b6e382b7bbbaae9c613f65bf576a475ce1bc65cdfd706c7f58a8f97000967722112998e215ebcbb89951737d16d83d6f3d3e +DIST gst-plugins-good-1.18.3.tar.xz 3274940 BLAKE2B 4f28cbc1dbb00853a6cdb59e3ad2dba9e7e779e63839e6ec9770e8651b970dfda8e6055744cfe7611726caa2b555a6d9e7f57307320636ce5053cd12c267f0d4 SHA512 33d8b07bd98e9a04ee9f4dccaf4ff9c0a967336f3f368c7c5c63387fdaad829f445cc4d4abd617c3c1d530df9c04a2c7c12cc348afd98793aa7bea1d0ac710f8 diff --git a/media-libs/gst-plugins-good/gst-plugins-good-1.18.3.ebuild b/media-libs/gst-plugins-good/gst-plugins-good-1.18.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-good" +GST_PLUGINS_ENABLED="alpha apetag audiofx audioparsers auparse autodetect avi cutter debugutils deinterlace dtmf effectv equalizer flv flx goom goom2k1 icydemux id3demux imagefreeze interleave isomp4 law level matroska monoscope multifile multipart replaygain rtp rtpmanager rtsp shapewipe smpte spectrum udp videobox videocrop videofilter videomixer wavenc wavparse y4m" + +inherit flag-o-matic gstreamer-meson + +DESCRIPTION="Basepack of plugins for GStreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2.1+" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="+orc" + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +multilib_src_configure() { + local emesonargs=( -Dbz2=enabled ) + + gstreamer_multilib_src_configure +} + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +} diff --git a/media-libs/gst-plugins-ugly/Manifest b/media-libs/gst-plugins-ugly/Manifest @@ -1,2 +1,3 @@ DIST gst-plugins-ugly-1.16.2.tar.xz 893964 BLAKE2B c607a7aa3459625a930021d247705f00e418e57557c57b8f9793bce74cb5c4d708b253250f0bbebd9698e9ff80d5636d578dded8c360ca2d34e3d43c9a722416 SHA512 9f393043f51b12b376607e68b3b86437af86e321e3a3566e59c7f3507ed26622211df87e30a23bcc927f37bc11f53ca3b29f1b12bf58e623ce18edc88a9cdee3 DIST gst-plugins-ugly-1.18.1.tar.xz 505504 BLAKE2B 962480b844dbf235cf11e442034a9ed852e6ad56f23a2eed07f40a241ade695da962ec5697d107dbe9cb0ea17b3c1884d155c44f1e1b03de61d6c8da3a570701 SHA512 d7cc705d0703c9f7739d9e227bf2bb6968b4833fd628c5bef45af009d31323b4e3ca0657d7ed6ca1cca701af13b01b7c739a323cfc91c152c5808ba88fa4d666 +DIST gst-plugins-ugly-1.18.3.tar.xz 508500 BLAKE2B d7aa8e1fb4719fca80a7b02e835295befd30c697bd0a99947919acc866cb1e7f17b000c595f7649f0db00bf0391618550cc2f65895d2c16c40297813ded571b0 SHA512 f3af4637911329a910276c01e688b4ac06f658194ba8e2a809e8b058fca49508d940f6396a54944d993d307d2843ef45aadf05e84c9d733f288b1f7a9d0787be diff --git a/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.18.3.ebuild b/media-libs/gst-plugins-ugly/gst-plugins-ugly-1.18.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +GST_ORG_MODULE="gst-plugins-ugly" + +GST_PLUGINS_ENABLED="asfdemux dvdlpcmdec dvdsub realmedia xingmux" + +inherit gstreamer-meson + +DESCRIPTION="Basepack of plugins for gstreamer" +HOMEPAGE="https://gstreamer.freedesktop.org/" + +LICENSE="LGPL-2+" # some split plugins are LGPL but combining with a GPL library + +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.12 +" + +multilib_src_install_all() { + DOCS="AUTHORS ChangeLog NEWS README RELEASE" + einstalldocs + find "${ED}" -name '*.la' -delete || die +}