From b641df014db0db4fc799fb65660f322c74f0efc1 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Mon, 23 Sep 2024 17:30:03 +0500 Subject: [PATCH] media-plugins/gst-plugins-qt6: new package, add 1.22.11 Signed-off-by: Anna (cybertailor) Vyalkova --- media-plugins/gst-plugins-qt6/Manifest | 1 + .../gst-plugins-qt6-1.22.11.ebuild | 43 +++++++++++++++++++ media-plugins/gst-plugins-qt6/metadata.xml | 23 ++++++++++ 3 files changed, 67 insertions(+) create mode 100644 media-plugins/gst-plugins-qt6/Manifest create mode 100644 media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11.ebuild create mode 100644 media-plugins/gst-plugins-qt6/metadata.xml diff --git a/media-plugins/gst-plugins-qt6/Manifest b/media-plugins/gst-plugins-qt6/Manifest new file mode 100644 index 0000000000..08d2b2aa79 --- /dev/null +++ b/media-plugins/gst-plugins-qt6/Manifest @@ -0,0 +1 @@ +DIST gst-plugins-good-1.22.11.tar.xz 2847708 BLAKE2B d61f834727719992e207ce3aa2e9b4ca779930f8bc0baf12bef7869f456ac86fad4a3874b50071d28724e414c5b134f7604af4b66c836da3388e584fbbe16dcf SHA512 e6105c90a66bfee8a69f621bf44f53fcbf832ec9290cee984354da91e57b61d2bbd548e3ad0c5d9f859d0c3f5ba3c313539f24b350e0a7acf29cb8983d4f40cb diff --git a/media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11.ebuild b/media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11.ebuild new file mode 100644 index 0000000000..1256a3e857 --- /dev/null +++ b/media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +GST_ORG_MODULE=gst-plugins-good +inherit gstreamer-meson + +DESCRIPTION="Qt6 QML video sink plugin for GStreamer" + +LICENSE="GPL-2+" +KEYWORDS="~amd64" +IUSE="+X eglfs wayland" +REQUIRED_USE=" + || ( X eglfs wayland ) + eglfs? ( kernel_linux ) +" + +RDEPEND=" + dev-qt/qtbase:6[X?,eglfs?,gui,wayland?] + dev-qt/qtdeclarative:6 + >=media-libs/gst-plugins-base-${PV}:${SLOT}[X?,opengl,wayland?] + media-libs/mesa[wayland?,X?] + eglfs? ( media-libs/gst-plugins-base:${SLOT}[egl] ) + wayland? ( + dev-qt/qtwayland:6 + media-libs/gst-plugins-base:${SLOT}[egl] + ) +" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/qtbase:6" + +GST_PLUGINS_BUILD_DIR="qt6" + +multilib_src_configure() { + local emesonargs=( + $(meson_feature X qt-x11) + $(meson_feature eglfs qt-egl) + $(meson_feature wayland qt-wayland) + ) + + gstreamer_multilib_src_configure +} diff --git a/media-plugins/gst-plugins-qt6/metadata.xml b/media-plugins/gst-plugins-qt6/metadata.xml new file mode 100644 index 0000000000..797072b12e --- /dev/null +++ b/media-plugins/gst-plugins-qt6/metadata.xml @@ -0,0 +1,23 @@ + + + + + cyber+gentoo@sysrq.in + Anna + + + GStreamer plugin for the Qt Qml elements + + Includes the following elements: + * qmlgloverlay – A filter that renders a QML scene onto a video stream + * qmlglsink – A video sink that renders to a QQuickItem + * qmlglsrc – A video src that captures a window from a QML view + + + Enable EGL support for embedded devices + + + gstreamer/gstreamer + + +