summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/vc-graphics/vc-graphics.inc
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei@gherzan.ro>2015-03-02 00:06:19 +0100
committerAndrei Gherzan <andrei@gherzan.ro>2015-03-12 22:20:51 +0100
commitd1fa1c0b75a8de15ae27a9a2f9eaa496a5fe6de9 (patch)
tree439b4a56ded9efafa4889d3106cbbb4a8432e271 /recipes-graphics/vc-graphics/vc-graphics.inc
parentddd1f033733a34b68da5e1e8c6a315b18234b86f (diff)
downloadmeta-raspberrypi-d1fa1c0b75a8de15ae27a9a2f9eaa496a5fe6de9.tar.gz
vc-graphics: Move to recipes-graphics
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Diffstat (limited to 'recipes-graphics/vc-graphics/vc-graphics.inc')
-rw-r--r--recipes-graphics/vc-graphics/vc-graphics.inc56
1 files changed, 56 insertions, 0 deletions
diff --git a/recipes-graphics/vc-graphics/vc-graphics.inc b/recipes-graphics/vc-graphics/vc-graphics.inc
new file mode 100644
index 0000000..a1c8d29
--- /dev/null
+++ b/recipes-graphics/vc-graphics/vc-graphics.inc
@@ -0,0 +1,56 @@
1DESCRIPTION = "Graphics libraries for BCM2835."
2LICENSE = "Proprietary"
3
4LIC_FILES_CHKSUM = "file://LICENCE;md5=86e53f5f5909ee66900418028de11780"
5
6PROVIDES = "virtual/libgles2 virtual/egl"
7COMPATIBLE_MACHINE = "raspberrypi"
8
9include recipes-bsp/common/firmware.inc
10
11SRC_URI += " \
12 file://egl.pc \
13 file://vchiq.sh \
14"
15
16S = "${RPIFW_S}/${VCDIR}"
17
18INCPR = "r1"
19
20inherit pkgconfig update-rc.d
21
22do_install () {
23 install -d ${D}${bindir}
24 cp -R bin/* ${D}${bindir}
25
26 install -d ${D}${sbindir}
27 cp -R sbin/* ${D}${sbindir}
28
29 install -d ${D}${libdir}
30 # note: -H option to deref symlinked .so
31 cp -R -H lib/* ${D}${libdir}
32
33 install -d ${D}${includedir}
34 cp -R include/* ${D}${includedir}
35
36 install -d ${D}${libdir}/pkgconfig
37 install -m 0644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig/
38
39 install -d ${D}/${sysconfdir}/init.d
40 install -m 0755 ${WORKDIR}/vchiq.sh ${D}${sysconfdir}/init.d/
41}
42
43# These are proprietary binaries generated elsewhere so don't check ldflags
44INSANE_SKIP_${PN} = "ldflags"
45
46INITSCRIPT_NAME = "vchiq.sh"
47INITSCRIPT_PARAMS = "start 03 S ."
48
49FILES_${PN} = "${bindir}/* \
50 ${sbindir}/* \
51 ${libdir}/lib*.so \
52 ${sysconfdir}/init.d \
53 ${libdir}/plugins"
54FILES_${PN}-dev = "${libdir}/pkgconfig \
55 ${includedir}"
56FILES_${PN}-dbg += "${libdir}/plugins/.debug"