mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
media-plugins/gst-plugins-gtk: GStreamer video sink rendering on a GtkWidget
This was previously part of gst-plugins-bad via USE=gtk, but has been promoted to gst-plugins-good upstream and the new version is packaged properly as a split package, which also nicely keeps away the opengl flags sync mess from gst-plugins-good main package (very few packages use gtksink to date). Due to the code being part of gst-plugins-bad before, its KEYWORDS is copied for faster migration of consumers away from gst-plugins-bad[gtk] to the new package. Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
1
media-plugins/gst-plugins-gtk/Manifest
Normal file
1
media-plugins/gst-plugins-gtk/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST gst-plugins-good-1.14.1.tar.xz 3776168 BLAKE2B 5b17ac49d5bae423ee887f1516ba8bfb542acb17e3f304f489dddbaa728761ee51a08e67bd10a9981f53b5b8424d8013d1723fcbbf6e06d34a39548868d34f85 SHA512 b52d3214f2d32f263637cb9f0838284483e15b8d20bf36d64c349e99b481095734a4dd2c2421176540dfe5129ecc1acc101b89cc898b4773f0f736e8e962b070
|
||||
31
media-plugins/gst-plugins-gtk/gst-plugins-gtk-1.14.1.ebuild
Normal file
31
media-plugins/gst-plugins-gtk/gst-plugins-gtk-1.14.1.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
GST_ORG_MODULE=gst-plugins-good
|
||||
|
||||
inherit gstreamer
|
||||
|
||||
DESCRIPTION="Video sink plugin for GStreamer that renders to a GtkWidget"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="+egl gles2 +opengl wayland +X" # Keep default IUSE mirrored with gst-plugins-base
|
||||
# egl, wayland and X only matters if gst-plugins-bad is build with USE=opengl and/or USE=gles2
|
||||
# We mirror egl/gles2/opengl/wayland/X due to automagic detection from gstreamer-gl.pc variables;
|
||||
# we don't care about matching egl/wayland/X if both opengl and gles2 are disabled here and on
|
||||
# gst-plugins-base, but no way to express that.
|
||||
|
||||
# We only need gtk+ matching backend flags when GL is enabled
|
||||
GL_DEPS="
|
||||
>=x11-libs/gtk+-3.15:3[X?,wayland?,${MULTILIB_USEDEP}]
|
||||
"
|
||||
RDEPEND="
|
||||
>=media-libs/gst-plugins-base-${PV}:${SLOT}[${MULTILIB_USEDEP},egl=,gles2=,opengl=,wayland=,X=]
|
||||
>=x11-libs/gtk+-3.15:3[${MULTILIB_USEDEP}]
|
||||
gles2? ( ${GL_DEPS} )
|
||||
opengl? ( ${GL_DEPS} )
|
||||
|
||||
!<media-libs/gst-plugins-bad-1.13.1:1.0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
GST_PLUGINS_BUILD="gtk3"
|
||||
20
media-plugins/gst-plugins-gtk/metadata.xml
Normal file
20
media-plugins/gst-plugins-gtk/metadata.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gstreamer@gentoo.org</email>
|
||||
<name>GStreamer package maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="egl">Enable EGL platform usage</flag>
|
||||
<flag name="gles2">Enable gtkglsink OpenGL sink based on GLESv2 API</flag>
|
||||
<flag name="opengl">Enable gtkglsink OpenGL sink based on desktop OpenGL API</flag>
|
||||
</use>
|
||||
<longdescription lang="en">
|
||||
GStreamer plugin for rendering video into a GtkWidget.
|
||||
|
||||
Includes the following elements:
|
||||
* gtksink - A video sink that renders to a GtkWidget
|
||||
* gtkglsink - A video sink that renders to a GtkWidget using OpenGL (built only with USE=opengl or USE=gles2)
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user