summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2013-02-10 00:11:10 +0200
committerAndrei Gherzan <andrei@gherzan.ro>2013-03-13 19:42:51 +0200
commit592274937b774b4d98045eef1ef820a5c27253fd (patch)
treed86a3e6544cde9e6c7b317867a944f331d8c85c3 /recipes-graphics
parent201f717a601dd9fd16936f606597b8b3f7e25a1d (diff)
downloadmeta-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.bb39
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 @@
1DESCRIPTION = "This repository contains the source code for the ARM side \
2libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \
3and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\
4vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG."
5LICENSE = "Broadcom"
6LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f"
7
8PR = "r1"
9
10PROVIDES = "virtual/libgles2 \
11 virtual/egl"
12COMPATIBLE_MACHINE = "raspberrypi"
13
14SRCREV = "8700279495e266378d36092ccf86424f0ee2539f"
15SRC_URI = "git://github.com/raspberrypi/userland.git;protocol=git;branch=master \
16 "
17S = "${WORKDIR}/git"
18
19inherit cmake
20
21EXTRA_OECMAKE = " \
22 -DCMAKE_BUILD_TYPE=Release \
23 "
24# The compiled binaries don't provide sonames.
25SOLIBS = "${SOLIBSDEV}"
26
27do_install_append() {
28 mkdir -p ${D}/${prefix}
29 mv ${D}/opt/vc/* ${D}/${prefix}
30 rm -rf ${D}/opt
31}
32
33FILES_${PN} += "${libdir}/*${SOLIBS}"
34FILES_${PN}-dev = "${includedir} \
35 ${prefix}/src"
36FILES_${PN}-doc += "${datadir}/install"
37
38PACKAGE_ARCH = "${MACHINE_ARCH}"
39