summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-24 23:46:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-28 23:49:37 +0100
commit73cf55cdde1f3d2773b42f52d2fcf57665102c81 (patch)
tree0644cd947ff8c9d4e3917bc105fe296135059c15 /meta/recipes-graphics
parent4705dd264681d908f144dd4d9bf1f6175f68d8b9 (diff)
downloadpoky-73cf55cdde1f3d2773b42f52d2fcf57665102c81.tar.gz
bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change RDEPENDS:${PN}-dev
There is a pattern that several recipes need to break the dependency of ${PN}-dev on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise this and allow it to be changed more easily. (From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/libglu_9.0.2.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
-rw-r--r--meta/recipes-graphics/xorg-lib/libpthread-stubs_0.4.bb2
-rw-r--r--meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb2
-rw-r--r--meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb2
-rw-r--r--meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb2
-rw-r--r--meta/recipes-graphics/xorg-util/util-macros_1.19.3.bb2
7 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.2.bb b/meta/recipes-graphics/mesa/libglu_9.0.2.bb
index 64fa82e5a8..0d27dd116b 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.2.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.2.bb
@@ -25,4 +25,4 @@ inherit autotools pkgconfig features_check
25REQUIRED_DISTRO_FEATURES = "x11 opengl" 25REQUIRED_DISTRO_FEATURES = "x11 opengl"
26 26
27# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty 27# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty
28RDEPENDS:${PN}-dev = "" 28DEV_PKG_DEPENDENCY = ""
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 83705fc34d..bb39e2f369 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -183,7 +183,7 @@ CFLAGS:append:armv5 = " -DMISSING_64BIT_ATOMICS"
183CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS" 183CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS"
184 184
185# Remove the mesa dependency on mesa-dev, as mesa is empty 185# Remove the mesa dependency on mesa-dev, as mesa is empty
186RDEPENDS:${PN}-dev = "" 186DEV_PKG_DEPENDENCY = ""
187 187
188# Khronos documentation says that include/GLES2/gl2ext.h can be used for 188# Khronos documentation says that include/GLES2/gl2ext.h can be used for
189# OpenGL ES 3 specification as well as for OpenGL ES 2. 189# OpenGL ES 3 specification as well as for OpenGL ES 2.
diff --git a/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.4.bb b/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.4.bb
index b398e8b626..7bf702076d 100644
--- a/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.4.bb
+++ b/meta/recipes-graphics/xorg-lib/libpthread-stubs_0.4.bb
@@ -13,7 +13,7 @@ SRC_URI[sha256sum] = "e4d05911a3165d3b18321cc067fdd2f023f06436e391c6a28dff618a78
13 13
14inherit autotools 14inherit autotools
15 15
16RDEPENDS:${PN}-dev = "" 16DEV_PKG_DEPENDENCY = ""
17RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 17RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
18 18
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb b/meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb
index 08773c8ccc..83f11769f5 100644
--- a/meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb
+++ b/meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb
@@ -16,7 +16,7 @@ SRC_URI += "file://multilibfix.patch"
16 16
17PE = "1" 17PE = "1"
18 18
19RDEPENDS:${PN}-dev = "" 19DEV_PKG_DEPENDENCY = ""
20 20
21inherit gettext 21inherit gettext
22 22
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb
index f050ed366c..070fb62455 100644
--- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb
+++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb
@@ -22,7 +22,7 @@ FILES:${PN} = ""
22FILES:${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd" 22FILES:${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd"
23FILES:python-xcbgen = "${PYTHON_SITEPACKAGES_DIR}" 23FILES:python-xcbgen = "${PYTHON_SITEPACKAGES_DIR}"
24 24
25RDEPENDS:${PN}-dev = "" 25DEV_PKG_DEPENDENCY = ""
26RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 26RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
27 27
28BBCLASSEXTEND = "native nativesdk" 28BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb b/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb
index 7786318476..a1e852b9eb 100644
--- a/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb
+++ b/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb
@@ -19,7 +19,7 @@ PACKAGECONFIG[legacy] = "-Dlegacy=true,-Dlegacy=false"
19# Datadir only used to install pc files, $datadir/pkgconfig 19# Datadir only used to install pc files, $datadir/pkgconfig
20datadir="${libdir}" 20datadir="${libdir}"
21# ${PN} is empty so we need to tweak -dev and -dbg package dependencies 21# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
22RDEPENDS:${PN}-dev = "" 22DEV_PKG_DEPENDENCY = ""
23RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 23RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
24 24
25BBCLASSEXTEND = "native nativesdk" 25BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.19.3.bb b/meta/recipes-graphics/xorg-util/util-macros_1.19.3.bb
index 0164256eb4..13d8ce22df 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.19.3.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.19.3.bb
@@ -13,7 +13,7 @@ SRC_URI[md5sum] = "66cb74d4a0120a06e32c3b01c29417d8"
13SRC_URI[sha256sum] = "624bb6c3a4613d18114a7e3849a3d70f2d7af9dc6eabeaba98060d87e3aef35b" 13SRC_URI[sha256sum] = "624bb6c3a4613d18114a7e3849a3d70f2d7af9dc6eabeaba98060d87e3aef35b"
14 14
15# ${PN} is empty so we need to tweak -dev and -dbg package dependencies 15# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
16RDEPENDS:${PN}-dev = "" 16DEV_PKG_DEPENDENCY = ""
17RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" 17RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"
18 18
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"