Skip to contentSkip to conversation

ftgl: package requires openql add DISTRO_CHECK

PATCH In review Armin Kuster 2 participants 3 messages Mar 26, 2019 – Apr 12, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ftgl: package requires openql add DISTRO_CHECK

---
 meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb +3 -1
index b291159..c5eaf42 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "https://sourceforge.net/projects/ftgl/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 DEPENDS += " \
     freetype \
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 libforms: has a depends on mesa so add DISTRO_CHECK

---
 meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/libforms/libforms_1.2.3.bb +3 -1
index 8a214d1..f86d7c1 100644
@@ -14,7 +14,9 @@ SRC_URI = "http://download.savannah.nongnu.org/releases/xforms/xforms-${PV}.tar.
 SRC_URI[md5sum] = "235720a758a8b8d9e6e452dc67190e9b"
 SRC_URI[sha256sum] = "7989b39598c769820ad451ad91e5cb0de29946940c8240aac94ca8238c2def61"
 
-inherit autotools
+inherit autotools distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 S = "${WORKDIR}/xforms-${PV}"
 
Signature · 1 line
2.7.4
#2 lore raw
In reply to Armin Kuster

Shouldn't this be opengl _and_ x11 like freeglut?

freeglut was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'ftgl', 'freeglut']

Quoted 30 lines · Armin Kuster
---
 meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/ftgl/ftgl_2.1.3-rc5.bb +3 -2
index b291159..c5eaf42 100644
@@ -3,7 +3,9 @@ HOMEPAGE = "https://sourceforge.net/projects/ftgl/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 DEPENDS += " \
     freetype \
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel