xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/glfw/glfw_3.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY  = "A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input"
2HOMEPAGE = "https://www.glfw.org/"
3DESCRIPTION = "GLFW is an Open Source, multi-platform library for OpenGL, \
4OpenGL ES and Vulkan application development. It provides a simple, \
5platform-independent API for creating windows, contexts and surfaces, reading \
6input, handling events, etc."
7LICENSE  = "Zlib"
8LIC_FILES_CHKSUM = "file://LICENSE.md;md5=98d93d1ddc537f9b9ea6def64e046b5f"
9SECTION = "lib"
10
11inherit pkgconfig cmake features_check
12
13PV .= "+git${SRCPV}"
14SRCREV = "781fbbadb0bccc749058177b1385c82da9ace880"
15SRC_URI = "git://github.com/glfw/glfw.git;branch=master;protocol=https"
16
17S = "${WORKDIR}/git"
18
19EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF"
20
21CFLAGS += "-fPIC"
22
23DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
24REQUIRED_DISTRO_FEATURES = "x11 opengl"
25
26COMPATIBLE_HOST:libc-musl = "null"
27