diff options
Diffstat (limited to 'recipes-graphics/userland/userland_git.bb')
-rw-r--r-- | recipes-graphics/userland/userland_git.bb | 24 |
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" | |||
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)}" |