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/userland/userland_git.bb | |
| 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/userland/userland_git.bb')
| -rw-r--r-- | recipes-graphics/userland/userland_git.bb | 26 |
1 files changed, 13 insertions, 13 deletions
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)}" |
