From 4a80b341bf62c4e5fa401ade4e888b0b14fd96a1 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 7 Jul 2023 11:13:30 +0800 Subject: glfw: upgrade 3.3 -> 3.3.8 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-core/glfw/glfw_3.3.8.bb | 36 +++++++++++++++++++++++++++++++++ meta-oe/recipes-core/glfw/glfw_3.3.bb | 36 --------------------------------- 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 meta-oe/recipes-core/glfw/glfw_3.3.8.bb delete mode 100644 meta-oe/recipes-core/glfw/glfw_3.3.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.8.bb b/meta-oe/recipes-core/glfw/glfw_3.3.8.bb new file mode 100644 index 0000000000..ad7a3a7ed4 --- /dev/null +++ b/meta-oe/recipes-core/glfw/glfw_3.3.8.bb @@ -0,0 +1,36 @@ +SUMMARY = "A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input" +HOMEPAGE = "https://www.glfw.org/" +DESCRIPTION = "GLFW is an Open Source, multi-platform library for OpenGL, \ +OpenGL ES and Vulkan application development. It provides a simple, \ +platform-independent API for creating windows, contexts and surfaces, reading \ +input, handling events, etc." +LICENSE = "Zlib" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=98d93d1ddc537f9b9ea6def64e046b5f" +SECTION = "lib" + +inherit pkgconfig cmake features_check + +PV .= "+git${SRCPV}" +SRCREV = "7482de6071d21db77a7236155da44c172a7f6c9e" +SRC_URI = "git://github.com/glfw/glfw.git;branch=3.3-stable;protocol=https" + +S = "${WORKDIR}/git" + +EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF" + +CFLAGS += "-fPIC" + +DEPENDS = "libpng zlib" +REQUIRED_DISTRO_FEATURES = "opengl x11" +ANY_OF_DISTRO_FEATURES = "wayland x11" + +# upstream considers x11 and wayland backends mutually exclusive and will +# prioritize wayland if it is enabled, but wayland has dependencies that cannot +# be satisfied by this layer so it is disabled by default + +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" + +PACKAGECONFIG[wayland] = "-DGLFW_USE_WAYLAND=ON,,wayland wayland-native wayland-protocols extra-cmake-modules libxkbcommon" +PACKAGECONFIG[x11] = ",,libxrandr libxinerama libxi libxcursor libglu" + +COMPATIBLE_HOST:libc-musl = "null" diff --git a/meta-oe/recipes-core/glfw/glfw_3.3.bb b/meta-oe/recipes-core/glfw/glfw_3.3.bb deleted file mode 100644 index f4d983a6e0..0000000000 --- a/meta-oe/recipes-core/glfw/glfw_3.3.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input" -HOMEPAGE = "https://www.glfw.org/" -DESCRIPTION = "GLFW is an Open Source, multi-platform library for OpenGL, \ -OpenGL ES and Vulkan application development. It provides a simple, \ -platform-independent API for creating windows, contexts and surfaces, reading \ -input, handling events, etc." -LICENSE = "Zlib" -LIC_FILES_CHKSUM = "file://LICENSE.md;md5=98d93d1ddc537f9b9ea6def64e046b5f" -SECTION = "lib" - -inherit pkgconfig cmake features_check - -PV .= "+git${SRCPV}" -SRCREV = "781fbbadb0bccc749058177b1385c82da9ace880" -SRC_URI = "git://github.com/glfw/glfw.git;branch=master;protocol=https" - -S = "${WORKDIR}/git" - -EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON -DGLFW_BUILD_DOCS=OFF" - -CFLAGS += "-fPIC" - -DEPENDS = "libpng zlib" -REQUIRED_DISTRO_FEATURES = "opengl x11" -ANY_OF_DISTRO_FEATURES = "wayland x11" - -# upstream considers x11 and wayland backends mutually exclusive and will -# prioritize wayland if it is enabled, but wayland has dependencies that cannot -# be satisfied by this layer so it is disabled by default - -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" - -PACKAGECONFIG[wayland] = "-DGLFW_USE_WAYLAND=ON,,wayland wayland-native wayland-protocols extra-cmake-modules libxkbcommon" -PACKAGECONFIG[x11] = ",,libxrandr libxinerama libxi libxcursor libglu" - -COMPATIBLE_HOST:libc-musl = "null" -- cgit v1.2.3-54-g00ecf