diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2013-02-10 00:11:10 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2013-03-13 19:42:51 +0200 |
| commit | 592274937b774b4d98045eef1ef820a5c27253fd (patch) | |
| tree | d86a3e6544cde9e6c7b317867a944f331d8c85c3 /recipes-graphics | |
| parent | 201f717a601dd9fd16936f606597b8b3f7e25a1d (diff) | |
| download | meta-raspberrypi-592274937b774b4d98045eef1ef820a5c27253fd.tar.gz | |
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>
Diffstat (limited to 'recipes-graphics')
| -rw-r--r-- | recipes-graphics/userland/userland_git.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-graphics/userland/userland_git.bb b/recipes-graphics/userland/userland_git.bb new file mode 100644 index 0000000..fe4132a --- /dev/null +++ b/recipes-graphics/userland/userland_git.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | DESCRIPTION = "This repository contains the source code for the ARM side \ | ||
| 2 | libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \ | ||
| 3 | and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\ | ||
| 4 | vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG." | ||
| 5 | LICENSE = "Broadcom" | ||
| 6 | LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f" | ||
| 7 | |||
| 8 | PR = "r1" | ||
| 9 | |||
| 10 | PROVIDES = "virtual/libgles2 \ | ||
| 11 | virtual/egl" | ||
| 12 | COMPATIBLE_MACHINE = "raspberrypi" | ||
| 13 | |||
| 14 | SRCREV = "8700279495e266378d36092ccf86424f0ee2539f" | ||
| 15 | SRC_URI = "git://github.com/raspberrypi/userland.git;protocol=git;branch=master \ | ||
| 16 | " | ||
| 17 | S = "${WORKDIR}/git" | ||
| 18 | |||
| 19 | inherit cmake | ||
| 20 | |||
| 21 | EXTRA_OECMAKE = " \ | ||
| 22 | -DCMAKE_BUILD_TYPE=Release \ | ||
| 23 | " | ||
| 24 | # The compiled binaries don't provide sonames. | ||
| 25 | SOLIBS = "${SOLIBSDEV}" | ||
| 26 | |||
| 27 | do_install_append() { | ||
| 28 | mkdir -p ${D}/${prefix} | ||
| 29 | mv ${D}/opt/vc/* ${D}/${prefix} | ||
| 30 | rm -rf ${D}/opt | ||
| 31 | } | ||
| 32 | |||
| 33 | FILES_${PN} += "${libdir}/*${SOLIBS}" | ||
| 34 | FILES_${PN}-dev = "${includedir} \ | ||
| 35 | ${prefix}/src" | ||
| 36 | FILES_${PN}-doc += "${datadir}/install" | ||
| 37 | |||
| 38 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 39 | |||
