Skip to content

Commit

Permalink
gstreamer-meson.eclass: detect qt5/qt6 in split -good plugins
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/907483
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jun 10, 2023
1 parent 6205cf3 commit 7d05c01
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions eclass/gstreamer-meson.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ opencv"
GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS}
hls"
fi

# See bug #907483
if grep -q "option('qt5'" "${EMESON_SOURCE}"/meson_options.txt ; then
GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS}
qt5"
fi
if grep -q "option('qt6'" "${EMESON_SOURCE}"/meson_options.txt ; then
GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS}
qt6"
fi
}

# @FUNCTION: gstreamer_system_package
Expand Down

0 comments on commit 7d05c01

Please sign in to comment.