Skip to contentSkip to conversation

mesa-demos: Split *info diagnostic tools from the main package

PATCH In review Zoltán Böszörményi 2 participants 2 messages Nov 13, 2023 – Nov 15, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mesa-demos: Split *info diagnostic tools from the main package

This creates 3 new subpackages:
* glxinfo
* eglinfo
* esinfo (for es1_info and es2_info)

These diagnostic utilities are useful without the demos.

---
 meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb +8 -0
index 12f41d75a5..789e816f13 100644
@@ -41,3 +41,11 @@ do_install:append() {
 		mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
 	fi
 }
+
+PACKAGES =+ "glxinfo eglinfo esinfo"
+
+FILES:glxinfo = "${bindir}/glxinfo"
+FILES:eglinfo = "${bindir}/eglinfo"
+FILES:esinfo = "${bindir}/es1_info ${bindir}/es2_info"
+
+RDEPENDS:${PN} += "glxinfo eglinfo esinfo"
Signature · 1 line
2.41.0
#1 lore raw

I think the package names should be prefixed with {PN}, so that there's a link to where they come from in their names. It's a common convention.

Alex

Quoted 41 lines · Zoltan Boszormenyi

This creates 3 new subpackages:
* glxinfo
* eglinfo
* esinfo (for es1_info and es2_info)

These diagnostic utilities are useful without the demos.

---
 meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)
meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb +8 -1
index 12f41d75a5..789e816f13 100644
@@ -41,3 +41,11 @@ do_install:append() {
                mv ${D}${bindir}/clear ${D}${bindir}/clear.mesa-demos
        fi
 }
+
+PACKAGES =+ "glxinfo eglinfo esinfo"
+
+FILES:glxinfo = "${bindir}/glxinfo"
+FILES:eglinfo = "${bindir}/eglinfo"
+FILES:esinfo = "${bindir}/es1_info ${bindir}/es2_info"
+
+RDEPENDS:${PN} += "glxinfo eglinfo esinfo"
--

2.41.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190467): https://lists.openembedded.org/g/openembedded-core/message/190467
Mute This Topic: https://lists.openembedded.org/mt/102560466/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-