Skip to content

Commit

Permalink
media-plugins/gst-plugins-qt6: new package, add 1.22.11
Browse files Browse the repository at this point in the history
Signed-off-by: Anna (cybertailor) Vyalkova <[email protected]>
  • Loading branch information
CyberTailor committed Sep 23, 2024
1 parent 7d7abbb commit b641df0
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions media-plugins/gst-plugins-qt6/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST gst-plugins-good-1.22.11.tar.xz 2847708 BLAKE2B d61f834727719992e207ce3aa2e9b4ca779930f8bc0baf12bef7869f456ac86fad4a3874b50071d28724e414c5b134f7604af4b66c836da3388e584fbbe16dcf SHA512 e6105c90a66bfee8a69f621bf44f53fcbf832ec9290cee984354da91e57b61d2bbd548e3ad0c5d9f859d0c3f5ba3c313539f24b350e0a7acf29cb8983d4f40cb
43 changes: 43 additions & 0 deletions media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
23 changes: 23 additions & 0 deletions media-plugins/gst-plugins-qt6/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Anna</name>
</maintainer>
<longdescription lang="en">
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
</longdescription>
<use>
<flag name="eglfs">Enable EGL support for embedded devices</flag>
</use>
<upstream>
<remote-id type="freedesktop-gitlab">gstreamer/gstreamer</remote-id>
<!-- plugin is in subprojects/gst-plugins-good/ext/qt6 -->
</upstream>
</pkgmetadata>

0 comments on commit b641df0

Please sign in to comment.