summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/userland
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 19:58:04 +0200
committerAndrei Gherzan <andrei@gherzan.com>2021-08-04 12:30:12 +0300
commit9ea7aa2cd2cdc775425797b689e782718896ea50 (patch)
tree3831e2403262e27cd178a213b82c2ed8ad91e9a6 /recipes-graphics/userland
parent8dc3a310883ea87cd9900442f46f20bb08e57583 (diff)
downloadmeta-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')
-rw-r--r--recipes-graphics/userland/userland_git.bb26
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 @@
1DESCRIPTION = "This repository contains the source code for the ARM side \ 1DESCRIPTION = "This repository contains the source code for the ARM side \
2libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \ 2libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \
3and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\ 3and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\
4vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG." 4vcos, openmaxil, vchiq:arm, bcm_host, WFC, OpenVG."
5LICENSE = "BSD-3-Clause" 5LICENSE = "BSD-3-Clause"
6LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196" 6LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196"
7 7
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)}"