Re: [OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Em qui., 15 de abr. de 2021 às 19:28, Tom Hochstein escreveu: > > > > > -Original Message- > > From: openembedded-core@lists.openembedded.org > > On Behalf Of Otavio Salvador via > > lists.openembedded.org > > Sent: Thursday, April 15, 2021 9:59 AM > > > > +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm > > wayland dispmanx egl viv-fb', d)}" > > Needs a leading space? Good catch, will fix it and resend. -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150589): https://lists.openembedded.org/g/openembedded-core/message/150589 Mute This Topic: https://lists.openembedded.org/mt/82118763/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Otavio Salvador via > lists.openembedded.org > Sent: Thursday, April 15, 2021 9:59 AM > +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland > dispmanx egl viv-fb', d)}" Needs a leading space? -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150588): https://lists.openembedded.org/g/openembedded-core/message/150588 Mute This Topic: https://lists.openembedded.org/mt/82118763/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Signed-off-by: Otavio Salvador --- .../gstreamer/gstreamer1.0-plugins-base_1.18.4.bb | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb index 4621d9f198..13944a6cc3 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.4.bb @@ -67,12 +67,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}" +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" EXTRA_OEMESON += " \ -Ddoc=disabled \ -- 2.31.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#150478): https://lists.openembedded.org/g/openembedded-core/message/150478 Mute This Topic: https://lists.openembedded.org/mt/82118763/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Good point. Please ignore this commit. My fault :-( Em sex., 20 de nov. de 2020 às 18:21, Andre McCurdy escreveu: > > On Fri, Nov 20, 2020 at 9:36 AM Otavio Salvador > wrote: > > > > Signed-off-by: Otavio Salvador > > --- > > > > .../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 7 +-- > > 1 file changed, 1 insertion(+), 6 deletions(-) > > > > diff --git > > a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > > b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > > index 8813b8faca..43d51552f1 100644 > > --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > > +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > > @@ -64,12 +64,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland > > wayland-protocols libdrm > > PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" > > PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" > > > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' > > x11', '', d)}" > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' > > gbm', '', d)}" > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' > > wayland', '', d)}" > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', > > ' dispmanx', '', d)}" > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' > > egl', '', d)}" > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' > > viv-fb', '', d)}" > > +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm > > wayland dispmanx egl viv-fb', d)}" > > This drops the first leading space so isn't exactly equivalent. > > > EXTRA_OEMESON += " \ > > -Ddoc=disabled \ > > -- > > 2.29.2 > > > > > > > > -- Otavio Salvador O.S. Systems http://www.ossystems.com.brhttp://code.ossystems.com.br Mobile: +55 (53) 9 9981-7854 Mobile: +1 (347) 903-9750 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144883): https://lists.openembedded.org/g/openembedded-core/message/144883 Mute This Topic: https://lists.openembedded.org/mt/78394639/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
On Fri, Nov 20, 2020 at 9:36 AM Otavio Salvador wrote: > > Signed-off-by: Otavio Salvador > --- > > .../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git > a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > index 8813b8faca..43d51552f1 100644 > --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb > @@ -64,12 +64,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland > wayland-protocols libdrm > PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" > PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" > > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', > '', d)}" > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', > '', d)}" > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' > wayland', '', d)}" > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' > dispmanx', '', d)}" > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', > '', d)}" > -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' > viv-fb', '', d)}" > +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland > dispmanx egl viv-fb', d)}" This drops the first leading space so isn't exactly equivalent. > EXTRA_OEMESON += " \ > -Ddoc=disabled \ > -- > 2.29.2 > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144882): https://lists.openembedded.org/g/openembedded-core/message/144882 Mute This Topic: https://lists.openembedded.org/mt/78394639/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[OE-core] [PATCH 2/2] gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
Signed-off-by: Otavio Salvador --- .../gstreamer/gstreamer1.0-plugins-base_1.18.1.bb | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb index 8813b8faca..43d51552f1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.1.bb @@ -64,12 +64,7 @@ PACKAGECONFIG[wayland] = ",,wayland-native wayland wayland-protocols libdrm PACKAGECONFIG[dispmanx] = ",,virtual/libomxil" PACKAGECONFIG[viv-fb] = ",,virtual/libgles2 virtual/libg2d" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', ' x11', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'gbm', ' gbm', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'wayland', ' wayland', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'dispmanx', ' dispmanx', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'egl', ' egl', '', d)}" -OPENGL_WINSYS_append = "${@bb.utils.contains('PACKAGECONFIG', 'viv-fb', ' viv-fb', '', d)}" +OPENGL_WINSYS_append = "${@bb.utils.filter('PACKAGECONFIG', 'x11 gbm wayland dispmanx egl viv-fb', d)}" EXTRA_OEMESON += " \ -Ddoc=disabled \ -- 2.29.2 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#144877): https://lists.openembedded.org/g/openembedded-core/message/144877 Mute This Topic: https://lists.openembedded.org/mt/78394639/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-