glfw_3.3.bb 897 B

1234567891011121314151617181920212223242526
  1. SUMMARY = "A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input"
  2. HOMEPAGE = "https://www.glfw.org/"
  3. DESCRIPTION = "GLFW is an Open Source, multi-platform library for OpenGL, \
  4. OpenGL ES and Vulkan application development. It provides a simple, \
  5. platform-independent API for creating windows, contexts and surfaces, reading \
  6. input, handling events, etc."
  7. LICENSE = "Zlib"
  8. LIC_FILES_CHKSUM = "file://LICENSE.md;md5=98d93d1ddc537f9b9ea6def64e046b5f"
  9. SECTION = "lib"
  10. inherit pkgconfig cmake features_check
  11. PV .= "+git${SRCPV}"
  12. SRCREV = "781fbbadb0bccc749058177b1385c82da9ace880"
  13. SRC_URI = "git://github.com/glfw/glfw.git"
  14. S = "${WORKDIR}/git"
  15. EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF"
  16. CFLAGS += "-fPIC"
  17. DEPENDS = "libpng libglu zlib libxrandr libxinerama libxi libxcursor"
  18. REQUIRED_DISTRO_FEATURES = "x11 opengl"
  19. COMPATIBLE_HOST_libc-musl = "null"