summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/waffle
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-graphics/waffle
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-graphics/waffle')
-rw-r--r--meta/recipes-graphics/waffle/waffle_1.3.0.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-graphics/waffle/waffle_1.3.0.bb b/meta/recipes-graphics/waffle/waffle_1.3.0.bb
new file mode 100644
index 0000000000..a6d1acdf31
--- /dev/null
+++ b/meta/recipes-graphics/waffle/waffle_1.3.0.bb
@@ -0,0 +1,32 @@
1SUMMARY = "cross-platform C library to defer selection of GL API and of window system"
2LICENSE = "BSD-2-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4c5154407c2490750dd461c50ad94797 \
4 file://include/waffle/waffle.h;endline=24;md5=61dbf8697f61c78645e75a93c585b1bf"
5
6SRC_URI = "http://people.freedesktop.org/~chadversary/waffle/files/release/${BPN}-${PV}/${BPN}-${PV}.tar.xz"
7SRC_URI[md5sum] = "5020ecc249096c881e1f59ee961f3d41"
8SRC_URI[sha256sum] = "340ee04172dba878249469018cd7ec9d1ecd41af26b612c741b8b52e713bca8e"
9
10inherit cmake
11
12# This should be overridden per-machine to reflect the capabilities of the GL
13# stack.
14PACKAGECONFIG ??= "glx"
15
16# I say virtual/libgl, actually wants gl.pc
17PACKAGECONFIG[glx] = "-Dwaffle_has_glx=1,,virtual/libgl libx11"
18
19# I say virtual/libgl, actually wants wayland-egl.pc, egl.pc, and the wayland
20# DISTRO_FEATURE.
21PACKAGECONFIG[wayland] = "-Dwaffle_has_wayland=1,,virtual/libgl wayland"
22
23# I say virtual/libgl, actually wants gbm.pc egl.pc
24PACKAGECONFIG[gbm] = "-Dwaffle_has_wayland=1,,virtual/libgl udev"
25
26# I say virtual/libgl, actually wants egl.pc
27PACKAGECONFIG[x11-egl] = "-Dwaffle_has_x11_egl=1,,virtual/libgl libxcb"
28
29# Take the flags added by PACKAGECONFIG and pass them to cmake.
30EXTRA_OECMAKE = "${EXTRA_OECONF}"
31
32FILES_${PN}-dev += "${datadir}/cmake/Modules/FindWaffle.cmake"