diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2020-01-20 23:01:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-21 12:52:48 +0000 |
commit | c7f9f71bafff4e89d7c40b460e6668cb6be9405e (patch) | |
tree | 9d5c40d2c7c3547c2301ef48bfc914c35d33d577 /meta | |
parent | 91bb451f60cc62bf6c25a7c36aabc0398729bcf0 (diff) | |
download | openembedded-core-contrib-c7f9f71bafff4e89d7c40b460e6668cb6be9405e.tar.gz |
gstreamer1.0-omx: allow to more easily select different libomxil provider
* for rpi it's provided by userland recipe and this will make the bbappend
in meta-raspberrypi a bit smaller
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb | 5 | ||||
-rw-r--r-- | meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb index 89e13937ea..dfe4b691d1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb @@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "cbf54121a2cba575d460833e8132265781252ce32cf5b8f9fa8753e42a S = "${WORKDIR}/gst-omx-${PV}" -DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" +DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad virtual/libomxil" inherit meson pkgconfig upstream-version-is-even @@ -43,4 +43,5 @@ do_install[postfuncs] += " set_omx_core_name " FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" -RDEPENDS_${PN} = "libomxil" +VIRTUAL-RUNTIME_libomxil ?= "libomxil" +RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_libomxil}" diff --git a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb index d83eb45701..271c2a30a3 100644 --- a/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb +++ b/meta/recipes-multimedia/libomxil/libomxil_0.9.3.bb @@ -24,6 +24,8 @@ inherit autotools EXTRA_OECONF += "--disable-doc --disable-Werror" +PROVIDES += "virtual/libomxil" + # # The .so files under ${libdir}/bellagio are not intended to be versioned and symlinked. # Make sure they get packaged in the main package. |