summaryrefslogtreecommitdiffstats
path: root/recipes/opengldummy/opengldummy.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opengldummy/opengldummy.inc')
-rw-r--r--recipes/opengldummy/opengldummy.inc45
1 files changed, 45 insertions, 0 deletions
diff --git a/recipes/opengldummy/opengldummy.inc b/recipes/opengldummy/opengldummy.inc
new file mode 100644
index 0000000..3e24058
--- /dev/null
+++ b/recipes/opengldummy/opengldummy.inc
@@ -0,0 +1,45 @@
1#############################################################################
2##
3## Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4##
5## This file is part of the Qt Enterprise Embedded Scripts of the Qt
6## framework.
7##
8## $QT_BEGIN_LICENSE$
9## Commercial License Usage Only
10## Licensees holding valid commercial Qt license agreements with Digia
11## with an appropriate addendum covering the Qt Enterprise Embedded Scripts,
12## may use this file in accordance with the terms contained in said license
13## agreement.
14##
15## For further information use the contact form at
16## http://qt.digia.com/contact-us.
17##
18##
19## $QT_END_LICENSE$
20##
21#############################################################################
22
23PROVIDES = "virtual/libgles2 virtual/libgles3 virtual/egl"
24
25SRC_URI = "file://headers \
26 file://egl.cpp \
27 file://gles2.cpp \
28 "
29
30FILES_${PN} = "${libdir}"
31FILES_${PN}-dev = "${includedir}/"
32
33do_install() {
34 install -m 0755 -d ${D}${includedir}/EGL
35 install -m 0755 ${WORKDIR}/headers/EGL/* ${D}${includedir}/EGL
36
37 install -m 0755 -d ${D}${includedir}/GLES2
38 install -m 0755 ${WORKDIR}/headers/GLES2/* ${D}${includedir}/GLES2
39
40 install -m 0755 -d ${D}${includedir}/GLES3
41 install -m 0755 ${WORKDIR}/headers/GLES3/* ${D}${includedir}/GLES3
42
43 install -m 0755 -d ${D}${includedir}/KHR
44 install -m 0755 ${WORKDIR}/headers/KHR/* ${D}${includedir}/KHR
45}