diff options
author | Sam James <sam@gentoo.org> | 2021-07-10 18:12:11 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-07-10 18:28:39 +0100 |
commit | 6eac7c85a3b1d944726c3858dae8b71751949d61 (patch) | |
tree | d9cf73f146c25d884142012411e22ed89b3e40c6 /eclass | |
parent | sys-apps/gptfdisk: revbump for big-endian patch (diff) | |
download | gentoo-6eac7c85a3b1d944726c3858dae8b71751949d61.tar.gz gentoo-6eac7c85a3b1d944726c3858dae8b71751949d61.tar.bz2 gentoo-6eac7c85a3b1d944726c3858dae8b71751949d61.zip |
gstreamer-meson.eclass: minor style changes
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gstreamer-meson.eclass | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index ee97de9a050c..03ec98c17b95 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -98,7 +98,7 @@ hls" # separated by colon (:). Will replace the path fragment by the output of # pkgconfig. gstreamer_system_package() { - local pdir directory libs pkgconfig pc tuple + local pdir directory libs pkgconfig pc tuple plugin_dir pkgconfig=$(tc-getPKG_CONFIG) for plugin_dir in ${GST_PLUGINS_BUILD_DIR} ; do @@ -107,7 +107,6 @@ gstreamer_system_package() { for tuple in $@ ; do dependency=${tuple%:*} pc=${tuple#*:}-${SLOT} - #libs="$(${pkgconfig} --libs-only-l ${pc} || die)" sed -e "1i${dependency} = dependency('${pc}', required : true)" \ -i "${pdir}"/meson.build || die done @@ -123,7 +122,7 @@ gstreamer_system_package() { # separated by colon (:). Will replace the path fragment by the output of # pkgconfig. gstreamer_system_library() { - local pdir directory libs pkgconfig pc tuple + local pdir directory libs pkgconfig pc tuple plugin_dir pkgconfig=$(tc-getPKG_CONFIG) for plugin_dir in ${GST_PLUGINS_BUILD_DIR} ; do @@ -132,7 +131,6 @@ gstreamer_system_library() { for tuple in $@ ; do dependency=${tuple%:*} pc=${tuple#*:}-${SLOT} - #libs="$(${pkgconfig} --libs-only-l ${pc} || die)" sed -e "1i${dependency} = cc.find_library('${pc}', required : true)" \ -i "${pdir}"/meson.build || die done |