summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/cairo/cairo_%.bbappend2
-rw-r--r--recipes-graphics/libsdl2/libsdl2_%.bbappend4
-rw-r--r--recipes-graphics/libva/libva_%.bbappend2
-rw-r--r--recipes-graphics/mesa/libglu_%.bbappend2
-rw-r--r--recipes-graphics/mesa/mesa-gl_%.bbappend8
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend4
-rw-r--r--recipes-graphics/piglit/piglit_%.bbappend2
-rw-r--r--recipes-graphics/userland/userland_git.bb24
-rw-r--r--recipes-graphics/vc-graphics/vc-graphics.inc8
-rw-r--r--recipes-graphics/wayland/wayland_%.bbappend2
-rw-r--r--recipes-graphics/wayland/weston_%.bbappend4
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend8
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend2
13 files changed, 36 insertions, 36 deletions
diff --git a/recipes-graphics/cairo/cairo_%.bbappend b/recipes-graphics/cairo/cairo_%.bbappend
index 7ba13e2..5efd8fc 100644
--- a/recipes-graphics/cairo/cairo_%.bbappend
+++ b/recipes-graphics/cairo/cairo_%.bbappend
@@ -1,3 +1,3 @@
1PACKAGECONFIG_GLESV2 = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'glesv2', d)}" 1PACKAGECONFIG_GLESV2 = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'glesv2', d)}"
2 2
3PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' egl ${PACKAGECONFIG_GLESV2}', d)}" 3PACKAGECONFIG:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' egl ${PACKAGECONFIG_GLESV2}', d)}"
diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend
index cb9c24e..28a66bc 100644
--- a/recipes-graphics/libsdl2/libsdl2_%.bbappend
+++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend
@@ -1,5 +1,5 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2 2
3# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where 3# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
4# we explicitly delete KHR/khrplatform.h since its already coming from userland package 4# we explicitly delete KHR/khrplatform.h since its already coming from userland package
5DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" 5DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"
diff --git a/recipes-graphics/libva/libva_%.bbappend b/recipes-graphics/libva/libva_%.bbappend
index 56ff421..ebfc519 100644
--- a/recipes-graphics/libva/libva_%.bbappend
+++ b/recipes-graphics/libva/libva_%.bbappend
@@ -1,3 +1,3 @@
1# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where 1# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
2# we explicitly delete KHR/khrplatform.h since its already coming from userland package 2# we explicitly delete KHR/khrplatform.h since its already coming from userland package
3DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" 3DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"
diff --git a/recipes-graphics/mesa/libglu_%.bbappend b/recipes-graphics/mesa/libglu_%.bbappend
index 56ff421..ebfc519 100644
--- a/recipes-graphics/mesa/libglu_%.bbappend
+++ b/recipes-graphics/mesa/libglu_%.bbappend
@@ -1,3 +1,3 @@
1# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where 1# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
2# we explicitly delete KHR/khrplatform.h since its already coming from userland package 2# we explicitly delete KHR/khrplatform.h since its already coming from userland package
3DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" 3DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"
diff --git a/recipes-graphics/mesa/mesa-gl_%.bbappend b/recipes-graphics/mesa/mesa-gl_%.bbappend
index e561a1b..edb75f5 100644
--- a/recipes-graphics/mesa/mesa-gl_%.bbappend
+++ b/recipes-graphics/mesa/mesa-gl_%.bbappend
@@ -1,8 +1,8 @@
1PACKAGECONFIG_append_rpi = " gbm" 1PACKAGECONFIG:append:rpi = " gbm"
2PROVIDES_append_rpi = " virtual/libgbm" 2PROVIDES:append:rpi = " virtual/libgbm"
3 3
4GALLIUMDRIVERS_append_rpi = ",swrast" 4GALLIUMDRIVERS:append:rpi = ",swrast"
5 5
6do_install_append_rpi() { 6do_install:append:rpi() {
7 rm -rf ${D}${includedir}/KHR/khrplatform.h 7 rm -rf ${D}${includedir}/KHR/khrplatform.h
8} 8}
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index eaa46f2..09c8db7 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -2,5 +2,5 @@
2# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set 2# With oe-core commit 8509e2e1a87578882b71948ccef3b50ccf1228b3 dri3 is set
3# as default. To state out clearly that Raspi needs dri3 and to avoid surprises 3# as default. To state out clearly that Raspi needs dri3 and to avoid surprises
4# in case oe-core changes this default, we set dri3 explicitly. 4# in case oe-core changes this default, we set dri3 explicitly.
5PACKAGECONFIG_append_rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}" 5PACKAGECONFIG:append:rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}"
6DRIDRIVERS_class-target_rpi = "" 6DRIDRIVERS:class-target:rpi = ""
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend
index 0503fd0..91d2cf6 100644
--- a/recipes-graphics/piglit/piglit_%.bbappend
+++ b/recipes-graphics/piglit/piglit_%.bbappend
@@ -1,5 +1,5 @@
1# mesa-demos need libgles1 and userland driver does not have it so remove it from piglit rdeps 1# mesa-demos need libgles1 and userland driver does not have it so remove it from piglit rdeps
2RDEPENDS_${PN}_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}" 2RDEPENDS:${PN}:remove:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}"
3# it needs EGL >= 11 but userland says it provided version 10, remove it from build 3# it needs EGL >= 11 but userland says it provided version 10, remove it from build
4# | -- Requested 'egl >= 11.0' but version of EGL is 10 4# | -- Requested 'egl >= 11.0' but version of EGL is 10
5COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}" 5COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}"
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb
index ead81f0..5676e30 100644
--- a/recipes-graphics/userland/userland_git.bb
+++ b/recipes-graphics/userland/userland_git.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196"
8PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" 8PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}"
9PROVIDES += "virtual/libomxil" 9PROVIDES += "virtual/libomxil"
10 10
11RPROVIDES_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}" 11RPROVIDES:${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}"
12COMPATIBLE_MACHINE = "^rpi$" 12COMPATIBLE_MACHINE = "^rpi$"
13 13
14SRCBRANCH = "master" 14SRCBRANCH = "master"
@@ -47,7 +47,7 @@ SRC_URI = "\
47 file://0024-userland-Sync-needed-defines-for-weston-build.patch \ 47 file://0024-userland-Sync-needed-defines-for-weston-build.patch \
48" 48"
49 49
50SRC_URI_remove_toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch" 50SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"
51 51
52S = "${WORKDIR}/git" 52S = "${WORKDIR}/git"
53 53
@@ -59,7 +59,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
59 -DVMCS_INSTALL_PREFIX=${exec_prefix} \ 59 -DVMCS_INSTALL_PREFIX=${exec_prefix} \
60" 60"
61 61
62EXTRA_OECMAKE_append_aarch64 = " -DARM64=ON " 62EXTRA_OECMAKE:append:aarch64 = " -DARM64=ON "
63 63
64 64
65PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" 65PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
@@ -67,9 +67,9 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland',
67PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland-native wayland" 67PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland-native wayland"
68PACKAGECONFIG[allapps] = "-DALL_APPS=true,,," 68PACKAGECONFIG[allapps] = "-DALL_APPS=true,,,"
69 69
70CFLAGS_append = " -fPIC" 70CFLAGS:append = " -fPIC"
71 71
72do_install_append () { 72do_install:append () {
73 for f in `find ${D}${includedir}/interface/vcos/ -name "*.h"`; do 73 for f in `find ${D}${includedir}/interface/vcos/ -name "*.h"`; do
74 sed -i 's/include "vcos_platform.h"/include "pthreads\/vcos_platform.h"/g' ${f} 74 sed -i 's/include "vcos_platform.h"/include "pthreads\/vcos_platform.h"/g' ${f}
75 sed -i 's/include "vcos_futex_mutex.h"/include "pthreads\/vcos_futex_mutex.h"/g' ${f} 75 sed -i 's/include "vcos_futex_mutex.h"/include "pthreads\/vcos_futex_mutex.h"/g' ${f}
@@ -94,15 +94,15 @@ do_install_append () {
94# to force the .so files into the runtime package (and keep them 94# to force the .so files into the runtime package (and keep them
95# out of -dev package). 95# out of -dev package).
96FILES_SOLIBSDEV = "" 96FILES_SOLIBSDEV = ""
97INSANE_SKIP_${PN} += "dev-so" 97INSANE_SKIP:${PN} += "dev-so"
98 98
99FILES_${PN} += " \ 99FILES:${PN} += " \
100 ${libdir}/*.so \ 100 ${libdir}/*.so \
101 ${libdir}/plugins" 101 ${libdir}/plugins"
102FILES_${PN}-dev += "${includedir} \ 102FILES:${PN}-dev += "${includedir} \
103 ${prefix}/src" 103 ${prefix}/src"
104FILES_${PN}-doc += "${datadir}/install" 104FILES:${PN}-doc += "${datadir}/install"
105FILES_${PN}-dbg += "${libdir}/plugins/.debug" 105FILES:${PN}-dbg += "${libdir}/plugins/.debug"
106 106
107RDEPENDS_${PN} += "bash" 107RDEPENDS:${PN} += "bash"
108RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}" 108RDEPENDS:${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}"
diff --git a/recipes-graphics/vc-graphics/vc-graphics.inc b/recipes-graphics/vc-graphics/vc-graphics.inc
index 540e289..e5e8f53 100644
--- a/recipes-graphics/vc-graphics/vc-graphics.inc
+++ b/recipes-graphics/vc-graphics/vc-graphics.inc
@@ -40,15 +40,15 @@ do_install () {
40} 40}
41 41
42# These are proprietary binaries generated elsewhere so don't check ldflags 42# These are proprietary binaries generated elsewhere so don't check ldflags
43INSANE_SKIP_${PN} = "ldflags" 43INSANE_SKIP:${PN} = "ldflags"
44 44
45INITSCRIPT_NAME = "vchiq.sh" 45INITSCRIPT_NAME = "vchiq.sh"
46INITSCRIPT_PARAMS = "start 03 S ." 46INITSCRIPT_PARAMS = "start 03 S ."
47 47
48FILES_${PN} = "${bindir}/* \ 48FILES:${PN} = "${bindir}/* \
49 ${libdir}/lib*.so \ 49 ${libdir}/lib*.so \
50 ${sysconfdir}/init.d \ 50 ${sysconfdir}/init.d \
51 ${libdir}/plugins" 51 ${libdir}/plugins"
52FILES_${PN}-dev = "${libdir}/pkgconfig \ 52FILES:${PN}-dev = "${libdir}/pkgconfig \
53 ${includedir}" 53 ${includedir}"
54FILES_${PN}-dbg += "${libdir}/plugins/.debug" 54FILES:${PN}-dbg += "${libdir}/plugins/.debug"
diff --git a/recipes-graphics/wayland/wayland_%.bbappend b/recipes-graphics/wayland/wayland_%.bbappend
index e5bbf4a..ca2b296 100644
--- a/recipes-graphics/wayland/wayland_%.bbappend
+++ b/recipes-graphics/wayland/wayland_%.bbappend
@@ -1,5 +1,5 @@
1# until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics 1# until fully tested, prefer `libwayland-egl` provided by `userland` instead of `wayland` when not using vc4graphics
2do_install_append_rpi () { 2do_install:append:rpi () {
3 if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then 3 if [ "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}" = "0" ]; then
4 rm -f ${D}${libdir}/libwayland-egl* 4 rm -f ${D}${libdir}/libwayland-egl*
5 rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc 5 rm -f ${D}${libdir}/pkgconfig/wayland-egl.pc
diff --git a/recipes-graphics/wayland/weston_%.bbappend b/recipes-graphics/wayland/weston_%.bbappend
index 55cf700..89917f0 100644
--- a/recipes-graphics/wayland/weston_%.bbappend
+++ b/recipes-graphics/wayland/weston_%.bbappend
@@ -1,6 +1,6 @@
1PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', '', d)}" 1PACKAGECONFIG:remove:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', '', d)}"
2 2
3EXTRA_OECONF_append_rpi = " \ 3EXTRA_OECONF:append:rpi = " \
4 --disable-xwayland-test \ 4 --disable-xwayland-test \
5 --disable-simple-egl-clients \ 5 --disable-simple-egl-clients \
6 ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' \ 6 ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' \
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
index 71e0adc..da3cd8a 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend
@@ -1,10 +1,10 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2 2
3SRC_URI_append_rpi = " \ 3SRC_URI:append:rpi = " \
4 file://xorg.conf.d/98-pitft.conf \ 4 file://xorg.conf.d/98-pitft.conf \
5 file://xorg.conf.d/99-calibration.conf \ 5 file://xorg.conf.d/99-calibration.conf \
6" 6"
7do_install_append_rpi () { 7do_install:append:rpi () {
8 PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}" 8 PITFT="${@bb.utils.contains("MACHINE_FEATURES", "pitft", "1", "0", d)}"
9 if [ "${PITFT}" = "1" ]; then 9 if [ "${PITFT}" = "1" ]; then
10 install -d ${D}/${sysconfdir}/X11/xorg.conf.d/ 10 install -d ${D}/${sysconfdir}/X11/xorg.conf.d/
@@ -13,4 +13,4 @@ do_install_append_rpi () {
13 fi 13 fi
14} 14}
15 15
16FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" 16FILES:${PN}:rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*"
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
index 9574fa5..4891ea6 100644
--- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -2,4 +2,4 @@ OPENGL_PKGCONFIGS_rpi = "dri glx ${@bb.utils.contains('MACHINE_FEATURES', 'vc4gr
2 2
3# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where 3# when using userland graphic KHR/khrplatform.h is provided by userland but virtual/libgl is provided by mesa-gl where
4# we explicitly delete KHR/khrplatform.h since its already coming from userland package 4# we explicitly delete KHR/khrplatform.h since its already coming from userland package
5DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" 5DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}"