blob: b31bba6b6ba788cde3629e116b460de02c081ea9 [file] [log] [blame]
Brad Bishop2d39a062019-10-28 08:33:36 -04001SUMMARY = "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
Brad Bishope42b3e32020-01-15 22:08:42 -050011inherit pkgconfig cmake features_check
12
13PV .= "+git${SRCPV}"
14SRCREV = "781fbbadb0bccc749058177b1385c82da9ace880"
Andrew Geissler595f6302022-01-24 19:11:47 +000015SRC_URI = "git://github.com/glfw/glfw.git;branch=master;protocol=https"
Brad Bishop2d39a062019-10-28 08:33:36 -040016
17S = "${WORKDIR}/git"
Brad Bishop2d39a062019-10-28 08:33:36 -040018
Brad Bishope42b3e32020-01-15 22:08:42 -050019EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF"
20
21CFLAGS += "-fPIC"
Brad Bishop2d39a062019-10-28 08:33:36 -040022
23DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
Brad Bishope42b3e32020-01-15 22:08:42 -050024REQUIRED_DISTRO_FEATURES = "x11 opengl"
Brad Bishop2d39a062019-10-28 08:33:36 -040025
Patrick Williams213cb262021-08-07 19:21:33 -050026COMPATIBLE_HOST:libc-musl = "null"