diff mbox series

[meta-arago,master/scarthgap,06/10] gstreamer1.0-plugins-good: Wrap the bbappend in a compliant manner

Message ID 20250312144540.14210-7-reatmon@ti.com
State New
Headers show
Series Wrap bbappends in a | expand

Commit Message

Ryan Eatmon March 12, 2025, 2:45 p.m. UTC
Wrap the bbappend in a yocto-check-layer compliant manner so that only
if you are building this recipe under meta-arago-distro with the arago
DISTRO_OVERRIDE would the bbappend apply.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 ...pend => gstreamer1.0-plugins-good_1.24-arago.inc} |  2 +-
 .../gstreamer1.0-plugins-good_1.24.%.bbappend        | 12 +++---------
 2 files changed, 4 insertions(+), 10 deletions(-)
 copy meta-arago-extras/recipes-multimedia/gstreamer/{gstreamer1.0-plugins-good_1.24.%.bbappend => gstreamer1.0-plugins-good_1.24-arago.inc} (83%)
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24-arago.inc
similarity index 83%
copy from meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend
copy to meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24-arago.inc
index 30dd5c85..26549776 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24-arago.inc
@@ -1,4 +1,4 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+FILESEXTRAPATHS:prepend := "${THISDIR}/gstreamer1.0-plugins-good:"
 
 SRC_URI:append = " \
     file://0002-Adding-support-for-bayer-formats-with-IR-component.patch \
diff --git a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend
index 30dd5c85..e2e8b043 100644
--- a/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend
+++ b/meta-arago-extras/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.%.bbappend
@@ -1,10 +1,4 @@ 
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+GSTREAMER1p0_PLUGINS_GOOD_1p24_ARAGO = ""
+GSTREAMER1p0_PLUGINS_GOOD_1p24_ARAGO:arago = "gstreamer1.0-plugins-good_1.24-arago.inc"
 
-SRC_URI:append = " \
-    file://0002-Adding-support-for-bayer-formats-with-IR-component.patch \
-    file://0003-v4l2-Changes-for-DMA-Buf-import-j721s2.patch \
-    file://0004-v4l2-Give-preference-to-contiguous-format-if-support.patch \
-    file://0005-HACK-gstv4l2object-Increase-min-buffers-for-CSI-capt.patch \
-"
-
-PR:append = ".arago0"
+require ${GSTREAMER1p0_PLUGINS_GOOD_1p24_ARAGO}