diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-10-11 01:35:41 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-10-11 01:35:41 +0500 |
commit | 1a97cd3f404f38d0fd39763fe0e1ec763b1b5646 (patch) | |
tree | abb9de9f8331443ebf37434a9f1165b11fbfb2d9 /media-plugins | |
parent | dev-python/textual-dev: add 1.6.1, drop 1.5.1 (diff) | |
download | guru-1a97cd3f404f38d0fd39763fe0e1ec763b1b5646.tar.gz guru-1a97cd3f404f38d0fd39763fe0e1ec763b1b5646.tar.bz2 guru-1a97cd3f404f38d0fd39763fe0e1ec763b1b5646.zip |
media-plugins/gst-plugins-qt6: fix deps
OpenGL support in Qt6 is required to build.
Mesa dep is unnecessary, drop it.
Closes: https://bugs.gentoo.org/940264
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11-r1.ebuild b/media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11-r1.ebuild new file mode 100644 index 000000000..4f15cbd9a --- /dev/null +++ b/media-plugins/gst-plugins-qt6/gst-plugins-qt6-1.22.11-r1.ebuild @@ -0,0 +1,42 @@ +# 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,opengl,wayland?] + dev-qt/qtdeclarative:6[opengl] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[X?,opengl,wayland?] + 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 +} |