aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-04-20 22:34:59 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2024-04-20 22:41:25 +0500
commit7439c96e3349411b05d752e9c4cc44a0ec5502bb (patch)
treeaab910035efd455a22def0a05e16f5e7750bb25b /media-plugins
parentgui-libs/webp-pixbuf-loader: treeclean duplicate (diff)
downloadguru-7439c96e3349411b05d752e9c4cc44a0ec5502bb.tar.gz
guru-7439c96e3349411b05d752e9c4cc44a0ec5502bb.tar.bz2
guru-7439c96e3349411b05d752e9c4cc44a0ec5502bb.zip
media-plugins/gst-plugins-qt5: add 1.22.11, drop 1.20.2
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gst-plugins-qt5/Manifest2
-rw-r--r--media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.20.2.ebuild35
-rw-r--r--media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.22.11.ebuild52
-rw-r--r--media-plugins/gst-plugins-qt5/metadata.xml2
4 files changed, 54 insertions, 37 deletions
diff --git a/media-plugins/gst-plugins-qt5/Manifest b/media-plugins/gst-plugins-qt5/Manifest
index 8035d1759..8e4edfc3e 100644
--- a/media-plugins/gst-plugins-qt5/Manifest
+++ b/media-plugins/gst-plugins-qt5/Manifest
@@ -1,2 +1,2 @@
-DIST gst-plugins-good-1.20.2.tar.xz 3411008 BLAKE2B 45eb497d240bf9b05cfbf85babe5ef85fb8a7f25f1b470f131f319064e1dc04f334d4b7dede4f0aedd73dca01605b7e00e2ddc587bcf9ccce6989a9e99776cb1 SHA512 a10ea48fdfbe741e9bc63036b011748558f89968aaa525380ac99884c27463d190c0b49e2d98b4f554eee6ead8a5c5da3ba62e5b0b1fe54877598beccc68a933
DIST gst-plugins-good-1.20.3.tar.xz 3417252 BLAKE2B 5f288541598d2c308fbb1d5e36e54e8dd4c6e9d7dd71f41b778fbdfe883ed48e8d13fa53d05518cc671de029d804f7dc1d93396de9d199d45ec131230926d33c SHA512 98bb2dd428edaa1a5846fb47b1f42a1e99541faf05cdb0fb632d4a1a1e4fb2c1f9d1229bf0aa2ddcbce139533e9fd51f8f9a1175cd8a8729c5179750ca84afa1
+DIST gst-plugins-good-1.22.11.tar.xz 2847708 BLAKE2B d61f834727719992e207ce3aa2e9b4ca779930f8bc0baf12bef7869f456ac86fad4a3874b50071d28724e414c5b134f7604af4b66c836da3388e584fbbe16dcf SHA512 e6105c90a66bfee8a69f621bf44f53fcbf832ec9290cee984354da91e57b61d2bbd548e3ad0c5d9f859d0c3f5ba3c313539f24b350e0a7acf29cb8983d4f40cb
diff --git a/media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.20.2.ebuild b/media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.20.2.ebuild
deleted file mode 100644
index b6c1d6838..000000000
--- a/media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.20.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-GST_ORG_MODULE=gst-plugins-good
-
-inherit gstreamer-meson qmake-utils
-
-DESCRIPTION="Qt5 QML video sink plugin for GStreamer"
-KEYWORDS="~amd64"
-IUSE="+egl wayland +X"
-
-REQUIRED_USE="
- wayland? ( egl )
-"
-
-RDEPEND="
- >=media-libs/gst-plugins-base-${PV}:${SLOT}[egl?,opengl,wayland?,X?]
- media-libs/mesa[egl(+)?,X?]
- dev-qt/qtcore:5
- dev-qt/qtdeclarative:5
- dev-qt/qtgui:5
- egl? ( dev-qt/qtgui:5[eglfs] )
- wayland? ( dev-qt/qtwayland:5 )
- X? ( dev-qt/qtx11extras:5 )
-"
-DEPEND="${RDEPEND}"
-
-GST_PLUGINS_BUILD_DIR="qt"
-
-src_prepare() {
- export PATH="${PATH}:$(qt5_get_bindir)"
- default
-}
diff --git a/media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.22.11.ebuild b/media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.22.11.ebuild
new file mode 100644
index 000000000..ca9db75f2
--- /dev/null
+++ b/media-plugins/gst-plugins-qt5/gst-plugins-qt5-1.22.11.ebuild
@@ -0,0 +1,52 @@
+# 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 qmake-utils
+
+DESCRIPTION="Qt5 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/qtcore:5
+ dev-qt/qtdeclarative:5
+ dev-qt/qtgui:5
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[X?,opengl,wayland?]
+ media-libs/mesa[wayland?,X?]
+ X? ( dev-qt/qtx11extras:5 )
+ eglfs? (
+ dev-qt/qtgui:5[eglfs]
+ media-libs/gst-plugins-base:${SLOT}[egl]
+ )
+ wayland? (
+ dev-qt/qtwayland:5
+ media-libs/gst-plugins-base:${SLOT}[egl]
+ )
+"
+DEPEND="${RDEPEND}"
+
+GST_PLUGINS_BUILD_DIR="qt"
+
+src_prepare() {
+ export PATH="${PATH}:$(qt5_get_bindir)"
+ default
+}
+
+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-qt5/metadata.xml b/media-plugins/gst-plugins-qt5/metadata.xml
index 2cb1dfb15..420e576c9 100644
--- a/media-plugins/gst-plugins-qt5/metadata.xml
+++ b/media-plugins/gst-plugins-qt5/metadata.xml
@@ -14,7 +14,7 @@
* qmlglsrc – A video src that captures a window from a QML view
</longdescription>
<use>
- <flag name="egl">Enable EGL support.</flag>
+ <flag name="eglfs">Enable EGL support for embedded devices</flag>
</use>
<upstream>
<remote-id type="freedesktop-gitlab">gstreamer/gstreamer</remote-id>