mirror of
https://git.yoctoproject.org/meta-raspberrypi
synced 2026-05-07 04:58:12 +00:00
userland: Update to 8700279495e266378d36092ccf86424f0ee2539f
* install_vmcs not needed anymore
* By default package is installed in /opt/vc. Move everything in ${prefix}.
* Move recipe in recipes-graphics
* Add PACKAGE_ARCH = MACHINE_ARCH
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
39
recipes-graphics/userland/userland_git.bb
Normal file
39
recipes-graphics/userland/userland_git.bb
Normal file
@@ -0,0 +1,39 @@
|
||||
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."
|
||||
LICENSE = "Broadcom"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f"
|
||||
|
||||
PR = "r1"
|
||||
|
||||
PROVIDES = "virtual/libgles2 \
|
||||
virtual/egl"
|
||||
COMPATIBLE_MACHINE = "raspberrypi"
|
||||
|
||||
SRCREV = "8700279495e266378d36092ccf86424f0ee2539f"
|
||||
SRC_URI = "git://github.com/raspberrypi/userland.git;protocol=git;branch=master \
|
||||
"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
"
|
||||
# The compiled binaries don't provide sonames.
|
||||
SOLIBS = "${SOLIBSDEV}"
|
||||
|
||||
do_install_append() {
|
||||
mkdir -p ${D}/${prefix}
|
||||
mv ${D}/opt/vc/* ${D}/${prefix}
|
||||
rm -rf ${D}/opt
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/*${SOLIBS}"
|
||||
FILES_${PN}-dev = "${includedir} \
|
||||
${prefix}/src"
|
||||
FILES_${PN}-doc += "${datadir}/install"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
Reference in New Issue
Block a user