summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/userland/userland_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/userland/userland_git.bb')
-rw-r--r--recipes-graphics/userland/userland_git.bb24
1 files changed, 12 insertions, 12 deletions
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)}"