logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 4d6f0e47f62c4c25ed06ddb5d76df305bc375641
parent be4c9a3aca698bfb90f3f6714ddddce9d10b3e14
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed, 17 Mar 2021 16:33:58 +0100

gstreamer.eclass: Fix GST_PLUGINS_BUILD_DIR

Diffstat:

Meclass/gstreamer-meson.eclass9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass @@ -70,8 +70,9 @@ esac # @ECLASS-VARIABLE: GST_PLUGINS_BUILD_DIR # @DESCRIPTION: -# Actual build directory of the plugin. +# Actual build directories of the plugins. # Most often the same as the configure switch name. +# FIXME: Change into a bash array : ${GST_PLUGINS_BUILD_DIR:=${PN/gst-plugins-/}} # @ECLASS-VARIABLE: GST_TARBALL_SUFFIX @@ -175,10 +176,10 @@ gstreamer_get_plugin_dir() { ewarn "No such plugin directory" die fi - einfo "Building system plugin in ${build_dir}..." >&2 + einfo "Got system plugin in ${build_dir}..." >&2 echo sys/${build_dir} else - einfo "Building external plugin in ${build_dir}..." >&2 + einfo "Got external plugin in ${build_dir}..." >&2 echo ext/${build_dir} fi } @@ -276,7 +277,7 @@ EOF gstreamer_multilib_src_compile() { local plugin_dir plugin - for plugin_dir in "${GST_PLUGINS_BUILD_DIR}" ; do + for plugin_dir in ${GST_PLUGINS_BUILD_DIR} ; do plugin=$(_gstreamer_get_target_filename $(gstreamer_get_plugin_dir ${plugin_dir})) plugin_path="${plugin%%:*}" eninja "${plugin_path/"${BUILD_DIR}/"}"