diff mbox series

[meta-ti,master/kirkstone] ti-img-rogue-umlibs: drop the api specific dev packages

Message ID 20230606193525.910177-1-rs@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,master/kirkstone] ti-img-rogue-umlibs: drop the api specific dev packages | expand

Commit Message

Randolph Sapp June 6, 2023, 7:35 p.m. UTC
From: Randolph Sapp <rs@ti.com>

Well, flew a bit too close to the sun on that last patch. Apparently
there are a few hidden runtime dependencies on the API devlinks that
make things like EGL upset when they aren't present.

We may circle back to this at some point but for now we're fine shipping
the devlinks in the base API packages as these links don't step on any
other package.

Fixes: 1899f5ea (ti-img-rogue-umlibs: bump version and explicitly
package, 2023-06-01)

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 .../ti-img-rogue-umlibs_23.1.6404501.bb       | 30 +++++++------------
 1 file changed, 11 insertions(+), 19 deletions(-)
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
index 26090038..b166736c 100644
--- a/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
+++ b/meta-ti-bsp/recipes-graphics/powervr-umlibs/ti-img-rogue-umlibs_23.1.6404501.bb
@@ -36,11 +36,11 @@  do_install:append() {
 }
 
 PACKAGES = " \
-    libgles1-rogue libgles1-rogue-dev \
-    libgles2-rogue libgles2-rogue-dev \
-    libgles3-rogue libgles3-rogue-dev \
-    libvk-rogue libvk-rogue-dev \
-    libopencl-rogue libopencl-rogue-dev \
+    libgles1-rogue \
+    libgles2-rogue \
+    libgles3-rogue \
+    libvk-rogue \
+    libopencl-rogue \
     libopencl-rogue-tools \
     ${PN}-tools \
     ${PN}-firmware \
@@ -64,34 +64,26 @@  python __anonymous() {
         mlprefix = d.getVar("MLPREFIX")
         pkgs = " " + " ".join(mlprefix + x + suffix for x in p[1:])
         d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
+        d.setVar("INSANE_SKIP:" + fullp, "dev-so")
         d.appendVar("RRECOMMENDS:" + fullp, " ${MLPREFIX}ti-img-rogue-umlibs" + suffix)
-
-        # For -dev, the first element is both the Debian and original name
-        fullp = mlprefix + p[1] + "-rogue-dev" + suffix
-        pkgs = " " + mlprefix + p[1] + "-dev" + suffix
-        d.setVar("DEBIAN_NOAUTONAME:" + fullp, "1")
 }
 
 # gles specific shared objects
-FILES:libgles1-rogue = "${libdir}/libGLESv1*.so.*"
-FILES:libgles1-rogue-dev = "${libdir}/libGLESv1*.so"
-FILES:libgles2-rogue = "${libdir}/libGLESv2*.so.*"
-FILES:libgles2-rogue-dev = "${libdir}/libGLESv2*.so"
+FILES:libgles1-rogue = "${libdir}/libGLESv1*.so*"
+FILES:libgles2-rogue = "${libdir}/libGLESv2*.so*"
 RDEPENDS:libgles1-rogue += "mesa-megadriver"
 RDEPENDS:libgles2-rogue += "mesa-megadriver"
-RDEPENDS:libgles3-rogue-dev += "libgles2-rogue-dev"
 
 # vulkan specific shared objects and configs
-FILES:libvk-rogue = "${libdir}/libVK_IMG.so.* ${datadir}/vulkan"
-FILES:libvk-rogue-dev = "${libdir}/libVK_IMG.so"
+FILES:libvk-rogue = "${libdir}/libVK_IMG.so* ${datadir}/vulkan"
 RDEPENDS:libvk-rogue += "vulkan-loader libx11-xcb wayland libdrm"
 
 # opencl specific shared objects and configs
-FILES:libopencl-rogue = "${libdir}/libPVROCL.so.* ${sysconfdir}/OpenCL"
-FILES:libopencl-rogue-dev = "${libdir}/libPVROCL.so"
+FILES:libopencl-rogue = "${libdir}/libPVROCL.so* ${sysconfdir}/OpenCL"
 RDEPENDS:libopencl-rogue += "opencl-icd-loader"
 RRECOMMENDS:libopencl-rogue += "libopencl-rogue-tools"
 FILES:libopencl-rogue-tools += "${bindir}/ocl*"
+DEBIAN_NOAUTONAME:libopencl-rogue-tools = "1"
 
 # optional tools and tests
 FILES:${PN}-tools = "${bindir}/"