|
@@ -1,14 +1,14 @@
|
|
|
DESCRIPTION = "This repository contains the source code for the ARM side \
|
|
|
libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \
|
|
|
and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\
|
|
|
-vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG."
|
|
|
+vcos, openmaxil, vchiq:arm, bcm_host, WFC, OpenVG."
|
|
|
LICENSE = "BSD-3-Clause"
|
|
|
LIC_FILES_CHKSUM = "file://LICENCE;md5=0448d6488ef8cc380632b1569ee6d196"
|
|
|
|
|
|
PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}"
|
|
|
PROVIDES += "virtual/libomxil"
|
|
|
|
|
|
-RPROVIDES_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}"
|
|
|
+RPROVIDES:${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "libgles2 egl libegl libegl1 libglesv2-2", d)}"
|
|
|
COMPATIBLE_MACHINE = "^rpi$"
|
|
|
|
|
|
SRCBRANCH = "master"
|
|
@@ -47,7 +47,7 @@ SRC_URI = "\
|
|
|
file://0024-userland-Sync-needed-defines-for-weston-build.patch \
|
|
|
"
|
|
|
|
|
|
-SRC_URI_remove_toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"
|
|
|
+SRC_URI:remove:toolchain-clang = "file://0021-cmake-Disable-format-overflow-warning-as-error.patch"
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
@@ -59,7 +59,7 @@ EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-a
|
|
|
-DVMCS_INSTALL_PREFIX=${exec_prefix} \
|
|
|
"
|
|
|
|
|
|
-EXTRA_OECMAKE_append_aarch64 = " -DARM64=ON "
|
|
|
+EXTRA_OECMAKE:append:aarch64 = " -DARM64=ON "
|
|
|
|
|
|
|
|
|
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}"
|
|
@@ -67,9 +67,9 @@ PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland',
|
|
|
PACKAGECONFIG[wayland] = "-DBUILD_WAYLAND=TRUE -DWAYLAND_SCANNER_EXECUTABLE:FILEPATH=${STAGING_BINDIR_NATIVE}/wayland-scanner,,wayland-native wayland"
|
|
|
PACKAGECONFIG[allapps] = "-DALL_APPS=true,,,"
|
|
|
|
|
|
-CFLAGS_append = " -fPIC"
|
|
|
+CFLAGS:append = " -fPIC"
|
|
|
|
|
|
-do_install_append () {
|
|
|
+do_install:append () {
|
|
|
for f in `find ${D}${includedir}/interface/vcos/ -name "*.h"`; do
|
|
|
sed -i 's/include "vcos_platform.h"/include "pthreads\/vcos_platform.h"/g' ${f}
|
|
|
sed -i 's/include "vcos_futex_mutex.h"/include "pthreads\/vcos_futex_mutex.h"/g' ${f}
|
|
@@ -94,15 +94,15 @@ do_install_append () {
|
|
|
# to force the .so files into the runtime package (and keep them
|
|
|
# out of -dev package).
|
|
|
FILES_SOLIBSDEV = ""
|
|
|
-INSANE_SKIP_${PN} += "dev-so"
|
|
|
+INSANE_SKIP:${PN} += "dev-so"
|
|
|
|
|
|
-FILES_${PN} += " \
|
|
|
+FILES:${PN} += " \
|
|
|
${libdir}/*.so \
|
|
|
${libdir}/plugins"
|
|
|
-FILES_${PN}-dev += "${includedir} \
|
|
|
+FILES:${PN}-dev += "${includedir} \
|
|
|
${prefix}/src"
|
|
|
-FILES_${PN}-doc += "${datadir}/install"
|
|
|
-FILES_${PN}-dbg += "${libdir}/plugins/.debug"
|
|
|
+FILES:${PN}-doc += "${datadir}/install"
|
|
|
+FILES:${PN}-dbg += "${libdir}/plugins/.debug"
|
|
|
|
|
|
-RDEPENDS_${PN} += "bash"
|
|
|
-RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}"
|
|
|
+RDEPENDS:${PN} += "bash"
|
|
|
+RDEPENDS:${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}"
|