diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-04 15:24:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-05 11:52:50 +0000 |
commit | d32dc08a77123517877f355b174606a357f746d5 (patch) | |
tree | f412037ed77b3f2828dfd8a186f9b39d66b4c104 /meta/recipes-multimedia/gstreamer | |
parent | 47ddb0f26db774495624c9687e11a88d25259cf9 (diff) | |
download | poky-d32dc08a77123517877f355b174606a357f746d5.tar.gz |
recipes/classes: Drop prepend/append usage with PACKAGESPLITFUNCS
As far as I can tell, none of these uses of PACKAGESPLITFUNCS need append/prepend
operators, the standard += and =+ can work just fine. Since OE-Core is copied a lot,
use the preferred syntax which is also simpler to parse and change.
(From OE-Core rev: 846ff49465337dddd75a83161f41f48117f6571c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc | 2 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc index 6638f13540..03595e7d32 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-license.inc | |||
@@ -1,7 +1,7 @@ | |||
1 | # This .inc file contains functionality for automatically setting | 1 | # This .inc file contains functionality for automatically setting |
2 | # the the license of all plugins according to the GSTREAMER_GPL. | 2 | # the the license of all plugins according to the GSTREAMER_GPL. |
3 | 3 | ||
4 | PACKAGESPLITFUNCS:append = " set_gstreamer_license " | 4 | PACKAGESPLITFUNCS += " set_gstreamer_license " |
5 | 5 | ||
6 | python set_gstreamer_license () { | 6 | python set_gstreamer_license () { |
7 | import oe.utils | 7 | import oe.utils |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc index afc7be40c8..837d5a1a62 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc | |||
@@ -9,8 +9,8 @@ | |||
9 | # Dynamically generate packages for all enabled plugins | 9 | # Dynamically generate packages for all enabled plugins |
10 | PACKAGES_DYNAMIC = "^${PN}-.* ^libgst.*" | 10 | PACKAGES_DYNAMIC = "^${PN}-.* ^libgst.*" |
11 | 11 | ||
12 | PACKAGESPLITFUNCS:prepend = " split_gstreamer10_packages " | 12 | PACKAGESPLITFUNCS =+ " split_gstreamer10_packages " |
13 | PACKAGESPLITFUNCS:append = " set_gstreamer10_metapkg_rdepends " | 13 | PACKAGESPLITFUNCS += " set_gstreamer10_metapkg_rdepends " |
14 | 14 | ||
15 | python split_gstreamer10_packages () { | 15 | python split_gstreamer10_packages () { |
16 | gst_libdir = d.expand('${libdir}/gstreamer-1.0') | 16 | gst_libdir = d.expand('${libdir}/gstreamer-1.0') |