diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 19:58:04 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.com> | 2021-08-04 12:30:12 +0300 |
| commit | 9ea7aa2cd2cdc775425797b689e782718896ea50 (patch) | |
| tree | 3831e2403262e27cd178a213b82c2ed8ad91e9a6 /recipes-graphics | |
| parent | 8dc3a310883ea87cd9900442f46f20bb08e57583 (diff) | |
| download | meta-raspberrypi-9ea7aa2cd2cdc775425797b689e782718896ea50.tar.gz | |
Convert to new override syntax
This is the result of automated script conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-graphics')
| -rw-r--r-- | recipes-graphics/cairo/cairo_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-graphics/kmscube/kmscube_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-graphics/libsdl2/libsdl2_%.bbappend | 4 | ||||
| -rw-r--r-- | recipes-graphics/libva/libva_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-graphics/mesa/libglu_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-graphics/mesa/mesa-demos_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-graphics/mesa/mesa-gl_%.bbappend | 8 | ||||
| -rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 4 | ||||
| -rw-r--r-- | recipes-graphics/piglit/piglit_%.bbappend | 4 | ||||
| -rw-r--r-- | recipes-graphics/raspidmx/raspidmx_git.bb | 2 | ||||
| -rw-r--r-- | recipes-graphics/userland/userland_git.bb | 26 | ||||
| -rw-r--r-- | recipes-graphics/vc-graphics/vc-graphics.inc | 8 | ||||
| -rw-r--r-- | recipes-graphics/wayland/wayland_%.bbappend | 2 | ||||
| -rw-r--r-- | recipes-graphics/wayland/weston_%.bbappend | 4 | ||||
| -rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend | 8 | ||||
| -rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 4 |
16 files changed, 42 insertions, 42 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 @@ | |||
| 1 | PACKAGECONFIG_GLESV2 = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'glesv2', d)}" | 1 | PACKAGECONFIG_GLESV2 = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'glesv2', d)}" |
| 2 | 2 | ||
| 3 | PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' egl ${PACKAGECONFIG_GLESV2}', d)}" | 3 | PACKAGECONFIG:append:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' egl ${PACKAGECONFIG_GLESV2}', d)}" |
diff --git a/recipes-graphics/kmscube/kmscube_%.bbappend b/recipes-graphics/kmscube/kmscube_%.bbappend index 9343fb0..f9c23c9 100644 --- a/recipes-graphics/kmscube/kmscube_%.bbappend +++ b/recipes-graphics/kmscube/kmscube_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # userland driver EGL implementation does not have all needed bits for it so remove it from build | 1 | # userland driver EGL implementation does not have all needed bits for it so remove it from build |
| 2 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}" | 2 | COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', 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 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS: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 |
| 5 | DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" | 5 | DEPENDS: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 |
| 3 | DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" | 3 | DEPENDS: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 |
| 3 | DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" | 3 | DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" |
diff --git a/recipes-graphics/mesa/mesa-demos_%.bbappend b/recipes-graphics/mesa/mesa-demos_%.bbappend index c187ab9..abb11ec 100644 --- a/recipes-graphics/mesa/mesa-demos_%.bbappend +++ b/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | # mesa-demos need libgles1 and userland driver does not have it | 1 | # mesa-demos need libgles1 and userland driver does not have it |
| 2 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}" | 2 | COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', 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 @@ | |||
| 1 | PACKAGECONFIG_append_rpi = " gbm" | 1 | PACKAGECONFIG:append:rpi = " gbm" |
| 2 | PROVIDES_append_rpi = " virtual/libgbm" | 2 | PROVIDES:append:rpi = " virtual/libgbm" |
| 3 | 3 | ||
| 4 | GALLIUMDRIVERS_append_rpi = ",swrast" | 4 | GALLIUMDRIVERS:append:rpi = ",swrast" |
| 5 | 5 | ||
| 6 | do_install_append_rpi() { | 6 | do_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. |
| 5 | PACKAGECONFIG_append_rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}" | 5 | PACKAGECONFIG:append:rpi = " gallium vc4 v3d kmsro ${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'x11 dri3', '', d)}" |
| 6 | DRIDRIVERS_class-target_rpi = "" | 6 | DRIDRIVERS:class-target:rpi = "" |
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend index 0503fd0..8dfce27 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 |
| 2 | RDEPENDS_${PN}_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'mesa-demos', d)}" | 2 | RDEPENDS:${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 |
| 5 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}" | 5 | COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '(.*)', 'null', d)}" |
diff --git a/recipes-graphics/raspidmx/raspidmx_git.bb b/recipes-graphics/raspidmx/raspidmx_git.bb index 71590e3..c81fb03 100644 --- a/recipes-graphics/raspidmx/raspidmx_git.bb +++ b/recipes-graphics/raspidmx/raspidmx_git.bb | |||
| @@ -5,7 +5,7 @@ LICENSE = "MIT" | |||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=52962875ab02c36df6cde47b1f463024" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=52962875ab02c36df6cde47b1f463024" |
| 6 | 6 | ||
| 7 | COMPATIBLE_HOST = "null" | 7 | COMPATIBLE_HOST = "null" |
| 8 | COMPATIBLE_HOST_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'null', '(.*)', d)}" | 8 | COMPATIBLE_HOST:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'null', '(.*)', d)}" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https \ | 10 | SRC_URI = "git://github.com/AndrewFromMelbourne/raspidmx;protocol=https \ |
| 11 | file://0001-gitignore-add-archives-from-lib-directory.patch \ | 11 | file://0001-gitignore-add-archives-from-lib-directory.patch \ |
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb index ead81f0..4b01535 100644 --- a/recipes-graphics/userland/userland_git.bb +++ b/recipes-graphics/userland/userland_git.bb | |||
| @@ -1,14 +1,14 @@ | |||
| 1 | DESCRIPTION = "This repository contains the source code for the ARM side \ | 1 | DESCRIPTION = "This repository contains the source code for the ARM side \ |
| 2 | libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \ | 2 | libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \ |
| 3 | and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\ | 3 | and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\ |
| 4 | vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG." | 4 | vcos, openmaxil, vchiq:arm, bcm_host, WFC, OpenVG." |
| 5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
| 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196" | 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196" |
| 7 | 7 | ||
| 8 | PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" | 8 | PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" |
| 9 | PROVIDES += "virtual/libomxil" | 9 | PROVIDES += "virtual/libomxil" |
| 10 | 10 | ||
| 11 | RPROVIDES_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}" | 11 | RPROVIDES:${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}" |
| 12 | COMPATIBLE_MACHINE = "^rpi$" | 12 | COMPATIBLE_MACHINE = "^rpi$" |
| 13 | 13 | ||
| 14 | SRCBRANCH = "master" | 14 | SRCBRANCH = "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 | ||
| 50 | SRC_URI_remove_toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch" | 50 | SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch" |
| 51 | 51 | ||
| 52 | S = "${WORKDIR}/git" | 52 | S = "${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 | ||
| 62 | EXTRA_OECMAKE_append_aarch64 = " -DARM64=ON " | 62 | EXTRA_OECMAKE:append:aarch64 = " -DARM64=ON " |
| 63 | 63 | ||
| 64 | 64 | ||
| 65 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" | 65 | PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" |
| @@ -67,9 +67,9 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', | |||
| 67 | PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland-native wayland" | 67 | PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland-native wayland" |
| 68 | PACKAGECONFIG[allapps] = "-DALL_APPS=true,,," | 68 | PACKAGECONFIG[allapps] = "-DALL_APPS=true,,," |
| 69 | 69 | ||
| 70 | CFLAGS_append = " -fPIC" | 70 | CFLAGS:append = " -fPIC" |
| 71 | 71 | ||
| 72 | do_install_append () { | 72 | do_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). |
| 96 | FILES_SOLIBSDEV = "" | 96 | FILES_SOLIBSDEV = "" |
| 97 | INSANE_SKIP_${PN} += "dev-so" | 97 | INSANE_SKIP:${PN} += "dev-so" |
| 98 | 98 | ||
| 99 | FILES_${PN} += " \ | 99 | FILES:${PN} += " \ |
| 100 | ${libdir}/*.so \ | 100 | ${libdir}/*.so \ |
| 101 | ${libdir}/plugins" | 101 | ${libdir}/plugins" |
| 102 | FILES_${PN}-dev += "${includedir} \ | 102 | FILES:${PN}-dev += "${includedir} \ |
| 103 | ${prefix}/src" | 103 | ${prefix}/src" |
| 104 | FILES_${PN}-doc += "${datadir}/install" | 104 | FILES:${PN}-doc += "${datadir}/install" |
| 105 | FILES_${PN}-dbg += "${libdir}/plugins/.debug" | 105 | FILES:${PN}-dbg += "${libdir}/plugins/.debug" |
| 106 | 106 | ||
| 107 | RDEPENDS_${PN} += "bash" | 107 | RDEPENDS:${PN} += "bash" |
| 108 | RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}" | 108 | RDEPENDS:${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 |
| 43 | INSANE_SKIP_${PN} = "ldflags" | 43 | INSANE_SKIP:${PN} = "ldflags" |
| 44 | 44 | ||
| 45 | INITSCRIPT_NAME = "vchiq.sh" | 45 | INITSCRIPT_NAME = "vchiq.sh" |
| 46 | INITSCRIPT_PARAMS = "start 03 S ." | 46 | INITSCRIPT_PARAMS = "start 03 S ." |
| 47 | 47 | ||
| 48 | FILES_${PN} = "${bindir}/* \ | 48 | FILES:${PN} = "${bindir}/* \ |
| 49 | ${libdir}/lib*.so \ | 49 | ${libdir}/lib*.so \ |
| 50 | ${sysconfdir}/init.d \ | 50 | ${sysconfdir}/init.d \ |
| 51 | ${libdir}/plugins" | 51 | ${libdir}/plugins" |
| 52 | FILES_${PN}-dev = "${libdir}/pkgconfig \ | 52 | FILES:${PN}-dev = "${libdir}/pkgconfig \ |
| 53 | ${includedir}" | 53 | ${includedir}" |
| 54 | FILES_${PN}-dbg += "${libdir}/plugins/.debug" | 54 | FILES:${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 |
| 2 | do_install_append_rpi () { | 2 | do_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 @@ | |||
| 1 | PACKAGECONFIG_remove_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', '', d)}" | 1 | PACKAGECONFIG:remove:rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'fbdev', '', d)}" |
| 2 | 2 | ||
| 3 | EXTRA_OECONF_append_rpi = " \ | 3 | EXTRA_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 @@ | |||
| 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 2 | 2 | ||
| 3 | SRC_URI_append_rpi = " \ | 3 | SRC_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 | " |
| 7 | do_install_append_rpi () { | 7 | do_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 | ||
| 16 | FILES_${PN}_rpi += "${sysconfdir}/X11/xorg.conf ${sysconfdir}/X11/xorg.conf.d/*" | 16 | FILES:${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..25829c2 100644 --- a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | OPENGL_PKGCONFIGS_rpi = "dri glx ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'dri3 xshmfence glamor', '', d)}" | 1 | OPENGL_PKGCONFIGS:rpi = "dri glx ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'dri3 xshmfence glamor', '', d)}" |
| 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 |
| 5 | DEPENDS_append_rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" | 5 | DEPENDS:append:rpi = " ${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', 'userland', d)}" |
